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, total=None, offset=None, limit=None, results=None, search_term=None, page=None, local_vars_configuration=None): # noqa: E501 """PublicSearchResults - 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._total = None self._offset = None self._limit = None self._results = None self._search_term = None self._page = None self.discriminator = None self.total = total self.offset = offset self.limit = limit self.results = results if search_term is not None: self.search_term = search_term self.page = page
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, id=None, type=None, fields=None, local_vars_configuration=None): # noqa: E501 """IndexedData - 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._id = None self._type = None self._fields = None self.discriminator = None self.id = id self.type = type self.fields = fields
def __init__(self, metadata_field=None, values=None, name=None, value=None, local_vars_configuration=None): # noqa: E501 """SearchHitField - 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._metadata_field = None self._values = None self._name = None self._value = None self.discriminator = None self.metadata_field = metadata_field self.values = values self.name = name self.value = value
def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1): if configuration is None: configuration = Configuration.get_default_copy() 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, id=None, score=None, type=None, domain=None, url=None, featured_image_url=None, language=None, title=None, description=None, category=None, subcategory=None, author_full_name=None, tags=None, table_id=None, row_id=None, published_date=None, combined_id=None, local_vars_configuration=None, ): # noqa: E501 """ContentSearchResult - 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._id = None self._score = None self._type = None self._domain = None self._url = None self._featured_image_url = None self._language = None self._title = None self._description = None self._category = None self._subcategory = None self._author_full_name = None self._tags = None self._table_id = None self._row_id = None self._published_date = None self._combined_id = None self.discriminator = None self.id = id self.score = score self.type = type self.domain = domain self.url = url if featured_image_url is not None: self.featured_image_url = featured_image_url if language is not None: self.language = language if title is not None: self.title = title if description is not None: self.description = description if category is not None: self.category = category if subcategory is not None: self.subcategory = subcategory if author_full_name is not None: self.author_full_name = author_full_name if tags is not None: self.tags = tags if table_id is not None: self.table_id = table_id if row_id is not None: self.row_id = row_id if published_date is not None: self.published_date = published_date if combined_id is not None: self.combined_id = combined_id