Class: Softlayer::Account::Regional::Registry::Detail::Property

Inherits:
Model
  • Object
show all
Defined in:
lib/softlayer/account/regional/registry/detail/property.rb,
lib/softlayer/account/regional/registry/detail/property/type.rb

Defined Under Namespace

Classes: Representer, Type

Constant Summary collapse

SERVICE =
'SoftLayer_Account_Regional_Registry_Detail_Property'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, parse, request, #request, #to_hash

Instance Attribute Details

#create_dateObject

Returns the value of attribute create_date.



9
10
11
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 9

def create_date
  @create_date
end

#detailObject

Returns the value of attribute detail.



16
17
18
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 16

def detail
  @detail
end

#idObject

Returns the value of attribute id.



10
11
12
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 10

def id
  @id
end

#modify_dateObject

Returns the value of attribute modify_date.



11
12
13
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 11

def modify_date
  @modify_date
end

#property_typeObject

Returns the value of attribute property_type.



17
18
19
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 17

def property_type
  @property_type
end

#property_type_idObject

Returns the value of attribute property_type_id.



12
13
14
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 12

def property_type_id
  @property_type_id
end

#registration_detail_idObject

Returns the value of attribute registration_detail_id.



13
14
15
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 13

def registration_detail_id
  @registration_detail_id
end

#sequence_positionObject

Returns the value of attribute sequence_position.



14
15
16
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 14

def sequence_position
  @sequence_position
end

#valueObject

Returns the value of attribute value.



15
16
17
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 15

def value
  @value
end

Class Method Details

.create_object(template_object = nil) ⇒ Object



19
20
21
22
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 19

def self.create_object(template_object = nil)
  message = {template_object: template_object}
  request(:create_object, Softlayer::::Regional::Registry::Detail::Property, message)
end

.create_objects(template_objects = nil) ⇒ Object



24
25
26
27
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 24

def self.create_objects(template_objects = nil)
  message = {template_objects: template_objects}
  request(:create_objects, Array[Softlayer::::Regional::Registry::Detail::Property], message)
end

.edit_objects(template_objects = nil) ⇒ Object



38
39
40
41
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 38

def self.edit_objects(template_objects = nil)
  message = {template_objects: template_objects}
  request(:edit_objects, Boolean, message)
end

Instance Method Details

#delete_objectObject



29
30
31
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 29

def delete_object
  request(:delete_object, Boolean)
end

#edit_object(template_object = nil) ⇒ Object



33
34
35
36
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 33

def edit_object(template_object = nil)
  message = {template_object: template_object}
  request(:edit_object, Boolean, message)
end

#get_detailObject



43
44
45
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 43

def get_detail
  request(:get_detail, Softlayer::::Regional::Registry::Detail)
end

#get_objectObject



47
48
49
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 47

def get_object
  request(:get_object, Softlayer::::Regional::Registry::Detail::Property)
end

#get_property_typeObject



51
52
53
# File 'lib/softlayer/account/regional/registry/detail/property.rb', line 51

def get_property_type
  request(:get_property_type, Softlayer::::Regional::Registry::Detail::Property::Type)
end