azure_mgmt_resources 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/azure_mgmt_resources.gemspec +2 -7
  3. data/lib/azure_mgmt_resources.rb +21 -18
  4. data/lib/azure_mgmt_resources/deployment_operations.rb +54 -135
  5. data/lib/azure_mgmt_resources/deployments.rb +314 -305
  6. data/lib/azure_mgmt_resources/models/basic_dependency.rb +1 -3
  7. data/lib/azure_mgmt_resources/models/dependency.rb +4 -6
  8. data/lib/azure_mgmt_resources/models/deployment.rb +1 -3
  9. data/lib/azure_mgmt_resources/models/deployment_extended.rb +8 -9
  10. data/lib/azure_mgmt_resources/models/deployment_extended_filter.rb +1 -3
  11. data/lib/azure_mgmt_resources/models/deployment_list_result.rb +4 -6
  12. data/lib/azure_mgmt_resources/models/deployment_mode.rb +2 -1
  13. data/lib/azure_mgmt_resources/models/deployment_operation.rb +1 -3
  14. data/lib/azure_mgmt_resources/models/deployment_operation_properties.rb +1 -3
  15. data/lib/azure_mgmt_resources/models/deployment_operations_list_result.rb +4 -6
  16. data/lib/azure_mgmt_resources/models/deployment_properties.rb +3 -5
  17. data/lib/azure_mgmt_resources/models/deployment_properties_extended.rb +9 -11
  18. data/lib/azure_mgmt_resources/models/deployment_validate_result.rb +1 -3
  19. data/lib/azure_mgmt_resources/models/generic_resource.rb +1 -3
  20. data/lib/azure_mgmt_resources/models/generic_resource_filter.rb +1 -3
  21. data/lib/azure_mgmt_resources/models/parameters_link.rb +2 -4
  22. data/lib/azure_mgmt_resources/models/plan.rb +1 -3
  23. data/lib/azure_mgmt_resources/models/policy_assignment.rb +72 -0
  24. data/lib/azure_mgmt_resources/models/policy_assignment_list_result.rb +86 -0
  25. data/lib/azure_mgmt_resources/models/policy_assignment_properties.rb +74 -0
  26. data/lib/azure_mgmt_resources/models/policy_definition.rb +72 -0
  27. data/lib/azure_mgmt_resources/models/policy_definition_properties.rb +74 -0
  28. data/lib/azure_mgmt_resources/models/provider.rb +4 -6
  29. data/lib/azure_mgmt_resources/models/provider_list_result.rb +4 -6
  30. data/lib/azure_mgmt_resources/models/provider_resource_type.rb +1 -3
  31. data/lib/azure_mgmt_resources/models/resource_group.rb +8 -9
  32. data/lib/azure_mgmt_resources/models/resource_group_filter.rb +1 -3
  33. data/lib/azure_mgmt_resources/models/resource_group_list_result.rb +11 -12
  34. data/lib/azure_mgmt_resources/models/resource_group_properties.rb +1 -3
  35. data/lib/azure_mgmt_resources/models/resource_list_result.rb +11 -12
  36. data/lib/azure_mgmt_resources/models/resource_management_error.rb +3 -4
  37. data/lib/azure_mgmt_resources/models/resource_management_error_with_details.rb +23 -35
  38. data/lib/azure_mgmt_resources/models/resource_provider_operation_definition.rb +1 -3
  39. data/lib/azure_mgmt_resources/models/resource_provider_operation_detail_list_result.rb +4 -6
  40. data/lib/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +1 -3
  41. data/lib/azure_mgmt_resources/models/resources_move_info.rb +1 -3
  42. data/lib/azure_mgmt_resources/models/tag_count.rb +1 -3
  43. data/lib/azure_mgmt_resources/models/tag_details.rb +4 -6
  44. data/lib/azure_mgmt_resources/models/tag_value.rb +1 -3
  45. data/lib/azure_mgmt_resources/models/tags_list_result.rb +11 -12
  46. data/lib/azure_mgmt_resources/models/target_resource.rb +1 -3
  47. data/lib/azure_mgmt_resources/models/template_link.rb +2 -4
  48. data/lib/azure_mgmt_resources/module_definition.rb +5 -3
  49. data/lib/azure_mgmt_resources/policy_assignments.rb +922 -0
  50. data/lib/azure_mgmt_resources/policy_definitions.rb +208 -0
  51. data/lib/azure_mgmt_resources/providers.rb +90 -219
  52. data/lib/azure_mgmt_resources/resource_groups.rb +166 -434
  53. data/lib/azure_mgmt_resources/resource_management_client.rb +25 -10
  54. data/lib/azure_mgmt_resources/resource_provider_operation_details.rb +88 -43
  55. data/lib/azure_mgmt_resources/resources.rb +162 -366
  56. data/lib/azure_mgmt_resources/tags.rb +110 -264
  57. data/lib/azure_mgmt_resources/version.rb +5 -3
  58. metadata +12 -86
  59. data/.travis.yml +0 -3
  60. data/Gemfile +0 -14
  61. data/lib/azure_mgmt_resources/models/resource_group_extended.rb +0 -113
  62. data/lib/azure_mgmt_resources/models/resource_group_extended_filter.rb +0 -63
  63. data/lib/azure_mgmt_resources/models/resource_group_format_resource_properties.rb +0 -54
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -67,8 +67,6 @@ module Azure::ARM::Resources
67
67
  deserialized_property = object['resourceName']
