Class: StrawberryAPI::ArchiveStrategyState

Inherits:
Object
  • Object
show all
Defined in:
lib/strawberry_api/strategy/archive_strategy_state.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject

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

#cancelledObject

Returns the value of attribute cancelled



15
16
17
# File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 15

def cancelled
  @cancelled
end

#directionObject

Returns the value of attribute direction



9
10
11
# File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 9

def direction
  @direction
end

#errorObject

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_filesObject

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

#idObject

Returns the value of attribute id



5
6
7
# File 'lib/strawberry_api/strategy/archive_strategy_state.rb', line 5

def id
  @id
end

#progressObject

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_idObject

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

#stageObject

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_atObject

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

#stateObject

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_idObject

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