location

package
v0.5.27 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*GetCharactersCharacterIDLocationBadRequest) GetPayload

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 (*GetCharactersCharacterIDLocationEnhanceYourCalm) GetPayload

type GetCharactersCharacterIDLocationForbidden

type GetCharactersCharacterIDLocationForbidden struct {
	Payload *models.Forbidden
}
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 (*GetCharactersCharacterIDLocationForbidden) GetPayload

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 (*GetCharactersCharacterIDLocationGatewayTimeout) GetPayload

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 (*GetCharactersCharacterIDLocationInternalServerError) GetPayload

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

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 (*GetCharactersCharacterIDLocationOK) GetPayload

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

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

func (*GetCharactersCharacterIDLocationOKBody) Validate

Validate validates this get characters character ID location o k body

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

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

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

func (*GetCharactersCharacterIDLocationParams) WithContext

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

func (*GetCharactersCharacterIDLocationParams) WithDatasource

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

func (*GetCharactersCharacterIDLocationParams) WithDefaults added in v0.3.0

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

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

func (*GetCharactersCharacterIDLocationParams) WithIfNoneMatch

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

func (*GetCharactersCharacterIDLocationParams) WithTimeout

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

func (*GetCharactersCharacterIDLocationParams) WithToken

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

func (*GetCharactersCharacterIDLocationParams) WriteToRequest

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 {
	Payload *models.ServiceUnavailable
}
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 (*GetCharactersCharacterIDLocationServiceUnavailable) GetPayload

type GetCharactersCharacterIDLocationUnauthorized

type GetCharactersCharacterIDLocationUnauthorized struct {
	Payload *models.Unauthorized
}
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 (*GetCharactersCharacterIDLocationUnauthorized) GetPayload

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 (*GetCharactersCharacterIDOnlineBadRequest) GetPayload

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 (*GetCharactersCharacterIDOnlineEnhanceYourCalm) GetPayload

type GetCharactersCharacterIDOnlineForbidden

type GetCharactersCharacterIDOnlineForbidden struct {
	Payload *models.Forbidden
}
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 (*GetCharactersCharacterIDOnlineForbidden) GetPayload

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 (*GetCharactersCharacterIDOnlineGatewayTimeout) GetPayload

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 (*GetCharactersCharacterIDOnlineInternalServerError) GetPayload

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

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 (*GetCharactersCharacterIDOnlineOK) GetPayload

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

func (*GetCharactersCharacterIDOnlineOKBody) Validate

Validate validates this get characters character ID online o k body

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

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

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

func (*GetCharactersCharacterIDOnlineParams) WithContext

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

func (*GetCharactersCharacterIDOnlineParams) WithDatasource

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

func (*GetCharactersCharacterIDOnlineParams) WithDefaults added in v0.3.0

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

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

func (*GetCharactersCharacterIDOnlineParams) WithIfNoneMatch

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

func (*GetCharactersCharacterIDOnlineParams) WithTimeout

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

func (*GetCharactersCharacterIDOnlineParams) WithToken

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

func (*GetCharactersCharacterIDOnlineParams) WriteToRequest

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 {
	Payload *models.ServiceUnavailable
}
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 (*GetCharactersCharacterIDOnlineServiceUnavailable) GetPayload

type GetCharactersCharacterIDOnlineUnauthorized

type GetCharactersCharacterIDOnlineUnauthorized struct {
	Payload *models.Unauthorized
}
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 (*GetCharactersCharacterIDOnlineUnauthorized) GetPayload

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 (*GetCharactersCharacterIDShipBadRequest) GetPayload

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 (*GetCharactersCharacterIDShipEnhanceYourCalm) GetPayload

type GetCharactersCharacterIDShipForbidden

type GetCharactersCharacterIDShipForbidden struct {
	Payload *models.Forbidden
}
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 (*GetCharactersCharacterIDShipForbidden) GetPayload

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 (*GetCharactersCharacterIDShipGatewayTimeout) GetPayload

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 (*GetCharactersCharacterIDShipInternalServerError) GetPayload

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

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 (*GetCharactersCharacterIDShipOK) GetPayload

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

func (*GetCharactersCharacterIDShipOKBody) Validate

Validate validates this get characters character ID ship o k body

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

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

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

func (*GetCharactersCharacterIDShipParams) WithContext

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

func (*GetCharactersCharacterIDShipParams) WithDatasource

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

func (*GetCharactersCharacterIDShipParams) WithDefaults added in v0.3.0

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

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

func (*GetCharactersCharacterIDShipParams) WithIfNoneMatch

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

func (*GetCharactersCharacterIDShipParams) WithTimeout

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

func (*GetCharactersCharacterIDShipParams) WithToken

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

func (*GetCharactersCharacterIDShipParams) WriteToRequest

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 {
	Payload *models.ServiceUnavailable
}
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 (*GetCharactersCharacterIDShipServiceUnavailable) GetPayload

type GetCharactersCharacterIDShipUnauthorized

type GetCharactersCharacterIDShipUnauthorized struct {
	Payload *models.Unauthorized
}
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 (*GetCharactersCharacterIDShipUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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