Skip to content

Commit

Permalink
fix computed type
Browse files Browse the repository at this point in the history
  • Loading branch information
Sczlog committed Jun 13, 2022
1 parent 49ca44e commit 29a42fc
Show file tree
Hide file tree
Showing 6 changed files with 162 additions and 162 deletions.
12 changes: 6 additions & 6 deletions cloudtower/models/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ class Cluster(object):
'total_memory_bytes': 'int',
'type': 'ClusterType',
'upgrade_tool_version': 'str',
'used_cpu_hz': 'int',
'used_cpu_hz': 'float',
'used_data_space': 'int',
'used_memory_bytes': 'int',
'used_memory_bytes': 'float',
'valid_data_space': 'int',
'vcenter_account': 'NestedVcenterAccount',
'vdses': 'list[NestedVds]',
Expand Down Expand Up @@ -1916,7 +1916,7 @@ def used_cpu_hz(self):
:return: The used_cpu_hz of this Cluster. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_cpu_hz

Expand All @@ -1926,7 +1926,7 @@ def used_cpu_hz(self, used_cpu_hz):
:param used_cpu_hz: The used_cpu_hz of this Cluster. # noqa: E501
:type used_cpu_hz: int
:type used_cpu_hz: float
"""

self._used_cpu_hz = used_cpu_hz
Expand Down Expand Up @@ -1958,7 +1958,7 @@ def used_memory_bytes(self):
:return: The used_memory_bytes of this Cluster. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_memory_bytes

Expand All @@ -1968,7 +1968,7 @@ def used_memory_bytes(self, used_memory_bytes):
:param used_memory_bytes: The used_memory_bytes of this Cluster. # noqa: E501
:type used_memory_bytes: int
:type used_memory_bytes: float
"""

self._used_memory_bytes = used_memory_bytes
Expand Down
96 changes: 48 additions & 48 deletions cloudtower/models/cluster_where_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,14 +510,14 @@ class ClusterWhereInput(object):
'upgrade_tool_version_not_in': 'list[str]',
'upgrade_tool_version_not_starts_with': 'str',
'upgrade_tool_version_starts_with': 'str',
'used_cpu_hz': 'int',
'used_cpu_hz_gt': 'int',
'used_cpu_hz_gte': 'int',
'used_cpu_hz_in': 'list[int]',
'used_cpu_hz_lt': 'int',
'used_cpu_hz_lte': 'int',
'used_cpu_hz_not': 'int',
'used_cpu_hz_not_in': 'list[int]',
'used_cpu_hz': 'float',
'used_cpu_hz_gt': 'float',
'used_cpu_hz_gte': 'float',
'used_cpu_hz_in': 'list[float]',
'used_cpu_hz_lt': 'float',
'used_cpu_hz_lte': 'float',
'used_cpu_hz_not': 'float',
'used_cpu_hz_not_in': 'list[float]',
'used_data_space': 'int',
'used_data_space_gt': 'int',
'used_data_space_gte': 'int',
Expand All @@ -526,14 +526,14 @@ class ClusterWhereInput(object):
'used_data_space_lte': 'int',
'used_data_space_not': 'int',
'used_data_space_not_in': 'list[int]',
'used_memory_bytes': 'int',
'used_memory_bytes_gt': 'int',
'used_memory_bytes_gte': 'int',
'used_memory_bytes_in': 'list[int]',
'used_memory_bytes_lt': 'int',
'used_memory_bytes_lte': 'int',
'used_memory_bytes_not': 'int',
'used_memory_bytes_not_in': 'list[int]',
'used_memory_bytes': 'float',
'used_memory_bytes_gt': 'float',
'used_memory_bytes_gte': 'float',
'used_memory_bytes_in': 'list[float]',
'used_memory_bytes_lt': 'float',
'used_memory_bytes_lte': 'float',
'used_memory_bytes_not': 'float',
'used_memory_bytes_not_in': 'list[float]',
'valid_data_space': 'int',
'valid_data_space_gt': 'int',
'valid_data_space_gte': 'int',
Expand Down Expand Up @@ -12196,7 +12196,7 @@ def used_cpu_hz(self):
:return: The used_cpu_hz of this ClusterWhereInput. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_cpu_hz

