Class: Sidemash::Sdk::Domain
- Inherits:
-
Object
- Object
- Sidemash::Sdk::Domain
- Defined in:
- lib/sidemash/sdk/domain.rb
Instance Attribute Summary collapse
-
#_type ⇒ Object
readonly
Returns the value of attribute _type.
-
#created_time ⇒ Object
readonly
Returns the value of attribute created_time.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#foreign_data ⇒ Object
readonly
Returns the value of attribute foreign_data.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(obj) ⇒ Domain
constructor
A new instance of Domain.
Constructor Details
#initialize(obj) ⇒ Domain
Returns a new instance of Domain.
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/sidemash/sdk/domain.rb', line 13 def initialize(obj) @_type = obj['_type'] @id = obj['id'] @url = obj['url'] @created_time = obj['createdTime'] @foreign_data = obj['foreignData'] @description = obj['description'] @name = obj['name'] @status = obj['status'] end |
Instance Attribute Details
#_type ⇒ Object (readonly)
Returns the value of attribute _type.
4 5 6 |
# File 'lib/sidemash/sdk/domain.rb', line 4 def _type @_type end |
#created_time ⇒ Object (readonly)
Returns the value of attribute created_time.
7 8 9 |
# File 'lib/sidemash/sdk/domain.rb', line 7 def created_time @created_time end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
9 10 11 |
# File 'lib/sidemash/sdk/domain.rb', line 9 def description @description end |
#foreign_data ⇒ Object (readonly)
Returns the value of attribute foreign_data.
8 9 10 |
# File 'lib/sidemash/sdk/domain.rb', line 8 def foreign_data @foreign_data end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/sidemash/sdk/domain.rb', line 5 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
10 11 12 |
# File 'lib/sidemash/sdk/domain.rb', line 10 def name @name end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
11 12 13 |
# File 'lib/sidemash/sdk/domain.rb', line 11 def status @status end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
6 7 8 |
# File 'lib/sidemash/sdk/domain.rb', line 6 def url @url end |