1919from volcenginesdkcore .configuration import Configuration
2020
2121
22- class GetAccessTokenResponse (object ):
22+ class DeviceInfoListForGetQuotaInfoOutput (object ):
2323 """NOTE: This class is auto generated by the swagger code generator program.
2424
2525 Do not edit the class manually.
@@ -33,71 +33,71 @@ class GetAccessTokenResponse(object):
3333 and the value is json key in definition.
3434 """
3535 swagger_types = {
36- 'access_token ' : 'str' ,
37- 'expire_time ' : 'int '
36+ 'field_name ' : 'str' ,
37+ 'field_value ' : 'str '
3838 }
3939
4040 attribute_map = {
41- 'access_token ' : 'AccessToken ' ,
42- 'expire_time ' : 'ExpireTime '
41+ 'field_name ' : 'fieldName ' ,
42+ 'field_value ' : 'fieldValue '
4343 }
4444
45- def __init__ (self , access_token = None , expire_time = None , _configuration = None ): # noqa: E501
46- """GetAccessTokenResponse - a model defined in Swagger""" # noqa: E501
45+ def __init__ (self , field_name = None , field_value = None , _configuration = None ): # noqa: E501
46+ """DeviceInfoListForGetQuotaInfoOutput - a model defined in Swagger""" # noqa: E501
4747 if _configuration is None :
4848 _configuration = Configuration ()
4949 self ._configuration = _configuration
5050
51- self ._access_token = None
52- self ._expire_time = None
51+ self ._field_name = None
52+ self ._field_value = None
5353 self .discriminator = None
5454
55- if access_token is not None :
56- self .access_token = access_token
57- if expire_time is not None :
58- self .expire_time = expire_time
55+ if field_name is not None :
56+ self .field_name = field_name
57+ if field_value is not None :
58+ self .field_value = field_value
5959
6060 @property
61- def access_token (self ):
62- """Gets the access_token of this GetAccessTokenResponse . # noqa: E501
61+ def field_name (self ):
62+ """Gets the field_name of this DeviceInfoListForGetQuotaInfoOutput . # noqa: E501
6363
6464
65- :return: The access_token of this GetAccessTokenResponse . # noqa: E501
65+ :return: The field_name of this DeviceInfoListForGetQuotaInfoOutput . # noqa: E501
6666 :rtype: str
6767 """
68- return self ._access_token
68+ return self ._field_name
6969
70- @access_token .setter
71- def access_token (self , access_token ):
72- """Sets the access_token of this GetAccessTokenResponse .
70+ @field_name .setter
71+ def field_name (self , field_name ):
72+ """Sets the field_name of this DeviceInfoListForGetQuotaInfoOutput .
7373
7474
75- :param access_token : The access_token of this GetAccessTokenResponse . # noqa: E501
75+ :param field_name : The field_name of this DeviceInfoListForGetQuotaInfoOutput . # noqa: E501
7676 :type: str
7777 """
7878
79- self ._access_token = access_token
79+ self ._field_name = field_name
8080
8181 @property
82- def expire_time (self ):
83- """Gets the expire_time of this GetAccessTokenResponse . # noqa: E501
82+ def field_value (self ):
83+ """Gets the field_value of this DeviceInfoListForGetQuotaInfoOutput . # noqa: E501
8484
8585
86- :return: The expire_time of this GetAccessTokenResponse . # noqa: E501
87- :rtype: int
86+ :return: The field_value of this DeviceInfoListForGetQuotaInfoOutput . # noqa: E501
87+ :rtype: str
8888 """
89- return self ._expire_time
89+ return self ._field_value
9090
91- @expire_time .setter
92- def expire_time (self , expire_time ):
93- """Sets the expire_time of this GetAccessTokenResponse .
91+ @field_value .setter
92+ def field_value (self , field_value ):
93+ """Sets the field_value of this DeviceInfoListForGetQuotaInfoOutput .
9494
9595
96- :param expire_time : The expire_time of this GetAccessTokenResponse . # noqa: E501
97- :type: int
96+ :param field_value : The field_value of this DeviceInfoListForGetQuotaInfoOutput . # noqa: E501
97+ :type: str
9898 """
9999
100- self ._expire_time = expire_time
100+ self ._field_value = field_value
101101
102102 def to_dict (self ):
103103 """Returns the model properties as a dict"""
@@ -120,7 +120,7 @@ def to_dict(self):
120120 ))
121121 else :
122122 result [attr ] = value
123- if issubclass (GetAccessTokenResponse , dict ):
123+ if issubclass (DeviceInfoListForGetQuotaInfoOutput , dict ):
124124 for key , value in self .items ():
125125 result [key ] = value
126126
@@ -136,14 +136,14 @@ def __repr__(self):
136136
137137 def __eq__ (self , other ):
138138 """Returns true if both objects are equal"""
139- if not isinstance (other , GetAccessTokenResponse ):
139+ if not isinstance (other , DeviceInfoListForGetQuotaInfoOutput ):
140140 return False
141141
142142 return self .to_dict () == other .to_dict ()
143143
144144 def __ne__ (self , other ):
145145 """Returns true if both objects are not equal"""
146- if not isinstance (other , GetAccessTokenResponse ):
146+ if not isinstance (other , DeviceInfoListForGetQuotaInfoOutput ):
147147 return True
148148
149149 return self .to_dict () != other .to_dict ()
0 commit comments