Class: Softlayer::Brand
- Defined in:
- lib/softlayer/brand.rb,
lib/softlayer/brand/contact.rb,
lib/softlayer/brand/payment.rb,
lib/softlayer/brand/attribute.rb,
lib/softlayer/brand/restriction.rb,
lib/softlayer/brand/contact/type.rb,
lib/softlayer/brand/payment/processor.rb,
lib/softlayer/brand/restriction/location.rb,
lib/softlayer/brand/restriction/location/customer_country.rb
Defined Under Namespace
Modules: Payment, Restriction Classes: Attribute, Contact, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Brand'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#all_owned_account_count ⇒ Object
Returns the value of attribute all_owned_account_count.
-
#all_owned_accounts ⇒ Object
Returns the value of attribute all_owned_accounts.
-
#allow_account_creation_flag ⇒ Object
Returns the value of attribute allow_account_creation_flag.
-
#catalog ⇒ Object
Returns the value of attribute catalog.
-
#catalog_id ⇒ Object
Returns the value of attribute catalog_id.
-
#contact_count ⇒ Object
Returns the value of attribute contact_count.
-
#contacts ⇒ Object
Returns the value of attribute contacts.
-
#customer_country_location_restriction_count ⇒ Object
Returns the value of attribute customer_country_location_restriction_count.
-
#customer_country_location_restrictions ⇒ Object
Returns the value of attribute customer_country_location_restrictions.
-
#distributor ⇒ Object
Returns the value of attribute distributor.
-
#distributor_child_flag ⇒ Object
Returns the value of attribute distributor_child_flag.
-
#distributor_flag ⇒ Object
Returns the value of attribute distributor_flag.
-
#hardware ⇒ Object
Returns the value of attribute hardware.
-
#hardware_count ⇒ Object
Returns the value of attribute hardware_count.
-
#has_agent_support_flag ⇒ Object
Returns the value of attribute has_agent_support_flag.
-
#id ⇒ Object
Returns the value of attribute id.
-
#key_name ⇒ Object
Returns the value of attribute key_name.
-
#long_name ⇒ Object
Returns the value of attribute long_name.
-
#name ⇒ Object
Returns the value of attribute name.
-
#open_ticket_count ⇒ Object
Returns the value of attribute open_ticket_count.
-
#open_tickets ⇒ Object
Returns the value of attribute open_tickets.
-
#owned_account_count ⇒ Object
Returns the value of attribute owned_account_count.
-
#owned_accounts ⇒ Object
Returns the value of attribute owned_accounts.
-
#ticket_count ⇒ Object
Returns the value of attribute ticket_count.
-
#ticket_group_count ⇒ Object
Returns the value of attribute ticket_group_count.
-
#ticket_groups ⇒ Object
Returns the value of attribute ticket_groups.
-
#tickets ⇒ Object
Returns the value of attribute tickets.
-
#user_count ⇒ Object
Returns the value of attribute user_count.
-
#users ⇒ Object
Returns the value of attribute users.
-
#virtual_guest_count ⇒ Object
Returns the value of attribute virtual_guest_count.
-
#virtual_guests ⇒ Object
Returns the value of attribute virtual_guests.
Class Method Summary collapse
-
.create_customer_account(message) ⇒ Object
account bypass_duplicate_account_check.
-
.create_object(message) ⇒ Object
template_object.
Instance Method Summary collapse
- #get_account ⇒ Object
- #get_all_owned_accounts ⇒ Object
-
#get_all_ticket_subjects(message) ⇒ Object
account.
- #get_allow_account_creation_flag ⇒ Object
- #get_catalog ⇒ Object
- #get_contact_information ⇒ Object
- #get_contacts ⇒ Object
- #get_customer_country_location_restrictions ⇒ Object
- #get_distributor ⇒ Object
- #get_distributor_child_flag ⇒ Object
- #get_distributor_flag ⇒ Object
- #get_hardware ⇒ Object
- #get_has_agent_support_flag ⇒ Object
- #get_merchant_name ⇒ Object
- #get_object ⇒ Object
- #get_open_tickets ⇒ Object
- #get_owned_accounts ⇒ Object
- #get_ticket_groups ⇒ Object
- #get_tickets ⇒ Object
-
#get_token(message) ⇒ Object
user_id.
- #get_users ⇒ Object
- #get_virtual_guests ⇒ Object
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
#account ⇒ Object
Returns the value of attribute account.
23 24 25 |
# File 'lib/softlayer/brand.rb', line 23 def account @account end |
#all_owned_account_count ⇒ Object
Returns the value of attribute all_owned_account_count.
13 14 15 |
# File 'lib/softlayer/brand.rb', line 13 def all_owned_account_count @all_owned_account_count end |
#all_owned_accounts ⇒ Object
Returns the value of attribute all_owned_accounts.
24 25 26 |
# File 'lib/softlayer/brand.rb', line 24 def all_owned_accounts @all_owned_accounts end |
#allow_account_creation_flag ⇒ Object
Returns the value of attribute allow_account_creation_flag.
25 26 27 |
# File 'lib/softlayer/brand.rb', line 25 def allow_account_creation_flag @allow_account_creation_flag end |
#catalog ⇒ Object
Returns the value of attribute catalog.
26 27 28 |
# File 'lib/softlayer/brand.rb', line 26 def catalog @catalog end |
#catalog_id ⇒ Object
Returns the value of attribute catalog_id.
8 9 10 |
# File 'lib/softlayer/brand.rb', line 8 def catalog_id @catalog_id end |
#contact_count ⇒ Object
Returns the value of attribute contact_count.
14 15 16 |
# File 'lib/softlayer/brand.rb', line 14 def contact_count @contact_count end |
#contacts ⇒ Object
Returns the value of attribute contacts.
27 28 29 |
# File 'lib/softlayer/brand.rb', line 27 def contacts @contacts end |
#customer_country_location_restriction_count ⇒ Object
Returns the value of attribute customer_country_location_restriction_count.
15 16 17 |
# File 'lib/softlayer/brand.rb', line 15 def customer_country_location_restriction_count @customer_country_location_restriction_count end |
#customer_country_location_restrictions ⇒ Object
Returns the value of attribute customer_country_location_restrictions.
28 29 30 |
# File 'lib/softlayer/brand.rb', line 28 def customer_country_location_restrictions @customer_country_location_restrictions end |
#distributor ⇒ Object
Returns the value of attribute distributor.
29 30 31 |
# File 'lib/softlayer/brand.rb', line 29 def distributor @distributor end |
#distributor_child_flag ⇒ Object
Returns the value of attribute distributor_child_flag.
30 31 32 |
# File 'lib/softlayer/brand.rb', line 30 def distributor_child_flag @distributor_child_flag end |
#distributor_flag ⇒ Object
Returns the value of attribute distributor_flag.
31 32 33 |
# File 'lib/softlayer/brand.rb', line 31 def distributor_flag @distributor_flag end |
#hardware ⇒ Object
Returns the value of attribute hardware.
32 33 34 |
# File 'lib/softlayer/brand.rb', line 32 def hardware @hardware end |
#hardware_count ⇒ Object
Returns the value of attribute hardware_count.
16 17 18 |
# File 'lib/softlayer/brand.rb', line 16 def hardware_count @hardware_count end |
#has_agent_support_flag ⇒ Object
Returns the value of attribute has_agent_support_flag.
33 34 35 |
# File 'lib/softlayer/brand.rb', line 33 def has_agent_support_flag @has_agent_support_flag end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/brand.rb', line 9 def id @id end |
#key_name ⇒ Object
Returns the value of attribute key_name.
10 11 12 |
# File 'lib/softlayer/brand.rb', line 10 def key_name @key_name end |
#long_name ⇒ Object
Returns the value of attribute long_name.
11 12 13 |
# File 'lib/softlayer/brand.rb', line 11 def long_name @long_name end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/softlayer/brand.rb', line 12 def name @name end |
#open_ticket_count ⇒ Object
Returns the value of attribute open_ticket_count.
17 18 19 |
# File 'lib/softlayer/brand.rb', line 17 def open_ticket_count @open_ticket_count end |
#open_tickets ⇒ Object
Returns the value of attribute open_tickets.
34 35 36 |
# File 'lib/softlayer/brand.rb', line 34 def open_tickets @open_tickets end |
#owned_account_count ⇒ Object
Returns the value of attribute owned_account_count.
18 19 20 |
# File 'lib/softlayer/brand.rb', line 18 def owned_account_count @owned_account_count end |
#owned_accounts ⇒ Object
Returns the value of attribute owned_accounts.
35 36 37 |
# File 'lib/softlayer/brand.rb', line 35 def owned_accounts @owned_accounts end |
#ticket_count ⇒ Object
Returns the value of attribute ticket_count.
19 20 21 |
# File 'lib/softlayer/brand.rb', line 19 def ticket_count @ticket_count end |
#ticket_group_count ⇒ Object
Returns the value of attribute ticket_group_count.
20 21 22 |
# File 'lib/softlayer/brand.rb', line 20 def ticket_group_count @ticket_group_count end |
#ticket_groups ⇒ Object
Returns the value of attribute ticket_groups.
36 37 38 |
# File 'lib/softlayer/brand.rb', line 36 def ticket_groups @ticket_groups end |
#tickets ⇒ Object
Returns the value of attribute tickets.
37 38 39 |
# File 'lib/softlayer/brand.rb', line 37 def tickets @tickets end |
#user_count ⇒ Object
Returns the value of attribute user_count.
21 22 23 |
# File 'lib/softlayer/brand.rb', line 21 def user_count @user_count end |
#users ⇒ Object
Returns the value of attribute users.
38 39 40 |
# File 'lib/softlayer/brand.rb', line 38 def users @users end |
#virtual_guest_count ⇒ Object
Returns the value of attribute virtual_guest_count.
22 23 24 |
# File 'lib/softlayer/brand.rb', line 22 def virtual_guest_count @virtual_guest_count end |
#virtual_guests ⇒ Object
Returns the value of attribute virtual_guests.
39 40 41 |
# File 'lib/softlayer/brand.rb', line 39 def virtual_guests @virtual_guests end |
Class Method Details
Instance Method Details
#get_account ⇒ Object
52 53 54 |
# File 'lib/softlayer/brand.rb', line 52 def get_account request(:get_account, Softlayer::Account) end |
#get_all_owned_accounts ⇒ Object
56 57 58 |
# File 'lib/softlayer/brand.rb', line 56 def get_all_owned_accounts request(:get_all_owned_accounts, Array[Softlayer::Account]) end |
#get_all_ticket_subjects(message) ⇒ Object
account
61 62 63 |
# File 'lib/softlayer/brand.rb', line 61 def get_all_ticket_subjects() request(:get_all_ticket_subjects, Array[Softlayer::Ticket::Subject], ) end |
#get_allow_account_creation_flag ⇒ Object
65 66 67 |
# File 'lib/softlayer/brand.rb', line 65 def get_allow_account_creation_flag request(:get_allow_account_creation_flag, Boolean) end |
#get_catalog ⇒ Object
69 70 71 |
# File 'lib/softlayer/brand.rb', line 69 def get_catalog request(:get_catalog, Softlayer::Product::Catalog) end |
#get_contact_information ⇒ Object
73 74 75 |
# File 'lib/softlayer/brand.rb', line 73 def get_contact_information request(:get_contact_information, Array[Softlayer::Brand::Contact]) end |
#get_contacts ⇒ Object
77 78 79 |
# File 'lib/softlayer/brand.rb', line 77 def get_contacts request(:get_contacts, Array[Softlayer::Brand::Contact]) end |
#get_customer_country_location_restrictions ⇒ Object
81 82 83 |
# File 'lib/softlayer/brand.rb', line 81 def get_customer_country_location_restrictions request(:get_customer_country_location_restrictions, Array[Softlayer::Brand::Restriction::Location::CustomerCountry]) end |
#get_distributor ⇒ Object
85 86 87 |
# File 'lib/softlayer/brand.rb', line 85 def get_distributor request(:get_distributor, Softlayer::Brand) end |
#get_distributor_child_flag ⇒ Object
89 90 91 |
# File 'lib/softlayer/brand.rb', line 89 def get_distributor_child_flag request(:get_distributor_child_flag, Boolean) end |
#get_distributor_flag ⇒ Object
93 94 95 |
# File 'lib/softlayer/brand.rb', line 93 def get_distributor_flag request(:get_distributor_flag, String) end |
#get_hardware ⇒ Object
97 98 99 |
# File 'lib/softlayer/brand.rb', line 97 def get_hardware request(:get_hardware, Array[Softlayer::Hardware]) end |
#get_has_agent_support_flag ⇒ Object
101 102 103 |
# File 'lib/softlayer/brand.rb', line 101 def get_has_agent_support_flag request(:get_has_agent_support_flag, Boolean) end |
#get_merchant_name ⇒ Object
105 106 107 |
# File 'lib/softlayer/brand.rb', line 105 def get_merchant_name request(:get_merchant_name, String) end |
#get_object ⇒ Object
109 110 111 |
# File 'lib/softlayer/brand.rb', line 109 def get_object request(:get_object, Softlayer::Brand) end |
#get_open_tickets ⇒ Object
113 114 115 |
# File 'lib/softlayer/brand.rb', line 113 def get_open_tickets request(:get_open_tickets, Array[Softlayer::Ticket]) end |
#get_owned_accounts ⇒ Object
117 118 119 |
# File 'lib/softlayer/brand.rb', line 117 def get_owned_accounts request(:get_owned_accounts, Array[Softlayer::Account]) end |
#get_ticket_groups ⇒ Object
121 122 123 |
# File 'lib/softlayer/brand.rb', line 121 def get_ticket_groups request(:get_ticket_groups, Array[Softlayer::Ticket::Group]) end |
#get_tickets ⇒ Object
125 126 127 |
# File 'lib/softlayer/brand.rb', line 125 def get_tickets request(:get_tickets, Array[Softlayer::Ticket]) end |
#get_token(message) ⇒ Object
user_id
130 131 132 |
# File 'lib/softlayer/brand.rb', line 130 def get_token() request(:get_token, String, ) end |