Class: Softlayer::Network::Subnet::Rwhois::Data

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/network/subnet/rwhois/data.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Network_Subnet_Rwhois_Data'

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#abuse_emailObject

Returns the value of attribute abuse_email.



7
8
9
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 7

def abuse_email
  @abuse_email
end

#accountObject

Returns the value of attribute account.



22
23
24
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 22

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



8
9
10
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 8

def 
  @account_id
end

#address1Object

Returns the value of attribute address1.



9
10
11
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 9

def address1
  @address1
end

#address2Object

Returns the value of attribute address2.



10
11
12
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 10

def address2
  @address2
end

#cityObject

Returns the value of attribute city.



11
12
13
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 11

def city
  @city
end

#company_nameObject

Returns the value of attribute company_name.



12
13
14
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 12

def company_name
  @company_name
end

#countryObject

Returns the value of attribute country.



13
14
15
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 13

def country
  @country
end

#create_dateObject

Returns the value of attribute create_date.



14
15
16
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 14

def create_date
  @create_date
end

#first_nameObject

Returns the value of attribute first_name.



15
16
17
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 15

def first_name
  @first_name
end

#idObject

Returns the value of attribute id.



16
17
18
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 16

def id
  @id
end

#last_nameObject

Returns the value of attribute last_name.



17
18
19
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 17

def last_name
  @last_name
end

#modify_dateObject

Returns the value of attribute modify_date.



18
19
20
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 18

def modify_date
  @modify_date
end

#postal_codeObject

Returns the value of attribute postal_code.



19
20
21
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 19

def postal_code
  @postal_code
end

#private_residence_flagObject

Returns the value of attribute private_residence_flag.



20
21
22
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 20

def private_residence_flag
  @private_residence_flag
end

#stateObject

Returns the value of attribute state.



21
22
23
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 21

def state
  @state
end

Instance Method Details

#edit_object(message) ⇒ Object

template_object



25
26
27
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 25

def edit_object(message)
  request(:edit_object, Boolean, message)
end

#get_accountObject



29
30
31
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 29

def 
  request(:get_account, Softlayer::)
end

#get_objectObject



33
34
35
# File 'lib/softlayer/network/subnet/rwhois/data.rb', line 33

def get_object
  request(:get_object, Softlayer::Network::Subnet::Rwhois::Data)
end