Class: Softlayer::User::Customer::MobileDevice
- Defined in:
- lib/softlayer/user/customer/mobile_device.rb,
lib/softlayer/user/customer/mobile_device/type.rb,
lib/softlayer/user/customer/mobile_device/operating_system.rb
Defined Under Namespace
Classes: OperatingSystem, Representer, Type
Constant Summary collapse
- SERVICE =
'SoftLayer_User_Customer_MobileDevice'
Instance Attribute Summary collapse
-
#available_push_notification_subscription_count ⇒ Object
Returns the value of attribute available_push_notification_subscription_count.
-
#available_push_notification_subscriptions ⇒ Object
Returns the value of attribute available_push_notification_subscriptions.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#customer ⇒ Object
Returns the value of attribute customer.
-
#display_resolution_xx_y ⇒ Object
Returns the value of attribute display_resolution_xx_y.
-
#id ⇒ Object
Returns the value of attribute id.
-
#mobile_device_type_id ⇒ Object
Returns the value of attribute mobile_device_type_id.
-
#mobile_operating_system_id ⇒ Object
Returns the value of attribute mobile_operating_system_id.
-
#model_number ⇒ Object
Returns the value of attribute model_number.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#operating_system ⇒ Object
Returns the value of attribute operating_system.
-
#phone_number ⇒ Object
Returns the value of attribute phone_number.
-
#push_notification_subscription_count ⇒ Object
Returns the value of attribute push_notification_subscription_count.
-
#push_notification_subscriptions ⇒ Object
Returns the value of attribute push_notification_subscriptions.
-
#serial_number ⇒ Object
Returns the value of attribute serial_number.
-
#token ⇒ Object
Returns the value of attribute token.
-
#type ⇒ Object
Returns the value of attribute type.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
Instance Method Summary collapse
- #delete_object ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_available_push_notification_subscriptions ⇒ Object
- #get_customer ⇒ Object
- #get_object ⇒ Object
- #get_operating_system ⇒ Object
- #get_push_notification_subscriptions ⇒ Object
- #get_type ⇒ 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
#available_push_notification_subscription_count ⇒ Object
Returns the value of attribute available_push_notification_subscription_count.
20 21 22 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 20 def available_push_notification_subscription_count @available_push_notification_subscription_count end |
#available_push_notification_subscriptions ⇒ Object
Returns the value of attribute available_push_notification_subscriptions.
22 23 24 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 22 def available_push_notification_subscriptions @available_push_notification_subscriptions end |
#create_date ⇒ Object
Returns the value of attribute create_date.
8 9 10 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 8 def create_date @create_date end |
#customer ⇒ Object
Returns the value of attribute customer.
23 24 25 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 23 def customer @customer end |
#display_resolution_xx_y ⇒ Object
Returns the value of attribute display_resolution_xx_y.
9 10 11 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 9 def display_resolution_xx_y @display_resolution_xx_y end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 10 def id @id end |
#mobile_device_type_id ⇒ Object
Returns the value of attribute mobile_device_type_id.
11 12 13 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 11 def mobile_device_type_id @mobile_device_type_id end |
#mobile_operating_system_id ⇒ Object
Returns the value of attribute mobile_operating_system_id.
12 13 14 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 12 def @mobile_operating_system_id end |
#model_number ⇒ Object
Returns the value of attribute model_number.
13 14 15 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 13 def model_number @model_number end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
14 15 16 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 14 def modify_date @modify_date end |
#name ⇒ Object
Returns the value of attribute name.
15 16 17 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 15 def name @name end |
#operating_system ⇒ Object
Returns the value of attribute operating_system.
24 25 26 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 24 def @operating_system end |
#phone_number ⇒ Object
Returns the value of attribute phone_number.
16 17 18 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 16 def phone_number @phone_number end |
#push_notification_subscription_count ⇒ Object
Returns the value of attribute push_notification_subscription_count.
21 22 23 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 21 def push_notification_subscription_count @push_notification_subscription_count end |
#push_notification_subscriptions ⇒ Object
Returns the value of attribute push_notification_subscriptions.
25 26 27 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 25 def push_notification_subscriptions @push_notification_subscriptions end |
#serial_number ⇒ Object
Returns the value of attribute serial_number.
17 18 19 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 17 def serial_number @serial_number end |
#token ⇒ Object
Returns the value of attribute token.
18 19 20 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 18 def token @token end |
#type ⇒ Object
Returns the value of attribute type.
26 27 28 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 26 def type @type end |
#user_id ⇒ Object
Returns the value of attribute user_id.
19 20 21 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 19 def user_id @user_id end |
Class Method Details
.create_object(message) ⇒ Object
template_object
29 30 31 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 29 def self.create_object() request(:create_object, Softlayer::User::Customer::MobileDevice, ) end |
Instance Method Details
#delete_object ⇒ Object
33 34 35 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 33 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
38 39 40 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 38 def edit_object() request(:edit_object, Boolean, ) end |
#get_available_push_notification_subscriptions ⇒ Object
42 43 44 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 42 def get_available_push_notification_subscriptions request(:get_available_push_notification_subscriptions, Array[Softlayer::Notification]) end |
#get_customer ⇒ Object
46 47 48 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 46 def get_customer request(:get_customer, Softlayer::User::Customer) end |
#get_object ⇒ Object
50 51 52 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 50 def get_object request(:get_object, Softlayer::User::Customer::MobileDevice) end |
#get_operating_system ⇒ Object
54 55 56 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 54 def request(:get_operating_system, Softlayer::User::Customer::MobileDevice::OperatingSystem) end |
#get_push_notification_subscriptions ⇒ Object
58 59 60 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 58 def get_push_notification_subscriptions request(:get_push_notification_subscriptions, Array[Softlayer::Notification::User::Subscriber]) end |
#get_type ⇒ Object
62 63 64 |
# File 'lib/softlayer/user/customer/mobile_device.rb', line 62 def get_type request(:get_type, Softlayer::User::Customer::MobileDevice::Type) end |