def __init__(self, message=None, correlation_id=None, category=None, sub_category=None, errors=None, context=None, links=None, local_vars_configuration=None): # noqa: E501 """Error - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._message = None self._correlation_id = None self._category = None self._sub_category = None self._errors = None self._context = None self._links = None self.discriminator = None self.message = message self.correlation_id = correlation_id self.category = category if sub_category is not None: self.sub_category = sub_category if errors is not None: self.errors = errors if context is not None: self.context = context if links is not None: self.links = links
def __init__( self, message=None, _in=None, code=None, sub_category=None, context=None, local_vars_configuration=None, ): # noqa: E501 """ErrorDetail - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._message = None self.__in = None self._code = None self._sub_category = None self._context = None self.discriminator = None self.message = message if _in is not None: self._in = _in if code is not None: self.code = code if sub_category is not None: self.sub_category = sub_category if context is not None: self.context = context
def __init__( self, data=None, domain=None, path=None, start_interval=None, end_interval=None, interval=None, period=None, local_vars_configuration=None, ): # noqa: E501 """PublicPerformanceResponse - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._data = None self._domain = None self._path = None self._start_interval = None self._end_interval = None self._interval = None self._period = None self.discriminator = None self.data = data if domain is not None: self.domain = domain if path is not None: self.path = path self.start_interval = start_interval self.end_interval = end_interval self.interval = interval if period is not None: self.period = period
def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1): if configuration is None: configuration = Configuration() self.configuration = configuration self.pool_threads = pool_threads self.rest_client = rest.RESTClientObject(configuration) self.default_headers = {} if header_name is not None: self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. self.user_agent = "OpenAPI-Generator/1.0.0/python" self.client_side_validation = configuration.client_side_validation
def __init__(self, _403=None, _404=None, _500=None, _504=None, start_timestamp=None, end_timestamp=None, start_datetime=None, end_datetime=None, total_requests=None, cache_hits=None, cache_hit_rate=None, total_request_time=None, avg_origin_response_time=None, response_time_ms=None, _100_x=None, _20_x=None, _30_x=None, _40_x=None, _50_x=None, _50th=None, _95th=None, _99th=None, local_vars_configuration=None): # noqa: E501 """PerformanceView - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self.__403 = None self.__404 = None self.__500 = None self.__504 = None self._start_timestamp = None self._end_timestamp = None self._start_datetime = None self._end_datetime = None self._total_requests = None self._cache_hits = None self._cache_hit_rate = None self._total_request_time = None self._avg_origin_response_time = None self._response_time_ms = None self.__100_x = None self.__20_x = None self.__30_x = None self.__40_x = None self.__50_x = None self.__50th = None self.__95th = None self.__99th = None self.discriminator = None self._403 = _403 self._404 = _404 self._500 = _500 self._504 = _504 self.start_timestamp = start_timestamp self.end_timestamp = end_timestamp self.start_datetime = start_datetime self.end_datetime = end_datetime self.total_requests = total_requests self.cache_hits = cache_hits self.cache_hit_rate = cache_hit_rate self.total_request_time = total_request_time self.avg_origin_response_time = avg_origin_response_time self.response_time_ms = response_time_ms self._100_x = _100_x self._20_x = _20_x self._30_x = _30_x self._40_x = _40_x self._50_x = _50_x self._50th = _50th self._95th = _95th self._99th = _99th