Class: Azure::PolicyInsights::Mgmt::V2019_10_01::Models::SlimPolicyMetadata
- Inherits:
-
Object
- Object
- Azure::PolicyInsights::Mgmt::V2019_10_01::Models::SlimPolicyMetadata
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb
Overview
Slim version of policy metadata resource definition, excluding properties with large strings
Instance Attribute Summary collapse
-
#additional_content_url ⇒ String
metadata.
-
#category ⇒ String
The category 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.
-
#title ⇒ String
The title of the policy metadata.
-
#type ⇒ String
The type of the policy metadata.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SlimPolicyMetadata class as Ruby Hash.
Instance Attribute Details
#additional_content_url ⇒ String
metadata.
30 31 32 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 30 def additional_content_url @additional_content_url end |
#category ⇒ String
Returns The category of the policy metadata.
20 21 22 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 20 def category @category end |
#id ⇒ String
Returns The ID of the policy metadata.
36 37 38 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 36 def id @id end |
#metadata ⇒ Object
Returns Additional metadata.
33 34 35 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 33 def end |
#metadata_id ⇒ String
Returns The policy metadata identifier.
17 18 19 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 17 def end |
#name ⇒ String
Returns The name of the policy metadata.
42 43 44 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 42 def name @name end |
#owner ⇒ String
Returns The owner of the policy metadata.
26 27 28 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 26 def owner @owner end |
#title ⇒ String
Returns The title of the policy metadata.
23 24 25 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 23 def title @title end |
#type ⇒ String
Returns The type of the policy metadata.
39 40 41 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 39 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for SlimPolicyMetadata class as Ruby Hash. This will be used for serialization/deserialization.
49 50 51 52 53 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 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb', line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SlimPolicyMetadata', type: { name: 'Composite', class_name: 'SlimPolicyMetadata', 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' } }, 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 |