1# -------------------------------------------------------------------------------------------- 2# Copyright (c) Microsoft Corporation. All rights reserved. 3# Licensed under the MIT License. See License.txt in the project root for license information. 4# -------------------------------------------------------------------------------------------- 5# Generated file, DO NOT EDIT 6# Changes may cause incorrect behavior and will be lost if the code is regenerated. 7# -------------------------------------------------------------------------------------------- 8 9from msrest.serialization import Model 10 11 12class Account(Model): 13 """Account. 14 15 :param account_id: Identifier for an Account 16 :type account_id: str 17 :param account_name: Name for an account 18 :type account_name: str 19 :param account_owner: Owner of account 20 :type account_owner: str 21 :param account_status: Current account status 22 :type account_status: object 23 :param account_type: Type of account: Personal, Organization 24 :type account_type: object 25 :param account_uri: Uri for an account 26 :type account_uri: str 27 :param created_by: Who created the account 28 :type created_by: str 29 :param created_date: Date account was created 30 :type created_date: datetime 31 :param has_moved: 32 :type has_moved: bool 33 :param last_updated_by: Identity of last person to update the account 34 :type last_updated_by: str 35 :param last_updated_date: Date account was last updated 36 :type last_updated_date: datetime 37 :param namespace_id: Namespace for an account 38 :type namespace_id: str 39 :param new_collection_id: 40 :type new_collection_id: str 41 :param organization_name: Organization that created the account 42 :type organization_name: str 43 :param properties: Extended properties 44 :type properties: :class:`object <accounts.v4_0.models.object>` 45 :param status_reason: Reason for current status 46 :type status_reason: str 47 """ 48 49 _attribute_map = { 50 'account_id': {'key': 'accountId', 'type': 'str'}, 51 'account_name': {'key': 'accountName', 'type': 'str'}, 52 'account_owner': {'key': 'accountOwner', 'type': 'str'}, 53 'account_status': {'key': 'accountStatus', 'type': 'object'}, 54 'account_type': {'key': 'accountType', 'type': 'object'}, 55 'account_uri': {'key': 'accountUri', 'type': 'str'}, 56 'created_by': {'key': 'createdBy', 'type': 'str'}, 57 'created_date': {'key': 'createdDate', 'type': 'iso-8601'}, 58 'has_moved': {'key': 'hasMoved', 'type': 'bool'}, 59 'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'str'}, 60 'last_updated_date': {'key': 'lastUpdatedDate', 'type': 'iso-8601'}, 61 'namespace_id': {'key': 'namespaceId', 'type': 'str'}, 62 'new_collection_id': {'key': 'newCollectionId', 'type': 'str'}, 63 'organization_name': {'key': 'organizationName', 'type': 'str'}, 64 'properties': {'key': 'properties', 'type': 'object'}, 65 'status_reason': {'key': 'statusReason', 'type': 'str'} 66 } 67 68 def __init__(self, account_id=None, account_name=None, account_owner=None, account_status=None, account_type=None, account_uri=None, created_by=None, created_date=None, has_moved=None, last_updated_by=None, last_updated_date=None, namespace_id=None, new_collection_id=None, organization_name=None, properties=None, status_reason=None): 69 super(Account, self).__init__() 70 self.account_id = account_id 71 self.account_name = account_name 72 self.account_owner = account_owner 73 self.account_status = account_status 74 self.account_type = account_type 75 self.account_uri = account_uri 76 self.created_by = created_by 77 self.created_date = created_date 78 self.has_moved = has_moved 79 self.last_updated_by = last_updated_by 80 self.last_updated_date = last_updated_date 81 self.namespace_id = namespace_id 82 self.new_collection_id = new_collection_id 83 self.organization_name = organization_name 84 self.properties = properties 85 self.status_reason = status_reason 86