killmails

package
v0.5.22 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 13 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 killmails API

func (*Client) GetCharactersCharacterIDKillmailsRecent

GetCharactersCharacterIDKillmailsRecent gets a character s recent kills and losses

Return a list of a character's kills and losses going back 90 days

---

This route is cached for up to 300 seconds

func (*Client) GetCorporationsCorporationIDKillmailsRecent

GetCorporationsCorporationIDKillmailsRecent gets a corporation s recent kills and losses

Get a list of a corporation's kills and losses going back 90 days

---

This route is cached for up to 300 seconds

--- Requires one of the following EVE corporation role(s): Director

func (*Client) GetKillmailsKillmailIDKillmailHash

func (a *Client) GetKillmailsKillmailIDKillmailHash(params *GetKillmailsKillmailIDKillmailHashParams, opts ...ClientOption) (*GetKillmailsKillmailIDKillmailHashOK, error)
GetKillmailsKillmailIDKillmailHash gets a single killmail

Return a single killmail from its ID and hash

---

This route is cached for up to 30758400 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 {
	GetCharactersCharacterIDKillmailsRecent(params *GetCharactersCharacterIDKillmailsRecentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDKillmailsRecentOK, error)

	GetCorporationsCorporationIDKillmailsRecent(params *GetCorporationsCorporationIDKillmailsRecentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCorporationsCorporationIDKillmailsRecentOK, error)

	GetKillmailsKillmailIDKillmailHash(params *GetKillmailsKillmailIDKillmailHashParams, opts ...ClientOption) (*GetKillmailsKillmailIDKillmailHashOK, 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 killmails API client.

type GetCharactersCharacterIDKillmailsRecentBadRequest

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

Bad request

func NewGetCharactersCharacterIDKillmailsRecentBadRequest

func NewGetCharactersCharacterIDKillmailsRecentBadRequest() *GetCharactersCharacterIDKillmailsRecentBadRequest

NewGetCharactersCharacterIDKillmailsRecentBadRequest creates a GetCharactersCharacterIDKillmailsRecentBadRequest with default headers values

func (*GetCharactersCharacterIDKillmailsRecentBadRequest) Error

func (*GetCharactersCharacterIDKillmailsRecentBadRequest) GetPayload

type GetCharactersCharacterIDKillmailsRecentEnhanceYourCalm

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

Error limited

func NewGetCharactersCharacterIDKillmailsRecentEnhanceYourCalm

func NewGetCharactersCharacterIDKillmailsRecentEnhanceYourCalm() *GetCharactersCharacterIDKillmailsRecentEnhanceYourCalm

NewGetCharactersCharacterIDKillmailsRecentEnhanceYourCalm creates a GetCharactersCharacterIDKillmailsRecentEnhanceYourCalm with default headers values

func (*GetCharactersCharacterIDKillmailsRecentEnhanceYourCalm) Error

func (*GetCharactersCharacterIDKillmailsRecentEnhanceYourCalm) GetPayload

type GetCharactersCharacterIDKillmailsRecentForbidden

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

Forbidden

func NewGetCharactersCharacterIDKillmailsRecentForbidden

func NewGetCharactersCharacterIDKillmailsRecentForbidden() *GetCharactersCharacterIDKillmailsRecentForbidden

NewGetCharactersCharacterIDKillmailsRecentForbidden creates a GetCharactersCharacterIDKillmailsRecentForbidden with default headers values

func (*GetCharactersCharacterIDKillmailsRecentForbidden) Error

func (*GetCharactersCharacterIDKillmailsRecentForbidden) GetPayload

type GetCharactersCharacterIDKillmailsRecentGatewayTimeout

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

Gateway timeout

func NewGetCharactersCharacterIDKillmailsRecentGatewayTimeout

func NewGetCharactersCharacterIDKillmailsRecentGatewayTimeout() *GetCharactersCharacterIDKillmailsRecentGatewayTimeout

NewGetCharactersCharacterIDKillmailsRecentGatewayTimeout creates a GetCharactersCharacterIDKillmailsRecentGatewayTimeout with default headers values

func (*GetCharactersCharacterIDKillmailsRecentGatewayTimeout) Error

func (*GetCharactersCharacterIDKillmailsRecentGatewayTimeout) GetPayload

type GetCharactersCharacterIDKillmailsRecentInternalServerError

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

Internal server error

func NewGetCharactersCharacterIDKillmailsRecentInternalServerError

func NewGetCharactersCharacterIDKillmailsRecentInternalServerError() *GetCharactersCharacterIDKillmailsRecentInternalServerError

NewGetCharactersCharacterIDKillmailsRecentInternalServerError creates a GetCharactersCharacterIDKillmailsRecentInternalServerError with default headers values

func (*GetCharactersCharacterIDKillmailsRecentInternalServerError) Error

func (*GetCharactersCharacterIDKillmailsRecentInternalServerError) GetPayload

type GetCharactersCharacterIDKillmailsRecentNotModified

type GetCharactersCharacterIDKillmailsRecentNotModified 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
}
GetCharactersCharacterIDKillmailsRecentNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetCharactersCharacterIDKillmailsRecentNotModified

func NewGetCharactersCharacterIDKillmailsRecentNotModified() *GetCharactersCharacterIDKillmailsRecentNotModified

NewGetCharactersCharacterIDKillmailsRecentNotModified creates a GetCharactersCharacterIDKillmailsRecentNotModified with default headers values

func (*GetCharactersCharacterIDKillmailsRecentNotModified) Error

type GetCharactersCharacterIDKillmailsRecentOK

type GetCharactersCharacterIDKillmailsRecentOK 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

	/* Maximum page number

	   Format: int32
	   Default: 1
	*/
	XPages int32

	Payload []*GetCharactersCharacterIDKillmailsRecentOKBodyItems0
}
GetCharactersCharacterIDKillmailsRecentOK describes a response with status code 200, with default header values.

