Class: Azure::MobileEngagement::Profiles::Latest::Mgmt::MobileEngagementClass
- Inherits:
-
Object
- Object
- Azure::MobileEngagement::Profiles::Latest::Mgmt::MobileEngagementClass
- Defined in:
- lib/profiles/latest/modules/mobileengagement_profile_module.rb
Overview
MobileEngagement
Direct Known Subclasses
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#app_collections ⇒ Object
readonly
Returns the value of attribute app_collections.
-
#apps ⇒ Object
readonly
Returns the value of attribute apps.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#campaigns ⇒ Object
readonly
Returns the value of attribute campaigns.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#devices ⇒ Object
readonly
Returns the value of attribute devices.
-
#export_tasks ⇒ Object
readonly
Returns the value of attribute export_tasks.
-
#import_tasks ⇒ Object
readonly
Returns the value of attribute import_tasks.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#supported_platforms ⇒ Object
readonly
Returns the value of attribute supported_platforms.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ MobileEngagementClass
constructor
A new instance of MobileEngagementClass.
Constructor Details
#initialize(options = {}) ⇒ MobileEngagementClass
Returns a new instance of MobileEngagementClass.
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 114 def initialize( = {}) if .is_a?(Hash) && .length == 0 @options = else @options = end reset!() @configurable, @base_url, @options = self, nil, nil client_0 = Azure::MobileEngagement::Mgmt::V2014_12_01::EngagementManagementClient.new(configurable.credentials, base_url, ) if(client_0.respond_to?(:subscription_id)) client_0.subscription_id = configurable.subscription_id end @app_collections = client_0.app_collections @apps = client_0.apps @supported_platforms = client_0.supported_platforms @campaigns = client_0.campaigns @devices = client_0.devices @export_tasks = client_0.export_tasks @import_tasks = client_0.import_tasks @model_classes = ModelClasses.new end |
Instance Attribute Details
#app_collections ⇒ Object (readonly)
Returns the value of attribute app_collections.
112 113 114 |
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 112 def app_collections @app_collections end |
#apps ⇒ Object (readonly)
Returns the value of attribute apps.
112 113 114 |
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 112 def apps @apps end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
112 113 114 |
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 112 def base_url @base_url end |
#campaigns ⇒ Object (readonly)
Returns the value of attribute campaigns.
112 113 114 |
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 112 def campaigns @campaigns end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
112 113 114 |
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 112 def configurable @configurable end |
#devices ⇒ Object (readonly)
Returns the value of attribute devices.
112 113 114 |
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 112 def devices @devices end |
#export_tasks ⇒ Object (readonly)
Returns the value of attribute export_tasks.
112 113 114 |
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 112 def export_tasks @export_tasks end |
#import_tasks ⇒ Object (readonly)
Returns the value of attribute import_tasks.
112 113 114 |
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 112 def import_tasks @import_tasks end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
112 113 114 |
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 112 def model_classes @model_classes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
112 113 114 |
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 112 def @options end |
#supported_platforms ⇒ Object (readonly)
Returns the value of attribute supported_platforms.
112 113 114 |
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 112 def supported_platforms @supported_platforms end |