Class: Spaceship::ConnectAPI::AppStoreVersionPhasedRelease

Inherits:
Object
  • Object
show all
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

Attributes included from Model

#id

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Model

#attr_mapping, included, #initialize, #to_json, #update_attributes

Instance Attribute Details

#current_day_numberObject

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_stateObject

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_dateObject

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_durationObject

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

.typeObject



23
24
25
# File 'spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb', line 23

def self.type
  return "appStoreVersionPhasedReleases"
end

Instance Method Details

#delete!(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object

API



31
32
33
# File 'spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb', line 31

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