Class: Azure::MobileEngagement::Profiles::Latest::Mgmt::MobileEngagementClass

Inherits:
Object
  • Object
show all
Defined in:
lib/profiles/latest/modules/mobileengagement_profile_module.rb

Overview

MobileEngagement

Direct Known Subclasses

Client

Defined Under Namespace

Classes: ModelClasses

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options = {})
  if options.is_a?(Hash) && options.length == 0
    @options = setup_default_options
  else
    @options = options
  end

  reset!(options)

  @configurable, @base_url, @options = self, nil, nil

  client_0 = Azure::MobileEngagement::Mgmt::V2014_12_01::EngagementManagementClient.new(configurable.credentials, base_url, options)
  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_collectionsObject (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

#appsObject (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_urlObject (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

#campaignsObject (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

#configurableObject (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

#devicesObject (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_tasksObject (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_tasksObject (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_classesObject (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

#optionsObject (readonly)

Returns the value of attribute options.



112
113
114
# File 'lib/profiles/latest/modules/mobileengagement_profile_module.rb', line 112

def options
  @options
end

#supported_platformsObject (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