Class: Softlayer::Account::MasterServiceAgreement

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/account/master_service_agreement.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Account_MasterServiceAgreement'

Instance Attribute Summary collapse

Class Method 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

#accountObject

Returns the value of attribute account.



9
10
11
# File 'lib/softlayer/account/master_service_agreement.rb', line 9

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



5
6
7
# File 'lib/softlayer/account/master_service_agreement.rb', line 5

def 
  @account_id
end

#guidObject

Returns the value of attribute guid.



6
7
8
# File 'lib/softlayer/account/master_service_agreement.rb', line 6

def guid
  @guid
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/softlayer/account/master_service_agreement.rb', line 7

def id
  @id
end

#nameObject

Returns the value of attribute name.



8
9
10
# File 'lib/softlayer/account/master_service_agreement.rb', line 8

def name
  @name
end

Class Method Details

.get_fileObject



15
16
17
# File 'lib/softlayer/account/master_service_agreement.rb', line 15

def self.get_file
  request(:get_file, Softlayer::Container::Utility::File::Entity)
end

Instance Method Details

#get_accountObject



11
12
13
# File 'lib/softlayer/account/master_service_agreement.rb', line 11

def 
  request(:get_account, Softlayer::Account)
end

#get_objectObject



19
20
21
# File 'lib/softlayer/account/master_service_agreement.rb', line 19

def get_object
  request(:get_object, Softlayer::Account::MasterServiceAgreement)
end