1# coding=utf-8 2# -------------------------------------------------------------------------- 3# Copyright (c) Microsoft Corporation. All rights reserved. 4# Licensed under the MIT License. See License.txt in the project root for 5# license information. 6# 7# Code generated by Microsoft (R) AutoRest Code Generator. 8# Changes may cause incorrect behavior and will be lost if the code is 9# regenerated. 10# -------------------------------------------------------------------------- 11 12from msrest.serialization import Model 13 14 15class IssuerAttributes(Model): 16 """The attributes of an issuer managed by the Key Vault service. 17 18 Variables are only populated by the server, and will be ignored when 19 sending a request. 20 21 :param enabled: Determines whether the issuer is enabled. 22 :type enabled: bool 23 :ivar created: Creation time in UTC. 24 :vartype created: datetime 25 :ivar updated: Last updated time in UTC. 26 :vartype updated: datetime 27 """ 28 29 _validation = { 30 'created': {'readonly': True}, 31 'updated': {'readonly': True}, 32 } 33 34 _attribute_map = { 35 'enabled': {'key': 'enabled', 'type': 'bool'}, 36 'created': {'key': 'created', 'type': 'unix-time'}, 37 'updated': {'key': 'updated', 'type': 'unix-time'}, 38 } 39 40 def __init__(self, **kwargs): 41 super(IssuerAttributes, self).__init__(**kwargs) 42 self.enabled = kwargs.get('enabled', None) 43 self.created = None 44 self.updated = None 45