1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrest.serialization import Model
class PasswordCredential(Model):
"""Active Directory Password Credential information.
:param additional_properties: Unmatched properties from the message are
deserialized this collection
:type additional_properties: dict[str, object]
:param start_date: Start date.
:type start_date: datetime
:param end_date: End date.
:type end_date: datetime
:param key_id: Key ID.
:type key_id: str
:param value: Key value.
:type value: str
"""
_attribute_map = {
'additional_properties': {'key': '', 'type': '{object}'},
'start_date': {'key': 'startDate', 'type': 'iso-8601'},
'end_date': {'key': 'endDate', 'type': 'iso-8601'},
'key_id': {'key': 'keyId', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
}
def __init__(self, **kwargs):
super(PasswordCredential, self).__init__(**kwargs)
self.additional_properties = kwargs.get('additional_properties', None)
self.start_date = kwargs.get('start_date', None)
self.end_date = kwargs.get('end_date', None)
self.key_id = kwargs.get('key_id', None)
self.value = kwargs.get('value', None)
|