68
68
  output_object.resource_name = deserialized_property
69
69
 
70
- output_object.validate
71
-
72
70
  output_object
73
71
  end
74
72
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -76,14 +76,14 @@ module Azure::ARM::Resources
76
76
 
77
77
  deserialized_property = object['dependsOn']
78
78
  unless deserialized_property.nil?
79
- deserializedArray = [];
79
+ deserialized_array = []
80
80
  deserialized_property.each do |element1|
81
81
  unless element1.nil?
82
82
  element1 = BasicDependency.deserialize_object(element1)
83
83
  end
84
- deserializedArray.push(element1);
84
+ deserialized_array.push(element1)
85
85
  end
86
- deserialized_property = deserializedArray;
86
+ deserialized_property = deserialized_array
87
87
  end
88
88
  output_object.depends_on = deserialized_property
89
89
 
@@ -96,8 +96,6 @@ module Azure::ARM::Resources
96
96
  deserialized_property = object['resourceName']
97
97
  output_object.resource_name = deserialized_property
98
98
 
99
- output_object.validate
100
-
101
99
  output_object
102
100
  end
103
101
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -55,8 +55,6 @@ module Azure::ARM::Resources
55
55
  end
56
56
  output_object.properties = deserialized_property
57
57
 
58
- output_object.validate
59
-
60
58
  output_object
61
59
  end
62
60
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -26,6 +26,7 @@ module Azure::ARM::Resources
26
26
  # Validate the object. Throws ValidationError if validation fails.
27
27
  #
28
28
  def validate
29
+ fail MsRest::ValidationError, 'property name is nil' if @name.nil?
29
30
  @properties.validate unless @properties.nil?
30
31
  end
31
32
 
@@ -38,12 +39,12 @@ module Azure::ARM::Resources
38
39
  object.validate
39
40
  output_object = {}
40
41
 
41
- serialized_property = object.id
42
- output_object['id'] = serialized_property unless serialized_property.nil?
43
-
44
42
  serialized_property = object.name
45
43
  output_object['name'] = serialized_property unless serialized_property.nil?
46
44
 
45
+ serialized_property = object.id
46
+ output_object['id'] = serialized_property unless serialized_property.nil?
47
+
47
48
  serialized_property = object.properties
48
49
  unless serialized_property.nil?
49
50
  serialized_property = DeploymentPropertiesExtended.serialize_object(serialized_property)
@@ -62,20 +63,18 @@ module Azure::ARM::Resources
62
63
  return if object.nil?
63
64
  output_object = DeploymentExtended.new
64
65
 
65
- deserialized_property = object['id']
66
- output_object.id = deserialized_property
67
-
68
66
  deserialized_property = object['name']
69
67
  output_object.name = deserialized_property
70
68
 
69
+ deserialized_property = object['id']
70
+ output_object.id = deserialized_property
71
+
71
72
  deserialized_property = object['properties']
72
73
  unless deserialized_property.nil?
73
74
  deserialized_property = DeploymentPropertiesExtended.deserialize_object(deserialized_property)
74
75
  end
75
76
  output_object.properties = deserialized_property
76
77
 
77
- output_object.validate
78
-
79
78
  output_object
80
79
  end
81
80
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -49,8 +49,6 @@ module Azure::ARM::Resources
49
49
  deserialized_property = object['provisioningState']
50
50
  output_object.provisioning_state = deserialized_property
51
51
 
52
- output_object.validate
53
-
54
52
  output_object
55
53
  end
56
54
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -65,22 +65,20 @@ module Azure::ARM::Resources
65
65
 
66
66
  deserialized_property = object['value']
67
67
  unless deserialized_property.nil?
68
- deserializedArray = [];
68
+ deserialized_array = []
69
69
  deserialized_property.each do |element1|
