Class: Azure::Profiles::Latest::LuisAuthoring::LuisAuthoringDataClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::LuisAuthoring::LuisAuthoringDataClass
- Defined in:
- lib/latest/modules/luisauthoring_profile_module.rb
Direct Known Subclasses
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#apps ⇒ Object
readonly
Returns the value of attribute apps.
-
#azure_accounts ⇒ Object
readonly
Returns the value of attribute azure_accounts.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#examples ⇒ Object
readonly
Returns the value of attribute examples.
-
#features ⇒ Object
readonly
Returns the value of attribute features.
-
#model ⇒ Object
readonly
Returns the value of attribute model.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#pattern ⇒ Object
readonly
Returns the value of attribute pattern.
-
#permissions ⇒ Object
readonly
Returns the value of attribute permissions.
-
#settings ⇒ Object
readonly
Returns the value of attribute settings.
-
#train ⇒ Object
readonly
Returns the value of attribute train.
-
#versions ⇒ Object
readonly
Returns the value of attribute versions.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ LuisAuthoringDataClass
constructor
A new instance of LuisAuthoringDataClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ LuisAuthoringDataClass
Returns a new instance of LuisAuthoringDataClass.
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 136 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::CognitiveServices::LuisAuthoring::V3_0_preview::LuisAuthoringClient.new(configurable.credentials, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @features = @client_0.features @examples = @client_0.examples @model = @client_0.model @apps = @client_0.apps @versions = @client_0.versions @train = @client_0.train @permissions = @client_0. @pattern = @client_0.pattern @settings = @client_0.settings @azure_accounts = @client_0.azure_accounts @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
163 164 165 166 167 168 169 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 163 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#apps ⇒ Object (readonly)
Returns the value of attribute apps.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def apps @apps end |
#azure_accounts ⇒ Object (readonly)
Returns the value of attribute azure_accounts.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def azure_accounts @azure_accounts end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def configurable @configurable end |
#examples ⇒ Object (readonly)
Returns the value of attribute examples.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def examples @examples end |
#features ⇒ Object (readonly)
Returns the value of attribute features.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def features @features end |
#model ⇒ Object (readonly)
Returns the value of attribute model.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def model @model end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def model_classes @model_classes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def @options end |
#pattern ⇒ Object (readonly)
Returns the value of attribute pattern.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def pattern @pattern end |
#permissions ⇒ Object (readonly)
Returns the value of attribute permissions.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def @permissions end |
#settings ⇒ Object (readonly)
Returns the value of attribute settings.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def settings @settings end |
#train ⇒ Object (readonly)
Returns the value of attribute train.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def train @train end |
#versions ⇒ Object (readonly)
Returns the value of attribute versions.
134 135 136 |
# File 'lib/latest/modules/luisauthoring_profile_module.rb', line 134 def versions @versions end |