Class: Azure::BotService::Mgmt::V2018_07_12_preview::Models::ConnectionSettingProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb

Overview

Properties for a Connection Setting Item

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#client_idString

Returns Client Id associated with the Connection Setting.

Returns:

  • (String)

    Client Id associated with the Connection Setting.



16
17
18
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb', line 16

def client_id
  @client_id
end

#client_secretString

Returns Client Secret associated with the Connection Setting.

Returns:

  • (String)

    Client Secret associated with the Connection Setting



23
24
25
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb', line 23

def client_secret
  @client_secret
end

#parametersArray<ConnectionSettingParameter>

associated with the Connection Setting

Returns:



38
39
40
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb', line 38

def parameters
  @parameters
end

#scopesString

Returns Scopes associated with the Connection Setting.

Returns:

  • (String)

    Scopes associated with the Connection Setting



26
27
28
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb', line 26

def scopes
  @scopes
end

#service_provider_display_nameString

Connection Setting

Returns:

  • (String)

    Service Provider Display Name associated with the



34
35
36
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb', line 34

def service_provider_display_name
  @service_provider_display_name
end

#service_provider_idString

Setting

Returns:

  • (String)

    Service Provider Id associated with the Connection



30
31
32
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb', line 30

def service_provider_id
  @service_provider_id
end

#setting_idString

Setting.

Returns:

  • (String)

    Setting Id set by the service for the Connection



20
21
22
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb', line 20

def setting_id
  @setting_id
end

Class Method Details

.mapperObject

Mapper for ConnectionSettingProperties class as Ruby Hash. This will be used for serialization/deserialization.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb', line 45

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionSettingProperties',
    type: {
      name: 'Composite',
      class_name: 'ConnectionSettingProperties',
      model_properties: {
        client_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'clientId',
          type: {
            name: 'String'
          }
        },
        setting_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'settingId',
          type: {
            name: 'String'
          }
        },
        client_secret: {
          client_side_validation: true,
          required: false,
          serialized_name: 'clientSecret',
          type: {
            name: 'String'
          }
        },
        scopes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'scopes',
          type: {
            name: 'String'
          }
        },
        service_provider_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceProviderId',
          type: {
            name: 'String'
          }
        },
        service_provider_display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceProviderDisplayName',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ConnectionSettingParameterElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ConnectionSettingParameter'
                }
            }
          }
        }
      }
    }
  }
end