Class: Fabricio::Model::Issue
- Inherits:
-
AbstractModel
- Object
- AbstractModel
- Fabricio::Model::Issue
- Defined in:
- lib/fabricio/models/issue.rb
Overview
This model represents an application build
Instance Attribute Summary collapse
-
#createdAt ⇒ Object
readonly
Returns the value of attribute createdAt.
-
#displayId ⇒ Object
readonly
Returns the value of attribute displayId.
-
#externalId ⇒ Object
readonly
Returns the value of attribute externalId.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#impactedDevices ⇒ Object
readonly
Returns the value of attribute impactedDevices.
-
#latestSessionId ⇒ Object
readonly
Returns the value of attribute latestSessionId.
-
#occurrenceCount ⇒ Object
readonly
Returns the value of attribute occurrenceCount.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#subtitle ⇒ Object
readonly
Returns the value of attribute subtitle.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from AbstractModel
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Fabricio::Model::Build
constructor
Returns a Build model object.
Methods inherited from AbstractModel
Constructor Details
#initialize(attributes) ⇒ Fabricio::Model::Build
Returns a Build model object
23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/fabricio/models/issue.rb', line 23 def initialize(attributes) @id = attributes['id'] @displayId = attributes['displayId'] @externalId = attributes['externalId'] @title = attributes['title'] @subtitle = attributes['subtitle'] @createdAt = attributes['createdAt'] @type = attributes['type'] @state = attributes['state'] @latestSessionId = attributes['latestSessionId'] @occurrenceCount = attributes['occurrenceCount'] @impactedDevices = attributes['impactedDevices'] @json = attributes end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Fabricio::Model::AbstractModel
Instance Attribute Details
#createdAt ⇒ Object (readonly)
Returns the value of attribute createdAt.
7 8 9 |
# File 'lib/fabricio/models/issue.rb', line 7 def createdAt @createdAt end |
#displayId ⇒ Object (readonly)
Returns the value of attribute displayId.
7 8 9 |
# File 'lib/fabricio/models/issue.rb', line 7 def displayId @displayId end |
#externalId ⇒ Object (readonly)
Returns the value of attribute externalId.
7 8 9 |
# File 'lib/fabricio/models/issue.rb', line 7 def externalId @externalId end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
7 8 9 |
# File 'lib/fabricio/models/issue.rb', line 7 def id @id end |
#impactedDevices ⇒ Object (readonly)
Returns the value of attribute impactedDevices.
7 8 9 |
# File 'lib/fabricio/models/issue.rb', line 7 def impactedDevices @impactedDevices end |
#latestSessionId ⇒ Object (readonly)
Returns the value of attribute latestSessionId.
7 8 9 |
# File 'lib/fabricio/models/issue.rb', line 7 def latestSessionId @latestSessionId end |
#occurrenceCount ⇒ Object (readonly)
Returns the value of attribute occurrenceCount.
7 8 9 |
# File 'lib/fabricio/models/issue.rb', line 7 def occurrenceCount @occurrenceCount end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
7 8 9 |
# File 'lib/fabricio/models/issue.rb', line 7 def state @state end |
#subtitle ⇒ Object (readonly)
Returns the value of attribute subtitle.
7 8 9 |
# File 'lib/fabricio/models/issue.rb', line 7 def subtitle @subtitle end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
7 8 9 |
# File 'lib/fabricio/models/issue.rb', line 7 def title @title end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
7 8 9 |
# File 'lib/fabricio/models/issue.rb', line 7 def type @type end |