azure_mgmt_bot_service 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service.rb +82 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/azure_bot_service.rb +144 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/bot_connection.rb +936 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/bots.rb +1000 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/channels.rb +872 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/bot.rb +123 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/bot_channel.rb +126 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/bot_properties.rb +207 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/bot_response_list.rb +101 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/channel.rb +55 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/channel_name.rb +24 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/channel_response_list.rb +101 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/check_name_availability_request_body.rb +60 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/check_name_availability_response_body.rb +59 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/connection_item_name.rb +47 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/connection_setting.rb +124 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/connection_setting_parameter.rb +59 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb +126 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/connection_setting_response_list.rb +101 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/direct_line_channel.rb +63 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/direct_line_channel_properties.rb +55 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/direct_line_site.rb +119 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/email_channel.rb +63 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/email_channel_properties.rb +69 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/error.rb +47 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/error_body.rb +57 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/facebook_channel.rb +63 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/facebook_channel_properties.rb +114 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/facebook_page.rb +58 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/kik_channel.rb +63 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/kik_channel_properties.rb +80 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/kind.rb +18 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/ms_teams_channel.rb +63 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/ms_teams_channel_properties.rb +101 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/operation_display_info.rb +80 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/operation_entity.rb +81 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/operation_entity_list_result.rb +98 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/resource.rb +146 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider.rb +48 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_parameter.rb +107 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_properties.rb +116 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_response_list.rb +69 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/sku.rb +59 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/sku_name.rb +16 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/sku_tier.rb +16 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/skype_channel.rb +63 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/skype_channel_properties.rb +134 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/slack_channel.rb +63 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb +141 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/sms_channel.rb +63 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/sms_channel_properties.rb +92 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/telegram_channel.rb +63 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/telegram_channel_properties.rb +69 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/web_chat_channel.rb +63 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/web_chat_channel_properties.rb +67 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/web_chat_site.rb +107 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/module_definition.rb +9 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/operations.rb +219 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service.rb +91 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/azure_bot_service.rb +147 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/bot_connection.rb +936 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/bots.rb +1000 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/channels.rb +872 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/enterprise_channels.rb +962 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/bot.rb +123 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/bot_channel.rb +126 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/bot_properties.rb +207 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/bot_response_list.rb +101 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/channel.rb +55 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/channel_name.rb +24 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/channel_response_list.rb +101 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/check_name_availability_request_body.rb +60 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/check_name_availability_response_body.rb +59 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_item_name.rb +47 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting.rb +124 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_parameter.rb +59 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb +126 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_response_list.rb +101 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/direct_line_channel.rb +63 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/direct_line_channel_properties.rb +55 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/direct_line_site.rb +151 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/email_channel.rb +63 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/email_channel_properties.rb +69 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel.rb +124 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_check_name_availability_request.rb +49 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_check_name_availability_response.rb +60 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_node.rb +95 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_node_state.rb +24 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_properties.rb +70 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_response_list.rb +101 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_state.rb +24 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/error.rb +47 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/error_body.rb +57 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/facebook_channel.rb +63 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/facebook_channel_properties.rb +114 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/facebook_page.rb +58 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/kik_channel.rb +63 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/kik_channel_properties.rb +80 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/kind.rb +18 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/ms_teams_channel.rb +63 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/ms_teams_channel_properties.rb +68 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/operation_display_info.rb +80 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/operation_entity.rb +81 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/operation_entity_list_result.rb +98 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/resource.rb +146 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/service_provider.rb +48 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/service_provider_parameter.rb +107 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/service_provider_properties.rb +116 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/service_provider_response_list.rb +69 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sku.rb +59 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sku_name.rb +16 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sku_tier.rb +16 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/skype_channel.rb +63 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/skype_channel_properties.rb +134 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel.rb +63 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb +141 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sms_channel.rb +63 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sms_channel_properties.rb +92 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/telegram_channel.rb +63 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/telegram_channel_properties.rb +69 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/web_chat_channel.rb +63 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/web_chat_channel_properties.rb +67 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/web_chat_site.rb +107 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/module_definition.rb +9 -0
- data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/operations.rb +219 -0
- data/lib/azure_mgmt_bot_service.rb +7 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/botservice_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/botservice_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/botservice_profile_module.rb +305 -0
- data/lib/version.rb +7 -0
- metadata +249 -0
@@ -0,0 +1,123 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::BotService::Mgmt::V2017_12_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Bot resource definition
|
10
|
+
#
|
11
|
+
class Bot < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [BotProperties] The set of properties specific to bot resource
|
16
|
+
attr_accessor :properties
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for Bot class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'Bot',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'Bot',
|
31
|
+
model_properties: {
|
32
|
+
id: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'id',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
name: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'name',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
location: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'location',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
type: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
read_only: true,
|
62
|
+
serialized_name: 'type',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
tags: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'tags',
|
71
|
+
type: {
|
72
|
+
name: 'Dictionary',
|
73
|
+
value: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'StringElementType',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
sku: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'sku',
|
87
|
+
type: {
|
88
|
+
name: 'Composite',
|
89
|
+
class_name: 'Sku'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
kind: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'kind',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
etag: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'etag',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
properties: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'properties',
|
112
|
+
type: {
|
113
|
+
name: 'Composite',
|
114
|
+
class_name: 'BotProperties'
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
@@ -0,0 +1,126 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::BotService::Mgmt::V2017_12_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Bot channel resource definition
|
10
|
+
#
|
11
|
+
class BotChannel < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Channel] The set of properties specific to bot channel
|
16
|
+
# resource
|
17
|
+
attr_accessor :properties
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for BotChannel class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'BotChannel',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'BotChannel',
|
32
|
+
model_properties: {
|
33
|
+
id: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'id',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'name',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
location: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'location',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
type: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'type',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
tags: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'tags',
|
72
|
+
type: {
|
73
|
+
name: 'Dictionary',
|
74
|
+
value: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'StringElementType',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
sku: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'sku',
|
88
|
+
type: {
|
89
|
+
name: 'Composite',
|
90
|
+
class_name: 'Sku'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
kind: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'kind',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
etag: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'etag',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
},
|
109
|
+
properties: {
|
110
|
+
client_side_validation: true,
|
111
|
+
required: false,
|
112
|
+
serialized_name: 'properties',
|
113
|
+
type: {
|
114
|
+
name: 'Composite',
|
115
|
+
polymorphic_discriminator: 'channelName',
|
116
|
+
uber_parent: 'Channel',
|
117
|
+
class_name: 'Channel'
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
@@ -0,0 +1,207 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::BotService::Mgmt::V2017_12_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The parameters to provide for the Bot.
|
10
|
+
#
|
11
|
+
class BotProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The Name of the bot
|
16
|
+
attr_accessor :display_name
|
17
|
+
|
18
|
+
# @return [String] The description of the bot
|
19
|
+
attr_accessor :description
|
20
|
+
|
21
|
+
# @return [String] The Icon Url of the bot
|
22
|
+
attr_accessor :icon_url
|
23
|
+
|
24
|
+
# @return [String] The bot's endpoint
|
25
|
+
attr_accessor :endpoint
|
26
|
+
|
27
|
+
# @return [String] The bot's endpoint version
|
28
|
+
attr_accessor :endpoint_version
|
29
|
+
|
30
|
+
# @return [String] Microsoft App Id for the bot
|
31
|
+
attr_accessor :msa_app_id
|
32
|
+
|
33
|
+
# @return [Array<String>] Collection of channels for which the bot is
|
34
|
+
# configured
|
35
|
+
attr_accessor :configured_channels
|
36
|
+
|
37
|
+
# @return [Array<String>] Collection of channels for which the bot is
|
38
|
+
# enabled
|
39
|
+
attr_accessor :enabled_channels
|
40
|
+
|
41
|
+
# @return [String] The Application Insights key
|
42
|
+
attr_accessor :developer_app_insight_key
|
43
|
+
|
44
|
+
# @return [String] The Application Insights Api Key
|
45
|
+
attr_accessor :developer_app_insights_api_key
|
46
|
+
|
47
|
+
# @return [String] The Application Insights App Id
|
48
|
+
attr_accessor :developer_app_insights_application_id
|
49
|
+
|
50
|
+
# @return [Array<String>] Collection of LUIS App Ids
|
51
|
+
attr_accessor :luis_app_ids
|
52
|
+
|
53
|
+
# @return [String] The LUIS Key
|
54
|
+
attr_accessor :luis_key
|
55
|
+
|
56
|
+
|
57
|
+
#
|
58
|
+
# Mapper for BotProperties class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'BotProperties',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'BotProperties',
|
69
|
+
model_properties: {
|
70
|
+
display_name: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: true,
|
73
|
+
serialized_name: 'displayName',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
description: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'description',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
icon_url: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'iconUrl',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
endpoint: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: true,
|
97
|
+
serialized_name: 'endpoint',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
endpoint_version: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
read_only: true,
|
106
|
+
serialized_name: 'endpointVersion',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
msa_app_id: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: true,
|
114
|
+
serialized_name: 'msaAppId',
|
115
|
+
type: {
|
116
|
+
name: 'String'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
configured_channels: {
|
120
|
+
client_side_validation: true,
|
121
|
+
required: false,
|
122
|
+
read_only: true,
|
123
|
+
serialized_name: 'configuredChannels',
|
124
|
+
type: {
|
125
|
+
name: 'Sequence',
|
126
|
+
element: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'StringElementType',
|
130
|
+
type: {
|
131
|
+
name: 'String'
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
},
|
136
|
+
enabled_channels: {
|
137
|
+
client_side_validation: true,
|
138
|
+
required: false,
|
139
|
+
read_only: true,
|
140
|
+
serialized_name: 'enabledChannels',
|
141
|
+
type: {
|
142
|
+
name: 'Sequence',
|
143
|
+
element: {
|
144
|
+
client_side_validation: true,
|
145
|
+
required: false,
|
146
|
+
serialized_name: 'StringElementType',
|
147
|
+
type: {
|
148
|
+
name: 'String'
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
},
|
153
|
+
developer_app_insight_key: {
|
154
|
+
client_side_validation: true,
|
155
|
+
required: false,
|
156
|
+
serialized_name: 'developerAppInsightKey',
|
157
|
+
type: {
|
158
|
+
name: 'String'
|
159
|
+
}
|
160
|
+
},
|
161
|
+
developer_app_insights_api_key: {
|
162
|
+
client_side_validation: true,
|
163
|
+
required: false,
|
164
|
+
serialized_name: 'developerAppInsightsApiKey',
|
165
|
+
type: {
|
166
|
+
name: 'String'
|
167
|
+
}
|
168
|
+
},
|
169
|
+
developer_app_insights_application_id: {
|
170
|
+
client_side_validation: true,
|
171
|
+
required: false,
|
172
|
+
serialized_name: 'developerAppInsightsApplicationId',
|
173
|
+
type: {
|
174
|
+
name: 'String'
|
175
|
+
}
|
176
|
+
},
|
177
|
+
luis_app_ids: {
|
178
|
+
client_side_validation: true,
|
179
|
+
required: false,
|
180
|
+
serialized_name: 'luisAppIds',
|
181
|
+
type: {
|
182
|
+
name: 'Sequence',
|
183
|
+
element: {
|
184
|
+
client_side_validation: true,
|
185
|
+
required: false,
|
186
|
+
serialized_name: 'StringElementType',
|
187
|
+
type: {
|
188
|
+
name: 'String'
|
189
|
+
}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
},
|
193
|
+
luis_key: {
|
194
|
+
client_side_validation: true,
|
195
|
+
required: false,
|
196
|
+
serialized_name: 'luisKey',
|
197
|
+
type: {
|
198
|
+
name: 'String'
|
199
|
+
}
|
200
|
+
}
|
201
|
+
}
|
202
|
+
}
|
203
|
+
}
|
204
|
+
end
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|