Class: Spaceship::ConnectAPI::AppStoreVersionPhasedRelease
- Inherits:
-
Object
- Object
- Spaceship::ConnectAPI::AppStoreVersionPhasedRelease
- Includes:
- Model
- Defined in:
- spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb
Defined Under Namespace
Modules: PhasedReleaseState
Instance Attribute Summary collapse
-
#current_day_number ⇒ Object
Returns the value of attribute current_day_number.
-
#phased_release_state ⇒ Object
Returns the value of attribute phased_release_state.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
-
#total_pause_duration ⇒ Object
Returns the value of attribute total_pause_duration.
Attributes included from Model
Class Method Summary collapse
Instance Method Summary collapse
- #complete ⇒ Object
- #delete!(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object
-
#pause ⇒ Object
API.
- #resume ⇒ Object
Methods included from Model
#attr_mapping, included, #initialize, #reverse_attr_mapping, #to_json, #update_attributes
Instance Attribute Details
#current_day_number ⇒ Object
Returns the value of attribute current_day_number.
10 11 12 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb', line 10 def current_day_number @current_day_number end |
#phased_release_state ⇒ Object
Returns the value of attribute phased_release_state.
7 8 9 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb', line 7 def phased_release_state @phased_release_state end |
#start_date ⇒ Object
Returns the value of attribute start_date.
8 9 10 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb', line 8 def start_date @start_date end |
#total_pause_duration ⇒ Object
Returns the value of attribute total_pause_duration.
9 10 11 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb', line 9 def total_pause_duration @total_pause_duration end |
Class Method Details
.type ⇒ Object
26 27 28 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb', line 26 def self.type return "appStoreVersionPhasedReleases" end |
Instance Method Details
#complete ⇒ Object
42 43 44 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb', line 42 def complete update(PhasedReleaseState::COMPLETE) end |
#delete!(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object
46 47 48 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb', line 46 def delete!(filter: {}, includes: nil, limit: nil, sort: nil) Spaceship::ConnectAPI.delete_app_store_version_phased_release(app_store_version_phased_release_id: id) end |
#pause ⇒ Object
API
34 35 36 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb', line 34 def pause update(PhasedReleaseState::PAUSED) end |
#resume ⇒ Object
38 39 40 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb', line 38 def resume update(PhasedReleaseState::ACTIVE) end |