Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Generated from 5699a841d9bb36bb99d1fbeecf46459473d054ac
Incorporated review comments

Incorporated review comments
  • Loading branch information
AutorestCI committed Apr 12, 2018
commit 05f0a5742b08d16758ad2675beaccfea6154a4bd
12 changes: 6 additions & 6 deletions azure-mgmt-consumption/azure/mgmt/consumption/models/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class Tags(ProxyResource):
"""A tag resource.
"""A resource listing tags.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -28,8 +28,8 @@ class Tags(ProxyResource):
this field will be used to determine whether the user is updating the
latest version or not.
:type e_tag: str
:param cost_tags: Tags.
:type cost_tags: list[~azure.mgmt.consumption.models.Tag]
:param tags: Tags.
:type tags: list[~azure.mgmt.consumption.models.Tag]
"""

_validation = {
Expand All @@ -43,9 +43,9 @@ class Tags(ProxyResource):
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'e_tag': {'key': 'eTag', 'type': 'str'},
'cost_tags': {'key': 'properties.costTags', 'type': '[Tag]'},
'tags': {'key': 'properties.tags', 'type': '[Tag]'},
}

def __init__(self, e_tag=None, cost_tags=None):
def __init__(self, e_tag=None, tags=None):
super(Tags, self).__init__(e_tag=e_tag)
self.cost_tags = cost_tags
self.tags = tags