Class: Azure::ARM::Graph::Models::PasswordCredential
- Inherits:
-
Object
- Object
- Azure::ARM::Graph::Models::PasswordCredential
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_graph/models/password_credential.rb
Overview
Active Directory Password Credential information.
Instance Attribute Summary collapse
-
#end_date ⇒ DateTime
End date.
-
#key_id ⇒ String
Key ID.
-
#start_date ⇒ DateTime
Start date.
-
#value ⇒ String
Key value.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PasswordCredential class as Ruby Hash.
Instance Attribute Details
#end_date ⇒ DateTime
Returns End date.
19 20 21 |
# File 'lib/generated/azure_mgmt_graph/models/password_credential.rb', line 19 def end_date @end_date end |
#key_id ⇒ String
Returns Key ID.
22 23 24 |
# File 'lib/generated/azure_mgmt_graph/models/password_credential.rb', line 22 def key_id @key_id end |
#start_date ⇒ DateTime
Returns Start date.
16 17 18 |
# File 'lib/generated/azure_mgmt_graph/models/password_credential.rb', line 16 def start_date @start_date end |
#value ⇒ String
Returns Key value.
25 26 27 |
# File 'lib/generated/azure_mgmt_graph/models/password_credential.rb', line 25 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for PasswordCredential class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 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 |
# File 'lib/generated/azure_mgmt_graph/models/password_credential.rb', line 32 def self.mapper() { required: false, serialized_name: 'PasswordCredential', type: { name: 'Composite', class_name: 'PasswordCredential', model_properties: { start_date: { required: false, serialized_name: 'startDate', type: { name: 'DateTime' } }, end_date: { required: false, serialized_name: 'endDate', type: { name: 'DateTime' } }, key_id: { required: false, serialized_name: 'keyId', type: { name: 'String' } }, value: { required: false, serialized_name: 'value', type: { name: 'String' } } } } } end |