azure_mgmt_resources 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rspec +3 -0
- data/.travis.yml +3 -0
- data/Gemfile +14 -0
- data/LICENSE.txt +21 -0
- data/README.md +106 -0
- data/Rakefile +5 -0
- data/azure_mgmt_resources.gemspec +38 -0
- data/lib/azure_mgmt_resources.rb +74 -0
- data/lib/azure_mgmt_resources/Models/basic_dependency.rb +76 -0
- data/lib/azure_mgmt_resources/Models/dependency.rb +105 -0
- data/lib/azure_mgmt_resources/Models/deployment.rb +64 -0
- data/lib/azure_mgmt_resources/Models/deployment_extended.rb +83 -0
- data/lib/azure_mgmt_resources/Models/deployment_extended_filter.rb +58 -0
- data/lib/azure_mgmt_resources/Models/deployment_list_result.rb +88 -0
- data/lib/azure_mgmt_resources/Models/deployment_mode.rb +15 -0
- data/lib/azure_mgmt_resources/Models/deployment_operation.rb +83 -0
- data/lib/azure_mgmt_resources/Models/deployment_operation_properties.rb +102 -0
- data/lib/azure_mgmt_resources/Models/deployment_operations_list_result.rb +88 -0
- data/lib/azure_mgmt_resources/Models/deployment_properties.rb +116 -0
- data/lib/azure_mgmt_resources/Models/deployment_properties_extended.rb +216 -0
- data/lib/azure_mgmt_resources/Models/deployment_validate_result.rb +82 -0
- data/lib/azure_mgmt_resources/Models/generic_resource.rb +103 -0
- data/lib/azure_mgmt_resources/Models/generic_resource_filter.rb +76 -0
- data/lib/azure_mgmt_resources/Models/parameters_link.rb +68 -0
- data/lib/azure_mgmt_resources/Models/plan.rb +85 -0
- data/lib/azure_mgmt_resources/Models/provider.rb +106 -0
- data/lib/azure_mgmt_resources/Models/provider_list_result.rb +87 -0
- data/lib/azure_mgmt_resources/Models/provider_resource_type.rb +88 -0
- data/lib/azure_mgmt_resources/Models/resource_group.rb +105 -0
- data/lib/azure_mgmt_resources/Models/resource_group_extended.rb +113 -0
- data/lib/azure_mgmt_resources/Models/resource_group_extended_filter.rb +63 -0
- data/lib/azure_mgmt_resources/Models/resource_group_filter.rb +67 -0
- data/lib/azure_mgmt_resources/Models/resource_group_format_resource_properties.rb +54 -0
- data/lib/azure_mgmt_resources/Models/resource_group_list_result.rb +88 -0
- data/lib/azure_mgmt_resources/Models/resource_group_properties.rb +58 -0
- data/lib/azure_mgmt_resources/Models/resource_list_result.rb +88 -0
- data/lib/azure_mgmt_resources/Models/resource_management_error.rb +77 -0
- data/lib/azure_mgmt_resources/Models/resource_management_error_with_details.rb +106 -0
- data/lib/azure_mgmt_resources/Models/resource_provider_operation_definition.rb +74 -0
- data/lib/azure_mgmt_resources/Models/resource_provider_operation_detail_list_result.rb +80 -0
- data/lib/azure_mgmt_resources/Models/resource_provider_operation_display_properties.rb +95 -0
- data/lib/azure_mgmt_resources/Models/resources_move_info.rb +67 -0
- data/lib/azure_mgmt_resources/Models/tag_count.rb +67 -0
- data/lib/azure_mgmt_resources/Models/tag_details.rb +112 -0
- data/lib/azure_mgmt_resources/Models/tag_value.rb +82 -0
- data/lib/azure_mgmt_resources/Models/tags_list_result.rb +87 -0
- data/lib/azure_mgmt_resources/Models/target_resource.rb +76 -0
- data/lib/azure_mgmt_resources/Models/template_link.rb +68 -0
- data/lib/azure_mgmt_resources/deployment_operations.rb +297 -0
- data/lib/azure_mgmt_resources/deployments.rb +601 -0
- data/lib/azure_mgmt_resources/module_definition.rb +6 -0
- data/lib/azure_mgmt_resources/providers.rb +461 -0
- data/lib/azure_mgmt_resources/resource_groups.rb +891 -0
- data/lib/azure_mgmt_resources/resource_management_client.rb +85 -0
- data/lib/azure_mgmt_resources/resource_provider_operation_details.rb +126 -0
- data/lib/azure_mgmt_resources/resources.rb +737 -0
- data/lib/azure_mgmt_resources/tags.rb +546 -0
- data/lib/azure_mgmt_resources/version.rb +6 -0
- metadata +235 -0
@@ -0,0 +1,80 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.11.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
|
+
# List of resource provider operations.
|
10
|
+
#
|
11
|
+
class ResourceProviderOperationDetailListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<ResourceProviderOperationDefinition>] Gets or sets the
|
16
|
+
# list of resource provider operations.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
#
|
20
|
+
# Validate the object. Throws ValidationError if validation fails.
|
21
|
+
#
|
22
|
+
def validate
|
23
|
+
@value.each{ |e| e.validate if e.respond_to?(:validate) } unless @value.nil?
|
24
|
+
end
|
25
|
+
|
26
|
+
#
|
27
|
+
# Serializes given Model object into Ruby Hash.
|
28
|
+
# @param object Model object to serialize.
|
29
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
30
|
+
#
|
31
|
+
def self.serialize_object(object)
|
32
|
+
object.validate
|
33
|
+
output_object = {}
|
34
|
+
|
35
|
+
serialized_property = object.value
|
36
|
+
unless serialized_property.nil?
|
37
|
+
serializedArray = []
|
38
|
+
serialized_property.each do |element|
|
39
|
+
unless element.nil?
|
40
|
+
element = ResourceProviderOperationDefinition.serialize_object(element)
|
41
|
+
end
|
42
|
+
serializedArray.push(element)
|
43
|
+
end
|
44
|
+
serialized_property = serializedArray
|
45
|
+
end
|
46
|
+
output_object['value'] = serialized_property unless serialized_property.nil?
|
47
|
+
|
48
|
+
output_object
|
49
|
+
end
|
50
|
+
|
51
|
+
#
|
52
|
+
# Deserializes given Ruby Hash into Model object.
|
53
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
54
|
+
# @return [ResourceProviderOperationDetailListResult] Deserialized
|
55
|
+
# object.
|
56
|
+
#
|
57
|
+
def self.deserialize_object(object)
|
58
|
+
return if object.nil?
|
59
|
+
output_object = ResourceProviderOperationDetailListResult.new
|
60
|
+
|
61
|
+
deserialized_property = object['value']
|
62
|
+
unless deserialized_property.nil?
|
63
|
+
deserializedArray = [];
|
64
|
+
deserialized_property.each do |element1|
|
65
|
+
unless element1.nil?
|
66
|
+
element1 = ResourceProviderOperationDefinition.deserialize_object(element1)
|
67
|
+
end
|
68
|
+
deserializedArray.push(element1);
|
69
|
+
end
|
70
|
+
deserialized_property = deserializedArray;
|
71
|
+
end
|
72
|
+
output_object.value = deserialized_property
|
73
|
+
|
74
|
+
output_object.validate
|
75
|
+
|
76
|
+
output_object
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,95 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.11.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 provider operation's display properties.
|
10
|
+
#
|
11
|
+
class ResourceProviderOperationDisplayProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Gets or sets operation description.
|
16
|
+
attr_accessor :publisher
|
17
|
+
|
18
|
+
# @return [String] Gets or sets operation provider.
|
19
|
+
attr_accessor :provider
|
20
|
+
|
21
|
+
# @return [String] Gets or sets operation resource.
|
22
|
+
attr_accessor :resource
|
23
|
+
|
24
|
+
# @return [String] Gets or sets operation.
|
25
|
+
attr_accessor :operation
|
26
|
+
|
27
|
+
# @return [String] Gets or sets operation description.
|
28
|
+
attr_accessor :description
|
29
|
+
|
30
|
+
#
|
31
|
+
# Validate the object. Throws ValidationError if validation fails.
|
32
|
+
#
|
33
|
+
def validate
|
34
|
+
# Nothing to validate
|
35
|
+
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# Serializes given Model object into Ruby Hash.
|
39
|
+
# @param object Model object to serialize.
|
40
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
41
|
+
#
|
42
|
+
def self.serialize_object(object)
|
43
|
+
object.validate
|
44
|
+
output_object = {}
|
45
|
+
|
46
|
+
serialized_property = object.publisher
|
47
|
+
output_object['publisher'] = serialized_property unless serialized_property.nil?
|
48
|
+
|
49
|
+
serialized_property = object.provider
|
50
|
+
output_object['provider'] = serialized_property unless serialized_property.nil?
|
51
|
+
|
52
|
+
serialized_property = object.resource
|
53
|
+
output_object['resource'] = serialized_property unless serialized_property.nil?
|
54
|
+
|
55
|
+
serialized_property = object.operation
|
56
|
+
output_object['operation'] = serialized_property unless serialized_property.nil?
|
57
|
+
|
58
|
+
serialized_property = object.description
|
59
|
+
output_object['description'] = 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 [ResourceProviderOperationDisplayProperties] Deserialized
|
68
|
+
# object.
|
69
|
+
#
|
70
|
+
def self.deserialize_object(object)
|
71
|
+
return if object.nil?
|
72
|
+
output_object = ResourceProviderOperationDisplayProperties.new
|
73
|
+
|
74
|
+
deserialized_property = object['publisher']
|
75
|
+
output_object.publisher = deserialized_property
|
76
|
+
|
77
|
+
deserialized_property = object['provider']
|
78
|
+
output_object.provider = deserialized_property
|
79
|
+
|
80
|
+
deserialized_property = object['resource']
|
81
|
+
output_object.resource = deserialized_property
|
82
|
+
|
83
|
+
deserialized_property = object['operation']
|
84
|
+
output_object.operation = deserialized_property
|
85
|
+
|
86
|
+
deserialized_property = object['description']
|
87
|
+
output_object.description = deserialized_property
|
88
|
+
|
89
|
+
output_object.validate
|
90
|
+
|
91
|
+
output_object
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.11.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
|
+
# Parameters of move resources.
|
10
|
+
#
|
11
|
+
class ResourcesMoveInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<String>] Gets or sets the ids of the resources.
|
16
|
+
attr_accessor :resources
|
17
|
+
|
18
|
+
# @return [String] The target resource group.
|
19
|
+
attr_accessor :target_resource_group
|
20
|
+
|
21
|
+
#
|
22
|
+
# Validate the object. Throws ValidationError if validation fails.
|
23
|
+
#
|
24
|
+
def validate
|
25
|
+
@resources.each{ |e| e.validate if e.respond_to?(:validate) } unless @resources.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.resources
|
38
|
+
output_object['resources'] = serialized_property unless serialized_property.nil?
|
39
|
+
|
40
|
+
serialized_property = object.target_resource_group
|
41
|
+
output_object['targetResourceGroup'] = serialized_property unless serialized_property.nil?
|
42
|
+
|
43
|
+
output_object
|
44
|
+
end
|
45
|
+
|
46
|
+
#
|
47
|
+
# Deserializes given Ruby Hash into Model object.
|
48
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
49
|
+
# @return [ResourcesMoveInfo] Deserialized object.
|
50
|
+
#
|
51
|
+
def self.deserialize_object(object)
|
52
|
+
return if object.nil?
|
53
|
+
output_object = ResourcesMoveInfo.new
|
54
|
+
|
55
|
+
deserialized_property = object['resources']
|
56
|
+
output_object.resources = deserialized_property
|
57
|
+
|
58
|
+
deserialized_property = object['targetResourceGroup']
|
59
|
+
output_object.target_resource_group = deserialized_property
|
60
|
+
|
61
|
+
output_object.validate
|
62
|
+
|
63
|
+
output_object
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.11.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
|
+
# Tag count.
|
10
|
+
#
|
11
|
+
class TagCount
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Type of count.
|
16
|
+
attr_accessor :type
|
17
|
+
|
18
|
+
# @return [String] Value of count.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
#
|
22
|
+
# Validate the object. Throws ValidationError if validation fails.
|
23
|
+
#
|
24
|
+
def validate
|
25
|
+
# Nothing to validate
|
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.type
|
38
|
+
output_object['type'] = serialized_property unless serialized_property.nil?
|
39
|
+
|
40
|
+
serialized_property = object.value
|
41
|
+
output_object['value'] = serialized_property unless serialized_property.nil?
|
42
|
+
|
43
|
+
output_object
|
44
|
+
end
|
45
|
+
|
46
|
+
#
|
47
|
+
# Deserializes given Ruby Hash into Model object.
|
48
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
49
|
+
# @return [TagCount] Deserialized object.
|
50
|
+
#
|
51
|
+
def self.deserialize_object(object)
|
52
|
+
return if object.nil?
|
53
|
+
output_object = TagCount.new
|
54
|
+
|
55
|
+
deserialized_property = object['type']
|
56
|
+
output_object.type = deserialized_property
|
57
|
+
|
58
|
+
deserialized_property = object['value']
|
59
|
+
output_object.value = deserialized_property
|
60
|
+
|
61
|
+
output_object.validate
|
62
|
+
|
63
|
+
output_object
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,112 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.11.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
|
+
# Tag details.
|
10
|
+
#
|
11
|
+
class TagDetails
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Gets or sets the tag ID.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Gets or sets the tag name.
|
19
|
+
attr_accessor :tag_name
|
20
|
+
|
21
|
+
# @return [TagCount] Gets or sets the tag count.
|
22
|
+
attr_accessor :count
|
23
|
+
|
24
|
+
# @return [Array<TagValue>] Gets or sets the list of tag values.
|
25
|
+
attr_accessor :values
|
26
|
+
|
27
|
+
#
|
28
|
+
# Validate the object. Throws ValidationError if validation fails.
|
29
|
+
#
|
30
|
+
def validate
|
31
|
+
@count.validate unless @count.nil?
|
32
|
+
@values.each{ |e| e.validate if e.respond_to?(:validate) } unless @values.nil?
|
33
|
+
end
|
34
|
+
|
35
|
+
#
|
36
|
+
# Serializes given Model object into Ruby Hash.
|
37
|
+
# @param object Model object to serialize.
|
38
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
39
|
+
#
|
40
|
+
def self.serialize_object(object)
|
41
|
+
object.validate
|
42
|
+
output_object = {}
|
43
|
+
|
44
|
+
serialized_property = object.id
|
45
|
+
output_object['id'] = serialized_property unless serialized_property.nil?
|
46
|
+
|
47
|
+
serialized_property = object.tag_name
|
48
|
+
output_object['tagName'] = serialized_property unless serialized_property.nil?
|
49
|
+
|
50
|
+
serialized_property = object.count
|
51
|
+
unless serialized_property.nil?
|
52
|
+
serialized_property = TagCount.serialize_object(serialized_property)
|
53
|
+
end
|
54
|
+
output_object['count'] = serialized_property unless serialized_property.nil?
|
55
|
+
|
56
|
+
serialized_property = object.values
|
57
|
+
unless serialized_property.nil?
|
58
|
+
serializedArray = []
|
59
|
+
serialized_property.each do |element|
|
60
|
+
unless element.nil?
|
61
|
+
element = TagValue.serialize_object(element)
|
62
|
+
end
|
63
|
+
serializedArray.push(element)
|
64
|
+
end
|
65
|
+
serialized_property = serializedArray
|
66
|
+
end
|
67
|
+
output_object['values'] = serialized_property unless serialized_property.nil?
|
68
|
+
|
69
|
+
output_object
|
70
|
+
end
|
71
|
+
|
72
|
+
#
|
73
|
+
# Deserializes given Ruby Hash into Model object.
|
74
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
75
|
+
# @return [TagDetails] Deserialized object.
|
76
|
+
#
|
77
|
+
def self.deserialize_object(object)
|
78
|
+
return if object.nil?
|
79
|
+
output_object = TagDetails.new
|
80
|
+
|
81
|
+
deserialized_property = object['id']
|
82
|
+
output_object.id = deserialized_property
|
83
|
+
|
84
|
+
deserialized_property = object['tagName']
|
85
|
+
output_object.tag_name = deserialized_property
|
86
|
+
|
87
|
+
deserialized_property = object['count']
|
88
|
+
unless deserialized_property.nil?
|
89
|
+
deserialized_property = TagCount.deserialize_object(deserialized_property)
|
90
|
+
end
|
91
|
+
output_object.count = deserialized_property
|
92
|
+
|
93
|
+
deserialized_property = object['values']
|
94
|
+
unless deserialized_property.nil?
|
95
|
+
deserializedArray = [];
|
96
|
+
deserialized_property.each do |element1|
|
97
|
+
unless element1.nil?
|
98
|
+
element1 = TagValue.deserialize_object(element1)
|
99
|
+
end
|
100
|
+
deserializedArray.push(element1);
|
101
|
+
end
|
102
|
+
deserialized_property = deserializedArray;
|
103
|
+
end
|
104
|
+
output_object.values = deserialized_property
|
105
|
+
|
106
|
+
output_object.validate
|
107
|
+
|
108
|
+
output_object
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.11.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
|
+
# Tag information.
|
10
|
+
#
|
11
|
+
class TagValue
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Gets or sets the tag ID.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Gets or sets the tag value.
|
19
|
+
attr_accessor :tag_value
|
20
|
+
|
21
|
+
# @return [TagCount] Gets or sets the tag value count.
|
22
|
+
attr_accessor :count
|
23
|
+
|
24
|
+
#
|
25
|
+
# Validate the object. Throws ValidationError if validation fails.
|
26
|
+
#
|
27
|
+
def validate
|
28
|
+
@count.validate unless @count.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.id
|
41
|
+
output_object['id'] = serialized_property unless serialized_property.nil?
|
42
|
+
|
43
|
+
serialized_property = object.tag_value
|
44
|
+
output_object['tagValue'] = serialized_property unless serialized_property.nil?
|
45
|
+
|
46
|
+
serialized_property = object.count
|
47
|
+
unless serialized_property.nil?
|
48
|
+
serialized_property = TagCount.serialize_object(serialized_property)
|
49
|
+
end
|
50
|
+
output_object['count'] = 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 [TagValue] Deserialized object.
|
59
|
+
#
|
60
|
+
def self.deserialize_object(object)
|
61
|
+
return if object.nil?
|
62
|
+
output_object = TagValue.new
|
63
|
+
|
64
|
+
deserialized_property = object['id']
|
65
|
+
output_object.id = deserialized_property
|
66
|
+
|
67
|
+
deserialized_property = object['tagValue']
|
68
|
+
output_object.tag_value = deserialized_property
|
69
|
+
|
70
|
+
deserialized_property = object['count']
|
71
|
+
unless deserialized_property.nil?
|
72
|
+
deserialized_property = TagCount.deserialize_object(deserialized_property)
|
73
|
+
end
|
74
|
+
output_object.count = deserialized_property
|
75
|
+
|
76
|
+
output_object.validate
|
77
|
+
|
78
|
+
output_object
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|