Class: Azure::BotService::Mgmt::V2017_12_01_preview::Models::ServiceProviderProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_properties.rb

Overview

The Object used to describe a Service Provider supported by Bot Service

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#dev_portal_urlString



25
26
27
# File 'lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_properties.rb', line 25

def dev_portal_url
  @dev_portal_url
end

#display_nameString



19
20
21
# File 'lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_properties.rb', line 19

def display_name
  @display_name
end

#icon_urlString



28
29
30
# File 'lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_properties.rb', line 28

def icon_url
  @icon_url
end

#idString



16
17
18
# File 'lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_properties.rb', line 16

def id
  @id
end

#parametersArray<ServiceProviderParameter>

the Service Provider



32
33
34
# File 'lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_properties.rb', line 32

def parameters
  @parameters
end

#service_provider_nameString



22
23
24
# File 'lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_properties.rb', line 22

def service_provider_name
  @service_provider_name
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_properties.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceProviderProperties',
    type: {
      name: 'Composite',
      class_name: 'ServiceProviderProperties',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        service_provider_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'serviceProviderName',
          type: {
            name: 'String'
          }
        },
        dev_portal_url: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'devPortalUrl',
          type: {
            name: 'String'
          }
        },
        icon_url: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'iconUrl',
          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: 'ServiceProviderParameterElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ServiceProviderParameter'
                }
            }
          }
        }
      }
    }
  }
end