Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_validation = {
'sku': {'constant': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'AzureSku'},
'properties': {'key': 'properties', 'type': 'object'},
}
sku = AzureSku()
def __init__(self, **kwargs):
super(WorkspaceCollection, self).__init__(**kwargs)
self.id = kwargs.get('id', None)
self.name = kwargs.get('name', None)
self.type = kwargs.get('type', None)
self.location = kwargs.get('location', None)
self.tags = kwargs.get('tags', None)
self.properties = kwargs.get('properties', None)
:param tags:
:type tags: dict[str, str]
:ivar sku:
:vartype sku: ~azure.mgmt.powerbiembedded.models.AzureSku
"""
_validation = {
'sku': {'constant': True},
}
_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'AzureSku'},
}
sku = AzureSku()
def __init__(self, **kwargs):
super(UpdateWorkspaceCollectionRequest, self).__init__(**kwargs)
self.tags = kwargs.get('tags', None)
:type tags: dict[str, str]
:ivar sku:
:vartype sku: ~azure.mgmt.powerbiembedded.models.AzureSku
"""
_validation = {
'sku': {'constant': True},
}
_attribute_map = {
'location': {'key': 'location', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'AzureSku'},
}
sku = AzureSku()
def __init__(self, **kwargs):
super(CreateWorkspaceCollectionRequest, self).__init__(**kwargs)
self.location = kwargs.get('location', None)
self.tags = kwargs.get('tags', None)