@@ -34,7 +34,7 @@ class CreateExternalPrometheusRequest(object):
3434 """
3535 swagger_types = {
3636 'auth_type' : 'str' ,
37- 'custom_headers ' : 'CustomHeadersForCreateExternalPrometheusInput ' ,
37+ 'custom_header_kvs ' : 'list[CustomHeaderKVForCreateExternalPrometheusInput] ' ,
3838 'description' : 'str' ,
3939 'encrypted_bearer_token' : 'str' ,
4040 'encrypted_password' : 'str' ,
@@ -51,7 +51,7 @@ class CreateExternalPrometheusRequest(object):
5151
5252 attribute_map = {
5353 'auth_type' : 'AuthType' ,
54- 'custom_headers ' : 'CustomHeaders ' ,
54+ 'custom_header_kvs ' : 'CustomHeaderKVs ' ,
5555 'description' : 'Description' ,
5656 'encrypted_bearer_token' : 'EncryptedBearerToken' ,
5757 'encrypted_password' : 'EncryptedPassword' ,
@@ -66,14 +66,14 @@ class CreateExternalPrometheusRequest(object):
6666 'vpcid' : 'VPCId'
6767 }
6868
69- def __init__ (self , auth_type = None , custom_headers = None , description = None , encrypted_bearer_token = None , encrypted_password = None , max_query_rate = None , name = None , project_name = None , subnet_ids = None , tags = None , type = None , url = None , username = None , vpcid = None , _configuration = None ): # noqa: E501
69+ def __init__ (self , auth_type = None , custom_header_kvs = None , description = None , encrypted_bearer_token = None , encrypted_password = None , max_query_rate = None , name = None , project_name = None , subnet_ids = None , tags = None , type = None , url = None , username = None , vpcid = None , _configuration = None ): # noqa: E501
7070 """CreateExternalPrometheusRequest - a model defined in Swagger""" # noqa: E501
7171 if _configuration is None :
7272 _configuration = Configuration ()
7373 self ._configuration = _configuration
7474
7575 self ._auth_type = None
76- self ._custom_headers = None
76+ self ._custom_header_kvs = None
7777 self ._description = None
7878 self ._encrypted_bearer_token = None
7979 self ._encrypted_password = None
@@ -90,8 +90,8 @@ def __init__(self, auth_type=None, custom_headers=None, description=None, encryp
9090
9191 if auth_type is not None :
9292 self .auth_type = auth_type
93- if custom_headers is not None :
94- self .custom_headers = custom_headers
93+ if custom_header_kvs is not None :
94+ self .custom_header_kvs = custom_header_kvs
9595 if description is not None :
9696 self .description = description
9797 if encrypted_bearer_token is not None :
@@ -137,25 +137,25 @@ def auth_type(self, auth_type):
137137 self ._auth_type = auth_type
138138
139139 @property
140- def custom_headers (self ):
141- """Gets the custom_headers of this CreateExternalPrometheusRequest. # noqa: E501
140+ def custom_header_kvs (self ):
141+ """Gets the custom_header_kvs of this CreateExternalPrometheusRequest. # noqa: E501
142142
143143
144- :return: The custom_headers of this CreateExternalPrometheusRequest. # noqa: E501
145- :rtype: CustomHeadersForCreateExternalPrometheusInput
144+ :return: The custom_header_kvs of this CreateExternalPrometheusRequest. # noqa: E501
145+ :rtype: list[CustomHeaderKVForCreateExternalPrometheusInput]
146146 """
147- return self ._custom_headers
147+ return self ._custom_header_kvs
148148
149- @custom_headers .setter
150- def custom_headers (self , custom_headers ):
151- """Sets the custom_headers of this CreateExternalPrometheusRequest.
149+ @custom_header_kvs .setter
150+ def custom_header_kvs (self , custom_header_kvs ):
151+ """Sets the custom_header_kvs of this CreateExternalPrometheusRequest.
152152
153153
154- :param custom_headers : The custom_headers of this CreateExternalPrometheusRequest. # noqa: E501
155- :type: CustomHeadersForCreateExternalPrometheusInput
154+ :param custom_header_kvs : The custom_header_kvs of this CreateExternalPrometheusRequest. # noqa: E501
155+ :type: list[CustomHeaderKVForCreateExternalPrometheusInput]
156156 """
157157
158- self ._custom_headers = custom_headers
158+ self ._custom_header_kvs = custom_header_kvs
159159
160160 @property
161161 def description (self ):
0 commit comments