azure_mgmt_resources 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 (99) hide show
  1. checksums.yaml +5 -13
  2. data/azure_mgmt_resources.gemspec +4 -4
  3. data/lib/azure_mgmt_resources.rb +3 -73
  4. data/lib/generated/azure_mgmt_resources.rb +77 -0
  5. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/deployment_operations.rb +39 -15
  6. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/deployments.rb +113 -60
  7. data/lib/generated/azure_mgmt_resources/models/alias_path_type.rb +61 -0
  8. data/lib/generated/azure_mgmt_resources/models/alias_type.rb +62 -0
  9. data/lib/generated/azure_mgmt_resources/models/basic_dependency.rb +64 -0
  10. data/lib/generated/azure_mgmt_resources/models/debug_setting.rb +44 -0
  11. data/lib/generated/azure_mgmt_resources/models/dependency.rb +82 -0
  12. data/lib/generated/azure_mgmt_resources/models/deployment.rb +45 -0
  13. data/lib/generated/azure_mgmt_resources/models/deployment_export_result.rb +44 -0
  14. data/lib/generated/azure_mgmt_resources/models/deployment_extended.rb +65 -0
  15. data/lib/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +44 -0
  16. data/lib/generated/azure_mgmt_resources/models/deployment_list_result.rb +93 -0
  17. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/models/deployment_mode.rb +0 -0
  18. data/lib/generated/azure_mgmt_resources/models/deployment_operation.rb +65 -0
  19. data/lib/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +117 -0
  20. data/lib/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +93 -0
  21. data/lib/generated/azure_mgmt_resources/models/deployment_properties.rb +103 -0
  22. data/lib/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +179 -0
  23. data/lib/generated/azure_mgmt_resources/models/deployment_validate_result.rb +57 -0
  24. data/lib/generated/azure_mgmt_resources/models/export_template_request.rb +65 -0
  25. data/lib/generated/azure_mgmt_resources/models/generic_resource.rb +142 -0
  26. data/lib/generated/azure_mgmt_resources/models/generic_resource_filter.rb +64 -0
  27. data/lib/generated/azure_mgmt_resources/models/http_message.rb +44 -0
  28. data/lib/generated/azure_mgmt_resources/models/identity.rb +68 -0
  29. data/lib/generated/azure_mgmt_resources/models/parameters_link.rb +55 -0
  30. data/lib/generated/azure_mgmt_resources/models/plan.rb +74 -0
  31. data/lib/generated/azure_mgmt_resources/models/provider.rb +83 -0
  32. data/lib/generated/azure_mgmt_resources/models/provider_list_result.rb +93 -0
  33. data/lib/generated/azure_mgmt_resources/models/provider_resource_type.rb +115 -0
  34. data/lib/generated/azure_mgmt_resources/models/resource_group.rb +97 -0
  35. data/lib/generated/azure_mgmt_resources/models/resource_group_export_result.rb +55 -0
  36. data/lib/generated/azure_mgmt_resources/models/resource_group_filter.rb +54 -0
  37. data/lib/generated/azure_mgmt_resources/models/resource_group_list_result.rb +93 -0
  38. data/lib/generated/azure_mgmt_resources/models/resource_group_properties.rb +45 -0
  39. data/lib/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
  40. data/lib/generated/azure_mgmt_resources/models/resource_list_result.rb +93 -0
  41. data/lib/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +82 -0
  42. data/lib/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +85 -0
  43. data/lib/generated/azure_mgmt_resources/models/resources_move_info.rb +61 -0
  44. data/lib/generated/azure_mgmt_resources/models/sku.rb +94 -0
  45. data/lib/generated/azure_mgmt_resources/models/tag_count.rb +54 -0
  46. data/lib/generated/azure_mgmt_resources/models/tag_details.rb +83 -0
  47. data/lib/generated/azure_mgmt_resources/models/tag_value.rb +65 -0
  48. data/lib/generated/azure_mgmt_resources/models/tags_list_result.rb +93 -0
  49. data/lib/generated/azure_mgmt_resources/models/target_resource.rb +64 -0
  50. data/lib/generated/azure_mgmt_resources/models/template_link.rb +55 -0
  51. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/module_definition.rb +0 -0
  52. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/providers.rb +70 -34
  53. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/resource_groups.rb +136 -68
  54. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/resource_management_client.rb +8 -12
  55. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/resources.rb +88 -43
  56. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/tags.rb +46 -27
  57. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/version.rb +1 -1
  58. metadata +76 -78
  59. data/lib/azure_mgmt_resources/models/basic_dependency.rb +0 -74
  60. data/lib/azure_mgmt_resources/models/debug_setting.rb +0 -56
  61. data/lib/azure_mgmt_resources/models/dependency.rb +0 -103
  62. data/lib/azure_mgmt_resources/models/deployment.rb +0 -62
  63. data/lib/azure_mgmt_resources/models/deployment_export_result.rb +0 -56
  64. data/lib/azure_mgmt_resources/models/deployment_extended.rb +0 -82
  65. data/lib/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -56
  66. data/lib/azure_mgmt_resources/models/deployment_list_result.rb +0 -86
  67. data/lib/azure_mgmt_resources/models/deployment_operation.rb +0 -81
  68. data/lib/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -141
  69. data/lib/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -86
  70. data/lib/azure_mgmt_resources/models/deployment_properties.rb +0 -131
  71. data/lib/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -231
  72. data/lib/azure_mgmt_resources/models/deployment_validate_result.rb +0 -80
  73. data/lib/azure_mgmt_resources/models/export_template_request.rb +0 -69
  74. data/lib/azure_mgmt_resources/models/generic_resource.rb +0 -101
  75. data/lib/azure_mgmt_resources/models/generic_resource_filter.rb +0 -74
  76. data/lib/azure_mgmt_resources/models/http_message.rb +0 -56
  77. data/lib/azure_mgmt_resources/models/parameters_link.rb +0 -66
  78. data/lib/azure_mgmt_resources/models/plan.rb +0 -83
  79. data/lib/azure_mgmt_resources/models/provider.rb +0 -104
  80. data/lib/azure_mgmt_resources/models/provider_list_result.rb +0 -85
  81. data/lib/azure_mgmt_resources/models/provider_resource_type.rb +0 -86
  82. data/lib/azure_mgmt_resources/models/resource_group.rb +0 -104
  83. data/lib/azure_mgmt_resources/models/resource_group_export_result.rb +0 -71
  84. data/lib/azure_mgmt_resources/models/resource_group_filter.rb +0 -65
  85. data/lib/azure_mgmt_resources/models/resource_group_list_result.rb +0 -87
  86. data/lib/azure_mgmt_resources/models/resource_group_properties.rb +0 -56
  87. data/lib/azure_mgmt_resources/models/resource_list_result.rb +0 -87
  88. data/lib/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -107
  89. data/lib/azure_mgmt_resources/models/resource_provider_operation_definition.rb +0 -72
  90. data/lib/azure_mgmt_resources/models/resource_provider_operation_detail_list_result.rb +0 -78
  91. data/lib/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -93
  92. data/lib/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  93. data/lib/azure_mgmt_resources/models/tag_count.rb +0 -65
  94. data/lib/azure_mgmt_resources/models/tag_details.rb +0 -110
  95. data/lib/azure_mgmt_resources/models/tag_value.rb +0 -80
  96. data/lib/azure_mgmt_resources/models/tags_list_result.rb +0 -86
  97. data/lib/azure_mgmt_resources/models/target_resource.rb +0 -74
  98. data/lib/azure_mgmt_resources/models/template_link.rb +0 -66
  99. data/lib/azure_mgmt_resources/resource_provider_operation_details.rb +0 -233