A list of killmail IDs and hashes

func NewGetCharactersCharacterIDKillmailsRecentOK

func NewGetCharactersCharacterIDKillmailsRecentOK() *GetCharactersCharacterIDKillmailsRecentOK

NewGetCharactersCharacterIDKillmailsRecentOK creates a GetCharactersCharacterIDKillmailsRecentOK with default headers values

func (*GetCharactersCharacterIDKillmailsRecentOK) Error

func (*GetCharactersCharacterIDKillmailsRecentOK) GetPayload

type GetCharactersCharacterIDKillmailsRecentOKBodyItems0

type GetCharactersCharacterIDKillmailsRecentOKBodyItems0 struct {

	// get_characters_character_id_killmails_recent_killmail_hash
	//
	// A hash of this killmail
	// Required: true
	KillmailHash *string `json:"killmail_hash"`

	// get_characters_character_id_killmails_recent_killmail_id
	//
	// ID of this killmail
	// Required: true
	KillmailID *int32 `json:"killmail_id"`
}

GetCharactersCharacterIDKillmailsRecentOKBodyItems0 get_characters_character_id_killmails_recent_200_ok // // 200 ok object swagger:model GetCharactersCharacterIDKillmailsRecentOKBodyItems0

func (*GetCharactersCharacterIDKillmailsRecentOKBodyItems0) ContextValidate added in v0.3.0

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

func (*GetCharactersCharacterIDKillmailsRecentOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetCharactersCharacterIDKillmailsRecentOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCharactersCharacterIDKillmailsRecentOKBodyItems0) Validate

Validate validates this get characters character ID killmails recent o k body items0

type GetCharactersCharacterIDKillmailsRecentParams

