Class: Warframe::Models::Invasion

Inherits:
Base show all
Includes:
Attributes::Activation, Attributes::Description, Attributes::ETA, Attributes::Expiry, Attributes::ID, Attributes::RewardTypes, Attributes::StartString
Defined in:
lib/warframe/models/invasion.rb

Overview

Invasion data model. /:platform/invasions

Instance Attribute Summary collapse

Attributes included from Attributes::StartString

#start_string

Attributes included from Attributes::RewardTypes

#reward_types

Attributes included from Attributes::Description

#description

Attributes included from Attributes::ETA

#eta

Attributes included from Attributes::Expiry

#expiry

Attributes included from Attributes::Activation

#activation

Attributes included from Attributes::ID

#id

Method Summary

Methods inherited from ObjectifiedHash

#[], from_array, #initialize, #inspect, #size, #to_hash, #to_s

Constructor Details

This class inherits a constructor from Warframe::Models::ObjectifiedHash

Instance Attribute Details

#attackerOpenStruct (readonly)

Attacking faction data.



19
20
21
# File 'lib/warframe/models/invasion.rb', line 19

def attacker
  @attacker
end

#attacker_rewardOpenStruct (readonly)

The rewards for helping the attacking faction.



23
24
25
# File 'lib/warframe/models/invasion.rb', line 23

def attacker_reward
  @attacker_reward
end

#attacking_factionString (readonly)

Attacking Faction Name



27
28
29
# File 'lib/warframe/models/invasion.rb', line 27

def attacking_faction
  @attacking_faction
end

#completedBoolean (readonly) Also known as: completed?

Whether or not the invasion has been completed.



31
32
33
# File 'lib/warframe/models/invasion.rb', line 31

def completed
  @completed
end

#completionArray<Float> (readonly)

The status of completion of the invasion.



36
37
38
# File 'lib/warframe/models/invasion.rb', line 36

def completion
  @completion
end

#defenderOpenStruct (readonly)

Defending faction data.



40
41
42
# File 'lib/warframe/models/invasion.rb', line 40

def defender
  @defender
end

#defender_rewardOpenStruct (readonly)

The rewards for helping the defending faction.



44
45
46
# File 'lib/warframe/models/invasion.rb', line 44

def defender_reward
  @defender_reward
end

#defending_factionString (readonly)

The name of the defending faction.



48
49
50
# File 'lib/warframe/models/invasion.rb', line 48

def defending_faction
  @defending_faction
end

#nodeString (readonly)

The name of the node of the invasion.



52
53
54
# File 'lib/warframe/models/invasion.rb', line 52

def node
  @node
end

#node_keyString (readonly)

The key of the node.



56
57
58
# File 'lib/warframe/models/invasion.rb', line 56

def node_key
  @node_key
end

#required_runsInteger (readonly)

The amount of runs required for completion.



60
61
62
# File 'lib/warframe/models/invasion.rb', line 60

def required_runs
  @required_runs
end