@@ -1,231 +0,0 @@
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::Resources
7
- module Models
8
- #
9
- # Deployment properties with additional details.
10
- #
11
- class DeploymentPropertiesExtended
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the state of the provisioning.
16
- attr_accessor :provisioning_state
17
-
18
- # @return [String] Gets or sets the correlation ID of the deployment.
19
- attr_accessor :correlation_id
20
-
21
- # @return [DateTime] Gets or sets the timestamp of the template
22
- # deployment.
23
- attr_accessor :timestamp
24
-
25
- # @return Gets or sets key/value pairs that represent deploymentoutput.
26
- attr_accessor :outputs
27
-
28
- # @return [Array<Provider>] Gets the list of resource providers needed
29
- # for the deployment.
30
- attr_accessor :providers
31
-
32
- # @return [Array<Dependency>] Gets the list of deployment dependencies.
33
- attr_accessor :dependencies
34
-
35
- # @return Gets or sets the template content. Use only one of Template or
36
- # TemplateLink.
37
- attr_accessor :template
38
-
39
- # @return [TemplateLink] Gets or sets the URI referencing the template.
40
- # Use only one of Template or TemplateLink.
41
- attr_accessor :template_link
42
-
43
- # @return Deployment parameters. Use only one of Parameters or
44
- # ParametersLink.
45
- attr_accessor :parameters
46
-
47
- # @return [ParametersLink] Gets or sets the URI referencing the
48
- # parameters. Use only one of Parameters or ParametersLink.
49
- attr_accessor :parameters_link
50
-
51
- # @return [DeploymentMode] Gets or sets the deployment mode. Possible
52
- # values include: 'Incremental', 'Complete'
53
- attr_accessor :mode
54
-
55
- # @return [DebugSetting] Gets or sets the debug setting of the
56
- # deployment.
57
- attr_accessor :debug_setting
58
-
59
- #
60
- # Validate the object. Throws ValidationError if validation fails.
61
- #
62
- def validate
63
- @providers.each{ |e| e.validate if e.respond_to?(:validate) } unless @providers.nil?
64
- @dependencies.each{ |e| e.validate if e.respond_to?(:validate) } unless @dependencies.nil?
65
- @template_link.validate unless @template_link.nil?
66
- @parameters_link.validate unless @parameters_link.nil?
67
- @debug_setting.validate unless @debug_setting.nil?
68
- end
69
-
70
- #
71
- # Serializes given Model object into Ruby Hash.
72
- # @param object Model object to serialize.
73
- # @return [Hash] Serialized object in form of Ruby Hash.
74
- #
75
- def self.serialize_object(object)
76
- object.validate
77
- output_object = {}
78
-
79
- serialized_property = object.provisioning_state
80
- output_object['provisioningState'] = serialized_property unless serialized_property.nil?
81
-
82
- serialized_property = object.correlation_id
83
- output_object['correlationId'] = serialized_property unless serialized_property.nil?
84
-
85
- serialized_property = object.timestamp
86
- serialized_property = serialized_property.new_offset(0).strftime('%FT%TZ')
87
- output_object['timestamp'] = serialized_property unless serialized_property.nil?
88
-
89
- serialized_property = object.outputs
90
- output_object['outputs'] = serialized_property unless serialized_property.nil?
91
-
92
- serialized_property = object.providers
93
- unless serialized_property.nil?
94
- serializedArray = []
95
- serialized_property.each do |element|
96
- unless element.nil?
97
- element = Provider.serialize_object(element)
98
- end
99
- serializedArray.push(element)
100
- end
101
- serialized_property = serializedArray
102
- end
103
- output_object['providers'] = serialized_property unless serialized_property.nil?
104
-
105
- serialized_property = object.dependencies
106
- unless serialized_property.nil?
107
- serializedArray = []
108
- serialized_property.each do |element1|
109
- unless element1.nil?
110
- element1 = Dependency.serialize_object(element1)
111
- end
112
- serializedArray.push(element1)
113
- end
114
- serialized_property = serializedArray
115
- end
116
- output_object['dependencies'] = serialized_property unless serialized_property.nil?
117
-
118
- serialized_property = object.template
119
- output_object['template'] = serialized_property unless serialized_property.nil?
120
-
121
- serialized_property = object.template_link
122
- unless serialized_property.nil?
123
- serialized_property = TemplateLink.serialize_object(serialized_property)
124
- end
125
- output_object['templateLink'] = serialized_property unless serialized_property.nil?
126
-
127
- serialized_property = object.parameters
128
- output_object['parameters'] = serialized_property unless serialized_property.nil?
129
-
130
- serialized_property = object.parameters_link
131
- unless serialized_property.nil?
132
- serialized_property = ParametersLink.serialize_object(serialized_property)
133
- end
134
- output_object['parametersLink'] = serialized_property unless serialized_property.nil?
135
-
136
- serialized_property = object.mode
137
- output_object['mode'] = serialized_property unless serialized_property.nil?
138
-
139
- serialized_property = object.debug_setting
140
- unless serialized_property.nil?
141
- serialized_property = DebugSetting.serialize_object(serialized_property)
142
- end
143
- output_object['debugSetting'] = serialized_property unless serialized_property.nil?
144
-
145
- output_object
146
- end
147
-
148
- #
149
- # Deserializes given Ruby Hash into Model object.
150
- # @param object [Hash] Ruby Hash object to deserialize.
151
- # @return [DeploymentPropertiesExtended] Deserialized object.
152
- #
153
- def self.deserialize_object(object)
154
- return if object.nil?
155
- output_object = DeploymentPropertiesExtended.new
156
-
157
- deserialized_property = object['provisioningState']
158
- output_object.provisioning_state = deserialized_property
159
-
160
- deserialized_property = object['correlationId']
161
- output_object.correlation_id = deserialized_property
162
-
163
- deserialized_property = object['timestamp']
164
- deserialized_property = DateTime.parse(deserialized_property) unless deserialized_property.to_s.empty?
165
- output_object.timestamp = deserialized_property
166
-
167
- deserialized_property = object['outputs']
168
- output_object.outputs = deserialized_property
169
-
170
- deserialized_property = object['providers']
171
- unless deserialized_property.nil?
172
- deserialized_array = []
173
- deserialized_property.each do |element2|
174
- unless element2.nil?
175
- element2 = Provider.deserialize_object(element2)
176
- end
177
- deserialized_array.push(element2)
178
- end
179
- deserialized_property = deserialized_array
180
- end
181
- output_object.providers = deserialized_property
182
-
183
- deserialized_property = object['dependencies']
184
- unless deserialized_property.nil?
185
- deserialized_array = []
186
- deserialized_property.each do |element3|
187
- unless element3.nil?
188
- element3 = Dependency.deserialize_object(element3)
189
- end
190
- deserialized_array.push(element3)
191
- end
192
- deserialized_property = deserialized_array
193
- end
194
- output_object.dependencies = deserialized_property
195
-
196
- deserialized_property = object['template']
197
- output_object.template = deserialized_property
198
-
199
- deserialized_property = object['templateLink']
200
- unless deserialized_property.nil?
201
- deserialized_property = TemplateLink.deserialize_object(deserialized_property)
202
- end
203
- output_object.template_link = deserialized_property
204
-
205
- deserialized_property = object['parameters']
206
- output_object.parameters = deserialized_property
207
-
208
- deserialized_property = object['parametersLink']
209
- unless deserialized_property.nil?
210
- deserialized_property = ParametersLink.deserialize_object(deserialized_property)
211
- end
212
- output_object.parameters_link = deserialized_property
213
-
214
- deserialized_property = object['mode']
215
- if (!deserialized_property.nil? && !deserialized_property.empty?)
216
- enum_is_valid = DeploymentMode.constants.any? { |e| DeploymentMode.const_get(e).to_s.downcase == deserialized_property.downcase }
217
- warn 'Enum DeploymentMode does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
218
- end
219
- output_object.mode = deserialized_property
220
-
221
- deserialized_property = object['debugSetting']
222
- unless deserialized_property.nil?
223
- deserialized_property = DebugSetting.deserialize_object(deserialized_property)
224
- end
225
- output_object.debug_setting = deserialized_property
226
-
227
- output_object
228
- end
229
- end
230
- end
231
- end
@@ -1,80 +0,0 @@
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::Resources
7
- module Models
8
- #
9
- # Information from validate template deployment response.
10
- #
11
- class DeploymentValidateResult
12
-
13
- include MsRestAzure
14
-
15
- # @return [ResourceManagementErrorWithDetails] Gets or sets validation
16
- # error.
17
- attr_accessor :error
18
-
19
- # @return [DeploymentPropertiesExtended] Gets or sets the template
20
- # deployment properties.
21
- attr_accessor :properties
22
-
23
- #
24
- # Validate the object. Throws ValidationError if validation fails.
25
- #
26
- def validate
27
- @error.validate unless @error.nil?
28
- @properties.validate unless @properties.nil?
29
- end
30
-
31
- #
32
- # Serializes given Model object into Ruby Hash.
33
- # @param object Model object to serialize.
34
- # @return [Hash] Serialized object in form of Ruby Hash.
35
- #
36
- def self.serialize_object(object)
37
- object.validate
38
- output_object = {}
39
-
40
- serialized_property = object.error
41
- unless serialized_property.nil?
42
- serialized_property = ResourceManagementErrorWithDetails.serialize_object(serialized_property)
43
- end
44
- output_object['error'] = serialized_property unless serialized_property.nil?
45
-
46
- serialized_property = object.properties
47
- unless serialized_property.nil?
48
- serialized_property = DeploymentPropertiesExtended.serialize_object(serialized_property)
49
- end
50
- output_object['properties'] = serialized_property unless serialized_property.nil?
51
-
52
- output_object
53
- end
54
-
55
- #
56
- # Deserializes given Ruby Hash into Model object.
57
- # @param object [Hash] Ruby Hash object to deserialize.
58
- # @return [DeploymentValidateResult] Deserialized object.
59
- #
60
- def self.deserialize_object(object)
61
- return if object.nil?
62
- output_object = DeploymentValidateResult.new
63
-
64
- deserialized_property = object['error']
65
- unless deserialized_property.nil?
66
- deserialized_property = ResourceManagementErrorWithDetails.deserialize_object(deserialized_property)
67
- end
68
- output_object.error = deserialized_property
69
-
70
- deserialized_property = object['properties']
71
- unless deserialized_property.nil?
72
- deserialized_property = DeploymentPropertiesExtended.deserialize_object(deserialized_property)
73
- end
74
- output_object.properties = deserialized_property
75
-
76
- output_object
77
- end
78
- end
79
- end
80
- end
@@ -1,69 +0,0 @@
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::Resources
7
- module Models
8
- #
9
- # Export resource group template request parameters.
10
- #
11
- class ExportTemplateRequest
12
-
13
- include MsRestAzure
14
-
15
- # @return [Array<String>] Gets or sets the ids of the resources. The
16
- # only supported string currently is '*' (all resources). Future api
17
- # updates will support exporting specific resources.
18
- attr_accessor :resources
19
-
20
- # @return [String] The export template options. Supported values include
21
- # 'IncludeParameterDefaultValue', 'IncludeComments' or
22
- # 'IncludeParameterDefaultValue, IncludeComments
23
- attr_accessor :options
24
-
25
- #
26
- # Validate the object. Throws ValidationError if validation fails.
27
- #
28
- def validate
29
- @resources.each{ |e| e.validate if e.respond_to?(:validate) } unless @resources.nil?
30
- end
31
-
32
- #
33
- # Serializes given Model object into Ruby Hash.
34
- # @param object Model object to serialize.
35
- # @return [Hash] Serialized object in form of Ruby Hash.
36
- #
37
- def self.serialize_object(object)
38
- object.validate
39
- output_object = {}
40
-
41
- serialized_property = object.resources
42
- output_object['resources'] = serialized_property unless serialized_property.nil?
43
-
44
- serialized_property = object.options
45
- output_object['options'] = serialized_property unless serialized_property.nil?
46
-
47
- output_object
48
- end
49
-
50
- #
51
- # Deserializes given Ruby Hash into Model object.
52
- # @param object [Hash] Ruby Hash object to deserialize.
53
- # @return [ExportTemplateRequest] Deserialized object.
54
- #
55
- def self.deserialize_object(object)
56
- return if object.nil?
57
- output_object = ExportTemplateRequest.new
58
-
59
- deserialized_property = object['resources']
60
- output_object.resources = deserialized_property
61
-
62
- deserialized_property = object['options']
63
- output_object.options = deserialized_property
64
-
65
- output_object
66
- end
67
- end
68
- end
69
- end
@@ -1,101 +0,0 @@
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::Resources
7
- module Models
8
- #
9
- # Resource information.
10
- #
11
- class GenericResource < MsRestAzure::Resource
12
-
13
- include MsRestAzure
14
-
15
- # @return [Plan] Gets or sets the plan of the resource.
16
- attr_accessor :plan
17
-
18
- # @return Gets or sets the resource properties.
19
- attr_accessor :properties
20
-
21
- #
22
- # Validate the object. Throws ValidationError if validation fails.
23
- #
24
- def validate
25
- @plan.validate unless @plan.nil?
26
- end
27
-
28
- #
29
- # Serializes given Model object into Ruby Hash.
30
- # @param object Model object to serialize.
31
- # @return [Hash] Serialized object in form of Ruby Hash.
32
- #
33
- def self.serialize_object(object)
34
- object.validate
35
- output_object = {}
36
-
37
- serialized_property = object.location
38
- output_object['location'] = serialized_property unless serialized_property.nil?
39
-
40
- serialized_property = object.id
41
- output_object['id'] = serialized_property unless serialized_property.nil?
42
-
43
- serialized_property = object.name
44
- output_object['name'] = serialized_property unless serialized_property.nil?
45
-
46
- serialized_property = object.type
47
- output_object['type'] = serialized_property unless serialized_property.nil?
48
-
49
- serialized_property = object.tags
50
- output_object['tags'] = serialized_property unless serialized_property.nil?
51
-
52
- serialized_property = object.plan
53
- unless serialized_property.nil?
54
- serialized_property = Plan.serialize_object(serialized_property)
55
- end
56
- output_object['plan'] = serialized_property unless serialized_property.nil?
57
-
58
- serialized_property = object.properties
59
- output_object['properties'] = serialized_property unless serialized_property.nil?
60
-
61
- output_object
62
- end
63
-
64
- #
65
- # Deserializes given Ruby Hash into Model object.
66
- # @param object [Hash] Ruby Hash object to deserialize.
67
- # @return [GenericResource] Deserialized object.
68
- #
69
- def self.deserialize_object(object)
70
- return if object.nil?
71
- output_object = GenericResource.new
72
-
73
- deserialized_property = object['location']
74
- output_object.location = deserialized_property
75
-
76
- deserialized_property = object['id']
77
- output_object.id = deserialized_property
78
-
79
- deserialized_property = object['name']
80
- output_object.name = deserialized_property
81
-
82
- deserialized_property = object['type']
83
- output_object.type = deserialized_property
84
-
85
- deserialized_property = object['tags']
86
- output_object.tags = deserialized_property
87
-
88
- deserialized_property = object['plan']
89
- unless deserialized_property.nil?
90
- deserialized_property = Plan.deserialize_object(deserialized_property)
91
- end
92
- output_object.plan = deserialized_property
93
-
94
- deserialized_property = object['properties']
95
- output_object.properties = deserialized_property
96
-
97
- output_object
98
- end
99
- end
100
- end
101
- end