type GetCharactersCharacterIDKillmailsRecentParams 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

	/* Page.

	   Which page of results to return

	   Format: int32
	   Default: 1
	*/
	Page *int32

	/* Token.

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

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

GetCharactersCharacterIDKillmailsRecentParams contains all the parameters to send to the API endpoint

for the get characters character id killmails recent operation.

Typically these are written to a http.Request.

func NewGetCharactersCharacterIDKillmailsRecentParams

func NewGetCharactersCharacterIDKillmailsRecentParams() *GetCharactersCharacterIDKillmailsRecentParams

NewGetCharactersCharacterIDKillmailsRecentParams creates a new GetCharactersCharacterIDKillmailsRecentParams 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 NewGetCharactersCharacterIDKillmailsRecentParamsWithContext

func NewGetCharactersCharacterIDKillmailsRecentParamsWithContext(ctx context.Context) *GetCharactersCharacterIDKillmailsRecentParams

NewGetCharactersCharacterIDKillmailsRecentParamsWithContext creates a new GetCharactersCharacterIDKillmailsRecentParams object with the ability to set a context for a request.

func NewGetCharactersCharacterIDKillmailsRecentParamsWithHTTPClient

func NewGetCharactersCharacterIDKillmailsRecentParamsWithHTTPClient(client *http.Client) *GetCharactersCharacterIDKillmailsRecentParams

NewGetCharactersCharacterIDKillmailsRecentParamsWithHTTPClient creates a new GetCharactersCharacterIDKillmailsRecentParams object with the ability to set a custom HTTPClient for a request.

func NewGetCharactersCharacterIDKillmailsRecentParamsWithTimeout

func NewGetCharactersCharacterIDKillmailsRecentParamsWithTimeout(timeout time.Duration) *GetCharactersCharacterIDKillmailsRecentParams

NewGetCharactersCharacterIDKillmailsRecentParamsWithTimeout creates a new GetCharactersCharacterIDKillmailsRecentParams object with the ability to set a timeout on a request.

func (*GetCharactersCharacterIDKillmailsRecentParams) SetCharacterID

func (o *GetCharactersCharacterIDKillmailsRecentParams) SetCharacterID(characterID int32)

SetCharacterID adds the characterId to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) SetContext

SetContext adds the context to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) SetDatasource

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

SetDatasource adds the datasource to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) SetDefaults added in v0.3.0

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

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

func (*GetCharactersCharacterIDKillmailsRecentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) SetPage

SetPage adds the page to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) SetTimeout

SetTimeout adds the timeout to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) SetToken

SetToken adds the token to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) WithCharacterID

WithCharacterID adds the characterID to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) WithContext

WithContext adds the context to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) WithDatasource

WithDatasource adds the datasource to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) WithDefaults added in v0.3.0

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

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

func (*GetCharactersCharacterIDKillmailsRecentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) WithIfNoneMatch

WithIfNoneMatch adds the ifNoneMatch to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) WithPage

WithPage adds the page to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) WithTimeout

WithTimeout adds the timeout to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) WithToken

WithToken adds the token to the get characters character id killmails recent params

func (*GetCharactersCharacterIDKillmailsRecentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCharactersCharacterIDKillmailsRecentReader

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

GetCharactersCharacterIDKillmailsRecentReader is a Reader for the GetCharactersCharacterIDKillmailsRecent structure.

func (*GetCharactersCharacterIDKillmailsRecentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCharactersCharacterIDKillmailsRecentServiceUnavailable

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

Service unavailable

func NewGetCharactersCharacterIDKillmailsRecentServiceUnavailable

func NewGetCharactersCharacterIDKillmailsRecentServiceUnavailable() *GetCharactersCharacterIDKillmailsRecentServiceUnavailable

NewGetCharactersCharacterIDKillmailsRecentServiceUnavailable creates a GetCharactersCharacterIDKillmailsRecentServiceUnavailable with default headers values

func (*GetCharactersCharacterIDKillmailsRecentServiceUnavailable) Error

func (*GetCharactersCharacterIDKillmailsRecentServiceUnavailable) GetPayload

type GetCharactersCharacterIDKillmailsRecentUnauthorized

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

Unauthorized

func NewGetCharactersCharacterIDKillmailsRecentUnauthorized

func NewGetCharactersCharacterIDKillmailsRecentUnauthorized() *GetCharactersCharacterIDKillmailsRecentUnauthorized

NewGetCharactersCharacterIDKillmailsRecentUnauthorized creates a GetCharactersCharacterIDKillmailsRecentUnauthorized with default headers values

func (*GetCharactersCharacterIDKillmailsRecentUnauthorized) Error

func (*GetCharactersCharacterIDKillmailsRecentUnauthorized) GetPayload

type GetCorporationsCorporationIDKillmailsRecentBadRequest

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

Bad request

func NewGetCorporationsCorporationIDKillmailsRecentBadRequest

func NewGetCorporationsCorporationIDKillmailsRecentBadRequest() *GetCorporationsCorporationIDKillmailsRecentBadRequest

NewGetCorporationsCorporationIDKillmailsRecentBadRequest creates a GetCorporationsCorporationIDKillmailsRecentBadRequest with default headers values

func (*GetCorporationsCorporationIDKillmailsRecentBadRequest) Error

func (*GetCorporationsCorporationIDKillmailsRecentBadRequest) GetPayload

type GetCorporationsCorporationIDKillmailsRecentEnhanceYourCalm

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

Error limited

func NewGetCorporationsCorporationIDKillmailsRecentEnhanceYourCalm

func NewGetCorporationsCorporationIDKillmailsRecentEnhanceYourCalm() *GetCorporationsCorporationIDKillmailsRecentEnhanceYourCalm

NewGetCorporationsCorporationIDKillmailsRecentEnhanceYourCalm creates a GetCorporationsCorporationIDKillmailsRecentEnhanceYourCalm with default headers values

func (*GetCorporationsCorporationIDKillmailsRecentEnhanceYourCalm) Error

func (*GetCorporationsCorporationIDKillmailsRecentEnhanceYourCalm) GetPayload

type GetCorporationsCorporationIDKillmailsRecentForbidden

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

Forbidden

func NewGetCorporationsCorporationIDKillmailsRecentForbidden

func NewGetCorporationsCorporationIDKillmailsRecentForbidden() *GetCorporationsCorporationIDKillmailsRecentForbidden

NewGetCorporationsCorporationIDKillmailsRecentForbidden creates a GetCorporationsCorporationIDKillmailsRecentForbidden with default headers values

func (*GetCorporationsCorporationIDKillmailsRecentForbidden) Error

func (*GetCorporationsCorporationIDKillmailsRecentForbidden) GetPayload

type GetCorporationsCorporationIDKillmailsRecentGatewayTimeout

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

Gateway timeout

func NewGetCorporationsCorporationIDKillmailsRecentGatewayTimeout

func NewGetCorporationsCorporationIDKillmailsRecentGatewayTimeout() *GetCorporationsCorporationIDKillmailsRecentGatewayTimeout

NewGetCorporationsCorporationIDKillmailsRecentGatewayTimeout creates a GetCorporationsCorporationIDKillmailsRecentGatewayTimeout with default headers values

func (*GetCorporationsCorporationIDKillmailsRecentGatewayTimeout) Error

func (*GetCorporationsCorporationIDKillmailsRecentGatewayTimeout) GetPayload

type GetCorporationsCorporationIDKillmailsRecentInternalServerError

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

Internal server error

func NewGetCorporationsCorporationIDKillmailsRecentInternalServerError

func NewGetCorporationsCorporationIDKillmailsRecentInternalServerError() *GetCorporationsCorporationIDKillmailsRecentInternalServerError

NewGetCorporationsCorporationIDKillmailsRecentInternalServerError creates a GetCorporationsCorporationIDKillmailsRecentInternalServerError with default headers values

func (*GetCorporationsCorporationIDKillmailsRecentInternalServerError) Error

func (*GetCorporationsCorporationIDKillmailsRecentInternalServerError) GetPayload

type GetCorporationsCorporationIDKillmailsRecentNotModified

type GetCorporationsCorporationIDKillmailsRecentNotModified 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
}
GetCorporationsCorporationIDKillmailsRecentNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetCorporationsCorporationIDKillmailsRecentNotModified

func NewGetCorporationsCorporationIDKillmailsRecentNotModified() *GetCorporationsCorporationIDKillmailsRecentNotModified

NewGetCorporationsCorporationIDKillmailsRecentNotModified creates a GetCorporationsCorporationIDKillmailsRecentNotModified with default headers values

func (*GetCorporationsCorporationIDKillmailsRecentNotModified) Error

type GetCorporationsCorporationIDKillmailsRecentOK

type GetCorporationsCorporationIDKillmailsRecentOK 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

	/* Maximum page number

	   Format: int32
	   Default: 1
	*/
	XPages int32

	Payload []*GetCorporationsCorporationIDKillmailsRecentOKBodyItems0
}
GetCorporationsCorporationIDKillmailsRecentOK describes a response with status code 200, with default header values.

A list of killmail IDs and hashes

func NewGetCorporationsCorporationIDKillmailsRecentOK

func NewGetCorporationsCorporationIDKillmailsRecentOK() *GetCorporationsCorporationIDKillmailsRecentOK

