search

package
v0.5.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for search API

func (*Client) GetCharactersCharacterIDSearch

func (a *Client) GetCharactersCharacterIDSearch(params *GetCharactersCharacterIDSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDSearchOK, error)
GetCharactersCharacterIDSearch searches on a string

Search for entities that match a given sub-string.

---

This route is cached for up to 3600 seconds

func (*Client) GetSearch

func (a *Client) GetSearch(params *GetSearchParams, opts ...ClientOption) (*GetSearchOK, error)
GetSearch searches on a string

Search for entities that match a given sub-string.

---

This route is cached for up to 3600 seconds

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v0.4.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetCharactersCharacterIDSearch(params *GetCharactersCharacterIDSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDSearchOK, error)

	GetSearch(params *GetSearchParams, opts ...ClientOption) (*GetSearchOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new search API client.

type GetCharactersCharacterIDSearchBadRequest

type GetCharactersCharacterIDSearchBadRequest struct {
	Payload *models.BadRequest
}
GetCharactersCharacterIDSearchBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetCharactersCharacterIDSearchBadRequest

func NewGetCharactersCharacterIDSearchBadRequest() *GetCharactersCharacterIDSearchBadRequest

NewGetCharactersCharacterIDSearchBadRequest creates a GetCharactersCharacterIDSearchBadRequest with default headers values

func (*GetCharactersCharacterIDSearchBadRequest) Error

func (*GetCharactersCharacterIDSearchBadRequest) GetPayload

type GetCharactersCharacterIDSearchEnhanceYourCalm

type GetCharactersCharacterIDSearchEnhanceYourCalm struct {
	Payload *models.ErrorLimited
}
GetCharactersCharacterIDSearchEnhanceYourCalm describes a response with status code 420, with default header values.

Error limited

func NewGetCharactersCharacterIDSearchEnhanceYourCalm

func NewGetCharactersCharacterIDSearchEnhanceYourCalm() *GetCharactersCharacterIDSearchEnhanceYourCalm

NewGetCharactersCharacterIDSearchEnhanceYourCalm creates a GetCharactersCharacterIDSearchEnhanceYourCalm with default headers values

func (*GetCharactersCharacterIDSearchEnhanceYourCalm) Error

func (*GetCharactersCharacterIDSearchEnhanceYourCalm) GetPayload

type GetCharactersCharacterIDSearchForbidden

type GetCharactersCharacterIDSearchForbidden struct {
	Payload *models.Forbidden
}
GetCharactersCharacterIDSearchForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCharactersCharacterIDSearchForbidden

func NewGetCharactersCharacterIDSearchForbidden() *GetCharactersCharacterIDSearchForbidden

NewGetCharactersCharacterIDSearchForbidden creates a GetCharactersCharacterIDSearchForbidden with default headers values

func (*GetCharactersCharacterIDSearchForbidden) Error

func (*GetCharactersCharacterIDSearchForbidden) GetPayload

type GetCharactersCharacterIDSearchGatewayTimeout

type GetCharactersCharacterIDSearchGatewayTimeout struct {
	Payload *models.GatewayTimeout
}
GetCharactersCharacterIDSearchGatewayTimeout describes a response with status code 504, with default header values.

Gateway timeout

func NewGetCharactersCharacterIDSearchGatewayTimeout

func NewGetCharactersCharacterIDSearchGatewayTimeout() *GetCharactersCharacterIDSearchGatewayTimeout

NewGetCharactersCharacterIDSearchGatewayTimeout creates a GetCharactersCharacterIDSearchGatewayTimeout with default headers values

func (*GetCharactersCharacterIDSearchGatewayTimeout) Error

func (*GetCharactersCharacterIDSearchGatewayTimeout) GetPayload

type GetCharactersCharacterIDSearchInternalServerError

type GetCharactersCharacterIDSearchInternalServerError struct {
	Payload *models.InternalServerError
}
GetCharactersCharacterIDSearchInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetCharactersCharacterIDSearchInternalServerError

func NewGetCharactersCharacterIDSearchInternalServerError() *GetCharactersCharacterIDSearchInternalServerError

NewGetCharactersCharacterIDSearchInternalServerError creates a GetCharactersCharacterIDSearchInternalServerError with default headers values

func (*GetCharactersCharacterIDSearchInternalServerError) Error

func (*GetCharactersCharacterIDSearchInternalServerError) GetPayload

type GetCharactersCharacterIDSearchNotModified

type GetCharactersCharacterIDSearchNotModified struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string
}
GetCharactersCharacterIDSearchNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetCharactersCharacterIDSearchNotModified

