azure_mgmt_notification_hubs 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_notification_hubs.rb +6 -2
- data/lib/generated/azure_mgmt_notification_hubs/hubs.rb +132 -0
- data/lib/generated/azure_mgmt_notification_hubs/models/access_rights.rb +1 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/adm_credential.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/apns_credential.rb +45 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/baidu_credential.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/check_availability_result.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/check_name_availability_request_parameters.rb +57 -0
- data/lib/generated/azure_mgmt_notification_hubs/models/check_name_availability_response.rb +68 -0
- data/lib/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/namespace_resource.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/namespace_type.rb +1 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/policykey_resource.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/resource.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/sku.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/sku_name.rb +1 -1
- data/lib/generated/azure_mgmt_notification_hubs/models/wns_credential.rb +2 -1
- data/lib/generated/azure_mgmt_notification_hubs/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_notification_hubs/name.rb +130 -0
- data/lib/generated/azure_mgmt_notification_hubs/namespaces.rb +54 -55
- data/lib/generated/azure_mgmt_notification_hubs/notification_hubs.rb +47 -48
- data/lib/generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb +10 -2
- data/lib/generated/azure_mgmt_notification_hubs/version.rb +2 -2
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b4fcee820801c408533092044923a060040a65c
|
4
|
+
data.tar.gz: 7719d6bd7906efc15e92c24c37644b6ac4300911
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be776df5f457ef4225760e737bdec7f8804a2339773a6a3cb3dcf7e9e9b5dff7ceeddfb149e106955bc168c52f430abcf0a524e641016f9f5fcd3a08f695a5e3
|
7
|
+
data.tar.gz: 7ef35b86b3f5df2cbaa3a110acf745417cad44413f40ed9b1f45bf9eeef44ca677b7f9c13a9405892c1423d65c29cdd32baaf82c9b364e4d24f12b8ecf5eb7c4
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -21,15 +21,19 @@ require 'ms_rest_azure'
|
|
21
21
|
|
22
22
|
module Azure::ARM::NotificationHubs
|
23
23
|
autoload :Namespaces, 'generated/azure_mgmt_notification_hubs/namespaces.rb'
|
24
|
+
autoload :Name, 'generated/azure_mgmt_notification_hubs/name.rb'
|
24
25
|
autoload :NotificationHubs, 'generated/azure_mgmt_notification_hubs/notification_hubs.rb'
|
26
|
+
autoload :Hubs, 'generated/azure_mgmt_notification_hubs/hubs.rb'
|
25
27
|
autoload :NotificationHubsManagementClient, 'generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb'
|
26
28
|
|
27
29
|
module Models
|
30
|
+
autoload :ResourceListKeys, 'generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb'
|
28
31
|
autoload :PolicykeyResource, 'generated/azure_mgmt_notification_hubs/models/policykey_resource.rb'
|
32
|
+
autoload :CheckNameAvailabilityResponse, 'generated/azure_mgmt_notification_hubs/models/check_name_availability_response.rb'
|
29
33
|
autoload :ApnsCredential, 'generated/azure_mgmt_notification_hubs/models/apns_credential.rb'
|
30
34
|
autoload :CheckAvailabilityParameters, 'generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb'
|
31
35
|
autoload :WnsCredential, 'generated/azure_mgmt_notification_hubs/models/wns_credential.rb'
|
32
|
-
autoload :
|
36
|
+
autoload :CheckNameAvailabilityRequestParameters, 'generated/azure_mgmt_notification_hubs/models/check_name_availability_request_parameters.rb'
|
33
37
|
autoload :NamespacePatchParameters, 'generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb'
|
34
38
|
autoload :Sku, 'generated/azure_mgmt_notification_hubs/models/sku.rb'
|
35
39
|
autoload :SharedAccessAuthorizationRuleProperties, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb'
|
@@ -0,0 +1,132 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::NotificationHubs
|
7
|
+
#
|
8
|
+
# Azure NotificationHub client
|
9
|
+
#
|
10
|
+
class Hubs
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Hubs class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [NotificationHubsManagementClient] reference to the NotificationHubsManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Checks the availability of the given notificationHub in a namespace.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param namespace_name [String] The namespace name.
|
29
|
+
# @param parameters [CheckNameAvailabilityRequestParameters] The
|
30
|
+
# notificationHub name.
|
31
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
|
+
# will be added to the HTTP request.
|
33
|
+
#
|
34
|
+
# @return [CheckNameAvailabilityResponse] operation results.
|
35
|
+
#
|
36
|
+
def check_availability(resource_group_name, namespace_name, parameters, custom_headers = nil)
|
37
|
+
response = check_availability_async(resource_group_name, namespace_name, parameters, custom_headers).value!
|
38
|
+
response.body unless response.nil?
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Checks the availability of the given notificationHub in a namespace.
|
43
|
+
#
|
44
|
+
# @param resource_group_name [String] The name of the resource group.
|
45
|
+
# @param namespace_name [String] The namespace name.
|
46
|
+
# @param parameters [CheckNameAvailabilityRequestParameters] The
|
47
|
+
# notificationHub name.
|
48
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
|
+
# will be added to the HTTP request.
|
50
|
+
#
|
51
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
|
+
#
|
53
|
+
def check_availability_with_http_info(resource_group_name, namespace_name, parameters, custom_headers = nil)
|
54
|
+
check_availability_async(resource_group_name, namespace_name, parameters, custom_headers).value!
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Checks the availability of the given notificationHub in a namespace.
|
59
|
+
#
|
60
|
+
# @param resource_group_name [String] The name of the resource group.
|
61
|
+
# @param namespace_name [String] The namespace name.
|
62
|
+
# @param parameters [CheckNameAvailabilityRequestParameters] The
|
63
|
+
# notificationHub name.
|
64
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
65
|
+
# to the HTTP request.
|
66
|
+
#
|
67
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
|
+
#
|
69
|
+
def check_availability_async(resource_group_name, namespace_name, parameters, custom_headers = nil)
|
70
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
71
|
+
fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
|
72
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
73
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
74
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
75
|
+
|
76
|
+
|
77
|
+
request_headers = {}
|
78
|
+
|
79
|
+
# Set Headers
|
80
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
81
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
82
|
+
|
83
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
84
|
+
|
85
|
+
# Serialize Request
|
86
|
+
request_mapper = Azure::ARM::NotificationHubs::Models::CheckNameAvailabilityRequestParameters.mapper()
|
87
|
+
request_content = @client.serialize(request_mapper, parameters)
|
88
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
89
|
+
|
90
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/checkHubAvailability'
|
91
|
+
|
92
|
+
request_url = @base_url || @client.base_url
|
93
|
+
|
94
|
+
options = {
|
95
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
96
|
+
path_params: {'resourceGroupName' => resource_group_name,'namespaceName' => namespace_name,'subscriptionId' => @client.subscription_id},
|
97
|
+
query_params: {'api-version' => @client.api_version},
|
98
|
+
body: request_content,
|
99
|
+
headers: request_headers.merge(custom_headers || {}),
|
100
|
+
base_url: request_url
|
101
|
+
}
|
102
|
+
promise = @client.make_request_async(:post, path_template, options)
|
103
|
+
|
104
|
+
promise = promise.then do |result|
|
105
|
+
http_response = result.response
|
106
|
+
status_code = http_response.status
|
107
|
+
response_content = http_response.body
|
108
|
+
unless status_code == 200
|
109
|
+
error_model = JSON.load(response_content)
|
110
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
111
|
+
end
|
112
|
+
|
113
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
114
|
+
# Deserialize Response
|
115
|
+
if status_code == 200
|
116
|
+
begin
|
117
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
118
|
+
result_mapper = Azure::ARM::NotificationHubs::Models::CheckNameAvailabilityResponse.mapper()
|
119
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
120
|
+
rescue Exception => e
|
121
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
result
|
126
|
+
end
|
127
|
+
|
128
|
+
promise.execute
|
129
|
+
end
|
130
|
+
|
131
|
+
end
|
132
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::NotificationHubs
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] The client identifier.
|
16
17
|
attr_accessor :client_id
|
17
18
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::NotificationHubs
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] The APNS certificate.
|
16
17
|
attr_accessor :apns_certificate
|
17
18
|
|
@@ -24,6 +25,21 @@ module Azure::ARM::NotificationHubs
|
|
24
25
|
# @return [String] The Apns certificate Thumbprint
|
25
26
|
attr_accessor :thumbprint
|
26
27
|
|
28
|
+
# @return [String] A 10-character key identifier (kid) key, obtained from
|
29
|
+
# your developer account
|
30
|
+
attr_accessor :key_id
|
31
|
+
|
32
|
+
# @return [String] The name of the application
|
33
|
+
attr_accessor :app_name
|
34
|
+
|
35
|
+
# @return [String] The issuer (iss) registered claim key, whose value is
|
36
|
+
# your 10-character Team ID, obtained from your developer account
|
37
|
+
attr_accessor :app_id
|
38
|
+
|
39
|
+
# @return [String] Provider Authentication Token, obtained through your
|
40
|
+
# developer account
|
41
|
+
attr_accessor :token
|
42
|
+
|
27
43
|
|
28
44
|
#
|
29
45
|
# Mapper for ApnsCredential class as Ruby Hash.
|
@@ -64,6 +80,34 @@ module Azure::ARM::NotificationHubs
|
|
64
80
|
type: {
|
65
81
|
name: 'String'
|
66
82
|
}
|
83
|
+
},
|
84
|
+
key_id: {
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'properties.keyId',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
app_name: {
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'properties.appName',
|
94
|
+
type: {
|
95
|
+
name: 'String'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
app_id: {
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'properties.appId',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
token: {
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'properties.token',
|
108
|
+
type: {
|
109
|
+
name: 'String'
|
110
|
+
}
|
67
111
|
}
|
68
112
|
}
|
69
113
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::NotificationHubs
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] Baidu Api Key.
|
16
17
|
attr_accessor :baidu_api_key
|
17
18
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::NotificationHubs
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [String] Resource Id
|
17
18
|
attr_accessor :id
|
18
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::NotificationHubs
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [Boolean] True if the name is available and can be used to
|
16
17
|
# create new Namespace/NotificationHub. Otherwise false.
|
17
18
|
attr_accessor :is_availiable
|
data/lib/generated/azure_mgmt_notification_hubs/models/check_name_availability_request_parameters.rb
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::NotificationHubs
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Parameters supplied to the Check Name Availability for Namespace and
|
10
|
+
# NotificationHubs.
|
11
|
+
#
|
12
|
+
class CheckNameAvailabilityRequestParameters
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [String] Resource name
|
18
|
+
attr_accessor :name
|
19
|
+
|
20
|
+
# @return [String] Resource type
|
21
|
+
attr_accessor :type
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for CheckNameAvailabilityRequestParameters class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'CheckNameAvailabilityRequestParameters',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'CheckNameAvailabilityRequestParameters',
|
35
|
+
model_properties: {
|
36
|
+
name: {
|
37
|
+
required: true,
|
38
|
+
serialized_name: 'Name',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
type: {
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'Type',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::NotificationHubs
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class CheckNameAvailabilityResponse
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Boolean] Checks if the namespace name is available
|
18
|
+
attr_accessor :name_available
|
19
|
+
|
20
|
+
# @return [String] States the reason due to which the namespace name is
|
21
|
+
# not available
|
22
|
+
attr_accessor :reason
|
23
|
+
|
24
|
+
# @return [String] The messsage returned when checking for namespace name
|
25
|
+
# availability
|
26
|
+
attr_accessor :message
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for CheckNameAvailabilityResponse class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'CheckNameAvailabilityResponse',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'CheckNameAvailabilityResponse',
|
40
|
+
model_properties: {
|
41
|
+
name_available: {
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'NameAvailable',
|
44
|
+
type: {
|
45
|
+
name: 'Boolean'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
reason: {
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'Reason',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
message: {
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'Message',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::NotificationHubs
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] The GCM endpoint.
|
16
17
|
attr_accessor :gcm_endpoint
|
17
18
|
|