NewGetCorporationsCorporationIDKillmailsRecentOK creates a GetCorporationsCorporationIDKillmailsRecentOK with default headers values

func (*GetCorporationsCorporationIDKillmailsRecentOK) Error

func (*GetCorporationsCorporationIDKillmailsRecentOK) GetPayload

type GetCorporationsCorporationIDKillmailsRecentOKBodyItems0

type GetCorporationsCorporationIDKillmailsRecentOKBodyItems0 struct {

	// get_corporations_corporation_id_killmails_recent_killmail_hash
	//
	// A hash of this killmail
	// Required: true
	KillmailHash *string `json:"killmail_hash"`

	// get_corporations_corporation_id_killmails_recent_killmail_id
	//
	// ID of this killmail
	// Required: true
	KillmailID *int32 `json:"killmail_id"`
}

GetCorporationsCorporationIDKillmailsRecentOKBodyItems0 get_corporations_corporation_id_killmails_recent_200_ok // // 200 ok object swagger:model GetCorporationsCorporationIDKillmailsRecentOKBodyItems0

func (*GetCorporationsCorporationIDKillmailsRecentOKBodyItems0) ContextValidate added in v0.3.0

ContextValidate validates this get corporations corporation ID killmails recent o k body items0 based on context it is used

func (*GetCorporationsCorporationIDKillmailsRecentOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetCorporationsCorporationIDKillmailsRecentOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCorporationsCorporationIDKillmailsRecentOKBodyItems0) Validate

Validate validates this get corporations corporation ID killmails recent o k body items0

type GetCorporationsCorporationIDKillmailsRecentParams

