Class: Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadata
- Inherits:
-
Object
- Object
- Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadata
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb
Overview
Policy metadata resource definition.
Instance Attribute Summary collapse
-
#additional_content_url ⇒ String
metadata.
-
#category ⇒ String
The category of the policy metadata.
-
#description ⇒ String
The description of the policy metadata.
-
#id ⇒ String
The ID of the policy metadata.
-
#metadata ⇒ Object
Additional metadata.
-
#metadata_id ⇒ String
The policy metadata identifier.
-
#name ⇒ String
The name of the policy metadata.
-
#owner ⇒ String
The owner of the policy metadata.
-
#requirements ⇒ String
The requirements of the policy metadata.
-
#title ⇒ String
The title of the policy metadata.
-
#type ⇒ String
The type of the policy metadata.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PolicyMetadata class as Ruby Hash.
Instance Attribute Details
#additional_content_url ⇒ String
metadata.
29 30 31 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb', line 29 def additional_content_url @additional_content_url end |
#category ⇒ String
Returns The category of the policy metadata.
19 20 21 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb', line 19 def category @category end |
#description ⇒ String
Returns The description of the policy metadata.
35 36 37 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb', line 35 def description @description end |
#id ⇒ String
Returns The ID of the policy metadata.
41 42 43 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb', line 41 def id @id end |
#metadata ⇒ Object
Returns Additional metadata.
32 33 34 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb', line 32 def @metadata end |
#metadata_id ⇒ String
Returns The policy metadata identifier.
16 17 18 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb', line 16 def @metadata_id end |
#name ⇒ String
Returns The name of the policy metadata.
47 48 49 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb', line 47 def name @name end |
#owner ⇒ String
Returns The owner of the policy metadata.
25 26 27 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb', line 25 def owner @owner end |
#requirements ⇒ String
Returns The requirements of the policy metadata.
38 39 40 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb', line 38 def requirements @requirements end |
#title ⇒ String
Returns The title of the policy metadata.
22 23 24 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb', line 22 def title @title end |
#type ⇒ String
Returns The type of the policy metadata.
44 45 46 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb', line 44 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for PolicyMetadata class as Ruby Hash. This will be used for serialization/deserialization.
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb', line 54 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PolicyMetadata', type: { name: 'Composite', class_name: 'PolicyMetadata', model_properties: { metadata_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.metadataId', type: { name: 'String' } }, category: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.category', type: { name: 'String' } }, title: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.title', type: { name: 'String' } }, owner: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.owner', type: { name: 'String' } }, additional_content_url: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.additionalContentUrl', type: { name: 'String' } }, metadata: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.metadata', type: { name: 'Object' } }, description: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.description', type: { name: 'String' } }, requirements: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.requirements', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } } } } } end |