File tree Expand file tree Collapse file tree 1 file changed +29
-4
lines changed
webexteamssdk/models/mixins Expand file tree Collapse file tree 1 file changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -39,19 +39,44 @@ class LicenseBasicPropertiesMixin(object):
39
39
@property
40
40
def id (self ):
41
41
"""A unique identifier for the license."""
42
- return self ._json_data .get ('id' )
42
+ return self ._json_data .get ("id" )
43
43
44
44
@property
45
45
def name (self ):
46
46
"""Name of the licensed feature."""
47
- return self ._json_data .get (' name' )
47
+ return self ._json_data .get (" name" )
48
48
49
49
@property
50
50
def totalUnits (self ):
51
51
"""Total number of license units allocated."""
52
- return self ._json_data .get (' totalUnits' )
52
+ return self ._json_data .get (" totalUnits" )
53
53
54
54
@property
55
55
def consumedUnits (self ):
56
56
"""Total number of license units consumed."""
57
- return self ._json_data .get ('consumedUnits' )
57
+ return self ._json_data .get ("consumedUnits" )
58
+
59
+ @property
60
+ def subscriptionId (self ):
61
+ """The subscription ID associated with this license.
62
+
63
+ This ID is used in other systems, such as Webex Control Hub.
64
+ """
65
+ return self ._json_data .get ("subscriptionId" )
66
+
67
+ @property
68
+ def siteUrl (self ):
69
+ """The Webex Meetings site associated with this license."""
70
+ return self ._json_data .get ("siteUrl" )
71
+
72
+ @property
73
+ def siteType (self ):
74
+ """The type of site associated with this license.
75
+
76
+ `Control Hub managed site` the site is managed by Webex Control Hub.
77
+
78
+ `Linked site` the site is a linked site
79
+
80
+ `Site Admin managed site` the site is managed by Site Administration
81
+ """
82
+ return self ._json_data .get ("siteType" )
You can’t perform that action at this time.
0 commit comments