Class: Courier::Models::PublishPreferencesResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::PublishPreferencesResponse
- Defined in:
- lib/courier/models/publish_preferences_response.rb
Overview
Instance Attribute Summary collapse
-
#page_id ⇒ String
Id of the published page snapshot.
-
#preview_url ⇒ String?
Draft-mode hosted preferences page URL for previewing.
-
#published_at ⇒ String
ISO-8601 timestamp of the publish.
-
#published_by ⇒ String?
Id of the publisher.
-
#published_version ⇒ Float
Monotonic published version (epoch milliseconds).
Instance Method Summary collapse
-
#initialize(page_id:, published_at:, published_version:, preview_url: nil, published_by: nil) ⇒ Object
constructor
Result of publishing the workspace’s preferences page.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(page_id:, published_at:, published_version:, preview_url: nil, published_by: nil) ⇒ Object
Result of publishing the workspace’s preferences page.
|
|
# File 'lib/courier/models/publish_preferences_response.rb', line 37
|
Instance Attribute Details
#page_id ⇒ String
Id of the published page snapshot.
11 |
# File 'lib/courier/models/publish_preferences_response.rb', line 11 required :page_id, String |
#preview_url ⇒ String?
Draft-mode hosted preferences page URL for previewing.
29 |
# File 'lib/courier/models/publish_preferences_response.rb', line 29 optional :preview_url, String, nil?: true |
#published_at ⇒ String
ISO-8601 timestamp of the publish.
17 |
# File 'lib/courier/models/publish_preferences_response.rb', line 17 required :published_at, String |
#published_by ⇒ String?
Id of the publisher.
35 |
# File 'lib/courier/models/publish_preferences_response.rb', line 35 optional :published_by, String, nil?: true |
#published_version ⇒ Float
Monotonic published version (epoch milliseconds).
23 |
# File 'lib/courier/models/publish_preferences_response.rb', line 23 required :published_version, Float |