Documentation
¶
Index ¶
- type AlliesItems0
- type Client
- func (a *Client) GetWars(params *GetWarsParams) (*GetWarsOK, error)
- func (a *Client) GetWarsWarID(params *GetWarsWarIDParams) (*GetWarsWarIDOK, error)
- func (a *Client) GetWarsWarIDKillmails(params *GetWarsWarIDKillmailsParams) (*GetWarsWarIDKillmailsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetWarsBadRequest
- type GetWarsEnhanceYourCalm
- type GetWarsGatewayTimeout
- type GetWarsInternalServerError
- type GetWarsNotModified
- type GetWarsOK
- type GetWarsParams
- func (o *GetWarsParams) SetContext(ctx context.Context)
- func (o *GetWarsParams) SetDatasource(datasource *string)
- func (o *GetWarsParams) SetHTTPClient(client *http.Client)
- func (o *GetWarsParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetWarsParams) SetMaxWarID(maxWarID *int32)
- func (o *GetWarsParams) SetTimeout(timeout time.Duration)
- func (o *GetWarsParams) WithContext(ctx context.Context) *GetWarsParams
- func (o *GetWarsParams) WithDatasource(datasource *string) *GetWarsParams
- func (o *GetWarsParams) WithHTTPClient(client *http.Client) *GetWarsParams
- func (o *GetWarsParams) WithIfNoneMatch(ifNoneMatch *string) *GetWarsParams
- func (o *GetWarsParams) WithMaxWarID(maxWarID *int32) *GetWarsParams
- func (o *GetWarsParams) WithTimeout(timeout time.Duration) *GetWarsParams
- func (o *GetWarsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWarsReader
- type GetWarsServiceUnavailable
- type GetWarsWarIDBadRequest
- type GetWarsWarIDEnhanceYourCalm
- type GetWarsWarIDGatewayTimeout
- type GetWarsWarIDInternalServerError
- type GetWarsWarIDKillmailsBadRequest
- type GetWarsWarIDKillmailsEnhanceYourCalm
- type GetWarsWarIDKillmailsGatewayTimeout
- type GetWarsWarIDKillmailsInternalServerError
- type GetWarsWarIDKillmailsNotModified
- type GetWarsWarIDKillmailsOK
- type GetWarsWarIDKillmailsOKBodyItems0
- type GetWarsWarIDKillmailsParams
- func NewGetWarsWarIDKillmailsParams() *GetWarsWarIDKillmailsParams
- func NewGetWarsWarIDKillmailsParamsWithContext(ctx context.Context) *GetWarsWarIDKillmailsParams
- func NewGetWarsWarIDKillmailsParamsWithHTTPClient(client *http.Client) *GetWarsWarIDKillmailsParams
- func NewGetWarsWarIDKillmailsParamsWithTimeout(timeout time.Duration) *GetWarsWarIDKillmailsParams
- func (o *GetWarsWarIDKillmailsParams) SetContext(ctx context.Context)
- func (o *GetWarsWarIDKillmailsParams) SetDatasource(datasource *string)
- func (o *GetWarsWarIDKillmailsParams) SetHTTPClient(client *http.Client)
- func (o *GetWarsWarIDKillmailsParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetWarsWarIDKillmailsParams) SetPage(page *int32)
- func (o *GetWarsWarIDKillmailsParams) SetTimeout(timeout time.Duration)
- func (o *GetWarsWarIDKillmailsParams) SetWarID(warID int32)
- func (o *GetWarsWarIDKillmailsParams) WithContext(ctx context.Context) *GetWarsWarIDKillmailsParams
- func (o *GetWarsWarIDKillmailsParams) WithDatasource(datasource *string) *GetWarsWarIDKillmailsParams
- func (o *GetWarsWarIDKillmailsParams) WithHTTPClient(client *http.Client) *GetWarsWarIDKillmailsParams
- func (o *GetWarsWarIDKillmailsParams) WithIfNoneMatch(ifNoneMatch *string) *GetWarsWarIDKillmailsParams
- func (o *GetWarsWarIDKillmailsParams) WithPage(page *int32) *GetWarsWarIDKillmailsParams
- func (o *GetWarsWarIDKillmailsParams) WithTimeout(timeout time.Duration) *GetWarsWarIDKillmailsParams
- func (o *GetWarsWarIDKillmailsParams) WithWarID(warID int32) *GetWarsWarIDKillmailsParams
- func (o *GetWarsWarIDKillmailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWarsWarIDKillmailsReader
- type GetWarsWarIDKillmailsServiceUnavailable
- type GetWarsWarIDKillmailsUnprocessableEntity
- type GetWarsWarIDKillmailsUnprocessableEntityBody
- type GetWarsWarIDNotModified
- type GetWarsWarIDOK
- type GetWarsWarIDOKBody
- type GetWarsWarIDOKBodyAggressor
- type GetWarsWarIDOKBodyDefender
- type GetWarsWarIDParams
- func (o *GetWarsWarIDParams) SetContext(ctx context.Context)
- func (o *GetWarsWarIDParams) SetDatasource(datasource *string)
- func (o *GetWarsWarIDParams) SetHTTPClient(client *http.Client)
- func (o *GetWarsWarIDParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetWarsWarIDParams) SetTimeout(timeout time.Duration)
- func (o *GetWarsWarIDParams) SetWarID(warID int32)
- func (o *GetWarsWarIDParams) WithContext(ctx context.Context) *GetWarsWarIDParams
- func (o *GetWarsWarIDParams) WithDatasource(datasource *string) *GetWarsWarIDParams
- func (o *GetWarsWarIDParams) WithHTTPClient(client *http.Client) *GetWarsWarIDParams
- func (o *GetWarsWarIDParams) WithIfNoneMatch(ifNoneMatch *string) *GetWarsWarIDParams
- func (o *GetWarsWarIDParams) WithTimeout(timeout time.Duration) *GetWarsWarIDParams
- func (o *GetWarsWarIDParams) WithWarID(warID int32) *GetWarsWarIDParams
- func (o *GetWarsWarIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWarsWarIDReader
- type GetWarsWarIDServiceUnavailable
- type GetWarsWarIDUnprocessableEntity
- type GetWarsWarIDUnprocessableEntityBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlliesItems0 ¶
type AlliesItems0 struct {
// get_wars_war_id_ally_alliance_id
//
// Alliance ID if and only if this ally is an alliance
AllianceID int32 `json:"alliance_id,omitempty"`
// get_wars_war_id_ally_corporation_id
//
// Corporation ID if and only if this ally is a corporation
CorporationID int32 `json:"corporation_id,omitempty"`
}
AlliesItems0 get_wars_war_id_ally // // ally object swagger:model AlliesItems0
func (*AlliesItems0) MarshalBinary ¶
func (o *AlliesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlliesItems0) UnmarshalBinary ¶
func (o *AlliesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for wars API
func (*Client) GetWars ¶
func (a *Client) GetWars(params *GetWarsParams) (*GetWarsOK, error)
GetWars lists wars Return a list of wars
---
This route is cached for up to 3600 seconds
func (*Client) GetWarsWarID ¶
func (a *Client) GetWarsWarID(params *GetWarsWarIDParams) (*GetWarsWarIDOK, error)
GetWarsWarID gets war information Return details about a war
---
This route is cached for up to 3600 seconds
func (*Client) GetWarsWarIDKillmails ¶
func (a *Client) GetWarsWarIDKillmails(params *GetWarsWarIDKillmailsParams) (*GetWarsWarIDKillmailsOK, error)
GetWarsWarIDKillmails lists kills for a war Return a list of kills related to a war
---
This route is cached for up to 3600 seconds
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface {
GetWars(params *GetWarsParams) (*GetWarsOK, error)
GetWarsWarID(params *GetWarsWarIDParams) (*GetWarsWarIDOK, error)
GetWarsWarIDKillmails(params *GetWarsWarIDKillmailsParams) (*GetWarsWarIDKillmailsOK, 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 wars API client.
type GetWarsBadRequest ¶
type GetWarsBadRequest struct {
Payload *esimodels.BadRequest
}
GetWarsBadRequest handles this case with default header values.
Bad request
func NewGetWarsBadRequest ¶
func NewGetWarsBadRequest() *GetWarsBadRequest
NewGetWarsBadRequest creates a GetWarsBadRequest with default headers values
func (*GetWarsBadRequest) Error ¶
func (o *GetWarsBadRequest) Error() string
func (*GetWarsBadRequest) GetPayload ¶
func (o *GetWarsBadRequest) GetPayload() *esimodels.BadRequest
type GetWarsEnhanceYourCalm ¶
type GetWarsEnhanceYourCalm struct {
Payload *esimodels.ErrorLimited
}
GetWarsEnhanceYourCalm handles this case with default header values.
Error limited
func NewGetWarsEnhanceYourCalm ¶
func NewGetWarsEnhanceYourCalm() *GetWarsEnhanceYourCalm
NewGetWarsEnhanceYourCalm creates a GetWarsEnhanceYourCalm with default headers values
func (*GetWarsEnhanceYourCalm) Error ¶
func (o *GetWarsEnhanceYourCalm) Error() string
func (*GetWarsEnhanceYourCalm) GetPayload ¶
func (o *GetWarsEnhanceYourCalm) GetPayload() *esimodels.ErrorLimited
type GetWarsGatewayTimeout ¶
type GetWarsGatewayTimeout struct {
Payload *esimodels.GatewayTimeout
}
GetWarsGatewayTimeout handles this case with default header values.
Gateway timeout
func NewGetWarsGatewayTimeout ¶
func NewGetWarsGatewayTimeout() *GetWarsGatewayTimeout
NewGetWarsGatewayTimeout creates a GetWarsGatewayTimeout with default headers values
func (*GetWarsGatewayTimeout) Error ¶
func (o *GetWarsGatewayTimeout) Error() string
func (*GetWarsGatewayTimeout) GetPayload ¶
func (o *GetWarsGatewayTimeout) GetPayload() *esimodels.GatewayTimeout
type GetWarsInternalServerError ¶
type GetWarsInternalServerError struct {
Payload *esimodels.InternalServerError
}
GetWarsInternalServerError handles this case with default header values.
Internal server error
func NewGetWarsInternalServerError ¶
func NewGetWarsInternalServerError() *GetWarsInternalServerError
NewGetWarsInternalServerError creates a GetWarsInternalServerError with default headers values
func (*GetWarsInternalServerError) Error ¶
func (o *GetWarsInternalServerError) Error() string
func (*GetWarsInternalServerError) GetPayload ¶
func (o *GetWarsInternalServerError) GetPayload() *esimodels.InternalServerError
type GetWarsNotModified ¶
type GetWarsNotModified 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
}
GetWarsNotModified handles this case with default header values.
Not modified
func NewGetWarsNotModified ¶
func NewGetWarsNotModified() *GetWarsNotModified
NewGetWarsNotModified creates a GetWarsNotModified with default headers values
func (*GetWarsNotModified) Error ¶
func (o *GetWarsNotModified) Error() string
type GetWarsOK ¶
type GetWarsOK 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 []int32
}
GetWarsOK handles this case with default header values.
A list of war IDs, in descending order by war_id
func NewGetWarsOK ¶
func NewGetWarsOK() *GetWarsOK
NewGetWarsOK creates a GetWarsOK with default headers values
func (*GetWarsOK) GetPayload ¶
type GetWarsParams ¶
type GetWarsParams 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
*/
Datasource *string
/*MaxWarID
Only return wars with ID smaller than this
*/
MaxWarID *int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetWarsParams contains all the parameters to send to the API endpoint for the get wars operation typically these are written to a http.Request
func NewGetWarsParams ¶
func NewGetWarsParams() *GetWarsParams
NewGetWarsParams creates a new GetWarsParams object with the default values initialized.
func NewGetWarsParamsWithContext ¶
func NewGetWarsParamsWithContext(ctx context.Context) *GetWarsParams
NewGetWarsParamsWithContext creates a new GetWarsParams object with the default values initialized, and the ability to set a context for a request
func NewGetWarsParamsWithHTTPClient ¶
func NewGetWarsParamsWithHTTPClient(client *http.Client) *GetWarsParams
NewGetWarsParamsWithHTTPClient creates a new GetWarsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWarsParamsWithTimeout ¶
func NewGetWarsParamsWithTimeout(timeout time.Duration) *GetWarsParams
NewGetWarsParamsWithTimeout creates a new GetWarsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWarsParams) SetContext ¶
func (o *GetWarsParams) SetContext(ctx context.Context)
SetContext adds the context to the get wars params
func (*GetWarsParams) SetDatasource ¶
func (o *GetWarsParams) SetDatasource(datasource *string)
SetDatasource adds the datasource to the get wars params
func (*GetWarsParams) SetHTTPClient ¶
func (o *GetWarsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get wars params
func (*GetWarsParams) SetIfNoneMatch ¶
func (o *GetWarsParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get wars params
func (*GetWarsParams) SetMaxWarID ¶
func (o *GetWarsParams) SetMaxWarID(maxWarID *int32)
SetMaxWarID adds the maxWarId to the get wars params
func (*GetWarsParams) SetTimeout ¶
func (o *GetWarsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get wars params
func (*GetWarsParams) WithContext ¶
func (o *GetWarsParams) WithContext(ctx context.Context) *GetWarsParams
WithContext adds the context to the get wars params
func (*GetWarsParams) WithDatasource ¶
func (o *GetWarsParams) WithDatasource(datasource *string) *GetWarsParams
WithDatasource adds the datasource to the get wars params
func (*GetWarsParams) WithHTTPClient ¶
func (o *GetWarsParams) WithHTTPClient(client *http.Client) *GetWarsParams
WithHTTPClient adds the HTTPClient to the get wars params
func (*GetWarsParams) WithIfNoneMatch ¶
func (o *GetWarsParams) WithIfNoneMatch(ifNoneMatch *string) *GetWarsParams
WithIfNoneMatch adds the ifNoneMatch to the get wars params
func (*GetWarsParams) WithMaxWarID ¶
func (o *GetWarsParams) WithMaxWarID(maxWarID *int32) *GetWarsParams
WithMaxWarID adds the maxWarID to the get wars params
func (*GetWarsParams) WithTimeout ¶
func (o *GetWarsParams) WithTimeout(timeout time.Duration) *GetWarsParams
WithTimeout adds the timeout to the get wars params
func (*GetWarsParams) WriteToRequest ¶
func (o *GetWarsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWarsReader ¶
type GetWarsReader struct {
// contains filtered or unexported fields
}
GetWarsReader is a Reader for the GetWars structure.
func (*GetWarsReader) ReadResponse ¶
func (o *GetWarsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWarsServiceUnavailable ¶
type GetWarsServiceUnavailable struct {
}
GetWarsServiceUnavailable handles this case with default header values.
Service unavailable
func NewGetWarsServiceUnavailable ¶
func NewGetWarsServiceUnavailable() *GetWarsServiceUnavailable
NewGetWarsServiceUnavailable creates a GetWarsServiceUnavailable with default headers values
func (*GetWarsServiceUnavailable) Error ¶
func (o *GetWarsServiceUnavailable) Error() string
func (*GetWarsServiceUnavailable) GetPayload ¶
func (o *GetWarsServiceUnavailable) GetPayload() *esimodels.ServiceUnavailable
type GetWarsWarIDBadRequest ¶
type GetWarsWarIDBadRequest struct {
Payload *esimodels.BadRequest
}
GetWarsWarIDBadRequest handles this case with default header values.
Bad request
func NewGetWarsWarIDBadRequest ¶
func NewGetWarsWarIDBadRequest() *GetWarsWarIDBadRequest
NewGetWarsWarIDBadRequest creates a GetWarsWarIDBadRequest with default headers values
func (*GetWarsWarIDBadRequest) Error ¶
func (o *GetWarsWarIDBadRequest) Error() string
func (*GetWarsWarIDBadRequest) GetPayload ¶
func (o *GetWarsWarIDBadRequest) GetPayload() *esimodels.BadRequest
type GetWarsWarIDEnhanceYourCalm ¶
type GetWarsWarIDEnhanceYourCalm struct {
Payload *esimodels.ErrorLimited
}
GetWarsWarIDEnhanceYourCalm handles this case with default header values.
Error limited
func NewGetWarsWarIDEnhanceYourCalm ¶
func NewGetWarsWarIDEnhanceYourCalm() *GetWarsWarIDEnhanceYourCalm
NewGetWarsWarIDEnhanceYourCalm creates a GetWarsWarIDEnhanceYourCalm with default headers values
func (*GetWarsWarIDEnhanceYourCalm) Error ¶
func (o *GetWarsWarIDEnhanceYourCalm) Error() string
func (*GetWarsWarIDEnhanceYourCalm) GetPayload ¶
func (o *GetWarsWarIDEnhanceYourCalm) GetPayload() *esimodels.ErrorLimited
type GetWarsWarIDGatewayTimeout ¶
type GetWarsWarIDGatewayTimeout struct {
Payload *esimodels.GatewayTimeout
}
GetWarsWarIDGatewayTimeout handles this case with default header values.
Gateway timeout
func NewGetWarsWarIDGatewayTimeout ¶
func NewGetWarsWarIDGatewayTimeout() *GetWarsWarIDGatewayTimeout
NewGetWarsWarIDGatewayTimeout creates a GetWarsWarIDGatewayTimeout with default headers values
func (*GetWarsWarIDGatewayTimeout) Error ¶
func (o *GetWarsWarIDGatewayTimeout) Error() string
func (*GetWarsWarIDGatewayTimeout) GetPayload ¶
func (o *GetWarsWarIDGatewayTimeout) GetPayload() *esimodels.GatewayTimeout
type GetWarsWarIDInternalServerError ¶
type GetWarsWarIDInternalServerError struct {
Payload *esimodels.InternalServerError
}
GetWarsWarIDInternalServerError handles this case with default header values.
Internal server error
func NewGetWarsWarIDInternalServerError ¶
func NewGetWarsWarIDInternalServerError() *GetWarsWarIDInternalServerError
NewGetWarsWarIDInternalServerError creates a GetWarsWarIDInternalServerError with default headers values
func (*GetWarsWarIDInternalServerError) Error ¶
func (o *GetWarsWarIDInternalServerError) Error() string
func (*GetWarsWarIDInternalServerError) GetPayload ¶
func (o *GetWarsWarIDInternalServerError) GetPayload() *esimodels.InternalServerError
type GetWarsWarIDKillmailsBadRequest ¶
type GetWarsWarIDKillmailsBadRequest struct {
Payload *esimodels.BadRequest
}
GetWarsWarIDKillmailsBadRequest handles this case with default header values.
Bad request
func NewGetWarsWarIDKillmailsBadRequest ¶
func NewGetWarsWarIDKillmailsBadRequest() *GetWarsWarIDKillmailsBadRequest
NewGetWarsWarIDKillmailsBadRequest creates a GetWarsWarIDKillmailsBadRequest with default headers values
func (*GetWarsWarIDKillmailsBadRequest) Error ¶
func (o *GetWarsWarIDKillmailsBadRequest) Error() string
func (*GetWarsWarIDKillmailsBadRequest) GetPayload ¶
func (o *GetWarsWarIDKillmailsBadRequest) GetPayload() *esimodels.BadRequest
type GetWarsWarIDKillmailsEnhanceYourCalm ¶
type GetWarsWarIDKillmailsEnhanceYourCalm struct {
Payload *esimodels.ErrorLimited
}
GetWarsWarIDKillmailsEnhanceYourCalm handles this case with default header values.
Error limited
func NewGetWarsWarIDKillmailsEnhanceYourCalm ¶
func NewGetWarsWarIDKillmailsEnhanceYourCalm() *GetWarsWarIDKillmailsEnhanceYourCalm
NewGetWarsWarIDKillmailsEnhanceYourCalm creates a GetWarsWarIDKillmailsEnhanceYourCalm with default headers values
func (*GetWarsWarIDKillmailsEnhanceYourCalm) Error ¶
func (o *GetWarsWarIDKillmailsEnhanceYourCalm) Error() string
func (*GetWarsWarIDKillmailsEnhanceYourCalm) GetPayload ¶
func (o *GetWarsWarIDKillmailsEnhanceYourCalm) GetPayload() *esimodels.ErrorLimited
type GetWarsWarIDKillmailsGatewayTimeout ¶
type GetWarsWarIDKillmailsGatewayTimeout struct {
Payload *esimodels.GatewayTimeout
}
GetWarsWarIDKillmailsGatewayTimeout handles this case with default header values.
Gateway timeout
func NewGetWarsWarIDKillmailsGatewayTimeout ¶
func NewGetWarsWarIDKillmailsGatewayTimeout() *GetWarsWarIDKillmailsGatewayTimeout
NewGetWarsWarIDKillmailsGatewayTimeout creates a GetWarsWarIDKillmailsGatewayTimeout with default headers values
func (*GetWarsWarIDKillmailsGatewayTimeout) Error ¶
func (o *GetWarsWarIDKillmailsGatewayTimeout) Error() string
func (*GetWarsWarIDKillmailsGatewayTimeout) GetPayload ¶
func (o *GetWarsWarIDKillmailsGatewayTimeout) GetPayload() *esimodels.GatewayTimeout
type GetWarsWarIDKillmailsInternalServerError ¶
type GetWarsWarIDKillmailsInternalServerError struct {
Payload *esimodels.InternalServerError
}
GetWarsWarIDKillmailsInternalServerError handles this case with default header values.
Internal server error
func NewGetWarsWarIDKillmailsInternalServerError ¶
func NewGetWarsWarIDKillmailsInternalServerError() *GetWarsWarIDKillmailsInternalServerError
NewGetWarsWarIDKillmailsInternalServerError creates a GetWarsWarIDKillmailsInternalServerError with default headers values
func (*GetWarsWarIDKillmailsInternalServerError) Error ¶
func (o *GetWarsWarIDKillmailsInternalServerError) Error() string
func (*GetWarsWarIDKillmailsInternalServerError) GetPayload ¶
func (o *GetWarsWarIDKillmailsInternalServerError) GetPayload() *esimodels.InternalServerError
type GetWarsWarIDKillmailsNotModified ¶
type GetWarsWarIDKillmailsNotModified 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
}
GetWarsWarIDKillmailsNotModified handles this case with default header values.
Not modified
func NewGetWarsWarIDKillmailsNotModified ¶
func NewGetWarsWarIDKillmailsNotModified() *GetWarsWarIDKillmailsNotModified
NewGetWarsWarIDKillmailsNotModified creates a GetWarsWarIDKillmailsNotModified with default headers values
func (*GetWarsWarIDKillmailsNotModified) Error ¶
func (o *GetWarsWarIDKillmailsNotModified) Error() string
type GetWarsWarIDKillmailsOK ¶
type GetWarsWarIDKillmailsOK 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
*/
XPages int32
Payload []*GetWarsWarIDKillmailsOKBodyItems0
}
GetWarsWarIDKillmailsOK handles this case with default header values.
A list of killmail IDs and hashes
func NewGetWarsWarIDKillmailsOK ¶
func NewGetWarsWarIDKillmailsOK() *GetWarsWarIDKillmailsOK
NewGetWarsWarIDKillmailsOK creates a GetWarsWarIDKillmailsOK with default headers values
func (*GetWarsWarIDKillmailsOK) Error ¶
func (o *GetWarsWarIDKillmailsOK) Error() string
func (*GetWarsWarIDKillmailsOK) GetPayload ¶
func (o *GetWarsWarIDKillmailsOK) GetPayload() []*GetWarsWarIDKillmailsOKBodyItems0
type GetWarsWarIDKillmailsOKBodyItems0 ¶
type GetWarsWarIDKillmailsOKBodyItems0 struct {
// get_wars_war_id_killmails_killmail_hash
//
// A hash of this killmail
// Required: true
KillmailHash *string `json:"killmail_hash"`
// get_wars_war_id_killmails_killmail_id
//
// ID of this killmail
// Required: true
KillmailID *int32 `json:"killmail_id"`
}
GetWarsWarIDKillmailsOKBodyItems0 get_wars_war_id_killmails_200_ok // // 200 ok object swagger:model GetWarsWarIDKillmailsOKBodyItems0
func (*GetWarsWarIDKillmailsOKBodyItems0) MarshalBinary ¶
func (o *GetWarsWarIDKillmailsOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetWarsWarIDKillmailsOKBodyItems0) UnmarshalBinary ¶
func (o *GetWarsWarIDKillmailsOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetWarsWarIDKillmailsParams ¶
type GetWarsWarIDKillmailsParams 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
*/
Datasource *string
/*Page
Which page of results to return
*/
Page *int32
/*WarID
A valid war ID
*/
WarID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetWarsWarIDKillmailsParams contains all the parameters to send to the API endpoint for the get wars war id killmails operation typically these are written to a http.Request
func NewGetWarsWarIDKillmailsParams ¶
func NewGetWarsWarIDKillmailsParams() *GetWarsWarIDKillmailsParams
NewGetWarsWarIDKillmailsParams creates a new GetWarsWarIDKillmailsParams object with the default values initialized.
func NewGetWarsWarIDKillmailsParamsWithContext ¶
func NewGetWarsWarIDKillmailsParamsWithContext(ctx context.Context) *GetWarsWarIDKillmailsParams
NewGetWarsWarIDKillmailsParamsWithContext creates a new GetWarsWarIDKillmailsParams object with the default values initialized, and the ability to set a context for a request
func NewGetWarsWarIDKillmailsParamsWithHTTPClient ¶
func NewGetWarsWarIDKillmailsParamsWithHTTPClient(client *http.Client) *GetWarsWarIDKillmailsParams
NewGetWarsWarIDKillmailsParamsWithHTTPClient creates a new GetWarsWarIDKillmailsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWarsWarIDKillmailsParamsWithTimeout ¶
func NewGetWarsWarIDKillmailsParamsWithTimeout(timeout time.Duration) *GetWarsWarIDKillmailsParams
NewGetWarsWarIDKillmailsParamsWithTimeout creates a new GetWarsWarIDKillmailsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWarsWarIDKillmailsParams) SetContext ¶
func (o *GetWarsWarIDKillmailsParams) SetContext(ctx context.Context)
SetContext adds the context to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) SetDatasource ¶
func (o *GetWarsWarIDKillmailsParams) SetDatasource(datasource *string)
SetDatasource adds the datasource to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) SetHTTPClient ¶
func (o *GetWarsWarIDKillmailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) SetIfNoneMatch ¶
func (o *GetWarsWarIDKillmailsParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) SetPage ¶
func (o *GetWarsWarIDKillmailsParams) SetPage(page *int32)
SetPage adds the page to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) SetTimeout ¶
func (o *GetWarsWarIDKillmailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) SetWarID ¶
func (o *GetWarsWarIDKillmailsParams) SetWarID(warID int32)
SetWarID adds the warId to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) WithContext ¶
func (o *GetWarsWarIDKillmailsParams) WithContext(ctx context.Context) *GetWarsWarIDKillmailsParams
WithContext adds the context to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) WithDatasource ¶
func (o *GetWarsWarIDKillmailsParams) WithDatasource(datasource *string) *GetWarsWarIDKillmailsParams
WithDatasource adds the datasource to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) WithHTTPClient ¶
func (o *GetWarsWarIDKillmailsParams) WithHTTPClient(client *http.Client) *GetWarsWarIDKillmailsParams
WithHTTPClient adds the HTTPClient to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) WithIfNoneMatch ¶
func (o *GetWarsWarIDKillmailsParams) WithIfNoneMatch(ifNoneMatch *string) *GetWarsWarIDKillmailsParams
WithIfNoneMatch adds the ifNoneMatch to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) WithPage ¶
func (o *GetWarsWarIDKillmailsParams) WithPage(page *int32) *GetWarsWarIDKillmailsParams
WithPage adds the page to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) WithTimeout ¶
func (o *GetWarsWarIDKillmailsParams) WithTimeout(timeout time.Duration) *GetWarsWarIDKillmailsParams
WithTimeout adds the timeout to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) WithWarID ¶
func (o *GetWarsWarIDKillmailsParams) WithWarID(warID int32) *GetWarsWarIDKillmailsParams
WithWarID adds the warID to the get wars war id killmails params
func (*GetWarsWarIDKillmailsParams) WriteToRequest ¶
func (o *GetWarsWarIDKillmailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWarsWarIDKillmailsReader ¶
type GetWarsWarIDKillmailsReader struct {
// contains filtered or unexported fields
}
GetWarsWarIDKillmailsReader is a Reader for the GetWarsWarIDKillmails structure.
func (*GetWarsWarIDKillmailsReader) ReadResponse ¶
func (o *GetWarsWarIDKillmailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWarsWarIDKillmailsServiceUnavailable ¶
type GetWarsWarIDKillmailsServiceUnavailable struct {
}
GetWarsWarIDKillmailsServiceUnavailable handles this case with default header values.
Service unavailable
func NewGetWarsWarIDKillmailsServiceUnavailable ¶
func NewGetWarsWarIDKillmailsServiceUnavailable() *GetWarsWarIDKillmailsServiceUnavailable
NewGetWarsWarIDKillmailsServiceUnavailable creates a GetWarsWarIDKillmailsServiceUnavailable with default headers values
func (*GetWarsWarIDKillmailsServiceUnavailable) Error ¶
func (o *GetWarsWarIDKillmailsServiceUnavailable) Error() string
func (*GetWarsWarIDKillmailsServiceUnavailable) GetPayload ¶
func (o *GetWarsWarIDKillmailsServiceUnavailable) GetPayload() *esimodels.ServiceUnavailable
type GetWarsWarIDKillmailsUnprocessableEntity ¶
type GetWarsWarIDKillmailsUnprocessableEntity struct {
Payload *GetWarsWarIDKillmailsUnprocessableEntityBody
}
GetWarsWarIDKillmailsUnprocessableEntity handles this case with default header values.
War not found
func NewGetWarsWarIDKillmailsUnprocessableEntity ¶
func NewGetWarsWarIDKillmailsUnprocessableEntity() *GetWarsWarIDKillmailsUnprocessableEntity
NewGetWarsWarIDKillmailsUnprocessableEntity creates a GetWarsWarIDKillmailsUnprocessableEntity with default headers values
func (*GetWarsWarIDKillmailsUnprocessableEntity) Error ¶
func (o *GetWarsWarIDKillmailsUnprocessableEntity) Error() string
func (*GetWarsWarIDKillmailsUnprocessableEntity) GetPayload ¶
func (o *GetWarsWarIDKillmailsUnprocessableEntity) GetPayload() *GetWarsWarIDKillmailsUnprocessableEntityBody
type GetWarsWarIDKillmailsUnprocessableEntityBody ¶
type GetWarsWarIDKillmailsUnprocessableEntityBody struct {
// get_wars_war_id_killmails_422_unprocessable_entity
//
// Unprocessable entity message
Error string `json:"error,omitempty"`
}
GetWarsWarIDKillmailsUnprocessableEntityBody get_wars_war_id_killmails_unprocessable_entity // // Unprocessable entity swagger:model GetWarsWarIDKillmailsUnprocessableEntityBody
func (*GetWarsWarIDKillmailsUnprocessableEntityBody) MarshalBinary ¶
func (o *GetWarsWarIDKillmailsUnprocessableEntityBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetWarsWarIDKillmailsUnprocessableEntityBody) UnmarshalBinary ¶
func (o *GetWarsWarIDKillmailsUnprocessableEntityBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetWarsWarIDNotModified ¶
type GetWarsWarIDNotModified 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
}
GetWarsWarIDNotModified handles this case with default header values.
Not modified
func NewGetWarsWarIDNotModified ¶
func NewGetWarsWarIDNotModified() *GetWarsWarIDNotModified
NewGetWarsWarIDNotModified creates a GetWarsWarIDNotModified with default headers values
func (*GetWarsWarIDNotModified) Error ¶
func (o *GetWarsWarIDNotModified) Error() string
type GetWarsWarIDOK ¶
type GetWarsWarIDOK 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 *GetWarsWarIDOKBody
}
GetWarsWarIDOK handles this case with default header values.
Details about a war
func NewGetWarsWarIDOK ¶
func NewGetWarsWarIDOK() *GetWarsWarIDOK
NewGetWarsWarIDOK creates a GetWarsWarIDOK with default headers values
func (*GetWarsWarIDOK) Error ¶
func (o *GetWarsWarIDOK) Error() string
func (*GetWarsWarIDOK) GetPayload ¶
func (o *GetWarsWarIDOK) GetPayload() *GetWarsWarIDOKBody
type GetWarsWarIDOKBody ¶
type GetWarsWarIDOKBody struct {
// aggressor
// Required: true
Aggressor *GetWarsWarIDOKBodyAggressor `json:"aggressor"`
// get_wars_war_id_allies
//
// allied corporations or alliances, each object contains either corporation_id or alliance_id
// Max Items: 10000
Allies []*AlliesItems0 `json:"allies"`
// get_wars_war_id_declared
//
// Time that the war was declared
// Required: true
// Format: date-time
Declared *strfmt.DateTime `json:"declared"`
// defender
// Required: true
Defender *GetWarsWarIDOKBodyDefender `json:"defender"`
// get_wars_war_id_finished
//
// Time the war ended and shooting was no longer allowed
// Format: date-time
Finished strfmt.DateTime `json:"finished,omitempty"`
// get_wars_war_id_id
//
// ID of the specified war
// Required: true
ID *int32 `json:"id"`
// get_wars_war_id_mutual
//
// Was the war declared mutual by both parties
// Required: true
Mutual *bool `json:"mutual"`
// get_wars_war_id_open_for_allies
//
// Is the war currently open for allies or not
// Required: true
OpenForAllies *bool `json:"open_for_allies"`
// get_wars_war_id_retracted
//
// Time the war was retracted but both sides could still shoot each other
// Format: date-time
Retracted strfmt.DateTime `json:"retracted,omitempty"`
// get_wars_war_id_started
//
// Time when the war started and both sides could shoot each other
// Format: date-time
Started strfmt.DateTime `json:"started,omitempty"`
}
GetWarsWarIDOKBody get_wars_war_id_ok // // 200 ok object swagger:model GetWarsWarIDOKBody
func (*GetWarsWarIDOKBody) MarshalBinary ¶
func (o *GetWarsWarIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetWarsWarIDOKBody) UnmarshalBinary ¶
func (o *GetWarsWarIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetWarsWarIDOKBodyAggressor ¶
type GetWarsWarIDOKBodyAggressor struct {
// get_wars_war_id_alliance_id
//
// Alliance ID if and only if the aggressor is an alliance
AllianceID int32 `json:"alliance_id,omitempty"`
// get_wars_war_id_corporation_id
//
// Corporation ID if and only if the aggressor is a corporation
CorporationID int32 `json:"corporation_id,omitempty"`
// get_wars_war_id_isk_destroyed
//
// ISK value of ships the aggressor has destroyed
// Required: true
IskDestroyed *float32 `json:"isk_destroyed"`
// get_wars_war_id_ships_killed
//
// The number of ships the aggressor has killed
// Required: true
ShipsKilled *int32 `json:"ships_killed"`
}
GetWarsWarIDOKBodyAggressor get_wars_war_id_aggressor // // The aggressor corporation or alliance that declared this war, only contains either corporation_id or alliance_id swagger:model GetWarsWarIDOKBodyAggressor
func (*GetWarsWarIDOKBodyAggressor) MarshalBinary ¶
func (o *GetWarsWarIDOKBodyAggressor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetWarsWarIDOKBodyAggressor) UnmarshalBinary ¶
func (o *GetWarsWarIDOKBodyAggressor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetWarsWarIDOKBodyDefender ¶
type GetWarsWarIDOKBodyDefender struct {
// get_wars_war_id_defender_alliance_id
//
// Alliance ID if and only if the defender is an alliance
AllianceID int32 `json:"alliance_id,omitempty"`
// get_wars_war_id_defender_corporation_id
//
// Corporation ID if and only if the defender is a corporation
CorporationID int32 `json:"corporation_id,omitempty"`
// get_wars_war_id_defender_isk_destroyed
//
// ISK value of ships the defender has killed
// Required: true
IskDestroyed *float32 `json:"isk_destroyed"`
// get_wars_war_id_defender_ships_killed
//
// The number of ships the defender has killed
// Required: true
ShipsKilled *int32 `json:"ships_killed"`
}
GetWarsWarIDOKBodyDefender get_wars_war_id_defender // // The defending corporation or alliance that declared this war, only contains either corporation_id or alliance_id swagger:model GetWarsWarIDOKBodyDefender
func (*GetWarsWarIDOKBodyDefender) MarshalBinary ¶
func (o *GetWarsWarIDOKBodyDefender) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetWarsWarIDOKBodyDefender) UnmarshalBinary ¶
func (o *GetWarsWarIDOKBodyDefender) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetWarsWarIDParams ¶
type GetWarsWarIDParams 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
*/
Datasource *string
/*WarID
ID for a war
*/
WarID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetWarsWarIDParams contains all the parameters to send to the API endpoint for the get wars war id operation typically these are written to a http.Request
func NewGetWarsWarIDParams ¶
func NewGetWarsWarIDParams() *GetWarsWarIDParams
NewGetWarsWarIDParams creates a new GetWarsWarIDParams object with the default values initialized.
func NewGetWarsWarIDParamsWithContext ¶
func NewGetWarsWarIDParamsWithContext(ctx context.Context) *GetWarsWarIDParams
NewGetWarsWarIDParamsWithContext creates a new GetWarsWarIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetWarsWarIDParamsWithHTTPClient ¶
func NewGetWarsWarIDParamsWithHTTPClient(client *http.Client) *GetWarsWarIDParams
NewGetWarsWarIDParamsWithHTTPClient creates a new GetWarsWarIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWarsWarIDParamsWithTimeout ¶
func NewGetWarsWarIDParamsWithTimeout(timeout time.Duration) *GetWarsWarIDParams
NewGetWarsWarIDParamsWithTimeout creates a new GetWarsWarIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWarsWarIDParams) SetContext ¶
func (o *GetWarsWarIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get wars war id params
func (*GetWarsWarIDParams) SetDatasource ¶
func (o *GetWarsWarIDParams) SetDatasource(datasource *string)
SetDatasource adds the datasource to the get wars war id params
func (*GetWarsWarIDParams) SetHTTPClient ¶
func (o *GetWarsWarIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get wars war id params
func (*GetWarsWarIDParams) SetIfNoneMatch ¶
func (o *GetWarsWarIDParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get wars war id params
func (*GetWarsWarIDParams) SetTimeout ¶
func (o *GetWarsWarIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get wars war id params
func (*GetWarsWarIDParams) SetWarID ¶
func (o *GetWarsWarIDParams) SetWarID(warID int32)
SetWarID adds the warId to the get wars war id params
func (*GetWarsWarIDParams) WithContext ¶
func (o *GetWarsWarIDParams) WithContext(ctx context.Context) *GetWarsWarIDParams
WithContext adds the context to the get wars war id params
func (*GetWarsWarIDParams) WithDatasource ¶
func (o *GetWarsWarIDParams) WithDatasource(datasource *string) *GetWarsWarIDParams
WithDatasource adds the datasource to the get wars war id params
func (*GetWarsWarIDParams) WithHTTPClient ¶
func (o *GetWarsWarIDParams) WithHTTPClient(client *http.Client) *GetWarsWarIDParams
WithHTTPClient adds the HTTPClient to the get wars war id params
func (*GetWarsWarIDParams) WithIfNoneMatch ¶
func (o *GetWarsWarIDParams) WithIfNoneMatch(ifNoneMatch *string) *GetWarsWarIDParams
WithIfNoneMatch adds the ifNoneMatch to the get wars war id params
func (*GetWarsWarIDParams) WithTimeout ¶
func (o *GetWarsWarIDParams) WithTimeout(timeout time.Duration) *GetWarsWarIDParams
WithTimeout adds the timeout to the get wars war id params
func (*GetWarsWarIDParams) WithWarID ¶
func (o *GetWarsWarIDParams) WithWarID(warID int32) *GetWarsWarIDParams
WithWarID adds the warID to the get wars war id params
func (*GetWarsWarIDParams) WriteToRequest ¶
func (o *GetWarsWarIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWarsWarIDReader ¶
type GetWarsWarIDReader struct {
// contains filtered or unexported fields
}
GetWarsWarIDReader is a Reader for the GetWarsWarID structure.
func (*GetWarsWarIDReader) ReadResponse ¶
func (o *GetWarsWarIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWarsWarIDServiceUnavailable ¶
type GetWarsWarIDServiceUnavailable struct {
}
GetWarsWarIDServiceUnavailable handles this case with default header values.
Service unavailable
func NewGetWarsWarIDServiceUnavailable ¶
func NewGetWarsWarIDServiceUnavailable() *GetWarsWarIDServiceUnavailable
NewGetWarsWarIDServiceUnavailable creates a GetWarsWarIDServiceUnavailable with default headers values
func (*GetWarsWarIDServiceUnavailable) Error ¶
func (o *GetWarsWarIDServiceUnavailable) Error() string
func (*GetWarsWarIDServiceUnavailable) GetPayload ¶
func (o *GetWarsWarIDServiceUnavailable) GetPayload() *esimodels.ServiceUnavailable
type GetWarsWarIDUnprocessableEntity ¶
type GetWarsWarIDUnprocessableEntity struct {
Payload *GetWarsWarIDUnprocessableEntityBody
}
GetWarsWarIDUnprocessableEntity handles this case with default header values.
War not found
func NewGetWarsWarIDUnprocessableEntity ¶
func NewGetWarsWarIDUnprocessableEntity() *GetWarsWarIDUnprocessableEntity
NewGetWarsWarIDUnprocessableEntity creates a GetWarsWarIDUnprocessableEntity with default headers values
func (*GetWarsWarIDUnprocessableEntity) Error ¶
func (o *GetWarsWarIDUnprocessableEntity) Error() string
func (*GetWarsWarIDUnprocessableEntity) GetPayload ¶
func (o *GetWarsWarIDUnprocessableEntity) GetPayload() *GetWarsWarIDUnprocessableEntityBody
type GetWarsWarIDUnprocessableEntityBody ¶
type GetWarsWarIDUnprocessableEntityBody struct {
// get_wars_war_id_422_unprocessable_entity
//
// Unprocessable entity message
Error string `json:"error,omitempty"`
}
GetWarsWarIDUnprocessableEntityBody get_wars_war_id_unprocessable_entity // // Unprocessable entity swagger:model GetWarsWarIDUnprocessableEntityBody
func (*GetWarsWarIDUnprocessableEntityBody) MarshalBinary ¶
func (o *GetWarsWarIDUnprocessableEntityBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetWarsWarIDUnprocessableEntityBody) UnmarshalBinary ¶
func (o *GetWarsWarIDUnprocessableEntityBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation