Documentation ¶
Index ¶
- type Client
- func (a *Client) GetCharactersCharacterIDSearch(params *GetCharactersCharacterIDSearchParams, ...) (*GetCharactersCharacterIDSearchOK, error)
- func (a *Client) GetSearch(params *GetSearchParams, opts ...ClientOption) (*GetSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetCharactersCharacterIDSearchBadRequest
- type GetCharactersCharacterIDSearchEnhanceYourCalm
- type GetCharactersCharacterIDSearchForbidden
- type GetCharactersCharacterIDSearchGatewayTimeout
- type GetCharactersCharacterIDSearchInternalServerError
- type GetCharactersCharacterIDSearchNotModified
- type GetCharactersCharacterIDSearchOK
- type GetCharactersCharacterIDSearchOKBody
- func (o *GetCharactersCharacterIDSearchOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCharactersCharacterIDSearchOKBody) MarshalBinary() ([]byte, error)
- func (o *GetCharactersCharacterIDSearchOKBody) UnmarshalBinary(b []byte) error
- func (o *GetCharactersCharacterIDSearchOKBody) Validate(formats strfmt.Registry) error
- type GetCharactersCharacterIDSearchParams
- func NewGetCharactersCharacterIDSearchParams() *GetCharactersCharacterIDSearchParams
- func NewGetCharactersCharacterIDSearchParamsWithContext(ctx context.Context) *GetCharactersCharacterIDSearchParams
- func NewGetCharactersCharacterIDSearchParamsWithHTTPClient(client *http.Client) *GetCharactersCharacterIDSearchParams
- func NewGetCharactersCharacterIDSearchParamsWithTimeout(timeout time.Duration) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) SetAcceptLanguage(acceptLanguage *string)
- func (o *GetCharactersCharacterIDSearchParams) SetCategories(categories []string)
- func (o *GetCharactersCharacterIDSearchParams) SetCharacterID(characterID int32)
- func (o *GetCharactersCharacterIDSearchParams) SetContext(ctx context.Context)
- func (o *GetCharactersCharacterIDSearchParams) SetDatasource(datasource *string)
- func (o *GetCharactersCharacterIDSearchParams) SetDefaults()
- func (o *GetCharactersCharacterIDSearchParams) SetHTTPClient(client *http.Client)
- func (o *GetCharactersCharacterIDSearchParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetCharactersCharacterIDSearchParams) SetLanguage(language *string)
- func (o *GetCharactersCharacterIDSearchParams) SetSearch(search string)
- func (o *GetCharactersCharacterIDSearchParams) SetStrict(strict *bool)
- func (o *GetCharactersCharacterIDSearchParams) SetTimeout(timeout time.Duration)
- func (o *GetCharactersCharacterIDSearchParams) SetToken(token *string)
- func (o *GetCharactersCharacterIDSearchParams) WithAcceptLanguage(acceptLanguage *string) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WithCategories(categories []string) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WithCharacterID(characterID int32) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WithContext(ctx context.Context) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WithDatasource(datasource *string) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WithDefaults() *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WithHTTPClient(client *http.Client) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WithIfNoneMatch(ifNoneMatch *string) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WithLanguage(language *string) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WithSearch(search string) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WithStrict(strict *bool) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WithTimeout(timeout time.Duration) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WithToken(token *string) *GetCharactersCharacterIDSearchParams
- func (o *GetCharactersCharacterIDSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCharactersCharacterIDSearchReader
- type GetCharactersCharacterIDSearchServiceUnavailable
- type GetCharactersCharacterIDSearchUnauthorized
- type GetSearchBadRequest
- type GetSearchEnhanceYourCalm
- type GetSearchGatewayTimeout
- type GetSearchInternalServerError
- type GetSearchNotModified
- type GetSearchOK
- type GetSearchOKBody
- type GetSearchParams
- func (o *GetSearchParams) SetAcceptLanguage(acceptLanguage *string)
- func (o *GetSearchParams) SetCategories(categories []string)
- func (o *GetSearchParams) SetContext(ctx context.Context)
- func (o *GetSearchParams) SetDatasource(datasource *string)
- func (o *GetSearchParams) SetDefaults()
- func (o *GetSearchParams) SetHTTPClient(client *http.Client)
- func (o *GetSearchParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetSearchParams) SetLanguage(language *string)
- func (o *GetSearchParams) SetSearch(search string)
- func (o *GetSearchParams) SetStrict(strict *bool)
- func (o *GetSearchParams) SetTimeout(timeout time.Duration)
- func (o *GetSearchParams) WithAcceptLanguage(acceptLanguage *string) *GetSearchParams
- func (o *GetSearchParams) WithCategories(categories []string) *GetSearchParams
- func (o *GetSearchParams) WithContext(ctx context.Context) *GetSearchParams
- func (o *GetSearchParams) WithDatasource(datasource *string) *GetSearchParams
- func (o *GetSearchParams) WithDefaults() *GetSearchParams
- func (o *GetSearchParams) WithHTTPClient(client *http.Client) *GetSearchParams
- func (o *GetSearchParams) WithIfNoneMatch(ifNoneMatch *string) *GetSearchParams
- func (o *GetSearchParams) WithLanguage(language *string) *GetSearchParams
- func (o *GetSearchParams) WithSearch(search string) *GetSearchParams
- func (o *GetSearchParams) WithStrict(strict *bool) *GetSearchParams
- func (o *GetSearchParams) WithTimeout(timeout time.Duration) *GetSearchParams
- func (o *GetSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSearchReader
- type GetSearchServiceUnavailable
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 (o *GetCharactersCharacterIDSearchBadRequest) Error() string
func (*GetCharactersCharacterIDSearchBadRequest) GetPayload ¶
func (o *GetCharactersCharacterIDSearchBadRequest) GetPayload() *models.BadRequest
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 (o *GetCharactersCharacterIDSearchEnhanceYourCalm) Error() string
func (*GetCharactersCharacterIDSearchEnhanceYourCalm) GetPayload ¶
func (o *GetCharactersCharacterIDSearchEnhanceYourCalm) GetPayload() *models.ErrorLimited
type GetCharactersCharacterIDSearchForbidden ¶
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 (o *GetCharactersCharacterIDSearchForbidden) Error() string
func (*GetCharactersCharacterIDSearchForbidden) GetPayload ¶
func (o *GetCharactersCharacterIDSearchForbidden) GetPayload() *models.Forbidden
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 (o *GetCharactersCharacterIDSearchGatewayTimeout) Error() string
func (*GetCharactersCharacterIDSearchGatewayTimeout) GetPayload ¶
func (o *GetCharactersCharacterIDSearchGatewayTimeout) GetPayload() *models.GatewayTimeout
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 (o *GetCharactersCharacterIDSearchInternalServerError) Error() string
func (*GetCharactersCharacterIDSearchInternalServerError) GetPayload ¶
func (o *GetCharactersCharacterIDSearchInternalServerError) GetPayload() *models.InternalServerError
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 ¶
func (o *GetCharactersCharacterIDSearchNotModified) Error() string
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 (o *GetCharactersCharacterIDSearchOK) Error() string
func (*GetCharactersCharacterIDSearchOK) GetPayload ¶
func (o *GetCharactersCharacterIDSearchOK) GetPayload() *GetCharactersCharacterIDSearchOKBody
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
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 ¶
func (o *GetCharactersCharacterIDSearchParams) SetContext(ctx context.Context)
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 ¶
func (o *GetCharactersCharacterIDSearchParams) WithAcceptLanguage(acceptLanguage *string) *GetCharactersCharacterIDSearchParams
WithAcceptLanguage adds the acceptLanguage to the get characters character id search params
func (*GetCharactersCharacterIDSearchParams) WithCategories ¶
func (o *GetCharactersCharacterIDSearchParams) WithCategories(categories []string) *GetCharactersCharacterIDSearchParams
WithCategories adds the categories to the get characters character id search params
func (*GetCharactersCharacterIDSearchParams) WithCharacterID ¶
func (o *GetCharactersCharacterIDSearchParams) WithCharacterID(characterID int32) *GetCharactersCharacterIDSearchParams
WithCharacterID adds the characterID to the get characters character id search params
func (*GetCharactersCharacterIDSearchParams) WithContext ¶
func (o *GetCharactersCharacterIDSearchParams) WithContext(ctx context.Context) *GetCharactersCharacterIDSearchParams
WithContext adds the context to the get characters character id search params
func (*GetCharactersCharacterIDSearchParams) WithDatasource ¶
func (o *GetCharactersCharacterIDSearchParams) WithDatasource(datasource *string) *GetCharactersCharacterIDSearchParams
WithDatasource adds the datasource to the get characters character id search params
func (*GetCharactersCharacterIDSearchParams) WithDefaults ¶ added in v0.3.0
func (o *GetCharactersCharacterIDSearchParams) WithDefaults() *GetCharactersCharacterIDSearchParams
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 ¶
func (o *GetCharactersCharacterIDSearchParams) WithHTTPClient(client *http.Client) *GetCharactersCharacterIDSearchParams
WithHTTPClient adds the HTTPClient to the get characters character id search params
func (*GetCharactersCharacterIDSearchParams) WithIfNoneMatch ¶
func (o *GetCharactersCharacterIDSearchParams) WithIfNoneMatch(ifNoneMatch *string) *GetCharactersCharacterIDSearchParams
WithIfNoneMatch adds the ifNoneMatch to the get characters character id search params
func (*GetCharactersCharacterIDSearchParams) WithLanguage ¶
func (o *GetCharactersCharacterIDSearchParams) WithLanguage(language *string) *GetCharactersCharacterIDSearchParams
WithLanguage adds the language to the get characters character id search params
func (*GetCharactersCharacterIDSearchParams) WithSearch ¶
func (o *GetCharactersCharacterIDSearchParams) WithSearch(search string) *GetCharactersCharacterIDSearchParams
WithSearch adds the search to the get characters character id search params
func (*GetCharactersCharacterIDSearchParams) WithStrict ¶
func (o *GetCharactersCharacterIDSearchParams) WithStrict(strict *bool) *GetCharactersCharacterIDSearchParams
WithStrict adds the strict to the get characters character id search params
func (*GetCharactersCharacterIDSearchParams) WithTimeout ¶
func (o *GetCharactersCharacterIDSearchParams) WithTimeout(timeout time.Duration) *GetCharactersCharacterIDSearchParams
WithTimeout adds the timeout to the get characters character id search params
func (*GetCharactersCharacterIDSearchParams) WithToken ¶
func (o *GetCharactersCharacterIDSearchParams) WithToken(token *string) *GetCharactersCharacterIDSearchParams
WithToken adds the token to the get characters character id search params
func (*GetCharactersCharacterIDSearchParams) WriteToRequest ¶
func (o *GetCharactersCharacterIDSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetCharactersCharacterIDSearchServiceUnavailable) Error() string
func (*GetCharactersCharacterIDSearchServiceUnavailable) GetPayload ¶
func (o *GetCharactersCharacterIDSearchServiceUnavailable) GetPayload() *models.ServiceUnavailable
type GetCharactersCharacterIDSearchUnauthorized ¶
type GetCharactersCharacterIDSearchUnauthorized struct {
}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 (o *GetCharactersCharacterIDSearchUnauthorized) Error() string
func (*GetCharactersCharacterIDSearchUnauthorized) GetPayload ¶
func (o *GetCharactersCharacterIDSearchUnauthorized) GetPayload() *models.Unauthorized
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 ¶
func (o *GetSearchGatewayTimeout) GetPayload() *models.GatewayTimeout
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 (o *GetSearchInternalServerError) Error() string
func (*GetSearchInternalServerError) GetPayload ¶
func (o *GetSearchInternalServerError) GetPayload() *models.InternalServerError
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
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
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 {
}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 (o *GetSearchServiceUnavailable) Error() string
func (*GetSearchServiceUnavailable) GetPayload ¶
func (o *GetSearchServiceUnavailable) GetPayload() *models.ServiceUnavailable