70
70
  unless element1.nil?
71
71
  element1 = DeploymentExtended.deserialize_object(element1)
72
72
  end
73
- deserializedArray.push(element1);
73
+ deserialized_array.push(element1)
74
74
  end
75
- deserialized_property = deserializedArray;
75
+ deserialized_property = deserialized_array
76
76
  end
77
77
  output_object.value = deserialized_property
78
78
 
79
79
  deserialized_property = object['nextLink']
80
80
  output_object.next_link = deserialized_property
81
81
 
82
- output_object.validate
83
-
84
82
  output_object
85
83
  end
86
84
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -10,6 +10,7 @@ module Azure::ARM::Resources
10
10
  #
11
11
  module DeploymentMode
12
12
  Incremental = "Incremental"
13
+ Complete = "Complete"
13
14
  end
14
15
  end
15
16
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -74,8 +74,6 @@ module Azure::ARM::Resources
74
74
  end
75
75
  output_object.properties = deserialized_property
76
76
 
77
- output_object.validate
78
-
79
77
  output_object
80
78
  end
81
79
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -93,8 +93,6 @@ module Azure::ARM::Resources
93
93
  end
94
94
  output_object.target_resource = deserialized_property
95
95
 
96
- output_object.validate
97
-
98
96
  output_object
99
97
  end
100
98
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -65,22 +65,20 @@ module Azure::ARM::Resources
65
65
 
66
66
  deserialized_property = object['value']
67
67
  unless deserialized_property.nil?
68
- deserializedArray = [];
68
+ deserialized_array = []
69
69
  deserialized_property.each do |element1|
70
70
  unless element1.nil?
71
71
  element1 = DeploymentOperation.deserialize_object(element1)
72
72
  end
73
- deserializedArray.push(element1);
73
+ deserialized_array.push(element1)
74
74
  end
75
- deserialized_property = deserializedArray;
75
+ deserialized_property = deserialized_array
76
76
  end
77
77
  output_object.value = deserialized_property
78
78
 
79
79
  deserialized_property = object['nextLink']
80
80
  output_object.next_link = deserialized_property
81
81
 
82
- output_object.validate
83
-
84
82
  output_object
85
83
  end
86
84
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -29,7 +29,7 @@ module Azure::ARM::Resources
29
29
  attr_accessor :parameters_link
30
30
 
31
31
  # @return [DeploymentMode] Gets or sets the deployment mode. Possible
32
- # values for this property include: 'Incremental'.
32
+ # values include: 'Incremental', 'Complete'
33
33
  attr_accessor :mode
34
34
 
35
35
  #
@@ -103,12 +103,10 @@ module Azure::ARM::Resources
103
103
  deserialized_property = object['mode']
104
104
  if (!deserialized_property.nil? && !deserialized_property.empty?)
105
105
  enum_is_valid = DeploymentMode.constants.any? { |e| DeploymentMode.const_get(e).to_s.downcase == deserialized_property.downcase }
106
- fail MsRest::DeserializationError.new('Error occured while deserializing the enum', nil, nil, nil) unless enum_is_valid
106
+ warn 'Enum DeploymentMode does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
107
107
  end
108
108
  output_object.mode = deserialized_property
109
109
 
110
- output_object.validate
111
-
112
110
  output_object
113
111
  end
114
112
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -49,7 +49,7 @@ module Azure::ARM::Resources
49
49
  attr_accessor :parameters_link
50
50
 
51
51
  # @return [DeploymentMode] Gets or sets the deployment mode. Possible
52
- # values for this property include: 'Incremental'.
52
+ # values include: 'Incremental', 'Complete'
53
53
  attr_accessor :mode
54
54
 
55
55
  #
@@ -158,27 +158,27 @@ module Azure::ARM::Resources
158
158
 
159
159
  deserialized_property = object['providers']
160
160
  unless deserialized_property.nil?
161
- deserializedArray = [];
161
+ deserialized_array = []
162
162
  deserialized_property.each do |element2|
163
163
  unless element2.nil?
164
164
  element2 = Provider.deserialize_object(element2)
165
165
  end
166
- deserializedArray.push(element2);
166
+ deserialized_array.push(element2)
167
167
  end
168
- deserialized_property = deserializedArray;
168
+ deserialized_property = deserialized_array
169
169
  end
170
170
  output_object.providers = deserialized_property
171
171
 
172
172
  deserialized_property = object['dependencies']
173
173
  unless deserialized_property.nil?
174
- deserializedArray = [];
174
+ deserialized_array = []
175
175
  deserialized_property.each do |element3|