type GetCorporationsCorporationIDKillmailsRecentParams struct {

	/* IfNoneMatch.

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

	/* CorporationID.

	   An EVE corporation ID

	   Format: int32
	*/
	CorporationID int32

	/* Datasource.

	   The server name you would like data from

	   Default: "tranquility"
	*/
	Datasource *string

	/* Page.

	   Which page of results to return

	   Format: int32
	   Default: 1
	*/
	Page *int32

	/* Token.

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

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

GetCorporationsCorporationIDKillmailsRecentParams contains all the parameters to send to the API endpoint

for the get corporations corporation id killmails recent operation.

Typically these are written to a http.Request.

func NewGetCorporationsCorporationIDKillmailsRecentParams

func NewGetCorporationsCorporationIDKillmailsRecentParams() *GetCorporationsCorporationIDKillmailsRecentParams

NewGetCorporationsCorporationIDKillmailsRecentParams creates a new GetCorporationsCorporationIDKillmailsRecentParams 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 NewGetCorporationsCorporationIDKillmailsRecentParamsWithContext

func NewGetCorporationsCorporationIDKillmailsRecentParamsWithContext(ctx context.Context) *GetCorporationsCorporationIDKillmailsRecentParams

NewGetCorporationsCorporationIDKillmailsRecentParamsWithContext creates a new GetCorporationsCorporationIDKillmailsRecentParams object with the ability to set a context for a request.

func NewGetCorporationsCorporationIDKillmailsRecentParamsWithHTTPClient

func NewGetCorporationsCorporationIDKillmailsRecentParamsWithHTTPClient(client *http.Client) *GetCorporationsCorporationIDKillmailsRecentParams

NewGetCorporationsCorporationIDKillmailsRecentParamsWithHTTPClient creates a new GetCorporationsCorporationIDKillmailsRecentParams object with the ability to set a custom HTTPClient for a request.

func NewGetCorporationsCorporationIDKillmailsRecentParamsWithTimeout

func NewGetCorporationsCorporationIDKillmailsRecentParamsWithTimeout(timeout time.Duration) *GetCorporationsCorporationIDKillmailsRecentParams

NewGetCorporationsCorporationIDKillmailsRecentParamsWithTimeout creates a new GetCorporationsCorporationIDKillmailsRecentParams object with the ability to set a timeout on a request.

func (*GetCorporationsCorporationIDKillmailsRecentParams) SetContext

SetContext adds the context to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) SetCorporationID

func (o *GetCorporationsCorporationIDKillmailsRecentParams) SetCorporationID(corporationID int32)

SetCorporationID adds the corporationId to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) SetDatasource

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

SetDatasource adds the datasource to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) SetDefaults added in v0.3.0

SetDefaults hydrates default values in the get corporations corporation id killmails recent params (not the query body).

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

func (*GetCorporationsCorporationIDKillmailsRecentParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) SetPage

SetPage adds the page to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) SetTimeout

SetTimeout adds the timeout to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) SetToken

SetToken adds the token to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) WithContext

WithContext adds the context to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) WithCorporationID

WithCorporationID adds the corporationID to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) WithDatasource

WithDatasource adds the datasource to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get corporations corporation id killmails recent params (not the query body).

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

func (*GetCorporationsCorporationIDKillmailsRecentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) WithIfNoneMatch

WithIfNoneMatch adds the ifNoneMatch to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) WithPage

WithPage adds the page to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) WithTimeout

WithTimeout adds the timeout to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) WithToken

WithToken adds the token to the get corporations corporation id killmails recent params

func (*GetCorporationsCorporationIDKillmailsRecentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCorporationsCorporationIDKillmailsRecentReader

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

GetCorporationsCorporationIDKillmailsRecentReader is a Reader for the GetCorporationsCorporationIDKillmailsRecent structure.

func (*GetCorporationsCorporationIDKillmailsRecentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCorporationsCorporationIDKillmailsRecentServiceUnavailable

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

Service unavailable

func NewGetCorporationsCorporationIDKillmailsRecentServiceUnavailable

func NewGetCorporationsCorporationIDKillmailsRecentServiceUnavailable() *GetCorporationsCorporationIDKillmailsRecentServiceUnavailable

NewGetCorporationsCorporationIDKillmailsRecentServiceUnavailable creates a GetCorporationsCorporationIDKillmailsRecentServiceUnavailable with default headers values

func (*GetCorporationsCorporationIDKillmailsRecentServiceUnavailable) Error

func (*GetCorporationsCorporationIDKillmailsRecentServiceUnavailable) GetPayload

type GetCorporationsCorporationIDKillmailsRecentUnauthorized

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

Unauthorized

func NewGetCorporationsCorporationIDKillmailsRecentUnauthorized

func NewGetCorporationsCorporationIDKillmailsRecentUnauthorized() *GetCorporationsCorporationIDKillmailsRecentUnauthorized

NewGetCorporationsCorporationIDKillmailsRecentUnauthorized creates a GetCorporationsCorporationIDKillmailsRecentUnauthorized with default headers values

func (*GetCorporationsCorporationIDKillmailsRecentUnauthorized) Error

func (*GetCorporationsCorporationIDKillmailsRecentUnauthorized) GetPayload

type GetKillmailsKillmailIDKillmailHashBadRequest

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

Bad request

func NewGetKillmailsKillmailIDKillmailHashBadRequest

func NewGetKillmailsKillmailIDKillmailHashBadRequest() *GetKillmailsKillmailIDKillmailHashBadRequest

NewGetKillmailsKillmailIDKillmailHashBadRequest creates a GetKillmailsKillmailIDKillmailHashBadRequest with default headers values

func (*GetKillmailsKillmailIDKillmailHashBadRequest) Error

func (*GetKillmailsKillmailIDKillmailHashBadRequest) GetPayload

type GetKillmailsKillmailIDKillmailHashEnhanceYourCalm

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

Error limited

func NewGetKillmailsKillmailIDKillmailHashEnhanceYourCalm

func NewGetKillmailsKillmailIDKillmailHashEnhanceYourCalm() *GetKillmailsKillmailIDKillmailHashEnhanceYourCalm

NewGetKillmailsKillmailIDKillmailHashEnhanceYourCalm creates a GetKillmailsKillmailIDKillmailHashEnhanceYourCalm with default headers values

func (*GetKillmailsKillmailIDKillmailHashEnhanceYourCalm) Error

func (*GetKillmailsKillmailIDKillmailHashEnhanceYourCalm) GetPayload

type GetKillmailsKillmailIDKillmailHashGatewayTimeout

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

Gateway timeout

func NewGetKillmailsKillmailIDKillmailHashGatewayTimeout

func NewGetKillmailsKillmailIDKillmailHashGatewayTimeout() *GetKillmailsKillmailIDKillmailHashGatewayTimeout

NewGetKillmailsKillmailIDKillmailHashGatewayTimeout creates a GetKillmailsKillmailIDKillmailHashGatewayTimeout with default headers values

func (*GetKillmailsKillmailIDKillmailHashGatewayTimeout) Error

func (*GetKillmailsKillmailIDKillmailHashGatewayTimeout) GetPayload

type GetKillmailsKillmailIDKillmailHashInternalServerError

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

Internal server error

func NewGetKillmailsKillmailIDKillmailHashInternalServerError

func NewGetKillmailsKillmailIDKillmailHashInternalServerError() *GetKillmailsKillmailIDKillmailHashInternalServerError

NewGetKillmailsKillmailIDKillmailHashInternalServerError creates a GetKillmailsKillmailIDKillmailHashInternalServerError with default headers values

func (*GetKillmailsKillmailIDKillmailHashInternalServerError) Error

func (*GetKillmailsKillmailIDKillmailHashInternalServerError) GetPayload

type GetKillmailsKillmailIDKillmailHashNotModified

type GetKillmailsKillmailIDKillmailHashNotModified 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
}
GetKillmailsKillmailIDKillmailHashNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetKillmailsKillmailIDKillmailHashNotModified

func NewGetKillmailsKillmailIDKillmailHashNotModified() *GetKillmailsKillmailIDKillmailHashNotModified

NewGetKillmailsKillmailIDKillmailHashNotModified creates a GetKillmailsKillmailIDKillmailHashNotModified with default headers values

func (*GetKillmailsKillmailIDKillmailHashNotModified) Error

type GetKillmailsKillmailIDKillmailHashOK

type GetKillmailsKillmailIDKillmailHashOK 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 *GetKillmailsKillmailIDKillmailHashOKBody
}
GetKillmailsKillmailIDKillmailHashOK describes a response with status code 200, with default header values.

A killmail

func NewGetKillmailsKillmailIDKillmailHashOK

func NewGetKillmailsKillmailIDKillmailHashOK() *GetKillmailsKillmailIDKillmailHashOK

NewGetKillmailsKillmailIDKillmailHashOK creates a GetKillmailsKillmailIDKillmailHashOK with default headers values

func (*GetKillmailsKillmailIDKillmailHashOK) Error

func (*GetKillmailsKillmailIDKillmailHashOK) GetPayload

type GetKillmailsKillmailIDKillmailHashOKBody

type GetKillmailsKillmailIDKillmailHashOKBody struct {

	// get_killmails_killmail_id_killmail_hash_attackers
	//
	// attackers array
	// Required: true
	// Max Items: 10000
	Attackers []*GetKillmailsKillmailIDKillmailHashOKBodyAttackersItems0 `json:"attackers"`

	// get_killmails_killmail_id_killmail_hash_killmail_id
	//
	// ID of the killmail
	// Required: true
	KillmailID *int32 `json:"killmail_id"`

	// get_killmails_killmail_id_killmail_hash_killmail_time
	//
	// Time that the victim was killed and the killmail generated
	//
	// Required: true
	// Format: date-time
	KillmailTime *strfmt.DateTime `json:"killmail_time"`

	// get_killmails_killmail_id_killmail_hash_moon_id
	//
	// Moon if the kill took place at one
	MoonID int32 `json:"moon_id,omitempty"`

	// get_killmails_killmail_id_killmail_hash_solar_system_id
	//
	// Solar system that the kill took place in
	//
	// Required: true
	SolarSystemID *int32 `json:"solar_system_id"`

	// victim
	// Required: true
	Victim *GetKillmailsKillmailIDKillmailHashOKBodyVictim `json:"victim"`

	// get_killmails_killmail_id_killmail_hash_war_id
	//
	// War if the killmail is generated in relation to an official war
	//
	WarID int32 `json:"war_id,omitempty"`
}

GetKillmailsKillmailIDKillmailHashOKBody get_killmails_killmail_id_killmail_hash_ok // // 200 ok object swagger:model GetKillmailsKillmailIDKillmailHashOKBody

func (*GetKillmailsKillmailIDKillmailHashOKBody) ContextValidate added in v0.3.0

ContextValidate validate this get killmails killmail ID killmail hash o k body based on the context it is used

func (*GetKillmailsKillmailIDKillmailHashOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashOKBody) Validate

Validate validates this get killmails killmail ID killmail hash o k body

type GetKillmailsKillmailIDKillmailHashOKBodyAttackersItems0 added in v0.3.0

type GetKillmailsKillmailIDKillmailHashOKBodyAttackersItems0 struct {

	// get_killmails_killmail_id_killmail_hash_alliance_id
	//
	// alliance_id integer
	AllianceID int32 `json:"alliance_id,omitempty"`

	// get_killmails_killmail_id_killmail_hash_character_id
	//
	// character_id integer
	CharacterID int32 `json:"character_id,omitempty"`

	// get_killmails_killmail_id_killmail_hash_corporation_id
	//
	// corporation_id integer
	CorporationID int32 `json:"corporation_id,omitempty"`

	// get_killmails_killmail_id_killmail_hash_damage_done
	//
	// damage_done integer
	// Required: true
	DamageDone *int32 `json:"damage_done"`

	// get_killmails_killmail_id_killmail_hash_faction_id
	//
	// faction_id integer
	FactionID int32 `json:"faction_id,omitempty"`

	// get_killmails_killmail_id_killmail_hash_final_blow
	//
	// Was the attacker the one to achieve the final blow
	//
	// Required: true
	FinalBlow *bool `json:"final_blow"`

	// get_killmails_killmail_id_killmail_hash_security_status
	//
	// Security status for the attacker
	//
	// Required: true
	SecurityStatus *float32 `json:"security_status"`

	// get_killmails_killmail_id_killmail_hash_ship_type_id
	//
	// What ship was the attacker flying
	//
	ShipTypeID int32 `json:"ship_type_id,omitempty"`

	// get_killmails_killmail_id_killmail_hash_weapon_type_id
	//
	// What weapon was used by the attacker for the kill
	//
	WeaponTypeID int32 `json:"weapon_type_id,omitempty"`
}

GetKillmailsKillmailIDKillmailHashOKBodyAttackersItems0 get_killmails_killmail_id_killmail_hash_attacker // // attacker object swagger:model GetKillmailsKillmailIDKillmailHashOKBodyAttackersItems0

func (*GetKillmailsKillmailIDKillmailHashOKBodyAttackersItems0) ContextValidate added in v0.3.0

ContextValidate validates this get killmails killmail ID killmail hash o k body attackers items0 based on context it is used

func (*GetKillmailsKillmailIDKillmailHashOKBodyAttackersItems0) MarshalBinary added in v0.3.0

MarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashOKBodyAttackersItems0) UnmarshalBinary added in v0.3.0

UnmarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashOKBodyAttackersItems0) Validate added in v0.3.0

Validate validates this get killmails killmail ID killmail hash o k body attackers items0

type GetKillmailsKillmailIDKillmailHashOKBodyVictim

type GetKillmailsKillmailIDKillmailHashOKBodyVictim struct {

	// get_killmails_killmail_id_killmail_hash_victim_alliance_id
	//
	// alliance_id integer
	AllianceID int32 `json:"alliance_id,omitempty"`

	// get_killmails_killmail_id_killmail_hash_victim_character_id
	//
	// character_id integer
	CharacterID int32 `json:"character_id,omitempty"`

	// get_killmails_killmail_id_killmail_hash_victim_corporation_id
	//
	// corporation_id integer
	CorporationID int32 `json:"corporation_id,omitempty"`

	// get_killmails_killmail_id_killmail_hash_damage_taken
	//
	// How much total damage was taken by the victim
	//
	// Required: true
	DamageTaken *int32 `json:"damage_taken"`

	// get_killmails_killmail_id_killmail_hash_victim_faction_id
	//
	// faction_id integer
	FactionID int32 `json:"faction_id,omitempty"`

	// get_killmails_killmail_id_killmail_hash_items
	//
	// items array
	// Max Items: 10000
	Items []*GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0 `json:"items"`

	// position
	Position *GetKillmailsKillmailIDKillmailHashOKBodyVictimPosition `json:"position,omitempty"`

	// get_killmails_killmail_id_killmail_hash_victim_ship_type_id
	//
	// The ship that the victim was piloting and was destroyed
	//
	// Required: true
	ShipTypeID *int32 `json:"ship_type_id"`
}

GetKillmailsKillmailIDKillmailHashOKBodyVictim get_killmails_killmail_id_killmail_hash_victim // // victim object swagger:model GetKillmailsKillmailIDKillmailHashOKBodyVictim

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictim) ContextValidate added in v0.3.0

ContextValidate validate this get killmails killmail ID killmail hash o k body victim based on the context it is used

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictim) MarshalBinary

MarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictim) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictim) Validate

Validate validates this get killmails killmail ID killmail hash o k body victim

type GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0

type GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0 struct {

	// get_killmails_killmail_id_killmail_hash_flag
	//
	// Flag for the location of the item
	//
	// Required: true
	Flag *int32 `json:"flag"`

	// get_killmails_killmail_id_killmail_hash_item_type_id
	//
	// item_type_id integer
	// Required: true
	ItemTypeID *int32 `json:"item_type_id"`

	// get_killmails_killmail_id_killmail_hash_item_items
	//
	// items array
	// Max Items: 10000
	Items []*GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0ItemsItems0 `json:"items"`

	// get_killmails_killmail_id_killmail_hash_quantity_destroyed
	//
	// How many of the item were destroyed if any
	//
	QuantityDestroyed int64 `json:"quantity_destroyed,omitempty"`

	// get_killmails_killmail_id_killmail_hash_quantity_dropped
	//
	// How many of the item were dropped if any
	//
	QuantityDropped int64 `json:"quantity_dropped,omitempty"`

	// get_killmails_killmail_id_killmail_hash_singleton
	//
	// singleton integer
	// Required: true
	Singleton *int32 `json:"singleton"`
}

GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0 get_killmails_killmail_id_killmail_hash_item // // item object swagger:model GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0) ContextValidate added in v0.3.0

ContextValidate validate this get killmails killmail ID killmail hash o k body victim items items0 based on the context it is used

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0) Validate

Validate validates this get killmails killmail ID killmail hash o k body victim items items0

type GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0ItemsItems0

type GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0ItemsItems0 struct {

	// get_killmails_killmail_id_killmail_hash_item_flag
	//
	// flag integer
	// Required: true
	Flag *int32 `json:"flag"`

	// get_killmails_killmail_id_killmail_hash_item_item_type_id
	//
	// item_type_id integer
	// Required: true
	ItemTypeID *int32 `json:"item_type_id"`

	// get_killmails_killmail_id_killmail_hash_item_quantity_destroyed
	//
	// quantity_destroyed integer
	QuantityDestroyed int64 `json:"quantity_destroyed,omitempty"`

	// get_killmails_killmail_id_killmail_hash_item_quantity_dropped
	//
	// quantity_dropped integer
	QuantityDropped int64 `json:"quantity_dropped,omitempty"`

	// get_killmails_killmail_id_killmail_hash_item_singleton
	//
	// singleton integer
	// Required: true
	Singleton *int32 `json:"singleton"`
}

GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0ItemsItems0 get_killmails_killmail_id_killmail_hash_items_item // // item object swagger:model GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0ItemsItems0

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0ItemsItems0) ContextValidate added in v0.3.0

ContextValidate validates this get killmails killmail ID killmail hash o k body victim items items0 items items0 based on context it is used

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0ItemsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0ItemsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictimItemsItems0ItemsItems0) Validate

Validate validates this get killmails killmail ID killmail hash o k body victim items items0 items items0

type GetKillmailsKillmailIDKillmailHashOKBodyVictimPosition

type GetKillmailsKillmailIDKillmailHashOKBodyVictimPosition struct {

	// get_killmails_killmail_id_killmail_hash_x
	//
	// x number
	// Required: true
	X *float64 `json:"x"`

	// get_killmails_killmail_id_killmail_hash_y
	//
	// y number
	// Required: true
	Y *float64 `json:"y"`

	// get_killmails_killmail_id_killmail_hash_z
	//
	// z number
	// Required: true
	Z *float64 `json:"z"`
}

GetKillmailsKillmailIDKillmailHashOKBodyVictimPosition get_killmails_killmail_id_killmail_hash_position // // Coordinates of the victim in Cartesian space relative to the Sun // swagger:model GetKillmailsKillmailIDKillmailHashOKBodyVictimPosition

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictimPosition) ContextValidate added in v0.3.0

ContextValidate validates this get killmails killmail ID killmail hash o k body victim position based on context it is used

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictimPosition) MarshalBinary

MarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictimPosition) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashOKBodyVictimPosition) Validate

Validate validates this get killmails killmail ID killmail hash o k body victim position

type GetKillmailsKillmailIDKillmailHashParams

type GetKillmailsKillmailIDKillmailHashParams struct {

	/* IfNoneMatch.

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

	/* Datasource.

	   The server name you would like data from

	   Default: "tranquility"
	*/
	Datasource *string

	/* KillmailHash.

	   The killmail hash for verification
	*/
	KillmailHash string

	/* KillmailID.

	   The killmail ID to be queried

	   Format: int32
	*/
	KillmailID int32

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

GetKillmailsKillmailIDKillmailHashParams contains all the parameters to send to the API endpoint

for the get killmails killmail id killmail hash operation.

Typically these are written to a http.Request.

func NewGetKillmailsKillmailIDKillmailHashParams

func NewGetKillmailsKillmailIDKillmailHashParams() *GetKillmailsKillmailIDKillmailHashParams

NewGetKillmailsKillmailIDKillmailHashParams creates a new GetKillmailsKillmailIDKillmailHashParams 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 NewGetKillmailsKillmailIDKillmailHashParamsWithContext

func NewGetKillmailsKillmailIDKillmailHashParamsWithContext(ctx context.Context) *GetKillmailsKillmailIDKillmailHashParams

NewGetKillmailsKillmailIDKillmailHashParamsWithContext creates a new GetKillmailsKillmailIDKillmailHashParams object with the ability to set a context for a request.

func NewGetKillmailsKillmailIDKillmailHashParamsWithHTTPClient

func NewGetKillmailsKillmailIDKillmailHashParamsWithHTTPClient(client *http.Client) *GetKillmailsKillmailIDKillmailHashParams

NewGetKillmailsKillmailIDKillmailHashParamsWithHTTPClient creates a new GetKillmailsKillmailIDKillmailHashParams object with the ability to set a custom HTTPClient for a request.

func NewGetKillmailsKillmailIDKillmailHashParamsWithTimeout

func NewGetKillmailsKillmailIDKillmailHashParamsWithTimeout(timeout time.Duration) *GetKillmailsKillmailIDKillmailHashParams

NewGetKillmailsKillmailIDKillmailHashParamsWithTimeout creates a new GetKillmailsKillmailIDKillmailHashParams object with the ability to set a timeout on a request.

func (*GetKillmailsKillmailIDKillmailHashParams) SetContext

SetContext adds the context to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) SetDatasource

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

