Class: Azure::KeyVault::V2015_06_01::Models::Attributes
- Inherits:
-
Object
- Object
- Azure::KeyVault::V2015_06_01::Models::Attributes
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-06-01/generated/azure_key_vault/models/attributes.rb
Overview
The object attributes managed by the KeyVault service
Direct Known Subclasses
Instance Attribute Summary collapse
-
#created ⇒ Object
Creation time in seconds since 1970-01-01T00:00:00Z.
-
#enabled ⇒ Boolean
Determines whether the object is enabled.
-
#expires ⇒ Object
Expiry date in seconds since 1970-01-01T00:00:00Z.
-
#not_before ⇒ Object
Not before date in seconds since 1970-01-01T00:00:00Z.
-
#updated ⇒ Object
Last updated time in seconds since 1970-01-01T00:00:00Z.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Attributes class as Ruby Hash.
Instance Attribute Details
#created ⇒ Object
Returns Creation time in seconds since 1970-01-01T00:00:00Z.
25 26 27 |
# File 'lib/2015-06-01/generated/azure_key_vault/models/attributes.rb', line 25 def created @created end |
#enabled ⇒ Boolean
Returns Determines whether the object is enabled.
16 17 18 |
# File 'lib/2015-06-01/generated/azure_key_vault/models/attributes.rb', line 16 def enabled @enabled end |
#expires ⇒ Object
Returns Expiry date in seconds since 1970-01-01T00:00:00Z.
22 23 24 |
# File 'lib/2015-06-01/generated/azure_key_vault/models/attributes.rb', line 22 def expires @expires end |
#not_before ⇒ Object
Returns Not before date in seconds since 1970-01-01T00:00:00Z.
19 20 21 |
# File 'lib/2015-06-01/generated/azure_key_vault/models/attributes.rb', line 19 def not_before @not_before end |
#updated ⇒ Object
Returns Last updated time in seconds since 1970-01-01T00:00:00Z.
28 29 30 |
# File 'lib/2015-06-01/generated/azure_key_vault/models/attributes.rb', line 28 def updated @updated end |
Class Method Details
.mapper ⇒ Object
Mapper for Attributes class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 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 |
# File 'lib/2015-06-01/generated/azure_key_vault/models/attributes.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Attributes', type: { name: 'Composite', class_name: 'Attributes', model_properties: { enabled: { client_side_validation: true, required: false, serialized_name: 'enabled', type: { name: 'Boolean' } }, not_before: { client_side_validation: true, required: false, serialized_name: 'nbf', type: { name: 'UnixTime' } }, expires: { client_side_validation: true, required: false, serialized_name: 'exp', type: { name: 'UnixTime' } }, created: { client_side_validation: true, required: false, read_only: true, serialized_name: 'created', type: { name: 'UnixTime' } }, updated: { client_side_validation: true, required: false, read_only: true, serialized_name: 'updated', type: { name: 'UnixTime' } } } } } end |