Class: Softlayer::Brand::Restriction::Location::CustomerCountry
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Brand_Restriction_Location_CustomerCountry'
Instance Attribute Summary collapse
-
#brand ⇒ Object
Returns the value of attribute brand.
-
#brand_id ⇒ Object
Returns the value of attribute brand_id.
-
#customer_country_code ⇒ Object
Returns the value of attribute customer_country_code.
-
#location ⇒ Object
Returns the value of attribute location.
-
#location_id ⇒ Object
Returns the value of attribute location_id.
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
#brand ⇒ Object
Returns the value of attribute brand.
10 11 12 |
# File 'lib/softlayer/brand/restriction/location/customer_country.rb', line 10 def brand @brand end |
#brand_id ⇒ Object
Returns the value of attribute brand_id.
7 8 9 |
# File 'lib/softlayer/brand/restriction/location/customer_country.rb', line 7 def brand_id @brand_id end |
#customer_country_code ⇒ Object
Returns the value of attribute customer_country_code.
8 9 10 |
# File 'lib/softlayer/brand/restriction/location/customer_country.rb', line 8 def customer_country_code @customer_country_code end |
#location ⇒ Object
Returns the value of attribute location.
11 12 13 |
# File 'lib/softlayer/brand/restriction/location/customer_country.rb', line 11 def location @location end |
#location_id ⇒ Object
Returns the value of attribute location_id.
9 10 11 |
# File 'lib/softlayer/brand/restriction/location/customer_country.rb', line 9 def location_id @location_id end |
Class Method Details
.get_all_objects ⇒ Object
13 14 15 |
# File 'lib/softlayer/brand/restriction/location/customer_country.rb', line 13 def self.get_all_objects request(:get_all_objects, Array[Softlayer::Brand::Restriction::Location::CustomerCountry]) end |
Instance Method Details
#get_brand ⇒ Object
17 18 19 |
# File 'lib/softlayer/brand/restriction/location/customer_country.rb', line 17 def get_brand request(:get_brand, Softlayer::Brand) end |
#get_location ⇒ Object
21 22 23 |
# File 'lib/softlayer/brand/restriction/location/customer_country.rb', line 21 def get_location request(:get_location, Softlayer::Location) end |
#get_object ⇒ Object
25 26 27 |
# File 'lib/softlayer/brand/restriction/location/customer_country.rb', line 25 def get_object request(:get_object, Softlayer::Brand::Restriction::Location::CustomerCountry) end |