func NewGetCharactersCharacterIDSearchNotModified() *GetCharactersCharacterIDSearchNotModified

NewGetCharactersCharacterIDSearchNotModified creates a GetCharactersCharacterIDSearchNotModified with default headers values

func (*GetCharactersCharacterIDSearchNotModified) Error

type GetCharactersCharacterIDSearchOK

type GetCharactersCharacterIDSearchOK struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* The language used in the response
	 */
	ContentLanguage string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string

	Payload *GetCharactersCharacterIDSearchOKBody
}
GetCharactersCharacterIDSearchOK describes a response with status code 200, with default header values.

A list of search results

func NewGetCharactersCharacterIDSearchOK

func NewGetCharactersCharacterIDSearchOK() *GetCharactersCharacterIDSearchOK

NewGetCharactersCharacterIDSearchOK creates a GetCharactersCharacterIDSearchOK with default headers values

func (*GetCharactersCharacterIDSearchOK) Error

func (*GetCharactersCharacterIDSearchOK) GetPayload

type GetCharactersCharacterIDSearchOKBody

type GetCharactersCharacterIDSearchOKBody struct {

	// get_characters_character_id_search_agent
	//
	// agent array
	// Max Items: 500
	Agent []int32 `json:"agent"`

	// get_characters_character_id_search_alliance
	//
	// alliance array
	// Max Items: 500
	Alliance []int32 `json:"alliance"`

	// get_characters_character_id_search_character
	//
	// character array
	// Max Items: 500
	Character []int32 `json:"character"`

	// get_characters_character_id_search_constellation
	//
	// constellation array
	// Max Items: 500
	Constellation []int32 `json:"constellation"`

	// get_characters_character_id_search_corporation
	//
	// corporation array
	// Max Items: 500
	Corporation []int32 `json:"corporation"`

	// get_characters_character_id_search_faction
	//
	// faction array
	// Max Items: 500
	Faction []int32 `json:"faction"`

	// get_characters_character_id_search_inventory_type
	//
	// inventory_type array
	// Max Items: 500
	InventoryType []int32 `json:"inventory_type"`

	// get_characters_character_id_search_region
	//
	// region array
	// Max Items: 500
	Region []int32 `json:"region"`

	// get_characters_character_id_search_solar_system
	//
	// solar_system array
	// Max Items: 500
	SolarSystem []int32 `json:"solar_system"`

	// get_characters_character_id_search_station
	//
	// station array
	// Max Items: 500
	Station []int32 `json:"station"`

	// get_characters_character_id_search_structure
	//
	// structure array
	// Max Items: 500
	Structure []int64 `json:"structure"`
}

GetCharactersCharacterIDSearchOKBody get_characters_character_id_search_ok // // 200 ok object swagger:model GetCharactersCharacterIDSearchOKBody

func (*GetCharactersCharacterIDSearchOKBody) ContextValidate added in v0.3.0

func (o *GetCharactersCharacterIDSearchOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get characters character ID search o k body based on context it is used

func (*GetCharactersCharacterIDSearchOKBody) MarshalBinary

func (o *GetCharactersCharacterIDSearchOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetCharactersCharacterIDSearchOKBody) UnmarshalBinary

func (o *GetCharactersCharacterIDSearchOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetCharactersCharacterIDSearchOKBody) Validate

Validate validates this get characters character ID search o k body

type GetCharactersCharacterIDSearchParams

type GetCharactersCharacterIDSearchParams struct {

	/* AcceptLanguage.

	   Language to use in the response

	   Default: "en"
	*/
	AcceptLanguage *string

	/* IfNoneMatch.

	   ETag from a previous request. A 304 will be returned if this matches the current ETag
	*/
	IfNoneMatch *string

	/* Categories.

	   Type of entities to search for
	*/
	Categories []string

	/* CharacterID.

	   An EVE character ID

	   Format: int32
	*/
	CharacterID int32

	/* Datasource.

	   The server name you would like data from

	   Default: "tranquility"
	*/
	Datasource *string

	/* Language.

	   Language to use in the response, takes precedence over Accept-Language

	   Default: "en"
	*/
	Language *string

	/* Search.

	   The string to search on
	*/
	Search string

	/* Strict.

	   Whether the search should be a strict match
	*/
	Strict *bool

	/* Token.

	   Access token to use if unable to set a header
	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCharactersCharacterIDSearchParams contains all the parameters to send to the API endpoint

for the get characters character id search operation.

Typically these are written to a http.Request.

func NewGetCharactersCharacterIDSearchParams

func NewGetCharactersCharacterIDSearchParams() *GetCharactersCharacterIDSearchParams

NewGetCharactersCharacterIDSearchParams creates a new GetCharactersCharacterIDSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCharactersCharacterIDSearchParamsWithContext

func NewGetCharactersCharacterIDSearchParamsWithContext(ctx context.Context) *GetCharactersCharacterIDSearchParams

NewGetCharactersCharacterIDSearchParamsWithContext creates a new GetCharactersCharacterIDSearchParams object with the ability to set a context for a request.

func NewGetCharactersCharacterIDSearchParamsWithHTTPClient

func NewGetCharactersCharacterIDSearchParamsWithHTTPClient(client *http.Client) *GetCharactersCharacterIDSearchParams

NewGetCharactersCharacterIDSearchParamsWithHTTPClient creates a new GetCharactersCharacterIDSearchParams object with the ability to set a custom HTTPClient for a request.

func NewGetCharactersCharacterIDSearchParamsWithTimeout

func NewGetCharactersCharacterIDSearchParamsWithTimeout(timeout time.Duration) *GetCharactersCharacterIDSearchParams

NewGetCharactersCharacterIDSearchParamsWithTimeout creates a new GetCharactersCharacterIDSearchParams object with the ability to set a timeout on a request.

func (*GetCharactersCharacterIDSearchParams) SetAcceptLanguage

func (o *GetCharactersCharacterIDSearchParams) SetAcceptLanguage(acceptLanguage *string)

SetAcceptLanguage adds the acceptLanguage to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) SetCategories

func (o *GetCharactersCharacterIDSearchParams) SetCategories(categories []string)

SetCategories adds the categories to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) SetCharacterID

func (o *GetCharactersCharacterIDSearchParams) SetCharacterID(characterID int32)

SetCharacterID adds the characterId to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) SetContext

SetContext adds the context to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) SetDatasource

func (o *GetCharactersCharacterIDSearchParams) SetDatasource(datasource *string)

SetDatasource adds the datasource to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) SetDefaults added in v0.3.0

func (o *GetCharactersCharacterIDSearchParams) SetDefaults()

SetDefaults hydrates default values in the get characters character id search params (not the query body).

All values with no default are reset to their zero value.

func (*GetCharactersCharacterIDSearchParams) SetHTTPClient

func (o *GetCharactersCharacterIDSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) SetIfNoneMatch

func (o *GetCharactersCharacterIDSearchParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) SetLanguage

func (o *GetCharactersCharacterIDSearchParams) SetLanguage(language *string)

SetLanguage adds the language to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) SetSearch

func (o *GetCharactersCharacterIDSearchParams) SetSearch(search string)

SetSearch adds the search to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) SetStrict

func (o *GetCharactersCharacterIDSearchParams) SetStrict(strict *bool)

SetStrict adds the strict to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) SetTimeout

func (o *GetCharactersCharacterIDSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) SetToken

func (o *GetCharactersCharacterIDSearchParams) SetToken(token *string)

SetToken adds the token to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WithAcceptLanguage

WithAcceptLanguage adds the acceptLanguage to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WithCategories

WithCategories adds the categories to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WithCharacterID

WithCharacterID adds the characterID to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WithContext

WithContext adds the context to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WithDatasource

WithDatasource adds the datasource to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get characters character id search params (not the query body).

All values with no default are reset to their zero value.

func (*GetCharactersCharacterIDSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WithIfNoneMatch

WithIfNoneMatch adds the ifNoneMatch to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WithLanguage

WithLanguage adds the language to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WithSearch

WithSearch adds the search to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WithStrict

WithStrict adds the strict to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WithTimeout

WithTimeout adds the timeout to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WithToken

WithToken adds the token to the get characters character id search params

func (*GetCharactersCharacterIDSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCharactersCharacterIDSearchReader

type GetCharactersCharacterIDSearchReader struct {
	// contains filtered or unexported fields
}

GetCharactersCharacterIDSearchReader is a Reader for the GetCharactersCharacterIDSearch structure.

func (*GetCharactersCharacterIDSearchReader) ReadResponse

func (o *GetCharactersCharacterIDSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCharactersCharacterIDSearchServiceUnavailable

type GetCharactersCharacterIDSearchServiceUnavailable struct {
	Payload *models.ServiceUnavailable
}
GetCharactersCharacterIDSearchServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable

func NewGetCharactersCharacterIDSearchServiceUnavailable

func NewGetCharactersCharacterIDSearchServiceUnavailable() *GetCharactersCharacterIDSearchServiceUnavailable

NewGetCharactersCharacterIDSearchServiceUnavailable creates a GetCharactersCharacterIDSearchServiceUnavailable with default headers values

func (*GetCharactersCharacterIDSearchServiceUnavailable) Error

func (*GetCharactersCharacterIDSearchServiceUnavailable) GetPayload

type GetCharactersCharacterIDSearchUnauthorized

type GetCharactersCharacterIDSearchUnauthorized struct {
	Payload *models.Unauthorized
}
GetCharactersCharacterIDSearchUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetCharactersCharacterIDSearchUnauthorized

func NewGetCharactersCharacterIDSearchUnauthorized() *GetCharactersCharacterIDSearchUnauthorized

NewGetCharactersCharacterIDSearchUnauthorized creates a GetCharactersCharacterIDSearchUnauthorized with default headers values

func (*GetCharactersCharacterIDSearchUnauthorized) Error

func (*GetCharactersCharacterIDSearchUnauthorized) GetPayload

type GetSearchBadRequest

type GetSearchBadRequest struct {
	Payload *models.BadRequest
}
GetSearchBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetSearchBadRequest

func NewGetSearchBadRequest() *GetSearchBadRequest

NewGetSearchBadRequest creates a GetSearchBadRequest with default headers values

func (*GetSearchBadRequest) Error

func (o *GetSearchBadRequest) Error() string

func (*GetSearchBadRequest) GetPayload

func (o *GetSearchBadRequest) GetPayload() *models.BadRequest

type GetSearchEnhanceYourCalm

type GetSearchEnhanceYourCalm struct {
	Payload *models.ErrorLimited
}
GetSearchEnhanceYourCalm describes a response with status code 420, with default header values.

Error limited

func NewGetSearchEnhanceYourCalm

func NewGetSearchEnhanceYourCalm() *GetSearchEnhanceYourCalm

NewGetSearchEnhanceYourCalm creates a GetSearchEnhanceYourCalm with default headers values

func (*GetSearchEnhanceYourCalm) Error

func (o *GetSearchEnhanceYourCalm) Error() string

func (*GetSearchEnhanceYourCalm) GetPayload

func (o *GetSearchEnhanceYourCalm) GetPayload() *models.ErrorLimited

type GetSearchGatewayTimeout

type GetSearchGatewayTimeout struct {
	Payload *models.GatewayTimeout
}
GetSearchGatewayTimeout describes a response with status code 504, with default header values.

Gateway timeout

func NewGetSearchGatewayTimeout

func NewGetSearchGatewayTimeout() *GetSearchGatewayTimeout

NewGetSearchGatewayTimeout creates a GetSearchGatewayTimeout with default headers values

func (*GetSearchGatewayTimeout) Error

func (o *GetSearchGatewayTimeout) Error() string

func (*GetSearchGatewayTimeout) GetPayload

type GetSearchInternalServerError

type GetSearchInternalServerError struct {
	Payload *models.InternalServerError
}
GetSearchInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetSearchInternalServerError

func NewGetSearchInternalServerError() *GetSearchInternalServerError

NewGetSearchInternalServerError creates a GetSearchInternalServerError with default headers values

func (*GetSearchInternalServerError) Error

func (*GetSearchInternalServerError) GetPayload

type GetSearchNotModified

type GetSearchNotModified struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string
}
GetSearchNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetSearchNotModified

func NewGetSearchNotModified() *GetSearchNotModified

NewGetSearchNotModified creates a GetSearchNotModified with default headers values

func (*GetSearchNotModified) Error

func (o *GetSearchNotModified) Error() string

type GetSearchOK

type GetSearchOK struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* The language used in the response
	 */
	ContentLanguage string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string

	Payload *GetSearchOKBody
}
GetSearchOK describes a response with status code 200, with default header values.

A list of search results

func NewGetSearchOK

func NewGetSearchOK() *GetSearchOK

NewGetSearchOK creates a GetSearchOK with default headers values

func (*GetSearchOK) Error

func (o *GetSearchOK) Error() string

func (*GetSearchOK) GetPayload

func (o *GetSearchOK) GetPayload() *GetSearchOKBody

type GetSearchOKBody

type GetSearchOKBody struct {

	// get_search_agent
	//
	// agent array
	// Max Items: 500
	Agent []int32 `json:"agent"`

	// get_search_alliance
	//
	// alliance array
	// Max Items: 500
	Alliance []int32 `json:"alliance"`

	// get_search_character
	//
	// character array
	// Max Items: 500
	Character []int32 `json:"character"`

	// get_search_constellation
	//
	// constellation array
	// Max Items: 500
	Constellation []int32 `json:"constellation"`

	// get_search_corporation
	//
	// corporation array
	// Max Items: 500
	Corporation []int32 `json:"corporation"`

	// get_search_faction
	//
	// faction array
	// Max Items: 500
	Faction []int32 `json:"faction"`

	// get_search_inventory_type
	//
	// inventory_type array
	// Max Items: 500
	InventoryType []int32 `json:"inventory_type"`

	// get_search_region
	//
	// region array
	// Max Items: 500
	Region []int32 `json:"region"`

	// get_search_solar_system
	//
	// solar_system array
	// Max Items: 500
	SolarSystem []int32 `json:"solar_system"`

	// get_search_station
	//
	// station array
	// Max Items: 500
	Station []int32 `json:"station"`
}

GetSearchOKBody get_search_ok // // 200 ok object swagger:model GetSearchOKBody

func (*GetSearchOKBody) ContextValidate added in v0.3.0

func (o *GetSearchOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get search o k body based on context it is used

func (*GetSearchOKBody) MarshalBinary

func (o *GetSearchOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSearchOKBody) UnmarshalBinary

func (o *GetSearchOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSearchOKBody) Validate

func (o *GetSearchOKBody) Validate(formats strfmt.Registry) error

Validate validates this get search o k body

type GetSearchParams

type GetSearchParams struct {

	/* AcceptLanguage.

	   Language to use in the response

	   Default: "en"
	*/
	AcceptLanguage *string

	/* IfNoneMatch.

	   ETag from a previous request. A 304 will be returned if this matches the current ETag
	*/
	IfNoneMatch *string

	/* Categories.

	   Type of entities to search for
	*/
	Categories []string

	/* Datasource.

	   The server name you would like data from

	   Default: "tranquility"
	*/
	Datasource *string

	/* Language.

	   Language to use in the response, takes precedence over Accept-Language

	   Default: "en"
	*/
	Language *string

	/* Search.

	   The string to search on
	*/
	Search string

	/* Strict.

	   Whether the search should be a strict match
	*/
	Strict *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSearchParams contains all the parameters to send to the API endpoint

for the get search operation.

Typically these are written to a http.Request.

func NewGetSearchParams

func NewGetSearchParams() *GetSearchParams

NewGetSearchParams creates a new GetSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSearchParamsWithContext

func NewGetSearchParamsWithContext(ctx context.Context) *GetSearchParams

NewGetSearchParamsWithContext creates a new GetSearchParams object with the ability to set a context for a request.

func NewGetSearchParamsWithHTTPClient

func NewGetSearchParamsWithHTTPClient(client *http.Client) *GetSearchParams

NewGetSearchParamsWithHTTPClient creates a new GetSearchParams object with the ability to set a custom HTTPClient for a request.

func NewGetSearchParamsWithTimeout

func NewGetSearchParamsWithTimeout(timeout time.Duration) *GetSearchParams

NewGetSearchParamsWithTimeout creates a new GetSearchParams object with the ability to set a timeout on a request.

func (*GetSearchParams) SetAcceptLanguage

func (o *GetSearchParams) SetAcceptLanguage(acceptLanguage *string)

SetAcceptLanguage adds the acceptLanguage to the get search params

func (*GetSearchParams) SetCategories

func (o *GetSearchParams) SetCategories(categories []string)

SetCategories adds the categories to the get search params

func (*GetSearchParams) SetContext

func (o *GetSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the get search params

func (*GetSearchParams) SetDatasource

func (o *GetSearchParams) SetDatasource(datasource *string)

SetDatasource adds the datasource to the get search params

func (*GetSearchParams) SetDefaults added in v0.3.0

func (o *GetSearchParams) SetDefaults()

SetDefaults hydrates default values in the get search params (not the query body).

All values with no default are reset to their zero value.

func (*GetSearchParams) SetHTTPClient

func (o *GetSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get search params

func (*GetSearchParams) SetIfNoneMatch

func (o *GetSearchParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the get search params

func (*GetSearchParams) SetLanguage

func (o *GetSearchParams) SetLanguage(language *string)

SetLanguage adds the language to the get search params

func (*GetSearchParams) SetSearch

func (o *GetSearchParams) SetSearch(search string)

SetSearch adds the search to the get search params

func (*GetSearchParams) SetStrict

func (o *GetSearchParams) SetStrict(strict *bool)

SetStrict adds the strict to the get search params

func (*GetSearchParams) SetTimeout

func (o *GetSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get search params

func (*GetSearchParams) WithAcceptLanguage

func (o *GetSearchParams) WithAcceptLanguage(acceptLanguage *string) *GetSearchParams

WithAcceptLanguage adds the acceptLanguage to the get search params

func (*GetSearchParams) WithCategories

func (o *GetSearchParams) WithCategories(categories []string) *GetSearchParams

WithCategories adds the categories to the get search params

func (*GetSearchParams) WithContext

func (o *GetSearchParams) WithContext(ctx context.Context) *GetSearchParams

WithContext adds the context to the get search params

func (*GetSearchParams) WithDatasource

func (o *GetSearchParams) WithDatasource(datasource *string) *GetSearchParams

WithDatasource adds the datasource to the get search params

func (*GetSearchParams) WithDefaults added in v0.3.0

func (o *GetSearchParams) WithDefaults() *GetSearchParams

WithDefaults hydrates default values in the get search params (not the query body).

All values with no default are reset to their zero value.

func (*GetSearchParams) WithHTTPClient

func (o *GetSearchParams) WithHTTPClient(client *http.Client) *GetSearchParams

WithHTTPClient adds the HTTPClient to the get search params

func (*GetSearchParams) WithIfNoneMatch

func (o *GetSearchParams) WithIfNoneMatch(ifNoneMatch *string) *GetSearchParams

WithIfNoneMatch adds the ifNoneMatch to the get search params

func (*GetSearchParams) WithLanguage

func (o *GetSearchParams) WithLanguage(language *string) *GetSearchParams

WithLanguage adds the language to the get search params

func (*GetSearchParams) WithSearch

func (o *GetSearchParams) WithSearch(search string) *GetSearchParams

WithSearch adds the search to the get search params

func (*GetSearchParams) WithStrict

func (o *GetSearchParams) WithStrict(strict *bool) *GetSearchParams

WithStrict adds the strict to the get search params

func (*GetSearchParams) WithTimeout

func (o *GetSearchParams) WithTimeout(timeout time.Duration) *GetSearchParams

WithTimeout adds the timeout to the get search params

func (*GetSearchParams) WriteToRequest

func (o *GetSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetSearchReader

type GetSearchReader struct {
	// contains filtered or unexported fields
}

GetSearchReader is a Reader for the GetSearch structure.

func (*GetSearchReader) ReadResponse

func (o *GetSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetSearchServiceUnavailable

type GetSearchServiceUnavailable struct {
	Payload *models.ServiceUnavailable
}
GetSearchServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable

func NewGetSearchServiceUnavailable

func NewGetSearchServiceUnavailable() *GetSearchServiceUnavailable

NewGetSearchServiceUnavailable creates a GetSearchServiceUnavailable with default headers values

func (*GetSearchServiceUnavailable) Error

func (*GetSearchServiceUnavailable) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL