Documentation ¶
Index ¶
- type Client
- func (a *Client) GetCharactersCharacterIDLocation(params *GetCharactersCharacterIDLocationParams, ...) (*GetCharactersCharacterIDLocationOK, error)
- func (a *Client) GetCharactersCharacterIDOnline(params *GetCharactersCharacterIDOnlineParams, ...) (*GetCharactersCharacterIDOnlineOK, error)
- func (a *Client) GetCharactersCharacterIDShip(params *GetCharactersCharacterIDShipParams, ...) (*GetCharactersCharacterIDShipOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetCharactersCharacterIDLocationBadRequest
- type GetCharactersCharacterIDLocationEnhanceYourCalm
- type GetCharactersCharacterIDLocationForbidden
- type GetCharactersCharacterIDLocationGatewayTimeout
- type GetCharactersCharacterIDLocationInternalServerError
- type GetCharactersCharacterIDLocationNotModified
- type GetCharactersCharacterIDLocationOK
- type GetCharactersCharacterIDLocationOKBody
- func (o *GetCharactersCharacterIDLocationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCharactersCharacterIDLocationOKBody) MarshalBinary() ([]byte, error)
- func (o *GetCharactersCharacterIDLocationOKBody) UnmarshalBinary(b []byte) error
- func (o *GetCharactersCharacterIDLocationOKBody) Validate(formats strfmt.Registry) error
- type GetCharactersCharacterIDLocationParams
- func NewGetCharactersCharacterIDLocationParams() *GetCharactersCharacterIDLocationParams
- func NewGetCharactersCharacterIDLocationParamsWithContext(ctx context.Context) *GetCharactersCharacterIDLocationParams
- func NewGetCharactersCharacterIDLocationParamsWithHTTPClient(client *http.Client) *GetCharactersCharacterIDLocationParams
- func NewGetCharactersCharacterIDLocationParamsWithTimeout(timeout time.Duration) *GetCharactersCharacterIDLocationParams
- func (o *GetCharactersCharacterIDLocationParams) SetCharacterID(characterID int32)
- func (o *GetCharactersCharacterIDLocationParams) SetContext(ctx context.Context)
- func (o *GetCharactersCharacterIDLocationParams) SetDatasource(datasource *string)
- func (o *GetCharactersCharacterIDLocationParams) SetDefaults()
- func (o *GetCharactersCharacterIDLocationParams) SetHTTPClient(client *http.Client)
- func (o *GetCharactersCharacterIDLocationParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetCharactersCharacterIDLocationParams) SetTimeout(timeout time.Duration)
- func (o *GetCharactersCharacterIDLocationParams) SetToken(token *string)
- func (o *GetCharactersCharacterIDLocationParams) WithCharacterID(characterID int32) *GetCharactersCharacterIDLocationParams
- func (o *GetCharactersCharacterIDLocationParams) WithContext(ctx context.Context) *GetCharactersCharacterIDLocationParams
- func (o *GetCharactersCharacterIDLocationParams) WithDatasource(datasource *string) *GetCharactersCharacterIDLocationParams
- func (o *GetCharactersCharacterIDLocationParams) WithDefaults() *GetCharactersCharacterIDLocationParams
- func (o *GetCharactersCharacterIDLocationParams) WithHTTPClient(client *http.Client) *GetCharactersCharacterIDLocationParams
- func (o *GetCharactersCharacterIDLocationParams) WithIfNoneMatch(ifNoneMatch *string) *GetCharactersCharacterIDLocationParams
- func (o *GetCharactersCharacterIDLocationParams) WithTimeout(timeout time.Duration) *GetCharactersCharacterIDLocationParams
- func (o *GetCharactersCharacterIDLocationParams) WithToken(token *string) *GetCharactersCharacterIDLocationParams
- func (o *GetCharactersCharacterIDLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCharactersCharacterIDLocationReader
- type GetCharactersCharacterIDLocationServiceUnavailable
- type GetCharactersCharacterIDLocationUnauthorized
- type GetCharactersCharacterIDOnlineBadRequest
- type GetCharactersCharacterIDOnlineEnhanceYourCalm
- type GetCharactersCharacterIDOnlineForbidden
- type GetCharactersCharacterIDOnlineGatewayTimeout
- type GetCharactersCharacterIDOnlineInternalServerError
- type GetCharactersCharacterIDOnlineNotModified
- type GetCharactersCharacterIDOnlineOK
- type GetCharactersCharacterIDOnlineOKBody
- func (o *GetCharactersCharacterIDOnlineOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCharactersCharacterIDOnlineOKBody) MarshalBinary() ([]byte, error)
- func (o *GetCharactersCharacterIDOnlineOKBody) UnmarshalBinary(b []byte) error
- func (o *GetCharactersCharacterIDOnlineOKBody) Validate(formats strfmt.Registry) error
- type GetCharactersCharacterIDOnlineParams
- func NewGetCharactersCharacterIDOnlineParams() *GetCharactersCharacterIDOnlineParams
- func NewGetCharactersCharacterIDOnlineParamsWithContext(ctx context.Context) *GetCharactersCharacterIDOnlineParams
- func NewGetCharactersCharacterIDOnlineParamsWithHTTPClient(client *http.Client) *GetCharactersCharacterIDOnlineParams
- func NewGetCharactersCharacterIDOnlineParamsWithTimeout(timeout time.Duration) *GetCharactersCharacterIDOnlineParams
- func (o *GetCharactersCharacterIDOnlineParams) SetCharacterID(characterID int32)
- func (o *GetCharactersCharacterIDOnlineParams) SetContext(ctx context.Context)
- func (o *GetCharactersCharacterIDOnlineParams) SetDatasource(datasource *string)
- func (o *GetCharactersCharacterIDOnlineParams) SetDefaults()
- func (o *GetCharactersCharacterIDOnlineParams) SetHTTPClient(client *http.Client)
- func (o *GetCharactersCharacterIDOnlineParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetCharactersCharacterIDOnlineParams) SetTimeout(timeout time.Duration)
- func (o *GetCharactersCharacterIDOnlineParams) SetToken(token *string)
- func (o *GetCharactersCharacterIDOnlineParams) WithCharacterID(characterID int32) *GetCharactersCharacterIDOnlineParams
- func (o *GetCharactersCharacterIDOnlineParams) WithContext(ctx context.Context) *GetCharactersCharacterIDOnlineParams
- func (o *GetCharactersCharacterIDOnlineParams) WithDatasource(datasource *string) *GetCharactersCharacterIDOnlineParams
- func (o *GetCharactersCharacterIDOnlineParams) WithDefaults() *GetCharactersCharacterIDOnlineParams
- func (o *GetCharactersCharacterIDOnlineParams) WithHTTPClient(client *http.Client) *GetCharactersCharacterIDOnlineParams
- func (o *GetCharactersCharacterIDOnlineParams) WithIfNoneMatch(ifNoneMatch *string) *GetCharactersCharacterIDOnlineParams
- func (o *GetCharactersCharacterIDOnlineParams) WithTimeout(timeout time.Duration) *GetCharactersCharacterIDOnlineParams
- func (o *GetCharactersCharacterIDOnlineParams) WithToken(token *string) *GetCharactersCharacterIDOnlineParams
- func (o *GetCharactersCharacterIDOnlineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCharactersCharacterIDOnlineReader
- type GetCharactersCharacterIDOnlineServiceUnavailable
- type GetCharactersCharacterIDOnlineUnauthorized
- type GetCharactersCharacterIDShipBadRequest
- type GetCharactersCharacterIDShipEnhanceYourCalm
- type GetCharactersCharacterIDShipForbidden
- type GetCharactersCharacterIDShipGatewayTimeout
- type GetCharactersCharacterIDShipInternalServerError
- type GetCharactersCharacterIDShipNotModified
- type GetCharactersCharacterIDShipOK
- type GetCharactersCharacterIDShipOKBody
- func (o *GetCharactersCharacterIDShipOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCharactersCharacterIDShipOKBody) MarshalBinary() ([]byte, error)
- func (o *GetCharactersCharacterIDShipOKBody) UnmarshalBinary(b []byte) error
- func (o *GetCharactersCharacterIDShipOKBody) Validate(formats strfmt.Registry) error
- type GetCharactersCharacterIDShipParams
- func NewGetCharactersCharacterIDShipParams() *GetCharactersCharacterIDShipParams
- func NewGetCharactersCharacterIDShipParamsWithContext(ctx context.Context) *GetCharactersCharacterIDShipParams
- func NewGetCharactersCharacterIDShipParamsWithHTTPClient(client *http.Client) *GetCharactersCharacterIDShipParams
- func NewGetCharactersCharacterIDShipParamsWithTimeout(timeout time.Duration) *GetCharactersCharacterIDShipParams
- func (o *GetCharactersCharacterIDShipParams) SetCharacterID(characterID int32)
- func (o *GetCharactersCharacterIDShipParams) SetContext(ctx context.Context)
- func (o *GetCharactersCharacterIDShipParams) SetDatasource(datasource *string)
- func (o *GetCharactersCharacterIDShipParams) SetDefaults()
- func (o *GetCharactersCharacterIDShipParams) SetHTTPClient(client *http.Client)
- func (o *GetCharactersCharacterIDShipParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetCharactersCharacterIDShipParams) SetTimeout(timeout time.Duration)
- func (o *GetCharactersCharacterIDShipParams) SetToken(token *string)
- func (o *GetCharactersCharacterIDShipParams) WithCharacterID(characterID int32) *GetCharactersCharacterIDShipParams
- func (o *GetCharactersCharacterIDShipParams) WithContext(ctx context.Context) *GetCharactersCharacterIDShipParams
- func (o *GetCharactersCharacterIDShipParams) WithDatasource(datasource *string) *GetCharactersCharacterIDShipParams
- func (o *GetCharactersCharacterIDShipParams) WithDefaults() *GetCharactersCharacterIDShipParams
- func (o *GetCharactersCharacterIDShipParams) WithHTTPClient(client *http.Client) *GetCharactersCharacterIDShipParams
- func (o *GetCharactersCharacterIDShipParams) WithIfNoneMatch(ifNoneMatch *string) *GetCharactersCharacterIDShipParams
- func (o *GetCharactersCharacterIDShipParams) WithTimeout(timeout time.Duration) *GetCharactersCharacterIDShipParams
- func (o *GetCharactersCharacterIDShipParams) WithToken(token *string) *GetCharactersCharacterIDShipParams
- func (o *GetCharactersCharacterIDShipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCharactersCharacterIDShipReader
- type GetCharactersCharacterIDShipServiceUnavailable
- type GetCharactersCharacterIDShipUnauthorized
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 location API
func (*Client) GetCharactersCharacterIDLocation ¶
func (a *Client) GetCharactersCharacterIDLocation(params *GetCharactersCharacterIDLocationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDLocationOK, error)
GetCharactersCharacterIDLocation gets character location Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable
---
This route is cached for up to 5 seconds
func (*Client) GetCharactersCharacterIDOnline ¶
func (a *Client) GetCharactersCharacterIDOnline(params *GetCharactersCharacterIDOnlineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDOnlineOK, error)
GetCharactersCharacterIDOnline gets character online Checks if the character is currently online
---
This route is cached for up to 60 seconds
func (*Client) GetCharactersCharacterIDShip ¶
func (a *Client) GetCharactersCharacterIDShip(params *GetCharactersCharacterIDShipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDShipOK, error)
GetCharactersCharacterIDShip gets current ship Get the current ship type, name and id
---
This route is cached for up to 5 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 { GetCharactersCharacterIDLocation(params *GetCharactersCharacterIDLocationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDLocationOK, error) GetCharactersCharacterIDOnline(params *GetCharactersCharacterIDOnlineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDOnlineOK, error) GetCharactersCharacterIDShip(params *GetCharactersCharacterIDShipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDShipOK, 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 location API client.
type GetCharactersCharacterIDLocationBadRequest ¶
type GetCharactersCharacterIDLocationBadRequest struct {
Payload *models.BadRequest
}
GetCharactersCharacterIDLocationBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetCharactersCharacterIDLocationBadRequest ¶
func NewGetCharactersCharacterIDLocationBadRequest() *GetCharactersCharacterIDLocationBadRequest
NewGetCharactersCharacterIDLocationBadRequest creates a GetCharactersCharacterIDLocationBadRequest with default headers values
func (*GetCharactersCharacterIDLocationBadRequest) Error ¶
func (o *GetCharactersCharacterIDLocationBadRequest) Error() string
func (*GetCharactersCharacterIDLocationBadRequest) GetPayload ¶
func (o *GetCharactersCharacterIDLocationBadRequest) GetPayload() *models.BadRequest
type GetCharactersCharacterIDLocationEnhanceYourCalm ¶
type GetCharactersCharacterIDLocationEnhanceYourCalm struct {
Payload *models.ErrorLimited
}
GetCharactersCharacterIDLocationEnhanceYourCalm describes a response with status code 420, with default header values.
Error limited
func NewGetCharactersCharacterIDLocationEnhanceYourCalm ¶
func NewGetCharactersCharacterIDLocationEnhanceYourCalm() *GetCharactersCharacterIDLocationEnhanceYourCalm
NewGetCharactersCharacterIDLocationEnhanceYourCalm creates a GetCharactersCharacterIDLocationEnhanceYourCalm with default headers values
func (*GetCharactersCharacterIDLocationEnhanceYourCalm) Error ¶
func (o *GetCharactersCharacterIDLocationEnhanceYourCalm) Error() string
func (*GetCharactersCharacterIDLocationEnhanceYourCalm) GetPayload ¶
func (o *GetCharactersCharacterIDLocationEnhanceYourCalm) GetPayload() *models.ErrorLimited
type GetCharactersCharacterIDLocationForbidden ¶
GetCharactersCharacterIDLocationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetCharactersCharacterIDLocationForbidden ¶
func NewGetCharactersCharacterIDLocationForbidden() *GetCharactersCharacterIDLocationForbidden
NewGetCharactersCharacterIDLocationForbidden creates a GetCharactersCharacterIDLocationForbidden with default headers values
func (*GetCharactersCharacterIDLocationForbidden) Error ¶
func (o *GetCharactersCharacterIDLocationForbidden) Error() string
func (*GetCharactersCharacterIDLocationForbidden) GetPayload ¶
func (o *GetCharactersCharacterIDLocationForbidden) GetPayload() *models.Forbidden
type GetCharactersCharacterIDLocationGatewayTimeout ¶
type GetCharactersCharacterIDLocationGatewayTimeout struct {
Payload *models.GatewayTimeout
}
GetCharactersCharacterIDLocationGatewayTimeout describes a response with status code 504, with default header values.
Gateway timeout
func NewGetCharactersCharacterIDLocationGatewayTimeout ¶
func NewGetCharactersCharacterIDLocationGatewayTimeout() *GetCharactersCharacterIDLocationGatewayTimeout
NewGetCharactersCharacterIDLocationGatewayTimeout creates a GetCharactersCharacterIDLocationGatewayTimeout with default headers values
func (*GetCharactersCharacterIDLocationGatewayTimeout) Error ¶
func (o *GetCharactersCharacterIDLocationGatewayTimeout) Error() string
func (*GetCharactersCharacterIDLocationGatewayTimeout) GetPayload ¶
func (o *GetCharactersCharacterIDLocationGatewayTimeout) GetPayload() *models.GatewayTimeout
type GetCharactersCharacterIDLocationInternalServerError ¶
type GetCharactersCharacterIDLocationInternalServerError struct {
Payload *models.InternalServerError
}
GetCharactersCharacterIDLocationInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetCharactersCharacterIDLocationInternalServerError ¶
func NewGetCharactersCharacterIDLocationInternalServerError() *GetCharactersCharacterIDLocationInternalServerError
NewGetCharactersCharacterIDLocationInternalServerError creates a GetCharactersCharacterIDLocationInternalServerError with default headers values
func (*GetCharactersCharacterIDLocationInternalServerError) Error ¶
func (o *GetCharactersCharacterIDLocationInternalServerError) Error() string
func (*GetCharactersCharacterIDLocationInternalServerError) GetPayload ¶
func (o *GetCharactersCharacterIDLocationInternalServerError) GetPayload() *models.InternalServerError
type GetCharactersCharacterIDLocationNotModified ¶
type GetCharactersCharacterIDLocationNotModified 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 }
GetCharactersCharacterIDLocationNotModified describes a response with status code 304, with default header values.
Not modified
func NewGetCharactersCharacterIDLocationNotModified ¶
func NewGetCharactersCharacterIDLocationNotModified() *GetCharactersCharacterIDLocationNotModified
NewGetCharactersCharacterIDLocationNotModified creates a GetCharactersCharacterIDLocationNotModified with default headers values
func (*GetCharactersCharacterIDLocationNotModified) Error ¶
func (o *GetCharactersCharacterIDLocationNotModified) Error() string
type GetCharactersCharacterIDLocationOK ¶
type GetCharactersCharacterIDLocationOK 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 Payload *GetCharactersCharacterIDLocationOKBody }
GetCharactersCharacterIDLocationOK describes a response with status code 200, with default header values.
Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable
func NewGetCharactersCharacterIDLocationOK ¶
func NewGetCharactersCharacterIDLocationOK() *GetCharactersCharacterIDLocationOK
NewGetCharactersCharacterIDLocationOK creates a GetCharactersCharacterIDLocationOK with default headers values
func (*GetCharactersCharacterIDLocationOK) Error ¶
func (o *GetCharactersCharacterIDLocationOK) Error() string
func (*GetCharactersCharacterIDLocationOK) GetPayload ¶
func (o *GetCharactersCharacterIDLocationOK) GetPayload() *GetCharactersCharacterIDLocationOKBody
type GetCharactersCharacterIDLocationOKBody ¶
type GetCharactersCharacterIDLocationOKBody struct { // get_characters_character_id_location_solar_system_id // // solar_system_id integer // Required: true SolarSystemID *int32 `json:"solar_system_id"` // get_characters_character_id_location_station_id // // station_id integer StationID int32 `json:"station_id,omitempty"` // get_characters_character_id_location_structure_id // // structure_id integer StructureID int64 `json:"structure_id,omitempty"` }
GetCharactersCharacterIDLocationOKBody get_characters_character_id_location_ok // // 200 ok object swagger:model GetCharactersCharacterIDLocationOKBody
func (*GetCharactersCharacterIDLocationOKBody) ContextValidate ¶ added in v0.3.0
func (o *GetCharactersCharacterIDLocationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get characters character ID location o k body based on context it is used
func (*GetCharactersCharacterIDLocationOKBody) MarshalBinary ¶
func (o *GetCharactersCharacterIDLocationOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCharactersCharacterIDLocationOKBody) UnmarshalBinary ¶
func (o *GetCharactersCharacterIDLocationOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCharactersCharacterIDLocationParams ¶
type GetCharactersCharacterIDLocationParams struct { /* IfNoneMatch. ETag from a previous request. A 304 will be returned if this matches the current ETag */ IfNoneMatch *string /* CharacterID. An EVE character ID Format: int32 */ CharacterID int32 /* Datasource. The server name you would like data from Default: "tranquility" */ Datasource *string /* Token. Access token to use if unable to set a header */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCharactersCharacterIDLocationParams contains all the parameters to send to the API endpoint
for the get characters character id location operation. Typically these are written to a http.Request.
func NewGetCharactersCharacterIDLocationParams ¶
func NewGetCharactersCharacterIDLocationParams() *GetCharactersCharacterIDLocationParams
NewGetCharactersCharacterIDLocationParams creates a new GetCharactersCharacterIDLocationParams 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 NewGetCharactersCharacterIDLocationParamsWithContext ¶
func NewGetCharactersCharacterIDLocationParamsWithContext(ctx context.Context) *GetCharactersCharacterIDLocationParams
NewGetCharactersCharacterIDLocationParamsWithContext creates a new GetCharactersCharacterIDLocationParams object with the ability to set a context for a request.
func NewGetCharactersCharacterIDLocationParamsWithHTTPClient ¶
func NewGetCharactersCharacterIDLocationParamsWithHTTPClient(client *http.Client) *GetCharactersCharacterIDLocationParams
NewGetCharactersCharacterIDLocationParamsWithHTTPClient creates a new GetCharactersCharacterIDLocationParams object with the ability to set a custom HTTPClient for a request.
func NewGetCharactersCharacterIDLocationParamsWithTimeout ¶
func NewGetCharactersCharacterIDLocationParamsWithTimeout(timeout time.Duration) *GetCharactersCharacterIDLocationParams
NewGetCharactersCharacterIDLocationParamsWithTimeout creates a new GetCharactersCharacterIDLocationParams object with the ability to set a timeout on a request.
func (*GetCharactersCharacterIDLocationParams) SetCharacterID ¶
func (o *GetCharactersCharacterIDLocationParams) SetCharacterID(characterID int32)
SetCharacterID adds the characterId to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) SetContext ¶
func (o *GetCharactersCharacterIDLocationParams) SetContext(ctx context.Context)
SetContext adds the context to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) SetDatasource ¶
func (o *GetCharactersCharacterIDLocationParams) SetDatasource(datasource *string)
SetDatasource adds the datasource to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) SetDefaults ¶ added in v0.3.0
func (o *GetCharactersCharacterIDLocationParams) SetDefaults()
SetDefaults hydrates default values in the get characters character id location params (not the query body).
All values with no default are reset to their zero value.
func (*GetCharactersCharacterIDLocationParams) SetHTTPClient ¶
func (o *GetCharactersCharacterIDLocationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) SetIfNoneMatch ¶
func (o *GetCharactersCharacterIDLocationParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) SetTimeout ¶
func (o *GetCharactersCharacterIDLocationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) SetToken ¶
func (o *GetCharactersCharacterIDLocationParams) SetToken(token *string)
SetToken adds the token to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) WithCharacterID ¶
func (o *GetCharactersCharacterIDLocationParams) WithCharacterID(characterID int32) *GetCharactersCharacterIDLocationParams
WithCharacterID adds the characterID to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) WithContext ¶
func (o *GetCharactersCharacterIDLocationParams) WithContext(ctx context.Context) *GetCharactersCharacterIDLocationParams
WithContext adds the context to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) WithDatasource ¶
func (o *GetCharactersCharacterIDLocationParams) WithDatasource(datasource *string) *GetCharactersCharacterIDLocationParams
WithDatasource adds the datasource to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) WithDefaults ¶ added in v0.3.0
func (o *GetCharactersCharacterIDLocationParams) WithDefaults() *GetCharactersCharacterIDLocationParams
WithDefaults hydrates default values in the get characters character id location params (not the query body).
All values with no default are reset to their zero value.
func (*GetCharactersCharacterIDLocationParams) WithHTTPClient ¶
func (o *GetCharactersCharacterIDLocationParams) WithHTTPClient(client *http.Client) *GetCharactersCharacterIDLocationParams
WithHTTPClient adds the HTTPClient to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) WithIfNoneMatch ¶
func (o *GetCharactersCharacterIDLocationParams) WithIfNoneMatch(ifNoneMatch *string) *GetCharactersCharacterIDLocationParams
WithIfNoneMatch adds the ifNoneMatch to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) WithTimeout ¶
func (o *GetCharactersCharacterIDLocationParams) WithTimeout(timeout time.Duration) *GetCharactersCharacterIDLocationParams
WithTimeout adds the timeout to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) WithToken ¶
func (o *GetCharactersCharacterIDLocationParams) WithToken(token *string) *GetCharactersCharacterIDLocationParams
WithToken adds the token to the get characters character id location params
func (*GetCharactersCharacterIDLocationParams) WriteToRequest ¶
func (o *GetCharactersCharacterIDLocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCharactersCharacterIDLocationReader ¶
type GetCharactersCharacterIDLocationReader struct {
// contains filtered or unexported fields
}
GetCharactersCharacterIDLocationReader is a Reader for the GetCharactersCharacterIDLocation structure.
func (*GetCharactersCharacterIDLocationReader) ReadResponse ¶
func (o *GetCharactersCharacterIDLocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCharactersCharacterIDLocationServiceUnavailable ¶
type GetCharactersCharacterIDLocationServiceUnavailable struct {
}GetCharactersCharacterIDLocationServiceUnavailable describes a response with status code 503, with default header values.
Service unavailable
func NewGetCharactersCharacterIDLocationServiceUnavailable ¶
func NewGetCharactersCharacterIDLocationServiceUnavailable() *GetCharactersCharacterIDLocationServiceUnavailable
NewGetCharactersCharacterIDLocationServiceUnavailable creates a GetCharactersCharacterIDLocationServiceUnavailable with default headers values
func (*GetCharactersCharacterIDLocationServiceUnavailable) Error ¶
func (o *GetCharactersCharacterIDLocationServiceUnavailable) Error() string
func (*GetCharactersCharacterIDLocationServiceUnavailable) GetPayload ¶
func (o *GetCharactersCharacterIDLocationServiceUnavailable) GetPayload() *models.ServiceUnavailable
type GetCharactersCharacterIDLocationUnauthorized ¶
type GetCharactersCharacterIDLocationUnauthorized struct {
}GetCharactersCharacterIDLocationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetCharactersCharacterIDLocationUnauthorized ¶
func NewGetCharactersCharacterIDLocationUnauthorized() *GetCharactersCharacterIDLocationUnauthorized
NewGetCharactersCharacterIDLocationUnauthorized creates a GetCharactersCharacterIDLocationUnauthorized with default headers values
func (*GetCharactersCharacterIDLocationUnauthorized) Error ¶
func (o *GetCharactersCharacterIDLocationUnauthorized) Error() string
func (*GetCharactersCharacterIDLocationUnauthorized) GetPayload ¶
func (o *GetCharactersCharacterIDLocationUnauthorized) GetPayload() *models.Unauthorized
type GetCharactersCharacterIDOnlineBadRequest ¶
type GetCharactersCharacterIDOnlineBadRequest struct {
Payload *models.BadRequest
}
GetCharactersCharacterIDOnlineBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetCharactersCharacterIDOnlineBadRequest ¶
func NewGetCharactersCharacterIDOnlineBadRequest() *GetCharactersCharacterIDOnlineBadRequest
NewGetCharactersCharacterIDOnlineBadRequest creates a GetCharactersCharacterIDOnlineBadRequest with default headers values
func (*GetCharactersCharacterIDOnlineBadRequest) Error ¶
func (o *GetCharactersCharacterIDOnlineBadRequest) Error() string
func (*GetCharactersCharacterIDOnlineBadRequest) GetPayload ¶
func (o *GetCharactersCharacterIDOnlineBadRequest) GetPayload() *models.BadRequest
type GetCharactersCharacterIDOnlineEnhanceYourCalm ¶
type GetCharactersCharacterIDOnlineEnhanceYourCalm struct {
Payload *models.ErrorLimited
}
GetCharactersCharacterIDOnlineEnhanceYourCalm describes a response with status code 420, with default header values.
Error limited
func NewGetCharactersCharacterIDOnlineEnhanceYourCalm ¶
func NewGetCharactersCharacterIDOnlineEnhanceYourCalm() *GetCharactersCharacterIDOnlineEnhanceYourCalm
NewGetCharactersCharacterIDOnlineEnhanceYourCalm creates a GetCharactersCharacterIDOnlineEnhanceYourCalm with default headers values
func (*GetCharactersCharacterIDOnlineEnhanceYourCalm) Error ¶
func (o *GetCharactersCharacterIDOnlineEnhanceYourCalm) Error() string
func (*GetCharactersCharacterIDOnlineEnhanceYourCalm) GetPayload ¶
func (o *GetCharactersCharacterIDOnlineEnhanceYourCalm) GetPayload() *models.ErrorLimited
type GetCharactersCharacterIDOnlineForbidden ¶
GetCharactersCharacterIDOnlineForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetCharactersCharacterIDOnlineForbidden ¶
func NewGetCharactersCharacterIDOnlineForbidden() *GetCharactersCharacterIDOnlineForbidden
NewGetCharactersCharacterIDOnlineForbidden creates a GetCharactersCharacterIDOnlineForbidden with default headers values
func (*GetCharactersCharacterIDOnlineForbidden) Error ¶
func (o *GetCharactersCharacterIDOnlineForbidden) Error() string
func (*GetCharactersCharacterIDOnlineForbidden) GetPayload ¶
func (o *GetCharactersCharacterIDOnlineForbidden) GetPayload() *models.Forbidden
type GetCharactersCharacterIDOnlineGatewayTimeout ¶
type GetCharactersCharacterIDOnlineGatewayTimeout struct {
Payload *models.GatewayTimeout
}
GetCharactersCharacterIDOnlineGatewayTimeout describes a response with status code 504, with default header values.
Gateway timeout
func NewGetCharactersCharacterIDOnlineGatewayTimeout ¶
func NewGetCharactersCharacterIDOnlineGatewayTimeout() *GetCharactersCharacterIDOnlineGatewayTimeout
NewGetCharactersCharacterIDOnlineGatewayTimeout creates a GetCharactersCharacterIDOnlineGatewayTimeout with default headers values
func (*GetCharactersCharacterIDOnlineGatewayTimeout) Error ¶
func (o *GetCharactersCharacterIDOnlineGatewayTimeout) Error() string
func (*GetCharactersCharacterIDOnlineGatewayTimeout) GetPayload ¶
func (o *GetCharactersCharacterIDOnlineGatewayTimeout) GetPayload() *models.GatewayTimeout
type GetCharactersCharacterIDOnlineInternalServerError ¶
type GetCharactersCharacterIDOnlineInternalServerError struct {
Payload *models.InternalServerError
}
GetCharactersCharacterIDOnlineInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetCharactersCharacterIDOnlineInternalServerError ¶
func NewGetCharactersCharacterIDOnlineInternalServerError() *GetCharactersCharacterIDOnlineInternalServerError
NewGetCharactersCharacterIDOnlineInternalServerError creates a GetCharactersCharacterIDOnlineInternalServerError with default headers values
func (*GetCharactersCharacterIDOnlineInternalServerError) Error ¶
func (o *GetCharactersCharacterIDOnlineInternalServerError) Error() string
func (*GetCharactersCharacterIDOnlineInternalServerError) GetPayload ¶
func (o *GetCharactersCharacterIDOnlineInternalServerError) GetPayload() *models.InternalServerError
type GetCharactersCharacterIDOnlineNotModified ¶
type GetCharactersCharacterIDOnlineNotModified 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 }
GetCharactersCharacterIDOnlineNotModified describes a response with status code 304, with default header values.
Not modified
func NewGetCharactersCharacterIDOnlineNotModified ¶
func NewGetCharactersCharacterIDOnlineNotModified() *GetCharactersCharacterIDOnlineNotModified
NewGetCharactersCharacterIDOnlineNotModified creates a GetCharactersCharacterIDOnlineNotModified with default headers values
func (*GetCharactersCharacterIDOnlineNotModified) Error ¶
func (o *GetCharactersCharacterIDOnlineNotModified) Error() string
type GetCharactersCharacterIDOnlineOK ¶
type GetCharactersCharacterIDOnlineOK 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 Payload *GetCharactersCharacterIDOnlineOKBody }
GetCharactersCharacterIDOnlineOK describes a response with status code 200, with default header values.
Object describing the character's online status
func NewGetCharactersCharacterIDOnlineOK ¶
func NewGetCharactersCharacterIDOnlineOK() *GetCharactersCharacterIDOnlineOK
NewGetCharactersCharacterIDOnlineOK creates a GetCharactersCharacterIDOnlineOK with default headers values
func (*GetCharactersCharacterIDOnlineOK) Error ¶
func (o *GetCharactersCharacterIDOnlineOK) Error() string
func (*GetCharactersCharacterIDOnlineOK) GetPayload ¶
func (o *GetCharactersCharacterIDOnlineOK) GetPayload() *GetCharactersCharacterIDOnlineOKBody
type GetCharactersCharacterIDOnlineOKBody ¶
type GetCharactersCharacterIDOnlineOKBody struct { // get_characters_character_id_online_last_login // // Timestamp of the last login // Format: date-time LastLogin strfmt.DateTime `json:"last_login,omitempty"` // get_characters_character_id_online_last_logout // // Timestamp of the last logout // Format: date-time LastLogout strfmt.DateTime `json:"last_logout,omitempty"` // get_characters_character_id_online_logins // // Total number of times the character has logged in Logins int32 `json:"logins,omitempty"` // get_characters_character_id_online_online // // If the character is online // Required: true Online *bool `json:"online"` }
GetCharactersCharacterIDOnlineOKBody get_characters_character_id_online_ok // // 200 ok object swagger:model GetCharactersCharacterIDOnlineOKBody
func (*GetCharactersCharacterIDOnlineOKBody) ContextValidate ¶ added in v0.3.0
func (o *GetCharactersCharacterIDOnlineOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get characters character ID online o k body based on context it is used
func (*GetCharactersCharacterIDOnlineOKBody) MarshalBinary ¶
func (o *GetCharactersCharacterIDOnlineOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCharactersCharacterIDOnlineOKBody) UnmarshalBinary ¶
func (o *GetCharactersCharacterIDOnlineOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCharactersCharacterIDOnlineParams ¶
type GetCharactersCharacterIDOnlineParams struct { /* IfNoneMatch. ETag from a previous request. A 304 will be returned if this matches the current ETag */ IfNoneMatch *string /* CharacterID. An EVE character ID Format: int32 */ CharacterID int32 /* Datasource. The server name you would like data from Default: "tranquility" */ Datasource *string /* Token. Access token to use if unable to set a header */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCharactersCharacterIDOnlineParams contains all the parameters to send to the API endpoint
for the get characters character id online operation. Typically these are written to a http.Request.
func NewGetCharactersCharacterIDOnlineParams ¶
func NewGetCharactersCharacterIDOnlineParams() *GetCharactersCharacterIDOnlineParams
NewGetCharactersCharacterIDOnlineParams creates a new GetCharactersCharacterIDOnlineParams 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 NewGetCharactersCharacterIDOnlineParamsWithContext ¶
func NewGetCharactersCharacterIDOnlineParamsWithContext(ctx context.Context) *GetCharactersCharacterIDOnlineParams
NewGetCharactersCharacterIDOnlineParamsWithContext creates a new GetCharactersCharacterIDOnlineParams object with the ability to set a context for a request.
func NewGetCharactersCharacterIDOnlineParamsWithHTTPClient ¶
func NewGetCharactersCharacterIDOnlineParamsWithHTTPClient(client *http.Client) *GetCharactersCharacterIDOnlineParams
NewGetCharactersCharacterIDOnlineParamsWithHTTPClient creates a new GetCharactersCharacterIDOnlineParams object with the ability to set a custom HTTPClient for a request.
func NewGetCharactersCharacterIDOnlineParamsWithTimeout ¶
func NewGetCharactersCharacterIDOnlineParamsWithTimeout(timeout time.Duration) *GetCharactersCharacterIDOnlineParams
NewGetCharactersCharacterIDOnlineParamsWithTimeout creates a new GetCharactersCharacterIDOnlineParams object with the ability to set a timeout on a request.
func (*GetCharactersCharacterIDOnlineParams) SetCharacterID ¶
func (o *GetCharactersCharacterIDOnlineParams) SetCharacterID(characterID int32)
SetCharacterID adds the characterId to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) SetContext ¶
func (o *GetCharactersCharacterIDOnlineParams) SetContext(ctx context.Context)
SetContext adds the context to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) SetDatasource ¶
func (o *GetCharactersCharacterIDOnlineParams) SetDatasource(datasource *string)
SetDatasource adds the datasource to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) SetDefaults ¶ added in v0.3.0
func (o *GetCharactersCharacterIDOnlineParams) SetDefaults()
SetDefaults hydrates default values in the get characters character id online params (not the query body).
All values with no default are reset to their zero value.
func (*GetCharactersCharacterIDOnlineParams) SetHTTPClient ¶
func (o *GetCharactersCharacterIDOnlineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) SetIfNoneMatch ¶
func (o *GetCharactersCharacterIDOnlineParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) SetTimeout ¶
func (o *GetCharactersCharacterIDOnlineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) SetToken ¶
func (o *GetCharactersCharacterIDOnlineParams) SetToken(token *string)
SetToken adds the token to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) WithCharacterID ¶
func (o *GetCharactersCharacterIDOnlineParams) WithCharacterID(characterID int32) *GetCharactersCharacterIDOnlineParams
WithCharacterID adds the characterID to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) WithContext ¶
func (o *GetCharactersCharacterIDOnlineParams) WithContext(ctx context.Context) *GetCharactersCharacterIDOnlineParams
WithContext adds the context to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) WithDatasource ¶
func (o *GetCharactersCharacterIDOnlineParams) WithDatasource(datasource *string) *GetCharactersCharacterIDOnlineParams
WithDatasource adds the datasource to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) WithDefaults ¶ added in v0.3.0
func (o *GetCharactersCharacterIDOnlineParams) WithDefaults() *GetCharactersCharacterIDOnlineParams
WithDefaults hydrates default values in the get characters character id online params (not the query body).
All values with no default are reset to their zero value.
func (*GetCharactersCharacterIDOnlineParams) WithHTTPClient ¶
func (o *GetCharactersCharacterIDOnlineParams) WithHTTPClient(client *http.Client) *GetCharactersCharacterIDOnlineParams
WithHTTPClient adds the HTTPClient to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) WithIfNoneMatch ¶
func (o *GetCharactersCharacterIDOnlineParams) WithIfNoneMatch(ifNoneMatch *string) *GetCharactersCharacterIDOnlineParams
WithIfNoneMatch adds the ifNoneMatch to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) WithTimeout ¶
func (o *GetCharactersCharacterIDOnlineParams) WithTimeout(timeout time.Duration) *GetCharactersCharacterIDOnlineParams
WithTimeout adds the timeout to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) WithToken ¶
func (o *GetCharactersCharacterIDOnlineParams) WithToken(token *string) *GetCharactersCharacterIDOnlineParams
WithToken adds the token to the get characters character id online params
func (*GetCharactersCharacterIDOnlineParams) WriteToRequest ¶
func (o *GetCharactersCharacterIDOnlineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCharactersCharacterIDOnlineReader ¶
type GetCharactersCharacterIDOnlineReader struct {
// contains filtered or unexported fields
}
GetCharactersCharacterIDOnlineReader is a Reader for the GetCharactersCharacterIDOnline structure.
func (*GetCharactersCharacterIDOnlineReader) ReadResponse ¶
func (o *GetCharactersCharacterIDOnlineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCharactersCharacterIDOnlineServiceUnavailable ¶
type GetCharactersCharacterIDOnlineServiceUnavailable struct {
}GetCharactersCharacterIDOnlineServiceUnavailable describes a response with status code 503, with default header values.
Service unavailable
func NewGetCharactersCharacterIDOnlineServiceUnavailable ¶
func NewGetCharactersCharacterIDOnlineServiceUnavailable() *GetCharactersCharacterIDOnlineServiceUnavailable
NewGetCharactersCharacterIDOnlineServiceUnavailable creates a GetCharactersCharacterIDOnlineServiceUnavailable with default headers values
func (*GetCharactersCharacterIDOnlineServiceUnavailable) Error ¶
func (o *GetCharactersCharacterIDOnlineServiceUnavailable) Error() string
func (*GetCharactersCharacterIDOnlineServiceUnavailable) GetPayload ¶
func (o *GetCharactersCharacterIDOnlineServiceUnavailable) GetPayload() *models.ServiceUnavailable
type GetCharactersCharacterIDOnlineUnauthorized ¶
type GetCharactersCharacterIDOnlineUnauthorized struct {
}GetCharactersCharacterIDOnlineUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetCharactersCharacterIDOnlineUnauthorized ¶
func NewGetCharactersCharacterIDOnlineUnauthorized() *GetCharactersCharacterIDOnlineUnauthorized
NewGetCharactersCharacterIDOnlineUnauthorized creates a GetCharactersCharacterIDOnlineUnauthorized with default headers values
func (*GetCharactersCharacterIDOnlineUnauthorized) Error ¶
func (o *GetCharactersCharacterIDOnlineUnauthorized) Error() string
func (*GetCharactersCharacterIDOnlineUnauthorized) GetPayload ¶
func (o *GetCharactersCharacterIDOnlineUnauthorized) GetPayload() *models.Unauthorized
type GetCharactersCharacterIDShipBadRequest ¶
type GetCharactersCharacterIDShipBadRequest struct {
Payload *models.BadRequest
}
GetCharactersCharacterIDShipBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetCharactersCharacterIDShipBadRequest ¶
func NewGetCharactersCharacterIDShipBadRequest() *GetCharactersCharacterIDShipBadRequest
NewGetCharactersCharacterIDShipBadRequest creates a GetCharactersCharacterIDShipBadRequest with default headers values
func (*GetCharactersCharacterIDShipBadRequest) Error ¶
func (o *GetCharactersCharacterIDShipBadRequest) Error() string
func (*GetCharactersCharacterIDShipBadRequest) GetPayload ¶
func (o *GetCharactersCharacterIDShipBadRequest) GetPayload() *models.BadRequest
type GetCharactersCharacterIDShipEnhanceYourCalm ¶
type GetCharactersCharacterIDShipEnhanceYourCalm struct {
Payload *models.ErrorLimited
}
GetCharactersCharacterIDShipEnhanceYourCalm describes a response with status code 420, with default header values.
Error limited
func NewGetCharactersCharacterIDShipEnhanceYourCalm ¶
func NewGetCharactersCharacterIDShipEnhanceYourCalm() *GetCharactersCharacterIDShipEnhanceYourCalm
NewGetCharactersCharacterIDShipEnhanceYourCalm creates a GetCharactersCharacterIDShipEnhanceYourCalm with default headers values
func (*GetCharactersCharacterIDShipEnhanceYourCalm) Error ¶
func (o *GetCharactersCharacterIDShipEnhanceYourCalm) Error() string
func (*GetCharactersCharacterIDShipEnhanceYourCalm) GetPayload ¶
func (o *GetCharactersCharacterIDShipEnhanceYourCalm) GetPayload() *models.ErrorLimited
type GetCharactersCharacterIDShipForbidden ¶
GetCharactersCharacterIDShipForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetCharactersCharacterIDShipForbidden ¶
func NewGetCharactersCharacterIDShipForbidden() *GetCharactersCharacterIDShipForbidden
NewGetCharactersCharacterIDShipForbidden creates a GetCharactersCharacterIDShipForbidden with default headers values
func (*GetCharactersCharacterIDShipForbidden) Error ¶
func (o *GetCharactersCharacterIDShipForbidden) Error() string
func (*GetCharactersCharacterIDShipForbidden) GetPayload ¶
func (o *GetCharactersCharacterIDShipForbidden) GetPayload() *models.Forbidden
type GetCharactersCharacterIDShipGatewayTimeout ¶
type GetCharactersCharacterIDShipGatewayTimeout struct {
Payload *models.GatewayTimeout
}
GetCharactersCharacterIDShipGatewayTimeout describes a response with status code 504, with default header values.
Gateway timeout
func NewGetCharactersCharacterIDShipGatewayTimeout ¶
func NewGetCharactersCharacterIDShipGatewayTimeout() *GetCharactersCharacterIDShipGatewayTimeout
NewGetCharactersCharacterIDShipGatewayTimeout creates a GetCharactersCharacterIDShipGatewayTimeout with default headers values
func (*GetCharactersCharacterIDShipGatewayTimeout) Error ¶
func (o *GetCharactersCharacterIDShipGatewayTimeout) Error() string
func (*GetCharactersCharacterIDShipGatewayTimeout) GetPayload ¶
func (o *GetCharactersCharacterIDShipGatewayTimeout) GetPayload() *models.GatewayTimeout
type GetCharactersCharacterIDShipInternalServerError ¶
type GetCharactersCharacterIDShipInternalServerError struct {
Payload *models.InternalServerError
}
GetCharactersCharacterIDShipInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetCharactersCharacterIDShipInternalServerError ¶
func NewGetCharactersCharacterIDShipInternalServerError() *GetCharactersCharacterIDShipInternalServerError
NewGetCharactersCharacterIDShipInternalServerError creates a GetCharactersCharacterIDShipInternalServerError with default headers values
func (*GetCharactersCharacterIDShipInternalServerError) Error ¶
func (o *GetCharactersCharacterIDShipInternalServerError) Error() string
func (*GetCharactersCharacterIDShipInternalServerError) GetPayload ¶
func (o *GetCharactersCharacterIDShipInternalServerError) GetPayload() *models.InternalServerError
type GetCharactersCharacterIDShipNotModified ¶
type GetCharactersCharacterIDShipNotModified 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 }
GetCharactersCharacterIDShipNotModified describes a response with status code 304, with default header values.
Not modified
func NewGetCharactersCharacterIDShipNotModified ¶
func NewGetCharactersCharacterIDShipNotModified() *GetCharactersCharacterIDShipNotModified
NewGetCharactersCharacterIDShipNotModified creates a GetCharactersCharacterIDShipNotModified with default headers values
func (*GetCharactersCharacterIDShipNotModified) Error ¶
func (o *GetCharactersCharacterIDShipNotModified) Error() string
type GetCharactersCharacterIDShipOK ¶
type GetCharactersCharacterIDShipOK 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 Payload *GetCharactersCharacterIDShipOKBody }
GetCharactersCharacterIDShipOK describes a response with status code 200, with default header values.
Get the current ship type, name and id
func NewGetCharactersCharacterIDShipOK ¶
func NewGetCharactersCharacterIDShipOK() *GetCharactersCharacterIDShipOK
NewGetCharactersCharacterIDShipOK creates a GetCharactersCharacterIDShipOK with default headers values
func (*GetCharactersCharacterIDShipOK) Error ¶
func (o *GetCharactersCharacterIDShipOK) Error() string
func (*GetCharactersCharacterIDShipOK) GetPayload ¶
func (o *GetCharactersCharacterIDShipOK) GetPayload() *GetCharactersCharacterIDShipOKBody
type GetCharactersCharacterIDShipOKBody ¶
type GetCharactersCharacterIDShipOKBody struct { // get_characters_character_id_ship_ship_item_id // // Item id's are unique to a ship and persist until it is repackaged. This value can be used to track repeated uses of a ship, or detect when a pilot changes into a different instance of the same ship type. // Required: true ShipItemID *int64 `json:"ship_item_id"` // get_characters_character_id_ship_ship_name // // ship_name string // Required: true ShipName *string `json:"ship_name"` // get_characters_character_id_ship_ship_type_id // // ship_type_id integer // Required: true ShipTypeID *int32 `json:"ship_type_id"` }
GetCharactersCharacterIDShipOKBody get_characters_character_id_ship_ok // // 200 ok object swagger:model GetCharactersCharacterIDShipOKBody
func (*GetCharactersCharacterIDShipOKBody) ContextValidate ¶ added in v0.3.0
func (o *GetCharactersCharacterIDShipOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get characters character ID ship o k body based on context it is used
func (*GetCharactersCharacterIDShipOKBody) MarshalBinary ¶
func (o *GetCharactersCharacterIDShipOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCharactersCharacterIDShipOKBody) UnmarshalBinary ¶
func (o *GetCharactersCharacterIDShipOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCharactersCharacterIDShipParams ¶
type GetCharactersCharacterIDShipParams struct { /* IfNoneMatch. ETag from a previous request. A 304 will be returned if this matches the current ETag */ IfNoneMatch *string /* CharacterID. An EVE character ID Format: int32 */ CharacterID int32 /* Datasource. The server name you would like data from Default: "tranquility" */ Datasource *string /* Token. Access token to use if unable to set a header */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCharactersCharacterIDShipParams contains all the parameters to send to the API endpoint
for the get characters character id ship operation. Typically these are written to a http.Request.
func NewGetCharactersCharacterIDShipParams ¶
func NewGetCharactersCharacterIDShipParams() *GetCharactersCharacterIDShipParams
NewGetCharactersCharacterIDShipParams creates a new GetCharactersCharacterIDShipParams 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 NewGetCharactersCharacterIDShipParamsWithContext ¶
func NewGetCharactersCharacterIDShipParamsWithContext(ctx context.Context) *GetCharactersCharacterIDShipParams
NewGetCharactersCharacterIDShipParamsWithContext creates a new GetCharactersCharacterIDShipParams object with the ability to set a context for a request.
func NewGetCharactersCharacterIDShipParamsWithHTTPClient ¶
func NewGetCharactersCharacterIDShipParamsWithHTTPClient(client *http.Client) *GetCharactersCharacterIDShipParams
NewGetCharactersCharacterIDShipParamsWithHTTPClient creates a new GetCharactersCharacterIDShipParams object with the ability to set a custom HTTPClient for a request.
func NewGetCharactersCharacterIDShipParamsWithTimeout ¶
func NewGetCharactersCharacterIDShipParamsWithTimeout(timeout time.Duration) *GetCharactersCharacterIDShipParams
NewGetCharactersCharacterIDShipParamsWithTimeout creates a new GetCharactersCharacterIDShipParams object with the ability to set a timeout on a request.
func (*GetCharactersCharacterIDShipParams) SetCharacterID ¶
func (o *GetCharactersCharacterIDShipParams) SetCharacterID(characterID int32)
SetCharacterID adds the characterId to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) SetContext ¶
func (o *GetCharactersCharacterIDShipParams) SetContext(ctx context.Context)
SetContext adds the context to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) SetDatasource ¶
func (o *GetCharactersCharacterIDShipParams) SetDatasource(datasource *string)
SetDatasource adds the datasource to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) SetDefaults ¶ added in v0.3.0
func (o *GetCharactersCharacterIDShipParams) SetDefaults()
SetDefaults hydrates default values in the get characters character id ship params (not the query body).
All values with no default are reset to their zero value.
func (*GetCharactersCharacterIDShipParams) SetHTTPClient ¶
func (o *GetCharactersCharacterIDShipParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) SetIfNoneMatch ¶
func (o *GetCharactersCharacterIDShipParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) SetTimeout ¶
func (o *GetCharactersCharacterIDShipParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) SetToken ¶
func (o *GetCharactersCharacterIDShipParams) SetToken(token *string)
SetToken adds the token to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) WithCharacterID ¶
func (o *GetCharactersCharacterIDShipParams) WithCharacterID(characterID int32) *GetCharactersCharacterIDShipParams
WithCharacterID adds the characterID to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) WithContext ¶
func (o *GetCharactersCharacterIDShipParams) WithContext(ctx context.Context) *GetCharactersCharacterIDShipParams
WithContext adds the context to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) WithDatasource ¶
func (o *GetCharactersCharacterIDShipParams) WithDatasource(datasource *string) *GetCharactersCharacterIDShipParams
WithDatasource adds the datasource to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) WithDefaults ¶ added in v0.3.0
func (o *GetCharactersCharacterIDShipParams) WithDefaults() *GetCharactersCharacterIDShipParams
WithDefaults hydrates default values in the get characters character id ship params (not the query body).
All values with no default are reset to their zero value.
func (*GetCharactersCharacterIDShipParams) WithHTTPClient ¶
func (o *GetCharactersCharacterIDShipParams) WithHTTPClient(client *http.Client) *GetCharactersCharacterIDShipParams
WithHTTPClient adds the HTTPClient to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) WithIfNoneMatch ¶
func (o *GetCharactersCharacterIDShipParams) WithIfNoneMatch(ifNoneMatch *string) *GetCharactersCharacterIDShipParams
WithIfNoneMatch adds the ifNoneMatch to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) WithTimeout ¶
func (o *GetCharactersCharacterIDShipParams) WithTimeout(timeout time.Duration) *GetCharactersCharacterIDShipParams
WithTimeout adds the timeout to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) WithToken ¶
func (o *GetCharactersCharacterIDShipParams) WithToken(token *string) *GetCharactersCharacterIDShipParams
WithToken adds the token to the get characters character id ship params
func (*GetCharactersCharacterIDShipParams) WriteToRequest ¶
func (o *GetCharactersCharacterIDShipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCharactersCharacterIDShipReader ¶
type GetCharactersCharacterIDShipReader struct {
// contains filtered or unexported fields
}
GetCharactersCharacterIDShipReader is a Reader for the GetCharactersCharacterIDShip structure.
func (*GetCharactersCharacterIDShipReader) ReadResponse ¶
func (o *GetCharactersCharacterIDShipReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCharactersCharacterIDShipServiceUnavailable ¶
type GetCharactersCharacterIDShipServiceUnavailable struct {
}GetCharactersCharacterIDShipServiceUnavailable describes a response with status code 503, with default header values.
Service unavailable
func NewGetCharactersCharacterIDShipServiceUnavailable ¶
func NewGetCharactersCharacterIDShipServiceUnavailable() *GetCharactersCharacterIDShipServiceUnavailable
NewGetCharactersCharacterIDShipServiceUnavailable creates a GetCharactersCharacterIDShipServiceUnavailable with default headers values
func (*GetCharactersCharacterIDShipServiceUnavailable) Error ¶
func (o *GetCharactersCharacterIDShipServiceUnavailable) Error() string
func (*GetCharactersCharacterIDShipServiceUnavailable) GetPayload ¶
func (o *GetCharactersCharacterIDShipServiceUnavailable) GetPayload() *models.ServiceUnavailable
type GetCharactersCharacterIDShipUnauthorized ¶
type GetCharactersCharacterIDShipUnauthorized struct {
}GetCharactersCharacterIDShipUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetCharactersCharacterIDShipUnauthorized ¶
func NewGetCharactersCharacterIDShipUnauthorized() *GetCharactersCharacterIDShipUnauthorized
NewGetCharactersCharacterIDShipUnauthorized creates a GetCharactersCharacterIDShipUnauthorized with default headers values
func (*GetCharactersCharacterIDShipUnauthorized) Error ¶
func (o *GetCharactersCharacterIDShipUnauthorized) Error() string
func (*GetCharactersCharacterIDShipUnauthorized) GetPayload ¶
func (o *GetCharactersCharacterIDShipUnauthorized) GetPayload() *models.Unauthorized
Source Files ¶
- get_characters_character_id_location_parameters.go
- get_characters_character_id_location_responses.go
- get_characters_character_id_online_parameters.go
- get_characters_character_id_online_responses.go
- get_characters_character_id_ship_parameters.go
- get_characters_character_id_ship_responses.go
- location_client.go