azure_mgmt_notification_hubs 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +5 -13
  2. data/azure_mgmt_notification_hubs.gemspec +4 -5
  3. data/lib/azure_mgmt_notification_hubs.rb +3 -56
  4. data/lib/generated/azure_mgmt_notification_hubs.rb +58 -0
  5. data/lib/{azure_mgmt_notification_hubs → generated/azure_mgmt_notification_hubs}/models/access_rights.rb +0 -0
  6. data/lib/generated/azure_mgmt_notification_hubs/models/adm_credential.rb +46 -0
  7. data/lib/generated/azure_mgmt_notification_hubs/models/adm_credential_properties.rb +64 -0
  8. data/lib/generated/azure_mgmt_notification_hubs/models/apns_credential.rb +46 -0
  9. data/lib/generated/azure_mgmt_notification_hubs/models/apns_credential_properties.rb +74 -0
  10. data/lib/generated/azure_mgmt_notification_hubs/models/baidu_credential.rb +46 -0
  11. data/lib/generated/azure_mgmt_notification_hubs/models/baidu_credential_properties.rb +64 -0
  12. data/lib/generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb +83 -0
  13. data/lib/generated/azure_mgmt_notification_hubs/models/check_availability_resource.rb +102 -0
  14. data/lib/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb +46 -0
  15. data/lib/generated/azure_mgmt_notification_hubs/models/gcm_credential_properties.rb +54 -0
  16. data/lib/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb +46 -0
  17. data/lib/generated/azure_mgmt_notification_hubs/models/mpns_credential_properties.rb +64 -0
  18. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb +72 -0
  19. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb +95 -0
  20. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_properties.rb +153 -0
  21. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_resource.rb +102 -0
  22. data/lib/{azure_mgmt_notification_hubs → generated/azure_mgmt_notification_hubs}/models/namespace_type.rb +0 -0
  23. data/lib/generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb +73 -0
  24. data/lib/generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb +95 -0
  25. data/lib/generated/azure_mgmt_notification_hubs/models/notification_hub_properties.rb +145 -0
  26. data/lib/generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb +105 -0
  27. data/lib/generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb +56 -0
  28. data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb +67 -0
  29. data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb +97 -0
  30. data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb +133 -0
  31. data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb +107 -0
  32. data/lib/generated/azure_mgmt_notification_hubs/models/wns_credential.rb +46 -0
  33. data/lib/generated/azure_mgmt_notification_hubs/models/wns_credential_properties.rb +64 -0
  34. data/lib/{azure_mgmt_notification_hubs → generated/azure_mgmt_notification_hubs}/module_definition.rb +0 -0
  35. data/lib/{azure_mgmt_notification_hubs → generated/azure_mgmt_notification_hubs}/namespaces.rb +166 -82
  36. data/lib/{azure_mgmt_notification_hubs → generated/azure_mgmt_notification_hubs}/notification_hubs.rb +119 -72
  37. data/lib/{azure_mgmt_notification_hubs → generated/azure_mgmt_notification_hubs}/notification_hubs_management_client.rb +4 -4
  38. data/lib/{azure_mgmt_notification_hubs → generated/azure_mgmt_notification_hubs}/version.rb +1 -1
  39. metadata +56 -76
  40. data/lib/azure_mgmt_notification_hubs/models/adm_credential.rb +0 -63
  41. data/lib/azure_mgmt_notification_hubs/models/adm_credential_properties.rb +0 -74
  42. data/lib/azure_mgmt_notification_hubs/models/apns_credential.rb +0 -63
  43. data/lib/azure_mgmt_notification_hubs/models/apns_credential_properties.rb +0 -83
  44. data/lib/azure_mgmt_notification_hubs/models/baidu_credential.rb +0 -63
  45. data/lib/azure_mgmt_notification_hubs/models/baidu_credential_properties.rb +0 -74
  46. data/lib/azure_mgmt_notification_hubs/models/check_availability_parameters.rb +0 -86
  47. data/lib/azure_mgmt_notification_hubs/models/check_availability_resource.rb +0 -102
  48. data/lib/azure_mgmt_notification_hubs/models/gcm_credential.rb +0 -63
  49. data/lib/azure_mgmt_notification_hubs/models/gcm_credential_properties.rb +0 -65
  50. data/lib/azure_mgmt_notification_hubs/models/mpns_credential.rb +0 -63
  51. data/lib/azure_mgmt_notification_hubs/models/mpns_credential_properties.rb +0 -74
  52. data/lib/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb +0 -83
  53. data/lib/azure_mgmt_notification_hubs/models/namespace_list_result.rb +0 -87
  54. data/lib/azure_mgmt_notification_hubs/models/namespace_properties.rb +0 -159
  55. data/lib/azure_mgmt_notification_hubs/models/namespace_resource.rb +0 -108
  56. data/lib/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb +0 -84
  57. data/lib/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb +0 -87
  58. data/lib/azure_mgmt_notification_hubs/models/notification_hub_properties.rb +0 -197
  59. data/lib/azure_mgmt_notification_hubs/models/notification_hub_resource.rb +0 -111
  60. data/lib/azure_mgmt_notification_hubs/models/resource_list_keys.rb +0 -67
  61. data/lib/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb +0 -83
  62. data/lib/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb +0 -87
  63. data/lib/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb +0 -145
  64. data/lib/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb +0 -113
  65. data/lib/azure_mgmt_notification_hubs/models/wns_credential.rb +0 -63
  66. data/lib/azure_mgmt_notification_hubs/models/wns_credential_properties.rb +0 -74
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NzdhODc3NDc3OGJiYTJmYTU2OGE2YWQ5NmIyNjMwYTAzZjJjNDlmYw==
5
- data.tar.gz: !binary |-
6
- OTkxN2JkNGEwZDdhOGY1NzlhMTYyY2JjZWNlZDEzMTRmODkwYmZhMA==
2
+ SHA1:
3
+ metadata.gz: 2e0a94ca5495d0e633ec3b06293d68202218c900
4
+ data.tar.gz: a1b317c12761a55f3831eede3415786520b2bc20
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZjVjZWIwZjlhYjBjYmVhNmJkY2I5ODVhNGQ0NTMwYzJhYzk3YjE5MGRlNzIw
10
- YjUyZjQwMzE1ZDdkMzI1MmYwNTdiZDQ2YzJlNjk2Yjg0MzhkM2ViODk0ZWYy
11
- YjU4M2RjZTMxMGM2MmFjMjNkODg4ODFkMmY5YTBiNjEyODYwMjc=
12
- data.tar.gz: !binary |-
13
- YzJhODk5MzRkNzI1YzcxZjA4ZDQxMWQxNjg5NjExZmMyYzJkM2VhYzM2MjQw
14
- ZDA4MGFmNTY3MDY3NzlkMmY5YTE4OWRlNmUxOTliNTM4OTE4ODVmNjI0YWVj
15
- MDVlMTZkYjJiYWY1MDhiNDFjOGEzMjg5MGMzMjJiNDFjMjlhYWU=
6
+ metadata.gz: 703b598dd16c477050334ce0131d709cf31c267233fe58da11d1d7f652df1725f9246a3ef5bf774149fe84bb588672e454dc524791e44c188fe5ed825eaa8a58
7
+ data.tar.gz: a45c850964e2e4eb524948db3454649cfecd3f7922dc8507a237abc9558c76dea3a047d8a823c910f3b38105ce94b40aa403e13c6aab9f9548cb20e8de3862db
@@ -5,8 +5,8 @@
5
5
  lib = File.expand_path('../lib', __FILE__)
