azure_mgmt_bot_service 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service.rb +82 -0
  4. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/azure_bot_service.rb +144 -0
  5. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/bot_connection.rb +936 -0
  6. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/bots.rb +1000 -0
  7. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/channels.rb +872 -0
  8. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/bot.rb +123 -0
  9. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/bot_channel.rb +126 -0
  10. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/bot_properties.rb +207 -0
  11. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/bot_response_list.rb +101 -0
  12. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/channel.rb +55 -0
  13. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/channel_name.rb +24 -0
  14. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/channel_response_list.rb +101 -0
  15. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/check_name_availability_request_body.rb +60 -0
  16. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/check_name_availability_response_body.rb +59 -0
  17. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/connection_item_name.rb +47 -0
  18. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/connection_setting.rb +124 -0
  19. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/connection_setting_parameter.rb +59 -0
  20. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb +126 -0
  21. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/connection_setting_response_list.rb +101 -0
  22. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/direct_line_channel.rb +63 -0
  23. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/direct_line_channel_properties.rb +55 -0
  24. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/direct_line_site.rb +119 -0
  25. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/email_channel.rb +63 -0
  26. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/email_channel_properties.rb +69 -0
  27. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/error.rb +47 -0
  28. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/error_body.rb +57 -0
  29. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/facebook_channel.rb +63 -0
  30. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/facebook_channel_properties.rb +114 -0
  31. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/facebook_page.rb +58 -0
  32. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/kik_channel.rb +63 -0
  33. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/kik_channel_properties.rb +80 -0
  34. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/kind.rb +18 -0
  35. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/ms_teams_channel.rb +63 -0
  36. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/ms_teams_channel_properties.rb +101 -0
  37. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/operation_display_info.rb +80 -0
  38. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/operation_entity.rb +81 -0
  39. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/operation_entity_list_result.rb +98 -0
  40. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/resource.rb +146 -0
  41. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider.rb +48 -0
  42. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_parameter.rb +107 -0
  43. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_properties.rb +116 -0
  44. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/service_provider_response_list.rb +69 -0
  45. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/sku.rb +59 -0
  46. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/sku_name.rb +16 -0
  47. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/sku_tier.rb +16 -0
  48. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/skype_channel.rb +63 -0
  49. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/skype_channel_properties.rb +134 -0
  50. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/slack_channel.rb +63 -0
  51. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb +141 -0
  52. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/sms_channel.rb +63 -0
  53. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/sms_channel_properties.rb +92 -0
  54. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/telegram_channel.rb +63 -0
  55. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/telegram_channel_properties.rb +69 -0
  56. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/web_chat_channel.rb +63 -0
  57. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/web_chat_channel_properties.rb +67 -0
  58. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/web_chat_site.rb +107 -0
  59. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/module_definition.rb +9 -0
  60. data/lib/2017-12-01-preview/generated/azure_mgmt_bot_service/operations.rb +219 -0
  61. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service.rb +91 -0
  62. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/azure_bot_service.rb +147 -0
  63. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/bot_connection.rb +936 -0
  64. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/bots.rb +1000 -0
  65. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/channels.rb +872 -0
  66. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/enterprise_channels.rb +962 -0
  67. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/bot.rb +123 -0
  68. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/bot_channel.rb +126 -0
  69. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/bot_properties.rb +207 -0
  70. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/bot_response_list.rb +101 -0
  71. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/channel.rb +55 -0
  72. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/channel_name.rb +24 -0
  73. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/channel_response_list.rb +101 -0
  74. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/check_name_availability_request_body.rb +60 -0
  75. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/check_name_availability_response_body.rb +59 -0
  76. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_item_name.rb +47 -0
  77. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting.rb +124 -0
  78. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_parameter.rb +59 -0
  79. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_properties.rb +126 -0
  80. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/connection_setting_response_list.rb +101 -0
  81. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/direct_line_channel.rb +63 -0
  82. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/direct_line_channel_properties.rb +55 -0
  83. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/direct_line_site.rb +151 -0
  84. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/email_channel.rb +63 -0
  85. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/email_channel_properties.rb +69 -0
  86. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel.rb +124 -0
  87. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_check_name_availability_request.rb +49 -0
  88. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_check_name_availability_response.rb +60 -0
  89. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_node.rb +95 -0
  90. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_node_state.rb +24 -0
  91. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_properties.rb +70 -0
  92. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_response_list.rb +101 -0
  93. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_state.rb +24 -0
  94. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/error.rb +47 -0
  95. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/error_body.rb +57 -0
  96. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/facebook_channel.rb +63 -0
  97. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/facebook_channel_properties.rb +114 -0
  98. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/facebook_page.rb +58 -0
  99. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/kik_channel.rb +63 -0
  100. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/kik_channel_properties.rb +80 -0
  101. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/kind.rb +18 -0
  102. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/ms_teams_channel.rb +63 -0
  103. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/ms_teams_channel_properties.rb +68 -0
  104. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/operation_display_info.rb +80 -0
  105. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/operation_entity.rb +81 -0
  106. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/operation_entity_list_result.rb +98 -0
  107. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/resource.rb +146 -0
  108. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/service_provider.rb +48 -0
  109. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/service_provider_parameter.rb +107 -0
  110. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/service_provider_properties.rb +116 -0
  111. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/service_provider_response_list.rb +69 -0
  112. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sku.rb +59 -0
  113. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sku_name.rb +16 -0
  114. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sku_tier.rb +16 -0
  115. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/skype_channel.rb +63 -0
  116. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/skype_channel_properties.rb +134 -0
  117. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel.rb +63 -0
  118. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb +141 -0
  119. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sms_channel.rb +63 -0
  120. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sms_channel_properties.rb +92 -0
  121. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/telegram_channel.rb +63 -0
  122. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/telegram_channel_properties.rb +69 -0
  123. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/web_chat_channel.rb +63 -0
  124. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/web_chat_channel_properties.rb +67 -0
  125. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/web_chat_site.rb +107 -0
  126. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/module_definition.rb +9 -0
  127. data/lib/2018-07-12-preview/generated/azure_mgmt_bot_service/operations.rb +219 -0
  128. data/lib/azure_mgmt_bot_service.rb +7 -0
  129. data/lib/module_definition.rb +7 -0
  130. data/lib/profiles/latest/botservice_latest_profile_client.rb +40 -0
  131. data/lib/profiles/latest/botservice_module_definition.rb +8 -0
  132. data/lib/profiles/latest/modules/botservice_profile_module.rb +305 -0
  133. data/lib/version.rb +7 -0
  134. metadata +249 -0