SetDatasource adds the datasource to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) SetDefaults added in v0.3.0

SetDefaults hydrates default values in the get killmails killmail id killmail hash params (not the query body).

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

func (*GetKillmailsKillmailIDKillmailHashParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) SetKillmailHash

func (o *GetKillmailsKillmailIDKillmailHashParams) SetKillmailHash(killmailHash string)

SetKillmailHash adds the killmailHash to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) SetKillmailID

func (o *GetKillmailsKillmailIDKillmailHashParams) SetKillmailID(killmailID int32)

SetKillmailID adds the killmailId to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) SetTimeout

SetTimeout adds the timeout to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) WithContext

WithContext adds the context to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) WithDatasource

WithDatasource adds the datasource to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get killmails killmail id killmail hash params (not the query body).

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

func (*GetKillmailsKillmailIDKillmailHashParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) WithIfNoneMatch

WithIfNoneMatch adds the ifNoneMatch to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) WithKillmailHash

WithKillmailHash adds the killmailHash to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) WithKillmailID

WithKillmailID adds the killmailID to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) WithTimeout

WithTimeout adds the timeout to the get killmails killmail id killmail hash params

func (*GetKillmailsKillmailIDKillmailHashParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetKillmailsKillmailIDKillmailHashReader

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

GetKillmailsKillmailIDKillmailHashReader is a Reader for the GetKillmailsKillmailIDKillmailHash structure.

func (*GetKillmailsKillmailIDKillmailHashReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetKillmailsKillmailIDKillmailHashServiceUnavailable

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

Service unavailable

func NewGetKillmailsKillmailIDKillmailHashServiceUnavailable

func NewGetKillmailsKillmailIDKillmailHashServiceUnavailable() *GetKillmailsKillmailIDKillmailHashServiceUnavailable

NewGetKillmailsKillmailIDKillmailHashServiceUnavailable creates a GetKillmailsKillmailIDKillmailHashServiceUnavailable with default headers values

func (*GetKillmailsKillmailIDKillmailHashServiceUnavailable) Error

func (*GetKillmailsKillmailIDKillmailHashServiceUnavailable) GetPayload

type GetKillmailsKillmailIDKillmailHashUnprocessableEntity

type GetKillmailsKillmailIDKillmailHashUnprocessableEntity struct {
	Payload *GetKillmailsKillmailIDKillmailHashUnprocessableEntityBody
}
GetKillmailsKillmailIDKillmailHashUnprocessableEntity describes a response with status code 422, with default header values.

Invalid killmail_id and/or killmail_hash

func NewGetKillmailsKillmailIDKillmailHashUnprocessableEntity

func NewGetKillmailsKillmailIDKillmailHashUnprocessableEntity() *GetKillmailsKillmailIDKillmailHashUnprocessableEntity

NewGetKillmailsKillmailIDKillmailHashUnprocessableEntity creates a GetKillmailsKillmailIDKillmailHashUnprocessableEntity with default headers values

func (*GetKillmailsKillmailIDKillmailHashUnprocessableEntity) Error

func (*GetKillmailsKillmailIDKillmailHashUnprocessableEntity) GetPayload

type GetKillmailsKillmailIDKillmailHashUnprocessableEntityBody

type GetKillmailsKillmailIDKillmailHashUnprocessableEntityBody struct {

	// get_killmails_killmail_id_killmail_hash_422_unprocessable_entity
	//
	// Unprocessable entity message
	Error string `json:"error,omitempty"`
}

GetKillmailsKillmailIDKillmailHashUnprocessableEntityBody get_killmails_killmail_id_killmail_hash_unprocessable_entity // // Unprocessable entity swagger:model GetKillmailsKillmailIDKillmailHashUnprocessableEntityBody

func (*GetKillmailsKillmailIDKillmailHashUnprocessableEntityBody) ContextValidate added in v0.3.0

ContextValidate validates this get killmails killmail ID killmail hash unprocessable entity body based on context it is used

func (*GetKillmailsKillmailIDKillmailHashUnprocessableEntityBody) MarshalBinary

MarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashUnprocessableEntityBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetKillmailsKillmailIDKillmailHashUnprocessableEntityBody) Validate

Validate validates this get killmails killmail ID killmail hash unprocessable entity body

Jump to

Keyboard shortcuts

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