Class: StrawberryAPI::ArchiveStrategyState
- Inherits:
- 
      Object
      
        - Object
- StrawberryAPI::ArchiveStrategyState
 
- Defined in:
- lib/strawberry_api/strategy/archive_strategy_state.rb
Instance Attribute Summary collapse
- 
  
    
      #archive_strategy_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute archive_strategy_id. 
- 
  
    
      #cancelled  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute cancelled. 
- 
  
    
      #direction  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute direction. 
- 
  
    
      #error  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute error. 
- 
  
    
      #exclude_linked_files  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute exclude_linked_files. 
- 
  
    
      #id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute id. 
- 
  
    
      #progress  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute progress. 
- 
  
    
      #project_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute project_id. 
- 
  
    
      #stage  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute stage. 
- 
  
    
      #started_at  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute started_at. 
- 
  
    
      #state  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute state. 
- 
  
    
      #user_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute user_id. 
Instance Method Summary collapse
- 
  
    
      #initialize(params = {})  ⇒ ArchiveStrategyState 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ArchiveStrategyState. 
Constructor Details
#initialize(params = {}) ⇒ ArchiveStrategyState
Returns a new instance of ArchiveStrategyState.
| 18 19 20 21 22 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 18 def initialize(params = {}) params.each do |k, v| instance_variable_set("@#{k}", v) unless v.nil? end end | 
Instance Attribute Details
#archive_strategy_id ⇒ Object
Returns the value of attribute archive_strategy_id.
| 6 7 8 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 6 def archive_strategy_id @archive_strategy_id end | 
#cancelled ⇒ Object
Returns the value of attribute cancelled.
| 15 16 17 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 15 def cancelled @cancelled end | 
#direction ⇒ Object
Returns the value of attribute direction.
| 9 10 11 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 9 def direction @direction end | 
#error ⇒ Object
Returns the value of attribute error.
| 11 12 13 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 11 def error @error end | 
#exclude_linked_files ⇒ Object
Returns the value of attribute exclude_linked_files.
| 16 17 18 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 16 def exclude_linked_files @exclude_linked_files end | 
#id ⇒ Object
Returns the value of attribute id.
| 5 6 7 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 5 def id @id end | 
#progress ⇒ Object
Returns the value of attribute progress.
| 13 14 15 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 13 def progress @progress end | 
#project_id ⇒ Object
Returns the value of attribute project_id.
| 8 9 10 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 8 def project_id @project_id end | 
#stage ⇒ Object
Returns the value of attribute stage.
| 12 13 14 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 12 def stage @stage end | 
#started_at ⇒ Object
Returns the value of attribute started_at.
| 14 15 16 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 14 def started_at @started_at end | 
#state ⇒ Object
Returns the value of attribute state.
| 10 11 12 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 10 def state @state end | 
#user_id ⇒ Object
Returns the value of attribute user_id.
| 7 8 9 | # File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 7 def user_id @user_id end |