176
176
  unless element3.nil?
177
177
  element3 = Dependency.deserialize_object(element3)
178
178
  end
179
- deserializedArray.push(element3);
179
+ deserialized_array.push(element3)
180
180
  end
181
- deserialized_property = deserializedArray;
181
+ deserialized_property = deserialized_array
182
182
  end
183
183
  output_object.dependencies = deserialized_property
184
184
 
@@ -203,12 +203,10 @@ module Azure::ARM::Resources
203
203
  deserialized_property = object['mode']
204
204
  if (!deserialized_property.nil? && !deserialized_property.empty?)
205
205
  enum_is_valid = DeploymentMode.constants.any? { |e| DeploymentMode.const_get(e).to_s.downcase == deserialized_property.downcase }
206
- fail MsRest::DeserializationError.new('Error occured while deserializing the enum', nil, nil, nil) unless enum_is_valid
206
+ warn 'Enum DeploymentMode does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
207
207
  end
208
208
  output_object.mode = deserialized_property
209
209
 
210
- output_object.validate
211
-
212
210
  output_object
213
211
  end
214
212
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -73,8 +73,6 @@ module Azure::ARM::Resources
73
73
  end
74
74
  output_object.properties = deserialized_property
75
75
 
76
- output_object.validate
77
-
78
76
  output_object
79
77
  end
80
78
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -94,8 +94,6 @@ module Azure::ARM::Resources
94
94
  deserialized_property = object['properties']
95
95
  output_object.properties = deserialized_property
96
96
 
97
- output_object.validate
98
-
99
97
  output_object
100
98
  end
101
99
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -67,8 +67,6 @@ module Azure::ARM::Resources
67
67
  deserialized_property = object['tagvalue']
68
68
  output_object.tagvalue = deserialized_property
69
69
 
70
- output_object.validate
71
-
72
70
  output_object
73
71
  end
74
72
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -23,7 +23,7 @@ module Azure::ARM::Resources
23
23
  # Validate the object. Throws ValidationError if validation fails.
24
24
  #
25
25
  def validate
26
- # Nothing to validate
26
+ fail MsRest::ValidationError, 'property uri is nil' if @uri.nil?
27
27
  end
28
28
 
29
29
  #
@@ -59,8 +59,6 @@ module Azure::ARM::Resources
59
59
  deserialized_property = object['contentVersion']
60
60
  output_object.content_version = deserialized_property
61
61
 
62
- output_object.validate
63
-
64
62
  output_object
65
63
  end
66
64
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -76,8 +76,6 @@ module Azure::ARM::Resources
76
76
  deserialized_property = object['promotionCode']
77
77
  output_object.promotion_code = deserialized_property
78
78
 
79
- output_object.validate
80
-
81
79
  output_object
82
80
  end
83
81
  end
@@ -0,0 +1,72 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.16.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
+ # Policy assignment.
10
+ #
11
+ class PolicyAssignment
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [PolicyAssignmentProperties] Gets or sets the policy
16
+ # assignment properties.
17
+ attr_accessor :properties
18
+
19
+ # @return [String] Gets or sets the policy assignment name.
20
+ attr_accessor :name
21
+
22
+ #
23
+ # Validate the object. Throws ValidationError if validation fails.
24
+ #
25
+ def validate
26
+ @properties.validate unless @properties.nil?
27
+ end
28
+
29
+ #
30
+ # Serializes given Model object into Ruby Hash.
31
+ # @param object Model object to serialize.
32
+ # @return [Hash] Serialized object in form of Ruby Hash.
33
+ #
34
+ def self.serialize_object(object)
35
+ object.validate
36
+ output_object = {}
37
+
38
+ serialized_property = object.properties
39
+ unless serialized_property.nil?
40
+ serialized_property = PolicyAssignmentProperties.serialize_object(serialized_property)
41
+ end
42
+ output_object['properties'] = serialized_property unless serialized_property.nil?
43
+
44
+ serialized_property = object.name
45
+ output_object['name'] = 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 [PolicyAssignment] Deserialized object.
54
+ #
55
+ def self.deserialize_object(object)
56
+ return if object.nil?
57
+ output_object = PolicyAssignment.new
58
+
59
+ deserialized_property = object['properties']
60
+ unless deserialized_property.nil?
61
+ deserialized_property = PolicyAssignmentProperties.deserialize_object(deserialized_property)
62
+ end
63
+ output_object.properties = deserialized_property
64
+
65
+ deserialized_property = object['name']
66
+ output_object.name = deserialized_property
67
+
68
+ output_object
69
+ end
70
+ end
71
+ end
72
+ end