6
6
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
7
7
 
8
- require 'azure_mgmt_notification_hubs/module_definition'
9
- require 'azure_mgmt_notification_hubs/version'
8
+ require 'generated/azure_mgmt_notification_hubs/module_definition'
9
+ require 'generated/azure_mgmt_notification_hubs/version'
10
10
 
11
11
  Gem::Specification.new do |spec|
12
12
  spec.name = 'azure_mgmt_notification_hubs'
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.email = 'azrubyteam@microsoft.com'
16
16
  spec.description = 'Microsoft Azure Notification Hubs Management Client Library for Ruby'
17
17
  spec.summary = 'Official Ruby client library to consume Microsoft Azure Notification Hubs Management services.'
18
- spec.homepage = 'http://github.com/azure/azure-sdk-ruby'
18
+ spec.homepage = 'https://aka.ms/azure-sdk-for-ruby'
19
19
  spec.license = 'MIT'
20
20
 
21
21
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -29,7 +29,6 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency 'rake', '~> 10'
30
30
  spec.add_development_dependency 'rspec', '~> 3'
31
31
  spec.add_development_dependency 'dotenv', '~> 2'
32
- spec.add_development_dependency 'azure_mgmt_resources', '~> 0.3'
33
32
 
34
- spec.add_runtime_dependency 'ms_rest_azure', '~> 0.2.3'
33
+ spec.add_runtime_dependency 'ms_rest_azure', '~> 0.3.0'
35
34
  end
@@ -1,58 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
- # Changes may cause incorrect behavior and will be lost if the code is
4
- # regenerated.
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
5
4
 
6
- require 'uri'
7
- require 'cgi'
8
- require 'date'
9
- require 'json'
10
- require 'base64'
11
- require 'erb'
12
- require 'securerandom'
13
- require 'time'
14
- require 'timeliness'
15
- require 'faraday'
16
- require 'faraday-cookie_jar'
17
- require 'concurrent'
18
- require 'ms_rest'
19
- require 'azure_mgmt_notification_hubs/module_definition'
20
- require 'ms_rest_azure'
21
-
22
- module Azure::ARM::NotificationHubs
23
- autoload :Namespaces, 'azure_mgmt_notification_hubs/namespaces.rb'
24
- autoload :NotificationHubs, 'azure_mgmt_notification_hubs/notification_hubs.rb'
25
- autoload :NotificationHubsManagementClient, 'azure_mgmt_notification_hubs/notification_hubs_management_client.rb'
26
-
27
- module Models
28
- autoload :CheckAvailabilityParameters, 'azure_mgmt_notification_hubs/models/check_availability_parameters.rb'
29
- autoload :CheckAvailabilityResource, 'azure_mgmt_notification_hubs/models/check_availability_resource.rb'
30
- autoload :NamespaceProperties, 'azure_mgmt_notification_hubs/models/namespace_properties.rb'
31
- autoload :NamespaceCreateOrUpdateParameters, 'azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb'
32
- autoload :NamespaceResource, 'azure_mgmt_notification_hubs/models/namespace_resource.rb'
33
- autoload :SharedAccessAuthorizationRuleProperties, 'azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb'
34
- autoload :SharedAccessAuthorizationRuleCreateOrUpdateParameters, 'azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb'
35
- autoload :SharedAccessAuthorizationRuleResource, 'azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb'
36
- autoload :NamespaceListResult, 'azure_mgmt_notification_hubs/models/namespace_list_result.rb'
37
- autoload :SharedAccessAuthorizationRuleListResult, 'azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb'
38
- autoload :ResourceListKeys, 'azure_mgmt_notification_hubs/models/resource_list_keys.rb'
39
- autoload :ApnsCredentialProperties, 'azure_mgmt_notification_hubs/models/apns_credential_properties.rb'
40
- autoload :ApnsCredential, 'azure_mgmt_notification_hubs/models/apns_credential.rb'
41
- autoload :WnsCredentialProperties, 'azure_mgmt_notification_hubs/models/wns_credential_properties.rb'
42
- autoload :WnsCredential, 'azure_mgmt_notification_hubs/models/wns_credential.rb'
43
- autoload :GcmCredentialProperties, 'azure_mgmt_notification_hubs/models/gcm_credential_properties.rb'
44
- autoload :GcmCredential, 'azure_mgmt_notification_hubs/models/gcm_credential.rb'
45
- autoload :MpnsCredentialProperties, 'azure_mgmt_notification_hubs/models/mpns_credential_properties.rb'
46
- autoload :MpnsCredential, 'azure_mgmt_notification_hubs/models/mpns_credential.rb'
47
- autoload :AdmCredentialProperties, 'azure_mgmt_notification_hubs/models/adm_credential_properties.rb'
48
- autoload :AdmCredential, 'azure_mgmt_notification_hubs/models/adm_credential.rb'
49
- autoload :BaiduCredentialProperties, 'azure_mgmt_notification_hubs/models/baidu_credential_properties.rb'
50
- autoload :BaiduCredential, 'azure_mgmt_notification_hubs/models/baidu_credential.rb'
51
- autoload :NotificationHubProperties, 'azure_mgmt_notification_hubs/models/notification_hub_properties.rb'
52
- autoload :NotificationHubCreateOrUpdateParameters, 'azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb'
53
- autoload :NotificationHubResource, 'azure_mgmt_notification_hubs/models/notification_hub_resource.rb'
54
- autoload :NotificationHubListResult, 'azure_mgmt_notification_hubs/models/notification_hub_list_result.rb'
55
- autoload :NamespaceType, 'azure_mgmt_notification_hubs/models/namespace_type.rb'
56
- autoload :AccessRights, 'azure_mgmt_notification_hubs/models/access_rights.rb'
57
- end
58
- end
5
+ require 'generated/azure_mgmt_notification_hubs'
@@ -0,0 +1,58 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require 'generated/azure_mgmt_notification_hubs/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::ARM::NotificationHubs
23
+ autoload :Namespaces, 'generated/azure_mgmt_notification_hubs/namespaces.rb'
24
+ autoload :NotificationHubs, 'generated/azure_mgmt_notification_hubs/notification_hubs.rb'
25
+ autoload :NotificationHubsManagementClient, 'generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb'
26
+
27
+ module Models
28
+ autoload :CheckAvailabilityParameters, 'generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb'
29
+ autoload :CheckAvailabilityResource, 'generated/azure_mgmt_notification_hubs/models/check_availability_resource.rb'
30
+ autoload :NamespaceProperties, 'generated/azure_mgmt_notification_hubs/models/namespace_properties.rb'
31
+ autoload :NamespaceCreateOrUpdateParameters, 'generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb'
32
+ autoload :NamespaceResource, 'generated/azure_mgmt_notification_hubs/models/namespace_resource.rb'
33
+ autoload :SharedAccessAuthorizationRuleProperties, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb'
34
+ autoload :SharedAccessAuthorizationRuleCreateOrUpdateParameters, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb'
35
+ autoload :SharedAccessAuthorizationRuleResource, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb'
36
+ autoload :NamespaceListResult, 'generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb'
37
+ autoload :SharedAccessAuthorizationRuleListResult, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb'
38
+ autoload :ResourceListKeys, 'generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb'
39
+ autoload :ApnsCredentialProperties, 'generated/azure_mgmt_notification_hubs/models/apns_credential_properties.rb'
40
+ autoload :ApnsCredential, 'generated/azure_mgmt_notification_hubs/models/apns_credential.rb'
41
+ autoload :WnsCredentialProperties, 'generated/azure_mgmt_notification_hubs/models/wns_credential_properties.rb'
42
+ autoload :WnsCredential, 'generated/azure_mgmt_notification_hubs/models/wns_credential.rb'
43
+ autoload :GcmCredentialProperties, 'generated/azure_mgmt_notification_hubs/models/gcm_credential_properties.rb'
44
+ autoload :GcmCredential, 'generated/azure_mgmt_notification_hubs/models/gcm_credential.rb'
45
+ autoload :MpnsCredentialProperties, 'generated/azure_mgmt_notification_hubs/models/mpns_credential_properties.rb'
46
+ autoload :MpnsCredential, 'generated/azure_mgmt_notification_hubs/models/mpns_credential.rb'
47
+ autoload :AdmCredentialProperties, 'generated/azure_mgmt_notification_hubs/models/adm_credential_properties.rb'
48
+ autoload :AdmCredential, 'generated/azure_mgmt_notification_hubs/models/adm_credential.rb'
49
+ autoload :BaiduCredentialProperties, 'generated/azure_mgmt_notification_hubs/models/baidu_credential_properties.rb'
50
+ autoload :BaiduCredential, 'generated/azure_mgmt_notification_hubs/models/baidu_credential.rb'
51
+ autoload :NotificationHubProperties, 'generated/azure_mgmt_notification_hubs/models/notification_hub_properties.rb'
52
+ autoload :NotificationHubCreateOrUpdateParameters, 'generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb'
53
+ autoload :NotificationHubResource, 'generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb'
54
+ autoload :NotificationHubListResult, 'generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb'
55
+ autoload :NamespaceType, 'generated/azure_mgmt_notification_hubs/models/namespace_type.rb'
56
+ autoload :AccessRights, 'generated/azure_mgmt_notification_hubs/models/access_rights.rb'
57
+ end
58
+ end
@@ -0,0 +1,46 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
+ # Description of a NotificationHub AdmCredential.
10
+ #
11
+ class AdmCredential
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [AdmCredentialProperties] Gets or sets properties of
16
+ # NotificationHub AdmCredential.
17
+ attr_accessor :properties
18
+
19
+
20
+ #
21
+ # Mapper for AdmCredential class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'AdmCredential',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'AdmCredential',
31
+ model_properties: {
32
+ properties: {
33
+ required: false,
34
+ serialized_name: 'properties',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'AdmCredentialProperties'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,64 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
+ # Description of a NotificationHub AdmCredential.
10
+ #
11
+ class AdmCredentialProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the client identifier.
16
+ attr_accessor :client_id
17
+
18
+ # @return [String] Gets or sets the credential secret access key.
19
+ attr_accessor :client_secret
20
+
21
+ # @return [String] Gets or sets the URL of the authorization token.
22
+ attr_accessor :auth_token_url
23
+
24
+
25
+ #
26
+ # Mapper for AdmCredentialProperties class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'AdmCredentialProperties',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'AdmCredentialProperties',
36
+ model_properties: {
37
+ client_id: {
38
+ required: false,
39
+ serialized_name: 'clientId',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ client_secret: {
45
+ required: false,
46
+ serialized_name: 'clientSecret',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ auth_token_url: {
52
+ required: false,
53
+ serialized_name: 'authTokenUrl',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,46 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
+ # Description of a NotificationHub ApnsCredential.
10
+ #
11
+ class ApnsCredential
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ApnsCredentialProperties] Gets or sets properties of
16
+ # NotificationHub ApnsCredential.
17
+ attr_accessor :properties
18
+
19
+
20
+ #
21
+ # Mapper for ApnsCredential class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'ApnsCredential',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ApnsCredential',
31
+ model_properties: {
32
+ properties: {
33
+ required: false,
34
+ serialized_name: 'properties',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ApnsCredentialProperties'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,74 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
+ # Description of a NotificationHub ApnsCredential.
10
+ #
11
+ class ApnsCredentialProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the APNS certificate.
16
+ attr_accessor :apns_certificate
17
+
18
+ # @return [String] Gets or sets the certificate key.
19
+ attr_accessor :certificate_key
20
+
21
+ # @return [String] Gets or sets the endpoint of this credential.
22
+ attr_accessor :endpoint
23
+
24
+ # @return [String] Gets or sets the Apns certificate Thumbprint
25
+ attr_accessor :thumbprint
26
+
27
+
28
+ #
29
+ # Mapper for ApnsCredentialProperties class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'ApnsCredentialProperties',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ApnsCredentialProperties',
39
+ model_properties: {
40
+ apns_certificate: {
41
+ required: false,
42
+ serialized_name: 'apnsCertificate',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ certificate_key: {
48
+ required: false,
49
+ serialized_name: 'certificateKey',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ endpoint: {
55
+ required: false,
56
+ serialized_name: 'endpoint',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ thumbprint: {
62
+ required: false,
63
+ serialized_name: 'thumbprint',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,46 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
+ # Description of a NotificationHub BaiduCredential.
10
+ #
11
+ class BaiduCredential
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [BaiduCredentialProperties] Gets or sets properties of
16
+ # NotificationHub BaiduCredential.
17
+ attr_accessor :properties
18
+
19
+
20
+ #
21
+ # Mapper for BaiduCredential class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'BaiduCredential',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'BaiduCredential',
31
+ model_properties: {
32
+ properties: {
33
+ required: false,
34
+ serialized_name: 'properties',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'BaiduCredentialProperties'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end