Class: Azure::CognitiveServices::LuisAuthoring::V2_0::Models::AzureAccountInfoObject
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::LuisAuthoring::V2_0::Models::AzureAccountInfoObject
- Includes:
- MsRestAzure
- Defined in:
- lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/azure_account_info_object.rb
Overview
Defines the Azure account information object.
Instance Attribute Summary collapse
-
#account_name ⇒ String
The Azure account name.
-
#azure_subscription_id ⇒ String
The id for the Azure subscription.
-
#resource_group ⇒ String
The Azure resource group name.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureAccountInfoObject class as Ruby Hash.
Instance Attribute Details
#account_name ⇒ String
Returns The Azure account name.
22 23 24 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/azure_account_info_object.rb', line 22 def account_name @account_name end |
#azure_subscription_id ⇒ String
Returns The id for the Azure subscription.
16 17 18 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/azure_account_info_object.rb', line 16 def azure_subscription_id @azure_subscription_id end |
#resource_group ⇒ String
Returns The Azure resource group name.
19 20 21 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/azure_account_info_object.rb', line 19 def resource_group @resource_group end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureAccountInfoObject class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/azure_account_info_object.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AzureAccountInfoObject', type: { name: 'Composite', class_name: 'AzureAccountInfoObject', model_properties: { azure_subscription_id: { client_side_validation: true, required: true, serialized_name: 'azureSubscriptionId', type: { name: 'String' } }, resource_group: { client_side_validation: true, required: true, serialized_name: 'resourceGroup', type: { name: 'String' } }, account_name: { client_side_validation: true, required: true, serialized_name: 'accountName', type: { name: 'String' } } } } } end |