Class: Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentStateDetails
- Inherits:
-
Object
- Object
- Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentStateDetails
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb
Overview
Component state details.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
collection.
-
#compliance_state ⇒ String
Component compliance state.
-
#id ⇒ String
Component Id.
-
#name ⇒ String
Component name.
-
#timestamp ⇒ DateTime
Component compliance evaluation timestamp.
-
#type ⇒ String
Component type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ComponentStateDetails class as Ruby Hash.
Instance Attribute Details
#additional_properties ⇒ Object
collection
17 18 19 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 17 def additional_properties @additional_properties end |
#compliance_state ⇒ String
Returns Component compliance state.
32 33 34 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 32 def compliance_state @compliance_state end |
#id ⇒ String
Returns Component Id.
20 21 22 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 20 def id @id end |
#name ⇒ String
Returns Component name.
26 27 28 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 26 def name @name end |
#timestamp ⇒ DateTime
Returns Component compliance evaluation timestamp.
29 30 31 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 29 def @timestamp end |
#type ⇒ String
Returns Component type.
23 24 25 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 23 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for ComponentStateDetails class as Ruby Hash. This will be used for serialization/deserialization.
39 40 41 42 43 44 45 46 47 48 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 |
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ComponentStateDetails', type: { name: 'Composite', class_name: 'ComponentStateDetails', model_properties: { additional_properties: { client_side_validation: true, required: false, type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } }, id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, timestamp: { client_side_validation: true, required: false, serialized_name: 'timestamp', type: { name: 'DateTime' } }, compliance_state: { client_side_validation: true, required: false, serialized_name: 'complianceState', type: { name: 'String' } } } } } end |