Class: Azure::Profiles::Latest::CustomerInsights::Mgmt::CustomerInsightsManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::CustomerInsights::Mgmt::CustomerInsightsManagementClass
- Defined in:
- lib/latest/modules/customerinsights_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#authorization_policies ⇒ Object
readonly
Returns the value of attribute authorization_policies.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#connector_mappings ⇒ Object
readonly
Returns the value of attribute connector_mappings.
-
#connectors ⇒ Object
readonly
Returns the value of attribute connectors.
-
#hubs ⇒ Object
readonly
Returns the value of attribute hubs.
-
#images ⇒ Object
readonly
Returns the value of attribute images.
-
#interactions ⇒ Object
readonly
Returns the value of attribute interactions.
-
#kpi ⇒ Object
readonly
Returns the value of attribute kpi.
-
#links ⇒ Object
readonly
Returns the value of attribute links.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#predictions ⇒ Object
readonly
Returns the value of attribute predictions.
-
#profiles ⇒ Object
readonly
Returns the value of attribute profiles.
-
#relationship_links ⇒ Object
readonly
Returns the value of attribute relationship_links.
-
#relationships ⇒ Object
readonly
Returns the value of attribute relationships.
-
#role_assignments ⇒ Object
readonly
Returns the value of attribute role_assignments.
-
#roles ⇒ Object
readonly
Returns the value of attribute roles.
-
#views ⇒ Object
readonly
Returns the value of attribute views.
-
#widget_types ⇒ Object
readonly
Returns the value of attribute widget_types.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ CustomerInsightsManagementClass
constructor
A new instance of CustomerInsightsManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ CustomerInsightsManagementClass
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 138 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, = configurable, base_url, @client_0 = Azure::CustomerInsights::Mgmt::V2017_04_26::CustomerInsightsManagementClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @operations = @client_0.operations @hubs = @client_0.hubs @profiles = @client_0.profiles @interactions = @client_0.interactions @relationships = @client_0.relationships @relationship_links = @client_0.relationship_links = @client_0. @connectors = @client_0.connectors @connector_mappings = @client_0.connector_mappings @kpi = @client_0.kpi = @client_0. @views = @client_0.views @links = @client_0.links @roles = @client_0.roles @role_assignments = @client_0.role_assignments @images = @client_0.images @predictions = @client_0.predictions @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
172 173 174 175 176 177 178 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 172 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#authorization_policies ⇒ Object (readonly)
Returns the value of attribute authorization_policies.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def configurable @configurable end |
#connector_mappings ⇒ Object (readonly)
Returns the value of attribute connector_mappings.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def connector_mappings @connector_mappings end |
#connectors ⇒ Object (readonly)
Returns the value of attribute connectors.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def connectors @connectors end |
#hubs ⇒ Object (readonly)
Returns the value of attribute hubs.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def hubs @hubs end |
#images ⇒ Object (readonly)
Returns the value of attribute images.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def images @images end |
#interactions ⇒ Object (readonly)
Returns the value of attribute interactions.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def interactions @interactions end |
#kpi ⇒ Object (readonly)
Returns the value of attribute kpi.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def kpi @kpi end |
#links ⇒ Object (readonly)
Returns the value of attribute links.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def links @links end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def end |
#predictions ⇒ Object (readonly)
Returns the value of attribute predictions.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def predictions @predictions end |
#profiles ⇒ Object (readonly)
Returns the value of attribute profiles.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def profiles @profiles end |
#relationship_links ⇒ Object (readonly)
Returns the value of attribute relationship_links.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def relationship_links @relationship_links end |
#relationships ⇒ Object (readonly)
Returns the value of attribute relationships.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def relationships @relationships end |
#role_assignments ⇒ Object (readonly)
Returns the value of attribute role_assignments.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def role_assignments @role_assignments end |
#roles ⇒ Object (readonly)
Returns the value of attribute roles.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def roles @roles end |
#views ⇒ Object (readonly)
Returns the value of attribute views.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def views @views end |
#widget_types ⇒ Object (readonly)
Returns the value of attribute widget_types.
136 137 138 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 136 def end |
Instance Method Details
#add_telemetry(client) ⇒ Object
167 168 169 170 |
# File 'lib/latest/modules/customerinsights_profile_module.rb', line 167 def add_telemetry(client) profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/CustomerInsights/Mgmt" client.add_user_agent_information(profile_information) end |