@@ -0,0 +1,134 @@
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::V2018_07_12_preview
7
+ module Models
8
+ #
9
+ # The parameters to provide for the Microsoft Teams channel.
10
+ #
11
+ class SkypeChannelProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Enable messaging for Skype channel
16
+ attr_accessor :enable_messaging
17
+
18
+ # @return [Boolean] Enable media cards for Skype channel
19
+ attr_accessor :enable_media_cards
20
+
21
+ # @return [Boolean] Enable video for Skype channel
22
+ attr_accessor :enable_video
23
+
24
+ # @return [Boolean] Enable calling for Skype channel
25
+ attr_accessor :enable_calling
26
+
27
+ # @return [Boolean] Enable screen sharing for Skype channel
28
+ attr_accessor :enable_screen_sharing
29
+
30
+ # @return [Boolean] Enable groups for Skype channel
31
+ attr_accessor :enable_groups
32
+
33
+ # @return [String] Group mode for Skype channel
34
+ attr_accessor :groups_mode
35
+
36
+ # @return [String] Calling web hook for Skype channel
37
+ attr_accessor :calling_web_hook
38
+
39
+ # @return [Boolean] Whether this channel is enabled for the bot
40
+ attr_accessor :is_enabled
41
+
42
+
43
+ #
44
+ # Mapper for SkypeChannelProperties class as Ruby Hash.
45
+ # This will be used for serialization/deserialization.
46
+ #
47
+ def self.mapper()
48
+ {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'SkypeChannelProperties',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'SkypeChannelProperties',
55
+ model_properties: {
56
+ enable_messaging: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'enableMessaging',
60
+ type: {
61
+ name: 'Boolean'
62
+ }
63
+ },
64
+ enable_media_cards: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'enableMediaCards',
68
+ type: {
69
+ name: 'Boolean'
70
+ }
71
+ },
72
+ enable_video: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'enableVideo',
76
+ type: {
77
+ name: 'Boolean'
78
+ }
79
+ },
80
+ enable_calling: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'enableCalling',
84
+ type: {
85
+ name: 'Boolean'
86
+ }
87
+ },
88
+ enable_screen_sharing: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'enableScreenSharing',
92
+ type: {
93
+ name: 'Boolean'
94
+ }
95
+ },
96
+ enable_groups: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'enableGroups',
100
+ type: {
101
+ name: 'Boolean'
102
+ }
103
+ },
104
+ groups_mode: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ serialized_name: 'groupsMode',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ calling_web_hook: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'callingWebHook',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ },
120
+ is_enabled: {
121
+ client_side_validation: true,
122
+ required: true,
123
+ serialized_name: 'isEnabled',
124
+ type: {
125
+ name: 'Boolean'
126
+ }
127
+ }
128
+ }
129
+ }
130
+ }
131
+ end
132
+ end
133
+ end
134
+ end
@@ -0,0 +1,63 @@
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::V2018_07_12_preview
7
+ module Models
8
+ #
9
+ # Slack channel definition
10
+ #
11
+ class SlackChannel < Channel
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @channelName = "SlackChannel"
18
+ end
19
+
20
+ attr_accessor :channelName
21
+
22
+ # @return [SlackChannelProperties] The set of properties specific to
23
+ # Slack channel resource
24
+ attr_accessor :properties
25
+
26
+
27
+ #
28
+ # Mapper for SlackChannel class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'SlackChannel',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'SlackChannel',
39
+ model_properties: {
40
+ channelName: {
41
+ client_side_validation: true,
42
+ required: true,
43
+ serialized_name: 'channelName',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ properties: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'properties',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'SlackChannelProperties'
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,141 @@
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::V2018_07_12_preview
7
+ module Models
8
+ #
9
+ # The parameters to provide for the Slack channel.
10
+ #
11
+ class SlackChannelProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The Slack client id
16
+ attr_accessor :client_id
17
+
18
+ # @return [String] The Slack client secret. Value only returned through
19
+ # POST to the action Channel List API, otherwise empty.
20
+ attr_accessor :client_secret
21
+
22
+ # @return [String] The Slack verification token. Value only returned
23
+ # through POST to the action Channel List API, otherwise empty.
24
+ attr_accessor :verification_token
25
+
26
+ # @return [String] The Slack landing page Url
27
+ attr_accessor :landing_page_url
28
+
29
+ # @return [String] The Slack redirect action
30
+ attr_accessor :redirect_action
31
+
32
+ # @return [String] The Sms auth token
33
+ attr_accessor :last_submission_id
34
+
35
+ # @return [Boolean] Whether to register the settings before OAuth
36
+ # validation is performed. Recommended to True.
37
+ attr_accessor :register_before_oauth_flow
38
+
39
+ # @return [Boolean] Whether this channel is validated for the bot
40
+ attr_accessor :is_validated
41
+
42
+ # @return [Boolean] Whether this channel is enabled for the bot
43
+ attr_accessor :is_enabled
44
+
45
+
46
+ #
47
+ # Mapper for SlackChannelProperties class as Ruby Hash.
48
+ # This will be used for serialization/deserialization.
49
+ #
50
+ def self.mapper()
51
+ {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'SlackChannelProperties',
55
+ type: {
56
+ name: 'Composite',
57
+ class_name: 'SlackChannelProperties',
58
+ model_properties: {
59
+ client_id: {
60
+ client_side_validation: true,
61
+ required: true,
62
+ serialized_name: 'clientId',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ client_secret: {
68
+ client_side_validation: true,
69
+ required: true,
70
+ serialized_name: 'clientSecret',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ verification_token: {
76
+ client_side_validation: true,
77
+ required: true,
78
+ serialized_name: 'verificationToken',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ landing_page_url: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'landingPageUrl',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ redirect_action: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ read_only: true,
95
+ serialized_name: 'redirectAction',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ },
100
+ last_submission_id: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ read_only: true,
104
+ serialized_name: 'lastSubmissionId',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ },
109
+ register_before_oauth_flow: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ read_only: true,
113
+ serialized_name: 'registerBeforeOAuthFlow',
114
+ type: {
115
+ name: 'Boolean'
116
+ }
117
+ },
118
+ is_validated: {
119
+ client_side_validation: true,
120
+ required: false,
121
+ read_only: true,
122
+ serialized_name: 'isValidated',
123
+ type: {
124
+ name: 'Boolean'
125
+ }
126
+ },
127
+ is_enabled: {
128
+ client_side_validation: true,
129
+ required: true,
130
+ serialized_name: 'isEnabled',
131
+ type: {
132
+ name: 'Boolean'
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
138
+ end
139
+ end
140
+ end
141
+ end
@@ -0,0 +1,63 @@
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::V2018_07_12_preview
7
+ module Models
8
+ #
9
+ # Sms channel definition
10
+ #
11
+ class SmsChannel < Channel
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @channelName = "SmsChannel"
18
+ end
19
+
20
+ attr_accessor :channelName
21
+
22
+ # @return [SmsChannelProperties] The set of properties specific to Sms
23
+ # channel resource
24
+ attr_accessor :properties
25
+
26
+
27
+ #
28
+ # Mapper for SmsChannel class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'SmsChannel',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'SmsChannel',
39
+ model_properties: {
40
+ channelName: {
41
+ client_side_validation: true,
42
+ required: true,
43
+ serialized_name: 'channelName',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ properties: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'properties',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'SmsChannelProperties'
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,92 @@
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::V2018_07_12_preview
7
+ module Models
8
+ #
9
+ # The parameters to provide for the Sms channel.
10
+ #
11
+ class SmsChannelProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The Sms phone
16
+ attr_accessor :phone
17
+
18
+ # @return [String] The Sms account SID. Value only returned through POST
19
+ # to the action Channel List API, otherwise empty.
20
+ attr_accessor :account_sid
21
+
22
+ # @return [String] The Sms auth token. Value only returned through POST
23
+ # to the action Channel List API, otherwise empty.
24
+ attr_accessor :auth_token
25
+
26
+ # @return [Boolean] Whether this channel is validated for the bot
27
+ attr_accessor :is_validated
28
+
29
+ # @return [Boolean] Whether this channel is enabled for the bot
30
+ attr_accessor :is_enabled
31
+
32
+
33
+ #
34
+ # Mapper for SmsChannelProperties class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'SmsChannelProperties',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'SmsChannelProperties',
45
+ model_properties: {
46
+ phone: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'phone',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ account_sid: {
55
+ client_side_validation: true,
56
+ required: true,
57
+ serialized_name: 'accountSID',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ auth_token: {
63
+ client_side_validation: true,
64
+ required: true,
65
+ serialized_name: 'authToken',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ is_validated: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'isValidated',
74
+ type: {
75
+ name: 'Boolean'
76
+ }
77
+ },
78
+ is_enabled: {
79
+ client_side_validation: true,
80
+ required: true,
81
+ serialized_name: 'isEnabled',
82
+ type: {
83
+ name: 'Boolean'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end