Expand All @@ -12206,7 +12206,7 @@ def used_cpu_hz(self, used_cpu_hz):
:param used_cpu_hz: The used_cpu_hz of this ClusterWhereInput. # noqa: E501
:type used_cpu_hz: int
:type used_cpu_hz: float
"""

self._used_cpu_hz = used_cpu_hz
Expand All @@ -12217,7 +12217,7 @@ def used_cpu_hz_gt(self):
:return: The used_cpu_hz_gt of this ClusterWhereInput. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_cpu_hz_gt

Expand All @@ -12227,7 +12227,7 @@ def used_cpu_hz_gt(self, used_cpu_hz_gt):
:param used_cpu_hz_gt: The used_cpu_hz_gt of this ClusterWhereInput. # noqa: E501
:type used_cpu_hz_gt: int
:type used_cpu_hz_gt: float
"""

self._used_cpu_hz_gt = used_cpu_hz_gt
Expand All @@ -12238,7 +12238,7 @@ def used_cpu_hz_gte(self):
:return: The used_cpu_hz_gte of this ClusterWhereInput. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_cpu_hz_gte

Expand All @@ -12248,7 +12248,7 @@ def used_cpu_hz_gte(self, used_cpu_hz_gte):
:param used_cpu_hz_gte: The used_cpu_hz_gte of this ClusterWhereInput. # noqa: E501
:type used_cpu_hz_gte: int
:type used_cpu_hz_gte: float
"""

self._used_cpu_hz_gte = used_cpu_hz_gte
Expand All @@ -12259,7 +12259,7 @@ def used_cpu_hz_in(self):
:return: The used_cpu_hz_in of this ClusterWhereInput. # noqa: E501
:rtype: list[int]
:rtype: list[float]
"""
return self._used_cpu_hz_in

Expand All @@ -12269,7 +12269,7 @@ def used_cpu_hz_in(self, used_cpu_hz_in):
:param used_cpu_hz_in: The used_cpu_hz_in of this ClusterWhereInput. # noqa: E501
:type used_cpu_hz_in: list[int]
:type used_cpu_hz_in: list[float]
"""

self._used_cpu_hz_in = used_cpu_hz_in
Expand All @@ -12280,7 +12280,7 @@ def used_cpu_hz_lt(self):
:return: The used_cpu_hz_lt of this ClusterWhereInput. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_cpu_hz_lt

Expand All @@ -12290,7 +12290,7 @@ def used_cpu_hz_lt(self, used_cpu_hz_lt):
:param used_cpu_hz_lt: The used_cpu_hz_lt of this ClusterWhereInput. # noqa: E501
:type used_cpu_hz_lt: int
:type used_cpu_hz_lt: float
"""

self._used_cpu_hz_lt = used_cpu_hz_lt
Expand All @@ -12301,7 +12301,7 @@ def used_cpu_hz_lte(self):
:return: The used_cpu_hz_lte of this ClusterWhereInput. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_cpu_hz_lte

Expand All @@ -12311,7 +12311,7 @@ def used_cpu_hz_lte(self, used_cpu_hz_lte):
:param used_cpu_hz_lte: The used_cpu_hz_lte of this ClusterWhereInput. # noqa: E501
:type used_cpu_hz_lte: int
:type used_cpu_hz_lte: float
"""

self._used_cpu_hz_lte = used_cpu_hz_lte
Expand All @@ -12322,7 +12322,7 @@ def used_cpu_hz_not(self):
:return: The used_cpu_hz_not of this ClusterWhereInput. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_cpu_hz_not

Expand All @@ -12332,7 +12332,7 @@ def used_cpu_hz_not(self, used_cpu_hz_not):
:param used_cpu_hz_not: The used_cpu_hz_not of this ClusterWhereInput. # noqa: E501
:type used_cpu_hz_not: int
:type used_cpu_hz_not: float
"""

self._used_cpu_hz_not = used_cpu_hz_not
Expand All @@ -12343,7 +12343,7 @@ def used_cpu_hz_not_in(self):
:return: The used_cpu_hz_not_in of this ClusterWhereInput. # noqa: E501
:rtype: list[int]
:rtype: list[float]
"""
return self._used_cpu_hz_not_in

Expand All @@ -12353,7 +12353,7 @@ def used_cpu_hz_not_in(self, used_cpu_hz_not_in):
:param used_cpu_hz_not_in: The used_cpu_hz_not_in of this ClusterWhereInput. # noqa: E501
:type used_cpu_hz_not_in: list[int]
:type used_cpu_hz_not_in: list[float]
"""

self._used_cpu_hz_not_in = used_cpu_hz_not_in
Expand Down Expand Up @@ -12532,7 +12532,7 @@ def used_memory_bytes(self):
:return: The used_memory_bytes of this ClusterWhereInput. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_memory_bytes

