File: organization_details.py

package info (click to toggle)
azure-functions-devops-build 0.0.22-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 556 kB
  • sloc: python: 2,422; sh: 12; makefile: 8
file content (78 lines) | stat: -rw-r--r-- 3,955 bytes parent folder | download | duplicates (2)
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
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
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

from msrest.serialization import Model

class OrganizationDetails(Model):
    _attribute_map = {
        'accountId': {'key': 'accountId', 'type': 'str'},
        'accountHostType': {'key': 'accountHostType', 'type': 'str'},
        'accountName': {'key': 'accountName', 'type': 'str'},
        'subscriptionId': {'key': 'subscriptionId', 'type': 'str'},
        'subscriptionStatus': {'key': 'subscriptionStatus', 'type': 'str'},
        'resourceGroupName': {'key': 'resourceGroupName', 'type': 'str'},
        'geoLocation': {'key': 'geoLocation', 'type': 'str'},
        'locale': {'key': 'locale', 'type': 'str'},
        'regionDisplayName': {'key': 'regionDisplayName', 'type': 'str'},
        'serviceUrls': {'key': 'serviceUrls', 'type': 'str'},
        'accountTenantId': {'key': 'accountTenantId', 'type': 'str'},
        'isAccountOwner': {'key': 'isAccountOwner', 'type': 'str'},
        'resourceName': {'key': 'resourceName', 'type': 'str'},
        'subscriptionName': {'key': 'subscriptionName', 'type': 'str'},
        'isEligibleForPurchase': {'key': 'isEligibleForPurchase', 'type': 'str'},
        'isPrepaidFundSubscription': {'key': 'isPrepaidFundSubscription', 'type': 'str'},
        'isPricingAvailable': {'key': 'isPricingAvailable', 'type': 'str'},
        'subscriptionOfferCode': {'key': 'subscriptionOfferCode', 'type': 'str'},
        'offerType': {'key': 'offerType', 'type': 'str'},
        'subscriptionTenantId': {'key': 'subscriptionTenantId', 'type': 'str'},
        'subscriptionObjectId': {'key': 'subscriptionObjectId', 'type': 'str'},
        'failedPurchaseReason': {'key': 'failedPurchaseReason', 'type': 'str'}
    }

    def __init__(self
                , accountId=None
                , accountHostType=None
                , accountName=None
                , subscriptionId=None
                , subscriptionStatus=None
                , resourceGroupName=None
                , geoLocation=None
                , locale=None
                , regionDisplayName=None
                , serviceUrls=None
                , accountTenantId=None
                , isAccountOwner=None
                , resourceName=None
                , subscriptionName=None
                , isEligibleForPurchase=None
                , isPrepaidFundSubscription=None
                , isPricingAvailable=None
                , subscriptionOfferCode=None
                , offerType=None
                , subscriptionTenantId=None
                , subscriptionObjectId=None
                , failedPurchaseReason=None):
        self.accountId = accountId
        self.accountHostType = accountHostType
        self.accountName = accountName
        self.subscriptionId = subscriptionId
        self.subscriptionStatus = subscriptionStatus
        self.resourceGroupName = resourceGroupName
        self.geoLocation = geoLocation
        self.locale = locale
        self.regionDisplayName = regionDisplayName
        self.serviceUrls = serviceUrls
        self.accountTenantId = accountTenantId
        self.isAccountOwner = isAccountOwner
        self.resourceName = resourceName
        self.subscriptionName = subscriptionName
        self.isEligibleForPurchase = isEligibleForPurchase
        self.isPrepaidFundSubscription = isPrepaidFundSubscription
        self.isPricingAvailable = isPricingAvailable
        self.subscriptionOfferCode = subscriptionOfferCode
        self.offerType = offerType
        self.subscriptionTenantId = subscriptionTenantId
        self.subscriptionObjectId = subscriptionObjectId
        self.failedPurchaseReason = failedPurchaseReason