azure_mgmt_policy_insights 0.17.3 → 0.17.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_events.rb +8 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_states.rb +8 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_events.rb +10 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_states.rb +10 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_events.rb +18 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_states.rb +34 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_events.rb +18 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb +34 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +4 -4
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +43 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +11 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_states.rb +1032 -32
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_tracked_resources.rb +16 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb +64 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights.rb +39 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/error_definition.rb +115 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/error_response.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/query_options.rb +54 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation.rb +172 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb +124 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb +75 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_filters.rb +55 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/resource_discovery_mode.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/module_definition.rb +9 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb +131 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/remediations.rb +3294 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights.rb +60 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/compliance_detail.rb +57 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb +132 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb +109 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/error_definition.rb +115 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/error_response.rb +47 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +115 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operation.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operation_display.rb +79 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +70 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +110 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb +69 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_event.rb +416 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +125 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_group_summary.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb +168 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata_collection.rb +101 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_state.rb +461 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +125 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure.rb +47 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +60 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_options.rb +134 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb +145 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summarize_results.rb +83 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb +91 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary_results.rb +140 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/module_definition.rb +9 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/operations.rb +109 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_events.rb +1961 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb +140 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_metadata_operations.rb +316 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_states.rb +3233 -0
- data/lib/azure_mgmt_policy_insights.rb +4 -2
- data/lib/profiles/latest/modules/policyinsights_profile_module.rb +55 -13
- data/lib/version.rb +1 -1
- metadata +56 -5
data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::PolicyInsights::Mgmt::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Query results.
|
10
|
+
#
|
11
|
+
class PolicyEventsQueryResults
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] OData context string; used by OData clients to resolve
|
17
|
+
# type information based on metadata.
|
18
|
+
attr_accessor :odatacontext
|
19
|
+
|
20
|
+
# @return [Integer] OData entity count; represents the number of policy
|
21
|
+
# event records returned.
|
22
|
+
attr_accessor :odatacount
|
23
|
+
|
24
|
+
# @return [String] Odata next link; URL to get the next set of results.
|
25
|
+
attr_accessor :odatanext_link
|
26
|
+
|
27
|
+
# @return [Array<PolicyEvent>] Query results.
|
28
|
+
attr_accessor :value
|
29
|
+
|
30
|
+
# return [Proc] with next page method call.
|
31
|
+
attr_accessor :next_method
|
32
|
+
|
33
|
+
#
|
34
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
35
|
+
#
|
36
|
+
# @return [Array<PolicyEvent>] operation results.
|
37
|
+
#
|
38
|
+
def get_all_items
|
39
|
+
items = @value
|
40
|
+
page = self
|
41
|
+
while page.odatanext_link != nil && !page.odatanext_link.strip.empty? do
|
42
|
+
page = page.get_next_page
|
43
|
+
items.concat(page.value)
|
44
|
+
end
|
45
|
+
items
|
46
|
+
end
|
47
|
+
|
48
|
+
#
|
49
|
+
# Gets the next page of results.
|
50
|
+
#
|
51
|
+
# @return [PolicyEventsQueryResults] with next page content.
|
52
|
+
#
|
53
|
+
def get_next_page
|
54
|
+
response = @next_method.call(@odatanext_link).value! unless @next_method.nil?
|
55
|
+
unless response.nil?
|
56
|
+
@odatanext_link = response.body.odatanext_link
|
57
|
+
@value = response.body.value
|
58
|
+
self
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
#
|
63
|
+
# Mapper for PolicyEventsQueryResults class as Ruby Hash.
|
64
|
+
# This will be used for serialization/deserialization.
|
65
|
+
#
|
66
|
+
def self.mapper()
|
67
|
+
{
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'PolicyEventsQueryResults',
|
71
|
+
type: {
|
72
|
+
name: 'Composite',
|
73
|
+
class_name: 'PolicyEventsQueryResults',
|
74
|
+
model_properties: {
|
75
|
+
odatacontext: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: '@odata\\.context',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
odatacount: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: '@odata\\.count',
|
87
|
+
constraints: {
|
88
|
+
InclusiveMinimum: 0
|
89
|
+
},
|
90
|
+
type: {
|
91
|
+
name: 'Number'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
odatanext_link: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: '@odata\\.nextLink',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
value: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'value',
|
106
|
+
type: {
|
107
|
+
name: 'Sequence',
|
108
|
+
element: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'PolicyEventElementType',
|
112
|
+
type: {
|
113
|
+
name: 'Composite',
|
114
|
+
class_name: 'PolicyEvent'
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::PolicyInsights::Mgmt::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Policy definition group summary.
|
10
|
+
#
|
11
|
+
class PolicyGroupSummary
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Policy group name.
|
16
|
+
attr_accessor :policy_group_name
|
17
|
+
|
18
|
+
# @return [SummaryResults] Compliance summary for the policy definition
|
19
|
+
# group.
|
20
|
+
attr_accessor :results
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for PolicyGroupSummary class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'PolicyGroupSummary',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'PolicyGroupSummary',
|
35
|
+
model_properties: {
|
36
|
+
policy_group_name: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'policyGroupName',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
results: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'results',
|
48
|
+
type: {
|
49
|
+
name: 'Composite',
|
50
|
+
class_name: 'SummaryResults'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,168 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::PolicyInsights::Mgmt::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Policy metadata resource definition.
|
10
|
+
#
|
11
|
+
class PolicyMetadata
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The policy metadata identifier.
|
16
|
+
attr_accessor :metadata_id
|
17
|
+
|
18
|
+
# @return [String] The category of the policy metadata.
|
19
|
+
attr_accessor :category
|
20
|
+
|
21
|
+
# @return [String] The title of the policy metadata.
|
22
|
+
attr_accessor :title
|
23
|
+
|
24
|
+
# @return [String] The owner of the policy metadata.
|
25
|
+
attr_accessor :owner
|
26
|
+
|
27
|
+
# @return [String] Url for getting additional content about the resource
|
28
|
+
# metadata.
|
29
|
+
attr_accessor :additional_content_url
|
30
|
+
|
31
|
+
# @return Additional metadata.
|
32
|
+
attr_accessor :metadata
|
33
|
+
|
34
|
+
# @return [String] The description of the policy metadata.
|
35
|
+
attr_accessor :description
|
36
|
+
|
37
|
+
# @return [String] The requirements of the policy metadata.
|
38
|
+
attr_accessor :requirements
|
39
|
+
|
40
|
+
# @return [String] The ID of the policy metadata.
|
41
|
+
attr_accessor :id
|
42
|
+
|
43
|
+
# @return [String] The type of the policy metadata.
|
44
|
+
attr_accessor :type
|
45
|
+
|
46
|
+
# @return [String] The name of the policy metadata.
|
47
|
+
attr_accessor :name
|
48
|
+
|
49
|
+
|
50
|
+
#
|
51
|
+
# Mapper for PolicyMetadata class as Ruby Hash.
|
52
|
+
# This will be used for serialization/deserialization.
|
53
|
+
#
|
54
|
+
def self.mapper()
|
55
|
+
{
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'PolicyMetadata',
|
59
|
+
type: {
|
60
|
+
name: 'Composite',
|
61
|
+
class_name: 'PolicyMetadata',
|
62
|
+
model_properties: {
|
63
|
+
metadata_id: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'properties.metadataId',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
category: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
read_only: true,
|
76
|
+
serialized_name: 'properties.category',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
title: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
read_only: true,
|
85
|
+
serialized_name: 'properties.title',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
owner: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
read_only: true,
|
94
|
+
serialized_name: 'properties.owner',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
additional_content_url: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
read_only: true,
|
103
|
+
serialized_name: 'properties.additionalContentUrl',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
metadata: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
read_only: true,
|
112
|
+
serialized_name: 'properties.metadata',
|
113
|
+
type: {
|
114
|
+
name: 'Object'
|
115
|
+
}
|
116
|
+
},
|
117
|
+
description: {
|
118
|
+
client_side_validation: true,
|
119
|
+
required: false,
|
120
|
+
read_only: true,
|
121
|
+
serialized_name: 'properties.description',
|
122
|
+
type: {
|
123
|
+
name: 'String'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
requirements: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
read_only: true,
|
130
|
+
serialized_name: 'properties.requirements',
|
131
|
+
type: {
|
132
|
+
name: 'String'
|
133
|
+
}
|
134
|
+
},
|
135
|
+
id: {
|
136
|
+
client_side_validation: true,
|
137
|
+
required: false,
|
138
|
+
read_only: true,
|
139
|
+
serialized_name: 'id',
|
140
|
+
type: {
|
141
|
+
name: 'String'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
type: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: false,
|
147
|
+
read_only: true,
|
148
|
+
serialized_name: 'type',
|
149
|
+
type: {
|
150
|
+
name: 'String'
|
151
|
+
}
|
152
|
+
},
|
153
|
+
name: {
|
154
|
+
client_side_validation: true,
|
155
|
+
required: false,
|
156
|
+
read_only: true,
|
157
|
+
serialized_name: 'name',
|
158
|
+
type: {
|
159
|
+
name: 'String'
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|
168
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::PolicyInsights::Mgmt::V2019_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Collection of policy metadata resources.
|
10
|
+
#
|
11
|
+
class PolicyMetadataCollection
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<SlimPolicyMetadata>] Array of policy metadata
|
17
|
+
# definitions.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] The URL to get the next set of results.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<SlimPolicyMetadata>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [PolicyMetadataCollection] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for PolicyMetadataCollection class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'PolicyMetadataCollection',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'PolicyMetadataCollection',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'value',
|
73
|
+
type: {
|
74
|
+
name: 'Sequence',
|
75
|
+
element: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'SlimPolicyMetadataElementType',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'SlimPolicyMetadata'
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
},
|
86
|
+
next_link: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
read_only: true,
|
90
|
+
serialized_name: 'nextLink',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|