Expand All @@ -12542,7 +12542,7 @@ def used_memory_bytes(self, used_memory_bytes):
:param used_memory_bytes: The used_memory_bytes of this ClusterWhereInput. # noqa: E501
:type used_memory_bytes: int
:type used_memory_bytes: float
"""

self._used_memory_bytes = used_memory_bytes
Expand All @@ -12553,7 +12553,7 @@ def used_memory_bytes_gt(self):
:return: The used_memory_bytes_gt of this ClusterWhereInput. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_memory_bytes_gt

Expand All @@ -12563,7 +12563,7 @@ def used_memory_bytes_gt(self, used_memory_bytes_gt):
:param used_memory_bytes_gt: The used_memory_bytes_gt of this ClusterWhereInput. # noqa: E501
:type used_memory_bytes_gt: int
:type used_memory_bytes_gt: float
"""

self._used_memory_bytes_gt = used_memory_bytes_gt
Expand All @@ -12574,7 +12574,7 @@ def used_memory_bytes_gte(self):
:return: The used_memory_bytes_gte of this ClusterWhereInput. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_memory_bytes_gte

Expand All @@ -12584,7 +12584,7 @@ def used_memory_bytes_gte(self, used_memory_bytes_gte):
:param used_memory_bytes_gte: The used_memory_bytes_gte of this ClusterWhereInput. # noqa: E501
:type used_memory_bytes_gte: int
:type used_memory_bytes_gte: float
"""

self._used_memory_bytes_gte = used_memory_bytes_gte
Expand All @@ -12595,7 +12595,7 @@ def used_memory_bytes_in(self):
:return: The used_memory_bytes_in of this ClusterWhereInput. # noqa: E501
:rtype: list[int]
:rtype: list[float]
"""
return self._used_memory_bytes_in

Expand All @@ -12605,7 +12605,7 @@ def used_memory_bytes_in(self, used_memory_bytes_in):
:param used_memory_bytes_in: The used_memory_bytes_in of this ClusterWhereInput. # noqa: E501
:type used_memory_bytes_in: list[int]
:type used_memory_bytes_in: list[float]
"""

self._used_memory_bytes_in = used_memory_bytes_in
Expand All @@ -12616,7 +12616,7 @@ def used_memory_bytes_lt(self):
:return: The used_memory_bytes_lt of this ClusterWhereInput. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_memory_bytes_lt

Expand All @@ -12626,7 +12626,7 @@ def used_memory_bytes_lt(self, used_memory_bytes_lt):
:param used_memory_bytes_lt: The used_memory_bytes_lt of this ClusterWhereInput. # noqa: E501
:type used_memory_bytes_lt: int
:type used_memory_bytes_lt: float
"""

self._used_memory_bytes_lt = used_memory_bytes_lt
Expand All @@ -12637,7 +12637,7 @@ def used_memory_bytes_lte(self):
:return: The used_memory_bytes_lte of this ClusterWhereInput. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_memory_bytes_lte

Expand All @@ -12647,7 +12647,7 @@ def used_memory_bytes_lte(self, used_memory_bytes_lte):
:param used_memory_bytes_lte: The used_memory_bytes_lte of this ClusterWhereInput. # noqa: E501
:type used_memory_bytes_lte: int
:type used_memory_bytes_lte: float
"""

self._used_memory_bytes_lte = used_memory_bytes_lte
Expand All @@ -12658,7 +12658,7 @@ def used_memory_bytes_not(self):
:return: The used_memory_bytes_not of this ClusterWhereInput. # noqa: E501
:rtype: int
:rtype: float
"""
return self._used_memory_bytes_not

Expand All @@ -12668,7 +12668,7 @@ def used_memory_bytes_not(self, used_memory_bytes_not):
:param used_memory_bytes_not: The used_memory_bytes_not of this ClusterWhereInput. # noqa: E501
:type used_memory_bytes_not: int
:type used_memory_bytes_not: float
"""

self._used_memory_bytes_not = used_memory_bytes_not
Expand All @@ -12679,7 +12679,7 @@ def used_memory_bytes_not_in(self):
:return: The used_memory_bytes_not_in of this ClusterWhereInput. # noqa: E501
:rtype: list[int]
:rtype: list[float]
"""
return self._used_memory_bytes_not_in

Expand All @@ -12689,7 +12689,7 @@ def used_memory_bytes_not_in(self, used_memory_bytes_not_in):
:param used_memory_bytes_not_in: The used_memory_bytes_not_in of this ClusterWhereInput. # noqa: E501
:type used_memory_bytes_not_in: list[int]
:type used_memory_bytes_not_in: list[float]
"""

self._used_memory_bytes_not_in = used_memory_bytes_not_in
Expand Down
Loading

0 comments on commit 29a42fc

Please sign in to comment.