Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAlliances(params *GetAlliancesParams, opts ...ClientOption) (*GetAlliancesOK, error)
- func (a *Client) GetAlliancesAllianceID(params *GetAlliancesAllianceIDParams, opts ...ClientOption) (*GetAlliancesAllianceIDOK, error)
- func (a *Client) GetAlliancesAllianceIDCorporations(params *GetAlliancesAllianceIDCorporationsParams, opts ...ClientOption) (*GetAlliancesAllianceIDCorporationsOK, error)
- func (a *Client) GetAlliancesAllianceIDIcons(params *GetAlliancesAllianceIDIconsParams, opts ...ClientOption) (*GetAlliancesAllianceIDIconsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAlliancesAllianceIDBadRequest
- type GetAlliancesAllianceIDCorporationsBadRequest
- type GetAlliancesAllianceIDCorporationsEnhanceYourCalm
- type GetAlliancesAllianceIDCorporationsGatewayTimeout
- type GetAlliancesAllianceIDCorporationsInternalServerError
- type GetAlliancesAllianceIDCorporationsNotModified
- type GetAlliancesAllianceIDCorporationsOK
- type GetAlliancesAllianceIDCorporationsParams
- func NewGetAlliancesAllianceIDCorporationsParams() *GetAlliancesAllianceIDCorporationsParams
- func NewGetAlliancesAllianceIDCorporationsParamsWithContext(ctx context.Context) *GetAlliancesAllianceIDCorporationsParams
- func NewGetAlliancesAllianceIDCorporationsParamsWithHTTPClient(client *http.Client) *GetAlliancesAllianceIDCorporationsParams
- func NewGetAlliancesAllianceIDCorporationsParamsWithTimeout(timeout time.Duration) *GetAlliancesAllianceIDCorporationsParams
- func (o *GetAlliancesAllianceIDCorporationsParams) SetAllianceID(allianceID int32)
- func (o *GetAlliancesAllianceIDCorporationsParams) SetContext(ctx context.Context)
- func (o *GetAlliancesAllianceIDCorporationsParams) SetDatasource(datasource *string)
- func (o *GetAlliancesAllianceIDCorporationsParams) SetDefaults()
- func (o *GetAlliancesAllianceIDCorporationsParams) SetHTTPClient(client *http.Client)
- func (o *GetAlliancesAllianceIDCorporationsParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetAlliancesAllianceIDCorporationsParams) SetTimeout(timeout time.Duration)
- func (o *GetAlliancesAllianceIDCorporationsParams) WithAllianceID(allianceID int32) *GetAlliancesAllianceIDCorporationsParams
- func (o *GetAlliancesAllianceIDCorporationsParams) WithContext(ctx context.Context) *GetAlliancesAllianceIDCorporationsParams
- func (o *GetAlliancesAllianceIDCorporationsParams) WithDatasource(datasource *string) *GetAlliancesAllianceIDCorporationsParams
- func (o *GetAlliancesAllianceIDCorporationsParams) WithDefaults() *GetAlliancesAllianceIDCorporationsParams
- func (o *GetAlliancesAllianceIDCorporationsParams) WithHTTPClient(client *http.Client) *GetAlliancesAllianceIDCorporationsParams
- func (o *GetAlliancesAllianceIDCorporationsParams) WithIfNoneMatch(ifNoneMatch *string) *GetAlliancesAllianceIDCorporationsParams
- func (o *GetAlliancesAllianceIDCorporationsParams) WithTimeout(timeout time.Duration) *GetAlliancesAllianceIDCorporationsParams
- func (o *GetAlliancesAllianceIDCorporationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlliancesAllianceIDCorporationsReader
- type GetAlliancesAllianceIDCorporationsServiceUnavailable
- type GetAlliancesAllianceIDEnhanceYourCalm
- type GetAlliancesAllianceIDGatewayTimeout
- type GetAlliancesAllianceIDIconsBadRequest
- type GetAlliancesAllianceIDIconsEnhanceYourCalm
- type GetAlliancesAllianceIDIconsGatewayTimeout
- type GetAlliancesAllianceIDIconsInternalServerError
- type GetAlliancesAllianceIDIconsNotFound
- type GetAlliancesAllianceIDIconsNotFoundBody
- func (o *GetAlliancesAllianceIDIconsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAlliancesAllianceIDIconsNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *GetAlliancesAllianceIDIconsNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *GetAlliancesAllianceIDIconsNotFoundBody) Validate(formats strfmt.Registry) error
- type GetAlliancesAllianceIDIconsNotModified
- type GetAlliancesAllianceIDIconsOK
- type GetAlliancesAllianceIDIconsOKBody
- func (o *GetAlliancesAllianceIDIconsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAlliancesAllianceIDIconsOKBody) MarshalBinary() ([]byte, error)
- func (o *GetAlliancesAllianceIDIconsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetAlliancesAllianceIDIconsOKBody) Validate(formats strfmt.Registry) error
- type GetAlliancesAllianceIDIconsParams
- func NewGetAlliancesAllianceIDIconsParams() *GetAlliancesAllianceIDIconsParams
- func NewGetAlliancesAllianceIDIconsParamsWithContext(ctx context.Context) *GetAlliancesAllianceIDIconsParams
- func NewGetAlliancesAllianceIDIconsParamsWithHTTPClient(client *http.Client) *GetAlliancesAllianceIDIconsParams
- func NewGetAlliancesAllianceIDIconsParamsWithTimeout(timeout time.Duration) *GetAlliancesAllianceIDIconsParams
- func (o *GetAlliancesAllianceIDIconsParams) SetAllianceID(allianceID int32)
- func (o *GetAlliancesAllianceIDIconsParams) SetContext(ctx context.Context)
- func (o *GetAlliancesAllianceIDIconsParams) SetDatasource(datasource *string)
- func (o *GetAlliancesAllianceIDIconsParams) SetDefaults()
- func (o *GetAlliancesAllianceIDIconsParams) SetHTTPClient(client *http.Client)
- func (o *GetAlliancesAllianceIDIconsParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetAlliancesAllianceIDIconsParams) SetTimeout(timeout time.Duration)
- func (o *GetAlliancesAllianceIDIconsParams) WithAllianceID(allianceID int32) *GetAlliancesAllianceIDIconsParams
- func (o *GetAlliancesAllianceIDIconsParams) WithContext(ctx context.Context) *GetAlliancesAllianceIDIconsParams
- func (o *GetAlliancesAllianceIDIconsParams) WithDatasource(datasource *string) *GetAlliancesAllianceIDIconsParams
- func (o *GetAlliancesAllianceIDIconsParams) WithDefaults() *GetAlliancesAllianceIDIconsParams
- func (o *GetAlliancesAllianceIDIconsParams) WithHTTPClient(client *http.Client) *GetAlliancesAllianceIDIconsParams
- func (o *GetAlliancesAllianceIDIconsParams) WithIfNoneMatch(ifNoneMatch *string) *GetAlliancesAllianceIDIconsParams
- func (o *GetAlliancesAllianceIDIconsParams) WithTimeout(timeout time.Duration) *GetAlliancesAllianceIDIconsParams
- func (o *GetAlliancesAllianceIDIconsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlliancesAllianceIDIconsReader
- type GetAlliancesAllianceIDIconsServiceUnavailable
- type GetAlliancesAllianceIDInternalServerError
- type GetAlliancesAllianceIDNotFound
- type GetAlliancesAllianceIDNotFoundBody
- func (o *GetAlliancesAllianceIDNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAlliancesAllianceIDNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *GetAlliancesAllianceIDNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *GetAlliancesAllianceIDNotFoundBody) Validate(formats strfmt.Registry) error
- type GetAlliancesAllianceIDNotModified
- type GetAlliancesAllianceIDOK
- type GetAlliancesAllianceIDOKBody
- func (o *GetAlliancesAllianceIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetAlliancesAllianceIDOKBody) MarshalBinary() ([]byte, error)
- func (o *GetAlliancesAllianceIDOKBody) UnmarshalBinary(b []byte) error
- func (o *GetAlliancesAllianceIDOKBody) Validate(formats strfmt.Registry) error
- type GetAlliancesAllianceIDParams
- func NewGetAlliancesAllianceIDParams() *GetAlliancesAllianceIDParams
- func NewGetAlliancesAllianceIDParamsWithContext(ctx context.Context) *GetAlliancesAllianceIDParams
- func NewGetAlliancesAllianceIDParamsWithHTTPClient(client *http.Client) *GetAlliancesAllianceIDParams
- func NewGetAlliancesAllianceIDParamsWithTimeout(timeout time.Duration) *GetAlliancesAllianceIDParams
- func (o *GetAlliancesAllianceIDParams) SetAllianceID(allianceID int32)
- func (o *GetAlliancesAllianceIDParams) SetContext(ctx context.Context)
- func (o *GetAlliancesAllianceIDParams) SetDatasource(datasource *string)
- func (o *GetAlliancesAllianceIDParams) SetDefaults()
- func (o *GetAlliancesAllianceIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAlliancesAllianceIDParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetAlliancesAllianceIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAlliancesAllianceIDParams) WithAllianceID(allianceID int32) *GetAlliancesAllianceIDParams
- func (o *GetAlliancesAllianceIDParams) WithContext(ctx context.Context) *GetAlliancesAllianceIDParams
- func (o *GetAlliancesAllianceIDParams) WithDatasource(datasource *string) *GetAlliancesAllianceIDParams
- func (o *GetAlliancesAllianceIDParams) WithDefaults() *GetAlliancesAllianceIDParams
- func (o *GetAlliancesAllianceIDParams) WithHTTPClient(client *http.Client) *GetAlliancesAllianceIDParams
- func (o *GetAlliancesAllianceIDParams) WithIfNoneMatch(ifNoneMatch *string) *GetAlliancesAllianceIDParams
- func (o *GetAlliancesAllianceIDParams) WithTimeout(timeout time.Duration) *GetAlliancesAllianceIDParams
- func (o *GetAlliancesAllianceIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlliancesAllianceIDReader
- type GetAlliancesAllianceIDServiceUnavailable
- type GetAlliancesBadRequest
- type GetAlliancesEnhanceYourCalm
- type GetAlliancesGatewayTimeout
- type GetAlliancesInternalServerError
- type GetAlliancesNotModified
- type GetAlliancesOK
- type GetAlliancesParams
- func (o *GetAlliancesParams) SetContext(ctx context.Context)
- func (o *GetAlliancesParams) SetDatasource(datasource *string)
- func (o *GetAlliancesParams) SetDefaults()
- func (o *GetAlliancesParams) SetHTTPClient(client *http.Client)
- func (o *GetAlliancesParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetAlliancesParams) SetTimeout(timeout time.Duration)
- func (o *GetAlliancesParams) WithContext(ctx context.Context) *GetAlliancesParams
- func (o *GetAlliancesParams) WithDatasource(datasource *string) *GetAlliancesParams
- func (o *GetAlliancesParams) WithDefaults() *GetAlliancesParams
- func (o *GetAlliancesParams) WithHTTPClient(client *http.Client) *GetAlliancesParams
- func (o *GetAlliancesParams) WithIfNoneMatch(ifNoneMatch *string) *GetAlliancesParams
- func (o *GetAlliancesParams) WithTimeout(timeout time.Duration) *GetAlliancesParams
- func (o *GetAlliancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlliancesReader
- type GetAlliancesServiceUnavailable
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 alliance API
func (*Client) GetAlliances ¶
func (a *Client) GetAlliances(params *GetAlliancesParams, opts ...ClientOption) (*GetAlliancesOK, error)
GetAlliances lists all alliances List all active player alliances
---
This route is cached for up to 3600 seconds
func (*Client) GetAlliancesAllianceID ¶
func (a *Client) GetAlliancesAllianceID(params *GetAlliancesAllianceIDParams, opts ...ClientOption) (*GetAlliancesAllianceIDOK, error)
GetAlliancesAllianceID gets alliance information Public information about an alliance
---
This route is cached for up to 3600 seconds
func (*Client) GetAlliancesAllianceIDCorporations ¶
func (a *Client) GetAlliancesAllianceIDCorporations(params *GetAlliancesAllianceIDCorporationsParams, opts ...ClientOption) (*GetAlliancesAllianceIDCorporationsOK, error)
GetAlliancesAllianceIDCorporations lists alliance s corporations List all current member corporations of an alliance
---
This route is cached for up to 3600 seconds
func (*Client) GetAlliancesAllianceIDIcons ¶
func (a *Client) GetAlliancesAllianceIDIcons(params *GetAlliancesAllianceIDIconsParams, opts ...ClientOption) (*GetAlliancesAllianceIDIconsOK, error)
GetAlliancesAllianceIDIcons gets alliance icon Get the icon urls for a alliance
---
This route expires daily at 11:05
--- [Diff of the upcoming changes](https://esi.evetech.net/diff/latest/dev/#GET-/alliances/{alliance_id}/icons/)
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 { GetAlliances(params *GetAlliancesParams, opts ...ClientOption) (*GetAlliancesOK, error) GetAlliancesAllianceID(params *GetAlliancesAllianceIDParams, opts ...ClientOption) (*GetAlliancesAllianceIDOK, error) GetAlliancesAllianceIDCorporations(params *GetAlliancesAllianceIDCorporationsParams, opts ...ClientOption) (*GetAlliancesAllianceIDCorporationsOK, error) GetAlliancesAllianceIDIcons(params *GetAlliancesAllianceIDIconsParams, opts ...ClientOption) (*GetAlliancesAllianceIDIconsOK, 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 alliance API client.
type GetAlliancesAllianceIDBadRequest ¶
type GetAlliancesAllianceIDBadRequest struct {
Payload *models.BadRequest
}
GetAlliancesAllianceIDBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetAlliancesAllianceIDBadRequest ¶
func NewGetAlliancesAllianceIDBadRequest() *GetAlliancesAllianceIDBadRequest
NewGetAlliancesAllianceIDBadRequest creates a GetAlliancesAllianceIDBadRequest with default headers values
func (*GetAlliancesAllianceIDBadRequest) Error ¶
func (o *GetAlliancesAllianceIDBadRequest) Error() string
func (*GetAlliancesAllianceIDBadRequest) GetPayload ¶
func (o *GetAlliancesAllianceIDBadRequest) GetPayload() *models.BadRequest
type GetAlliancesAllianceIDCorporationsBadRequest ¶
type GetAlliancesAllianceIDCorporationsBadRequest struct {
Payload *models.BadRequest
}
GetAlliancesAllianceIDCorporationsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetAlliancesAllianceIDCorporationsBadRequest ¶
func NewGetAlliancesAllianceIDCorporationsBadRequest() *GetAlliancesAllianceIDCorporationsBadRequest
NewGetAlliancesAllianceIDCorporationsBadRequest creates a GetAlliancesAllianceIDCorporationsBadRequest with default headers values
func (*GetAlliancesAllianceIDCorporationsBadRequest) Error ¶
func (o *GetAlliancesAllianceIDCorporationsBadRequest) Error() string
func (*GetAlliancesAllianceIDCorporationsBadRequest) GetPayload ¶
func (o *GetAlliancesAllianceIDCorporationsBadRequest) GetPayload() *models.BadRequest
type GetAlliancesAllianceIDCorporationsEnhanceYourCalm ¶
type GetAlliancesAllianceIDCorporationsEnhanceYourCalm struct {
Payload *models.ErrorLimited
}
GetAlliancesAllianceIDCorporationsEnhanceYourCalm describes a response with status code 420, with default header values.
Error limited
func NewGetAlliancesAllianceIDCorporationsEnhanceYourCalm ¶
func NewGetAlliancesAllianceIDCorporationsEnhanceYourCalm() *GetAlliancesAllianceIDCorporationsEnhanceYourCalm
NewGetAlliancesAllianceIDCorporationsEnhanceYourCalm creates a GetAlliancesAllianceIDCorporationsEnhanceYourCalm with default headers values
func (*GetAlliancesAllianceIDCorporationsEnhanceYourCalm) Error ¶
func (o *GetAlliancesAllianceIDCorporationsEnhanceYourCalm) Error() string
func (*GetAlliancesAllianceIDCorporationsEnhanceYourCalm) GetPayload ¶
func (o *GetAlliancesAllianceIDCorporationsEnhanceYourCalm) GetPayload() *models.ErrorLimited
type GetAlliancesAllianceIDCorporationsGatewayTimeout ¶
type GetAlliancesAllianceIDCorporationsGatewayTimeout struct {
Payload *models.GatewayTimeout
}
GetAlliancesAllianceIDCorporationsGatewayTimeout describes a response with status code 504, with default header values.
Gateway timeout
func NewGetAlliancesAllianceIDCorporationsGatewayTimeout ¶
func NewGetAlliancesAllianceIDCorporationsGatewayTimeout() *GetAlliancesAllianceIDCorporationsGatewayTimeout
NewGetAlliancesAllianceIDCorporationsGatewayTimeout creates a GetAlliancesAllianceIDCorporationsGatewayTimeout with default headers values
func (*GetAlliancesAllianceIDCorporationsGatewayTimeout) Error ¶
func (o *GetAlliancesAllianceIDCorporationsGatewayTimeout) Error() string
func (*GetAlliancesAllianceIDCorporationsGatewayTimeout) GetPayload ¶
func (o *GetAlliancesAllianceIDCorporationsGatewayTimeout) GetPayload() *models.GatewayTimeout
type GetAlliancesAllianceIDCorporationsInternalServerError ¶
type GetAlliancesAllianceIDCorporationsInternalServerError struct {
Payload *models.InternalServerError
}
GetAlliancesAllianceIDCorporationsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetAlliancesAllianceIDCorporationsInternalServerError ¶
func NewGetAlliancesAllianceIDCorporationsInternalServerError() *GetAlliancesAllianceIDCorporationsInternalServerError
NewGetAlliancesAllianceIDCorporationsInternalServerError creates a GetAlliancesAllianceIDCorporationsInternalServerError with default headers values
func (*GetAlliancesAllianceIDCorporationsInternalServerError) Error ¶
func (o *GetAlliancesAllianceIDCorporationsInternalServerError) Error() string
func (*GetAlliancesAllianceIDCorporationsInternalServerError) GetPayload ¶
func (o *GetAlliancesAllianceIDCorporationsInternalServerError) GetPayload() *models.InternalServerError
type GetAlliancesAllianceIDCorporationsNotModified ¶
type GetAlliancesAllianceIDCorporationsNotModified 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 }
GetAlliancesAllianceIDCorporationsNotModified describes a response with status code 304, with default header values.
Not modified
func NewGetAlliancesAllianceIDCorporationsNotModified ¶
func NewGetAlliancesAllianceIDCorporationsNotModified() *GetAlliancesAllianceIDCorporationsNotModified
NewGetAlliancesAllianceIDCorporationsNotModified creates a GetAlliancesAllianceIDCorporationsNotModified with default headers values
func (*GetAlliancesAllianceIDCorporationsNotModified) Error ¶
func (o *GetAlliancesAllianceIDCorporationsNotModified) Error() string
type GetAlliancesAllianceIDCorporationsOK ¶
type GetAlliancesAllianceIDCorporationsOK 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 }
GetAlliancesAllianceIDCorporationsOK describes a response with status code 200, with default header values.
List of corporation IDs
func NewGetAlliancesAllianceIDCorporationsOK ¶
func NewGetAlliancesAllianceIDCorporationsOK() *GetAlliancesAllianceIDCorporationsOK
NewGetAlliancesAllianceIDCorporationsOK creates a GetAlliancesAllianceIDCorporationsOK with default headers values
func (*GetAlliancesAllianceIDCorporationsOK) Error ¶
func (o *GetAlliancesAllianceIDCorporationsOK) Error() string
func (*GetAlliancesAllianceIDCorporationsOK) GetPayload ¶
func (o *GetAlliancesAllianceIDCorporationsOK) GetPayload() []*int32
type GetAlliancesAllianceIDCorporationsParams ¶
type GetAlliancesAllianceIDCorporationsParams struct { /* IfNoneMatch. ETag from a previous request. A 304 will be returned if this matches the current ETag */ IfNoneMatch *string /* AllianceID. An EVE alliance ID Format: int32 */ AllianceID int32 /* Datasource. The server name you would like data from Default: "tranquility" */ Datasource *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAlliancesAllianceIDCorporationsParams contains all the parameters to send to the API endpoint
for the get alliances alliance id corporations operation. Typically these are written to a http.Request.
func NewGetAlliancesAllianceIDCorporationsParams ¶
func NewGetAlliancesAllianceIDCorporationsParams() *GetAlliancesAllianceIDCorporationsParams
NewGetAlliancesAllianceIDCorporationsParams creates a new GetAlliancesAllianceIDCorporationsParams 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 NewGetAlliancesAllianceIDCorporationsParamsWithContext ¶
func NewGetAlliancesAllianceIDCorporationsParamsWithContext(ctx context.Context) *GetAlliancesAllianceIDCorporationsParams
NewGetAlliancesAllianceIDCorporationsParamsWithContext creates a new GetAlliancesAllianceIDCorporationsParams object with the ability to set a context for a request.
func NewGetAlliancesAllianceIDCorporationsParamsWithHTTPClient ¶
func NewGetAlliancesAllianceIDCorporationsParamsWithHTTPClient(client *http.Client) *GetAlliancesAllianceIDCorporationsParams
NewGetAlliancesAllianceIDCorporationsParamsWithHTTPClient creates a new GetAlliancesAllianceIDCorporationsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAlliancesAllianceIDCorporationsParamsWithTimeout ¶
func NewGetAlliancesAllianceIDCorporationsParamsWithTimeout(timeout time.Duration) *GetAlliancesAllianceIDCorporationsParams
NewGetAlliancesAllianceIDCorporationsParamsWithTimeout creates a new GetAlliancesAllianceIDCorporationsParams object with the ability to set a timeout on a request.
func (*GetAlliancesAllianceIDCorporationsParams) SetAllianceID ¶
func (o *GetAlliancesAllianceIDCorporationsParams) SetAllianceID(allianceID int32)
SetAllianceID adds the allianceId to the get alliances alliance id corporations params
func (*GetAlliancesAllianceIDCorporationsParams) SetContext ¶
func (o *GetAlliancesAllianceIDCorporationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get alliances alliance id corporations params
func (*GetAlliancesAllianceIDCorporationsParams) SetDatasource ¶
func (o *GetAlliancesAllianceIDCorporationsParams) SetDatasource(datasource *string)
SetDatasource adds the datasource to the get alliances alliance id corporations params
func (*GetAlliancesAllianceIDCorporationsParams) SetDefaults ¶ added in v0.3.0
func (o *GetAlliancesAllianceIDCorporationsParams) SetDefaults()
SetDefaults hydrates default values in the get alliances alliance id corporations params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlliancesAllianceIDCorporationsParams) SetHTTPClient ¶
func (o *GetAlliancesAllianceIDCorporationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get alliances alliance id corporations params
func (*GetAlliancesAllianceIDCorporationsParams) SetIfNoneMatch ¶
func (o *GetAlliancesAllianceIDCorporationsParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get alliances alliance id corporations params
func (*GetAlliancesAllianceIDCorporationsParams) SetTimeout ¶
func (o *GetAlliancesAllianceIDCorporationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get alliances alliance id corporations params
func (*GetAlliancesAllianceIDCorporationsParams) WithAllianceID ¶
func (o *GetAlliancesAllianceIDCorporationsParams) WithAllianceID(allianceID int32) *GetAlliancesAllianceIDCorporationsParams
WithAllianceID adds the allianceID to the get alliances alliance id corporations params
func (*GetAlliancesAllianceIDCorporationsParams) WithContext ¶
func (o *GetAlliancesAllianceIDCorporationsParams) WithContext(ctx context.Context) *GetAlliancesAllianceIDCorporationsParams
WithContext adds the context to the get alliances alliance id corporations params
func (*GetAlliancesAllianceIDCorporationsParams) WithDatasource ¶
func (o *GetAlliancesAllianceIDCorporationsParams) WithDatasource(datasource *string) *GetAlliancesAllianceIDCorporationsParams
WithDatasource adds the datasource to the get alliances alliance id corporations params
func (*GetAlliancesAllianceIDCorporationsParams) WithDefaults ¶ added in v0.3.0
func (o *GetAlliancesAllianceIDCorporationsParams) WithDefaults() *GetAlliancesAllianceIDCorporationsParams
WithDefaults hydrates default values in the get alliances alliance id corporations params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlliancesAllianceIDCorporationsParams) WithHTTPClient ¶
func (o *GetAlliancesAllianceIDCorporationsParams) WithHTTPClient(client *http.Client) *GetAlliancesAllianceIDCorporationsParams
WithHTTPClient adds the HTTPClient to the get alliances alliance id corporations params
func (*GetAlliancesAllianceIDCorporationsParams) WithIfNoneMatch ¶
func (o *GetAlliancesAllianceIDCorporationsParams) WithIfNoneMatch(ifNoneMatch *string) *GetAlliancesAllianceIDCorporationsParams
WithIfNoneMatch adds the ifNoneMatch to the get alliances alliance id corporations params
func (*GetAlliancesAllianceIDCorporationsParams) WithTimeout ¶
func (o *GetAlliancesAllianceIDCorporationsParams) WithTimeout(timeout time.Duration) *GetAlliancesAllianceIDCorporationsParams
WithTimeout adds the timeout to the get alliances alliance id corporations params
func (*GetAlliancesAllianceIDCorporationsParams) WriteToRequest ¶
func (o *GetAlliancesAllianceIDCorporationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAlliancesAllianceIDCorporationsReader ¶
type GetAlliancesAllianceIDCorporationsReader struct {
// contains filtered or unexported fields
}
GetAlliancesAllianceIDCorporationsReader is a Reader for the GetAlliancesAllianceIDCorporations structure.
func (*GetAlliancesAllianceIDCorporationsReader) ReadResponse ¶
func (o *GetAlliancesAllianceIDCorporationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAlliancesAllianceIDCorporationsServiceUnavailable ¶
type GetAlliancesAllianceIDCorporationsServiceUnavailable struct {
}GetAlliancesAllianceIDCorporationsServiceUnavailable describes a response with status code 503, with default header values.
Service unavailable
func NewGetAlliancesAllianceIDCorporationsServiceUnavailable ¶
func NewGetAlliancesAllianceIDCorporationsServiceUnavailable() *GetAlliancesAllianceIDCorporationsServiceUnavailable
NewGetAlliancesAllianceIDCorporationsServiceUnavailable creates a GetAlliancesAllianceIDCorporationsServiceUnavailable with default headers values
func (*GetAlliancesAllianceIDCorporationsServiceUnavailable) Error ¶
func (o *GetAlliancesAllianceIDCorporationsServiceUnavailable) Error() string
func (*GetAlliancesAllianceIDCorporationsServiceUnavailable) GetPayload ¶
func (o *GetAlliancesAllianceIDCorporationsServiceUnavailable) GetPayload() *models.ServiceUnavailable
type GetAlliancesAllianceIDEnhanceYourCalm ¶
type GetAlliancesAllianceIDEnhanceYourCalm struct {
Payload *models.ErrorLimited
}
GetAlliancesAllianceIDEnhanceYourCalm describes a response with status code 420, with default header values.
Error limited
func NewGetAlliancesAllianceIDEnhanceYourCalm ¶
func NewGetAlliancesAllianceIDEnhanceYourCalm() *GetAlliancesAllianceIDEnhanceYourCalm
NewGetAlliancesAllianceIDEnhanceYourCalm creates a GetAlliancesAllianceIDEnhanceYourCalm with default headers values
func (*GetAlliancesAllianceIDEnhanceYourCalm) Error ¶
func (o *GetAlliancesAllianceIDEnhanceYourCalm) Error() string
func (*GetAlliancesAllianceIDEnhanceYourCalm) GetPayload ¶
func (o *GetAlliancesAllianceIDEnhanceYourCalm) GetPayload() *models.ErrorLimited
type GetAlliancesAllianceIDGatewayTimeout ¶
type GetAlliancesAllianceIDGatewayTimeout struct {
Payload *models.GatewayTimeout
}
GetAlliancesAllianceIDGatewayTimeout describes a response with status code 504, with default header values.
Gateway timeout
func NewGetAlliancesAllianceIDGatewayTimeout ¶
func NewGetAlliancesAllianceIDGatewayTimeout() *GetAlliancesAllianceIDGatewayTimeout
NewGetAlliancesAllianceIDGatewayTimeout creates a GetAlliancesAllianceIDGatewayTimeout with default headers values
func (*GetAlliancesAllianceIDGatewayTimeout) Error ¶
func (o *GetAlliancesAllianceIDGatewayTimeout) Error() string
func (*GetAlliancesAllianceIDGatewayTimeout) GetPayload ¶
func (o *GetAlliancesAllianceIDGatewayTimeout) GetPayload() *models.GatewayTimeout
type GetAlliancesAllianceIDIconsBadRequest ¶
type GetAlliancesAllianceIDIconsBadRequest struct {
Payload *models.BadRequest
}
GetAlliancesAllianceIDIconsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetAlliancesAllianceIDIconsBadRequest ¶
func NewGetAlliancesAllianceIDIconsBadRequest() *GetAlliancesAllianceIDIconsBadRequest
NewGetAlliancesAllianceIDIconsBadRequest creates a GetAlliancesAllianceIDIconsBadRequest with default headers values
func (*GetAlliancesAllianceIDIconsBadRequest) Error ¶
func (o *GetAlliancesAllianceIDIconsBadRequest) Error() string
func (*GetAlliancesAllianceIDIconsBadRequest) GetPayload ¶
func (o *GetAlliancesAllianceIDIconsBadRequest) GetPayload() *models.BadRequest
type GetAlliancesAllianceIDIconsEnhanceYourCalm ¶
type GetAlliancesAllianceIDIconsEnhanceYourCalm struct {
Payload *models.ErrorLimited
}
GetAlliancesAllianceIDIconsEnhanceYourCalm describes a response with status code 420, with default header values.
Error limited
func NewGetAlliancesAllianceIDIconsEnhanceYourCalm ¶
func NewGetAlliancesAllianceIDIconsEnhanceYourCalm() *GetAlliancesAllianceIDIconsEnhanceYourCalm
NewGetAlliancesAllianceIDIconsEnhanceYourCalm creates a GetAlliancesAllianceIDIconsEnhanceYourCalm with default headers values
func (*GetAlliancesAllianceIDIconsEnhanceYourCalm) Error ¶
func (o *GetAlliancesAllianceIDIconsEnhanceYourCalm) Error() string
func (*GetAlliancesAllianceIDIconsEnhanceYourCalm) GetPayload ¶
func (o *GetAlliancesAllianceIDIconsEnhanceYourCalm) GetPayload() *models.ErrorLimited
type GetAlliancesAllianceIDIconsGatewayTimeout ¶
type GetAlliancesAllianceIDIconsGatewayTimeout struct {
Payload *models.GatewayTimeout
}
GetAlliancesAllianceIDIconsGatewayTimeout describes a response with status code 504, with default header values.
Gateway timeout
func NewGetAlliancesAllianceIDIconsGatewayTimeout ¶
func NewGetAlliancesAllianceIDIconsGatewayTimeout() *GetAlliancesAllianceIDIconsGatewayTimeout
NewGetAlliancesAllianceIDIconsGatewayTimeout creates a GetAlliancesAllianceIDIconsGatewayTimeout with default headers values
func (*GetAlliancesAllianceIDIconsGatewayTimeout) Error ¶
func (o *GetAlliancesAllianceIDIconsGatewayTimeout) Error() string
func (*GetAlliancesAllianceIDIconsGatewayTimeout) GetPayload ¶
func (o *GetAlliancesAllianceIDIconsGatewayTimeout) GetPayload() *models.GatewayTimeout
type GetAlliancesAllianceIDIconsInternalServerError ¶
type GetAlliancesAllianceIDIconsInternalServerError struct {
Payload *models.InternalServerError
}
GetAlliancesAllianceIDIconsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetAlliancesAllianceIDIconsInternalServerError ¶
func NewGetAlliancesAllianceIDIconsInternalServerError() *GetAlliancesAllianceIDIconsInternalServerError
NewGetAlliancesAllianceIDIconsInternalServerError creates a GetAlliancesAllianceIDIconsInternalServerError with default headers values
func (*GetAlliancesAllianceIDIconsInternalServerError) Error ¶
func (o *GetAlliancesAllianceIDIconsInternalServerError) Error() string
func (*GetAlliancesAllianceIDIconsInternalServerError) GetPayload ¶
func (o *GetAlliancesAllianceIDIconsInternalServerError) GetPayload() *models.InternalServerError
type GetAlliancesAllianceIDIconsNotFound ¶
type GetAlliancesAllianceIDIconsNotFound struct {
Payload *GetAlliancesAllianceIDIconsNotFoundBody
}
GetAlliancesAllianceIDIconsNotFound describes a response with status code 404, with default header values.
No image server for this datasource
func NewGetAlliancesAllianceIDIconsNotFound ¶
func NewGetAlliancesAllianceIDIconsNotFound() *GetAlliancesAllianceIDIconsNotFound
NewGetAlliancesAllianceIDIconsNotFound creates a GetAlliancesAllianceIDIconsNotFound with default headers values
func (*GetAlliancesAllianceIDIconsNotFound) Error ¶
func (o *GetAlliancesAllianceIDIconsNotFound) Error() string
func (*GetAlliancesAllianceIDIconsNotFound) GetPayload ¶
func (o *GetAlliancesAllianceIDIconsNotFound) GetPayload() *GetAlliancesAllianceIDIconsNotFoundBody
type GetAlliancesAllianceIDIconsNotFoundBody ¶
type GetAlliancesAllianceIDIconsNotFoundBody struct { // get_alliances_alliance_id_icons_error // // error message Error string `json:"error,omitempty"` }
GetAlliancesAllianceIDIconsNotFoundBody get_alliances_alliance_id_icons_not_found // // No image server for this datasource swagger:model GetAlliancesAllianceIDIconsNotFoundBody
func (*GetAlliancesAllianceIDIconsNotFoundBody) ContextValidate ¶ added in v0.3.0
func (o *GetAlliancesAllianceIDIconsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get alliances alliance ID icons not found body based on context it is used
func (*GetAlliancesAllianceIDIconsNotFoundBody) MarshalBinary ¶
func (o *GetAlliancesAllianceIDIconsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAlliancesAllianceIDIconsNotFoundBody) UnmarshalBinary ¶
func (o *GetAlliancesAllianceIDIconsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAlliancesAllianceIDIconsNotModified ¶
type GetAlliancesAllianceIDIconsNotModified 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 }
GetAlliancesAllianceIDIconsNotModified describes a response with status code 304, with default header values.
Not modified
func NewGetAlliancesAllianceIDIconsNotModified ¶
func NewGetAlliancesAllianceIDIconsNotModified() *GetAlliancesAllianceIDIconsNotModified
NewGetAlliancesAllianceIDIconsNotModified creates a GetAlliancesAllianceIDIconsNotModified with default headers values
func (*GetAlliancesAllianceIDIconsNotModified) Error ¶
func (o *GetAlliancesAllianceIDIconsNotModified) Error() string
type GetAlliancesAllianceIDIconsOK ¶
type GetAlliancesAllianceIDIconsOK 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 *GetAlliancesAllianceIDIconsOKBody }
GetAlliancesAllianceIDIconsOK describes a response with status code 200, with default header values.
Icon URLs for the given alliance id and server
func NewGetAlliancesAllianceIDIconsOK ¶
func NewGetAlliancesAllianceIDIconsOK() *GetAlliancesAllianceIDIconsOK
NewGetAlliancesAllianceIDIconsOK creates a GetAlliancesAllianceIDIconsOK with default headers values
func (*GetAlliancesAllianceIDIconsOK) Error ¶
func (o *GetAlliancesAllianceIDIconsOK) Error() string
func (*GetAlliancesAllianceIDIconsOK) GetPayload ¶
func (o *GetAlliancesAllianceIDIconsOK) GetPayload() *GetAlliancesAllianceIDIconsOKBody
type GetAlliancesAllianceIDIconsOKBody ¶
type GetAlliancesAllianceIDIconsOKBody struct { // get_alliances_alliance_id_icons_px128x128 // // px128x128 string Px128x128 string `json:"px128x128,omitempty"` // get_alliances_alliance_id_icons_px64x64 // // px64x64 string Px64x64 string `json:"px64x64,omitempty"` }
GetAlliancesAllianceIDIconsOKBody get_alliances_alliance_id_icons_ok // // 200 ok object swagger:model GetAlliancesAllianceIDIconsOKBody
func (*GetAlliancesAllianceIDIconsOKBody) ContextValidate ¶ added in v0.3.0
func (o *GetAlliancesAllianceIDIconsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get alliances alliance ID icons o k body based on context it is used
func (*GetAlliancesAllianceIDIconsOKBody) MarshalBinary ¶
func (o *GetAlliancesAllianceIDIconsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAlliancesAllianceIDIconsOKBody) UnmarshalBinary ¶
func (o *GetAlliancesAllianceIDIconsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAlliancesAllianceIDIconsParams ¶
type GetAlliancesAllianceIDIconsParams struct { /* IfNoneMatch. ETag from a previous request. A 304 will be returned if this matches the current ETag */ IfNoneMatch *string /* AllianceID. An EVE alliance ID Format: int32 */ AllianceID int32 /* Datasource. The server name you would like data from Default: "tranquility" */ Datasource *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAlliancesAllianceIDIconsParams contains all the parameters to send to the API endpoint
for the get alliances alliance id icons operation. Typically these are written to a http.Request.
func NewGetAlliancesAllianceIDIconsParams ¶
func NewGetAlliancesAllianceIDIconsParams() *GetAlliancesAllianceIDIconsParams
NewGetAlliancesAllianceIDIconsParams creates a new GetAlliancesAllianceIDIconsParams 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 NewGetAlliancesAllianceIDIconsParamsWithContext ¶
func NewGetAlliancesAllianceIDIconsParamsWithContext(ctx context.Context) *GetAlliancesAllianceIDIconsParams
NewGetAlliancesAllianceIDIconsParamsWithContext creates a new GetAlliancesAllianceIDIconsParams object with the ability to set a context for a request.
func NewGetAlliancesAllianceIDIconsParamsWithHTTPClient ¶
func NewGetAlliancesAllianceIDIconsParamsWithHTTPClient(client *http.Client) *GetAlliancesAllianceIDIconsParams
NewGetAlliancesAllianceIDIconsParamsWithHTTPClient creates a new GetAlliancesAllianceIDIconsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAlliancesAllianceIDIconsParamsWithTimeout ¶
func NewGetAlliancesAllianceIDIconsParamsWithTimeout(timeout time.Duration) *GetAlliancesAllianceIDIconsParams
NewGetAlliancesAllianceIDIconsParamsWithTimeout creates a new GetAlliancesAllianceIDIconsParams object with the ability to set a timeout on a request.
func (*GetAlliancesAllianceIDIconsParams) SetAllianceID ¶
func (o *GetAlliancesAllianceIDIconsParams) SetAllianceID(allianceID int32)
SetAllianceID adds the allianceId to the get alliances alliance id icons params
func (*GetAlliancesAllianceIDIconsParams) SetContext ¶
func (o *GetAlliancesAllianceIDIconsParams) SetContext(ctx context.Context)
SetContext adds the context to the get alliances alliance id icons params
func (*GetAlliancesAllianceIDIconsParams) SetDatasource ¶
func (o *GetAlliancesAllianceIDIconsParams) SetDatasource(datasource *string)
SetDatasource adds the datasource to the get alliances alliance id icons params
func (*GetAlliancesAllianceIDIconsParams) SetDefaults ¶ added in v0.3.0
func (o *GetAlliancesAllianceIDIconsParams) SetDefaults()
SetDefaults hydrates default values in the get alliances alliance id icons params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlliancesAllianceIDIconsParams) SetHTTPClient ¶
func (o *GetAlliancesAllianceIDIconsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get alliances alliance id icons params
func (*GetAlliancesAllianceIDIconsParams) SetIfNoneMatch ¶
func (o *GetAlliancesAllianceIDIconsParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get alliances alliance id icons params
func (*GetAlliancesAllianceIDIconsParams) SetTimeout ¶
func (o *GetAlliancesAllianceIDIconsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get alliances alliance id icons params
func (*GetAlliancesAllianceIDIconsParams) WithAllianceID ¶
func (o *GetAlliancesAllianceIDIconsParams) WithAllianceID(allianceID int32) *GetAlliancesAllianceIDIconsParams
WithAllianceID adds the allianceID to the get alliances alliance id icons params
func (*GetAlliancesAllianceIDIconsParams) WithContext ¶
func (o *GetAlliancesAllianceIDIconsParams) WithContext(ctx context.Context) *GetAlliancesAllianceIDIconsParams
WithContext adds the context to the get alliances alliance id icons params
func (*GetAlliancesAllianceIDIconsParams) WithDatasource ¶
func (o *GetAlliancesAllianceIDIconsParams) WithDatasource(datasource *string) *GetAlliancesAllianceIDIconsParams
WithDatasource adds the datasource to the get alliances alliance id icons params
func (*GetAlliancesAllianceIDIconsParams) WithDefaults ¶ added in v0.3.0
func (o *GetAlliancesAllianceIDIconsParams) WithDefaults() *GetAlliancesAllianceIDIconsParams
WithDefaults hydrates default values in the get alliances alliance id icons params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlliancesAllianceIDIconsParams) WithHTTPClient ¶
func (o *GetAlliancesAllianceIDIconsParams) WithHTTPClient(client *http.Client) *GetAlliancesAllianceIDIconsParams
WithHTTPClient adds the HTTPClient to the get alliances alliance id icons params
func (*GetAlliancesAllianceIDIconsParams) WithIfNoneMatch ¶
func (o *GetAlliancesAllianceIDIconsParams) WithIfNoneMatch(ifNoneMatch *string) *GetAlliancesAllianceIDIconsParams
WithIfNoneMatch adds the ifNoneMatch to the get alliances alliance id icons params
func (*GetAlliancesAllianceIDIconsParams) WithTimeout ¶
func (o *GetAlliancesAllianceIDIconsParams) WithTimeout(timeout time.Duration) *GetAlliancesAllianceIDIconsParams
WithTimeout adds the timeout to the get alliances alliance id icons params
func (*GetAlliancesAllianceIDIconsParams) WriteToRequest ¶
func (o *GetAlliancesAllianceIDIconsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAlliancesAllianceIDIconsReader ¶
type GetAlliancesAllianceIDIconsReader struct {
// contains filtered or unexported fields
}
GetAlliancesAllianceIDIconsReader is a Reader for the GetAlliancesAllianceIDIcons structure.
func (*GetAlliancesAllianceIDIconsReader) ReadResponse ¶
func (o *GetAlliancesAllianceIDIconsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAlliancesAllianceIDIconsServiceUnavailable ¶
type GetAlliancesAllianceIDIconsServiceUnavailable struct {
}GetAlliancesAllianceIDIconsServiceUnavailable describes a response with status code 503, with default header values.
Service unavailable
func NewGetAlliancesAllianceIDIconsServiceUnavailable ¶
func NewGetAlliancesAllianceIDIconsServiceUnavailable() *GetAlliancesAllianceIDIconsServiceUnavailable
NewGetAlliancesAllianceIDIconsServiceUnavailable creates a GetAlliancesAllianceIDIconsServiceUnavailable with default headers values
func (*GetAlliancesAllianceIDIconsServiceUnavailable) Error ¶
func (o *GetAlliancesAllianceIDIconsServiceUnavailable) Error() string
func (*GetAlliancesAllianceIDIconsServiceUnavailable) GetPayload ¶
func (o *GetAlliancesAllianceIDIconsServiceUnavailable) GetPayload() *models.ServiceUnavailable
type GetAlliancesAllianceIDInternalServerError ¶
type GetAlliancesAllianceIDInternalServerError struct {
Payload *models.InternalServerError
}
GetAlliancesAllianceIDInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetAlliancesAllianceIDInternalServerError ¶
func NewGetAlliancesAllianceIDInternalServerError() *GetAlliancesAllianceIDInternalServerError
NewGetAlliancesAllianceIDInternalServerError creates a GetAlliancesAllianceIDInternalServerError with default headers values
func (*GetAlliancesAllianceIDInternalServerError) Error ¶
func (o *GetAlliancesAllianceIDInternalServerError) Error() string
func (*GetAlliancesAllianceIDInternalServerError) GetPayload ¶
func (o *GetAlliancesAllianceIDInternalServerError) GetPayload() *models.InternalServerError
type GetAlliancesAllianceIDNotFound ¶
type GetAlliancesAllianceIDNotFound struct {
Payload *GetAlliancesAllianceIDNotFoundBody
}
GetAlliancesAllianceIDNotFound describes a response with status code 404, with default header values.
Alliance not found
func NewGetAlliancesAllianceIDNotFound ¶
func NewGetAlliancesAllianceIDNotFound() *GetAlliancesAllianceIDNotFound
NewGetAlliancesAllianceIDNotFound creates a GetAlliancesAllianceIDNotFound with default headers values
func (*GetAlliancesAllianceIDNotFound) Error ¶
func (o *GetAlliancesAllianceIDNotFound) Error() string
func (*GetAlliancesAllianceIDNotFound) GetPayload ¶
func (o *GetAlliancesAllianceIDNotFound) GetPayload() *GetAlliancesAllianceIDNotFoundBody
type GetAlliancesAllianceIDNotFoundBody ¶
type GetAlliancesAllianceIDNotFoundBody struct { // get_alliances_alliance_id_404_not_found // // Not found message Error string `json:"error,omitempty"` }
GetAlliancesAllianceIDNotFoundBody get_alliances_alliance_id_not_found // // Not found swagger:model GetAlliancesAllianceIDNotFoundBody
func (*GetAlliancesAllianceIDNotFoundBody) ContextValidate ¶ added in v0.3.0
func (o *GetAlliancesAllianceIDNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get alliances alliance ID not found body based on context it is used
func (*GetAlliancesAllianceIDNotFoundBody) MarshalBinary ¶
func (o *GetAlliancesAllianceIDNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAlliancesAllianceIDNotFoundBody) UnmarshalBinary ¶
func (o *GetAlliancesAllianceIDNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAlliancesAllianceIDNotModified ¶
type GetAlliancesAllianceIDNotModified 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 }
GetAlliancesAllianceIDNotModified describes a response with status code 304, with default header values.
Not modified
func NewGetAlliancesAllianceIDNotModified ¶
func NewGetAlliancesAllianceIDNotModified() *GetAlliancesAllianceIDNotModified
NewGetAlliancesAllianceIDNotModified creates a GetAlliancesAllianceIDNotModified with default headers values
func (*GetAlliancesAllianceIDNotModified) Error ¶
func (o *GetAlliancesAllianceIDNotModified) Error() string
type GetAlliancesAllianceIDOK ¶
type GetAlliancesAllianceIDOK 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 *GetAlliancesAllianceIDOKBody }
GetAlliancesAllianceIDOK describes a response with status code 200, with default header values.
Public data about an alliance
func NewGetAlliancesAllianceIDOK ¶
func NewGetAlliancesAllianceIDOK() *GetAlliancesAllianceIDOK
NewGetAlliancesAllianceIDOK creates a GetAlliancesAllianceIDOK with default headers values
func (*GetAlliancesAllianceIDOK) Error ¶
func (o *GetAlliancesAllianceIDOK) Error() string
func (*GetAlliancesAllianceIDOK) GetPayload ¶
func (o *GetAlliancesAllianceIDOK) GetPayload() *GetAlliancesAllianceIDOKBody
type GetAlliancesAllianceIDOKBody ¶
type GetAlliancesAllianceIDOKBody struct { // get_alliances_alliance_id_creator_corporation_id // // ID of the corporation that created the alliance // Required: true CreatorCorporationID *int32 `json:"creator_corporation_id"` // get_alliances_alliance_id_creator_id // // ID of the character that created the alliance // Required: true CreatorID *int32 `json:"creator_id"` // get_alliances_alliance_id_date_founded // // date_founded string // Required: true // Format: date-time DateFounded *strfmt.DateTime `json:"date_founded"` // get_alliances_alliance_id_executor_corporation_id // // the executor corporation ID, if this alliance is not closed ExecutorCorporationID int32 `json:"executor_corporation_id,omitempty"` // get_alliances_alliance_id_faction_id // // Faction ID this alliance is fighting for, if this alliance is enlisted in factional warfare FactionID int32 `json:"faction_id,omitempty"` // get_alliances_alliance_id_name // // the full name of the alliance // Required: true Name *string `json:"name"` // get_alliances_alliance_id_ticker // // the short name of the alliance // Required: true Ticker *string `json:"ticker"` }
GetAlliancesAllianceIDOKBody get_alliances_alliance_id_ok // // 200 ok object swagger:model GetAlliancesAllianceIDOKBody
func (*GetAlliancesAllianceIDOKBody) ContextValidate ¶ added in v0.3.0
func (o *GetAlliancesAllianceIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get alliances alliance ID o k body based on context it is used
func (*GetAlliancesAllianceIDOKBody) MarshalBinary ¶
func (o *GetAlliancesAllianceIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAlliancesAllianceIDOKBody) UnmarshalBinary ¶
func (o *GetAlliancesAllianceIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAlliancesAllianceIDParams ¶
type GetAlliancesAllianceIDParams struct { /* IfNoneMatch. ETag from a previous request. A 304 will be returned if this matches the current ETag */ IfNoneMatch *string /* AllianceID. An EVE alliance ID Format: int32 */ AllianceID int32 /* Datasource. The server name you would like data from Default: "tranquility" */ Datasource *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAlliancesAllianceIDParams contains all the parameters to send to the API endpoint
for the get alliances alliance id operation. Typically these are written to a http.Request.
func NewGetAlliancesAllianceIDParams ¶
func NewGetAlliancesAllianceIDParams() *GetAlliancesAllianceIDParams
NewGetAlliancesAllianceIDParams creates a new GetAlliancesAllianceIDParams 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 NewGetAlliancesAllianceIDParamsWithContext ¶
func NewGetAlliancesAllianceIDParamsWithContext(ctx context.Context) *GetAlliancesAllianceIDParams
NewGetAlliancesAllianceIDParamsWithContext creates a new GetAlliancesAllianceIDParams object with the ability to set a context for a request.
func NewGetAlliancesAllianceIDParamsWithHTTPClient ¶
func NewGetAlliancesAllianceIDParamsWithHTTPClient(client *http.Client) *GetAlliancesAllianceIDParams
NewGetAlliancesAllianceIDParamsWithHTTPClient creates a new GetAlliancesAllianceIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAlliancesAllianceIDParamsWithTimeout ¶
func NewGetAlliancesAllianceIDParamsWithTimeout(timeout time.Duration) *GetAlliancesAllianceIDParams
NewGetAlliancesAllianceIDParamsWithTimeout creates a new GetAlliancesAllianceIDParams object with the ability to set a timeout on a request.
func (*GetAlliancesAllianceIDParams) SetAllianceID ¶
func (o *GetAlliancesAllianceIDParams) SetAllianceID(allianceID int32)
SetAllianceID adds the allianceId to the get alliances alliance id params
func (*GetAlliancesAllianceIDParams) SetContext ¶
func (o *GetAlliancesAllianceIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get alliances alliance id params
func (*GetAlliancesAllianceIDParams) SetDatasource ¶
func (o *GetAlliancesAllianceIDParams) SetDatasource(datasource *string)
SetDatasource adds the datasource to the get alliances alliance id params
func (*GetAlliancesAllianceIDParams) SetDefaults ¶ added in v0.3.0
func (o *GetAlliancesAllianceIDParams) SetDefaults()
SetDefaults hydrates default values in the get alliances alliance id params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlliancesAllianceIDParams) SetHTTPClient ¶
func (o *GetAlliancesAllianceIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get alliances alliance id params
func (*GetAlliancesAllianceIDParams) SetIfNoneMatch ¶
func (o *GetAlliancesAllianceIDParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get alliances alliance id params
func (*GetAlliancesAllianceIDParams) SetTimeout ¶
func (o *GetAlliancesAllianceIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get alliances alliance id params
func (*GetAlliancesAllianceIDParams) WithAllianceID ¶
func (o *GetAlliancesAllianceIDParams) WithAllianceID(allianceID int32) *GetAlliancesAllianceIDParams
WithAllianceID adds the allianceID to the get alliances alliance id params
func (*GetAlliancesAllianceIDParams) WithContext ¶
func (o *GetAlliancesAllianceIDParams) WithContext(ctx context.Context) *GetAlliancesAllianceIDParams
WithContext adds the context to the get alliances alliance id params
func (*GetAlliancesAllianceIDParams) WithDatasource ¶
func (o *GetAlliancesAllianceIDParams) WithDatasource(datasource *string) *GetAlliancesAllianceIDParams
WithDatasource adds the datasource to the get alliances alliance id params
func (*GetAlliancesAllianceIDParams) WithDefaults ¶ added in v0.3.0
func (o *GetAlliancesAllianceIDParams) WithDefaults() *GetAlliancesAllianceIDParams
WithDefaults hydrates default values in the get alliances alliance id params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlliancesAllianceIDParams) WithHTTPClient ¶
func (o *GetAlliancesAllianceIDParams) WithHTTPClient(client *http.Client) *GetAlliancesAllianceIDParams
WithHTTPClient adds the HTTPClient to the get alliances alliance id params
func (*GetAlliancesAllianceIDParams) WithIfNoneMatch ¶
func (o *GetAlliancesAllianceIDParams) WithIfNoneMatch(ifNoneMatch *string) *GetAlliancesAllianceIDParams
WithIfNoneMatch adds the ifNoneMatch to the get alliances alliance id params
func (*GetAlliancesAllianceIDParams) WithTimeout ¶
func (o *GetAlliancesAllianceIDParams) WithTimeout(timeout time.Duration) *GetAlliancesAllianceIDParams
WithTimeout adds the timeout to the get alliances alliance id params
func (*GetAlliancesAllianceIDParams) WriteToRequest ¶
func (o *GetAlliancesAllianceIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAlliancesAllianceIDReader ¶
type GetAlliancesAllianceIDReader struct {
// contains filtered or unexported fields
}
GetAlliancesAllianceIDReader is a Reader for the GetAlliancesAllianceID structure.
func (*GetAlliancesAllianceIDReader) ReadResponse ¶
func (o *GetAlliancesAllianceIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAlliancesAllianceIDServiceUnavailable ¶
type GetAlliancesAllianceIDServiceUnavailable struct {
}GetAlliancesAllianceIDServiceUnavailable describes a response with status code 503, with default header values.
Service unavailable
func NewGetAlliancesAllianceIDServiceUnavailable ¶
func NewGetAlliancesAllianceIDServiceUnavailable() *GetAlliancesAllianceIDServiceUnavailable
NewGetAlliancesAllianceIDServiceUnavailable creates a GetAlliancesAllianceIDServiceUnavailable with default headers values
func (*GetAlliancesAllianceIDServiceUnavailable) Error ¶
func (o *GetAlliancesAllianceIDServiceUnavailable) Error() string
func (*GetAlliancesAllianceIDServiceUnavailable) GetPayload ¶
func (o *GetAlliancesAllianceIDServiceUnavailable) GetPayload() *models.ServiceUnavailable
type GetAlliancesBadRequest ¶
type GetAlliancesBadRequest struct {
Payload *models.BadRequest
}
GetAlliancesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetAlliancesBadRequest ¶
func NewGetAlliancesBadRequest() *GetAlliancesBadRequest
NewGetAlliancesBadRequest creates a GetAlliancesBadRequest with default headers values
func (*GetAlliancesBadRequest) Error ¶
func (o *GetAlliancesBadRequest) Error() string
func (*GetAlliancesBadRequest) GetPayload ¶
func (o *GetAlliancesBadRequest) GetPayload() *models.BadRequest
type GetAlliancesEnhanceYourCalm ¶
type GetAlliancesEnhanceYourCalm struct {
Payload *models.ErrorLimited
}
GetAlliancesEnhanceYourCalm describes a response with status code 420, with default header values.
Error limited
func NewGetAlliancesEnhanceYourCalm ¶
func NewGetAlliancesEnhanceYourCalm() *GetAlliancesEnhanceYourCalm
NewGetAlliancesEnhanceYourCalm creates a GetAlliancesEnhanceYourCalm with default headers values
func (*GetAlliancesEnhanceYourCalm) Error ¶
func (o *GetAlliancesEnhanceYourCalm) Error() string
func (*GetAlliancesEnhanceYourCalm) GetPayload ¶
func (o *GetAlliancesEnhanceYourCalm) GetPayload() *models.ErrorLimited
type GetAlliancesGatewayTimeout ¶
type GetAlliancesGatewayTimeout struct {
Payload *models.GatewayTimeout
}
GetAlliancesGatewayTimeout describes a response with status code 504, with default header values.
Gateway timeout
func NewGetAlliancesGatewayTimeout ¶
func NewGetAlliancesGatewayTimeout() *GetAlliancesGatewayTimeout
NewGetAlliancesGatewayTimeout creates a GetAlliancesGatewayTimeout with default headers values
func (*GetAlliancesGatewayTimeout) Error ¶
func (o *GetAlliancesGatewayTimeout) Error() string
func (*GetAlliancesGatewayTimeout) GetPayload ¶
func (o *GetAlliancesGatewayTimeout) GetPayload() *models.GatewayTimeout
type GetAlliancesInternalServerError ¶
type GetAlliancesInternalServerError struct {
Payload *models.InternalServerError
}
GetAlliancesInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetAlliancesInternalServerError ¶
func NewGetAlliancesInternalServerError() *GetAlliancesInternalServerError
NewGetAlliancesInternalServerError creates a GetAlliancesInternalServerError with default headers values
func (*GetAlliancesInternalServerError) Error ¶
func (o *GetAlliancesInternalServerError) Error() string
func (*GetAlliancesInternalServerError) GetPayload ¶
func (o *GetAlliancesInternalServerError) GetPayload() *models.InternalServerError
type GetAlliancesNotModified ¶
type GetAlliancesNotModified 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 }
GetAlliancesNotModified describes a response with status code 304, with default header values.
Not modified
func NewGetAlliancesNotModified ¶
func NewGetAlliancesNotModified() *GetAlliancesNotModified
NewGetAlliancesNotModified creates a GetAlliancesNotModified with default headers values
func (*GetAlliancesNotModified) Error ¶
func (o *GetAlliancesNotModified) Error() string
type GetAlliancesOK ¶
type GetAlliancesOK 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 }
GetAlliancesOK describes a response with status code 200, with default header values.
List of Alliance IDs
func NewGetAlliancesOK ¶
func NewGetAlliancesOK() *GetAlliancesOK
NewGetAlliancesOK creates a GetAlliancesOK with default headers values
func (*GetAlliancesOK) Error ¶
func (o *GetAlliancesOK) Error() string
func (*GetAlliancesOK) GetPayload ¶
func (o *GetAlliancesOK) GetPayload() []*int32
type GetAlliancesParams ¶
type GetAlliancesParams 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAlliancesParams contains all the parameters to send to the API endpoint
for the get alliances operation. Typically these are written to a http.Request.
func NewGetAlliancesParams ¶
func NewGetAlliancesParams() *GetAlliancesParams
NewGetAlliancesParams creates a new GetAlliancesParams 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 NewGetAlliancesParamsWithContext ¶
func NewGetAlliancesParamsWithContext(ctx context.Context) *GetAlliancesParams
NewGetAlliancesParamsWithContext creates a new GetAlliancesParams object with the ability to set a context for a request.
func NewGetAlliancesParamsWithHTTPClient ¶
func NewGetAlliancesParamsWithHTTPClient(client *http.Client) *GetAlliancesParams
NewGetAlliancesParamsWithHTTPClient creates a new GetAlliancesParams object with the ability to set a custom HTTPClient for a request.
func NewGetAlliancesParamsWithTimeout ¶
func NewGetAlliancesParamsWithTimeout(timeout time.Duration) *GetAlliancesParams
NewGetAlliancesParamsWithTimeout creates a new GetAlliancesParams object with the ability to set a timeout on a request.
func (*GetAlliancesParams) SetContext ¶
func (o *GetAlliancesParams) SetContext(ctx context.Context)
SetContext adds the context to the get alliances params
func (*GetAlliancesParams) SetDatasource ¶
func (o *GetAlliancesParams) SetDatasource(datasource *string)
SetDatasource adds the datasource to the get alliances params
func (*GetAlliancesParams) SetDefaults ¶ added in v0.3.0
func (o *GetAlliancesParams) SetDefaults()
SetDefaults hydrates default values in the get alliances params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlliancesParams) SetHTTPClient ¶
func (o *GetAlliancesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get alliances params
func (*GetAlliancesParams) SetIfNoneMatch ¶
func (o *GetAlliancesParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get alliances params
func (*GetAlliancesParams) SetTimeout ¶
func (o *GetAlliancesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get alliances params
func (*GetAlliancesParams) WithContext ¶
func (o *GetAlliancesParams) WithContext(ctx context.Context) *GetAlliancesParams
WithContext adds the context to the get alliances params
func (*GetAlliancesParams) WithDatasource ¶
func (o *GetAlliancesParams) WithDatasource(datasource *string) *GetAlliancesParams
WithDatasource adds the datasource to the get alliances params
func (*GetAlliancesParams) WithDefaults ¶ added in v0.3.0
func (o *GetAlliancesParams) WithDefaults() *GetAlliancesParams
WithDefaults hydrates default values in the get alliances params (not the query body).
All values with no default are reset to their zero value.
func (*GetAlliancesParams) WithHTTPClient ¶
func (o *GetAlliancesParams) WithHTTPClient(client *http.Client) *GetAlliancesParams
WithHTTPClient adds the HTTPClient to the get alliances params
func (*GetAlliancesParams) WithIfNoneMatch ¶
func (o *GetAlliancesParams) WithIfNoneMatch(ifNoneMatch *string) *GetAlliancesParams
WithIfNoneMatch adds the ifNoneMatch to the get alliances params
func (*GetAlliancesParams) WithTimeout ¶
func (o *GetAlliancesParams) WithTimeout(timeout time.Duration) *GetAlliancesParams
WithTimeout adds the timeout to the get alliances params
func (*GetAlliancesParams) WriteToRequest ¶
func (o *GetAlliancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAlliancesReader ¶
type GetAlliancesReader struct {
// contains filtered or unexported fields
}
GetAlliancesReader is a Reader for the GetAlliances structure.
func (*GetAlliancesReader) ReadResponse ¶
func (o *GetAlliancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAlliancesServiceUnavailable ¶
type GetAlliancesServiceUnavailable struct {
}GetAlliancesServiceUnavailable describes a response with status code 503, with default header values.
Service unavailable
func NewGetAlliancesServiceUnavailable ¶
func NewGetAlliancesServiceUnavailable() *GetAlliancesServiceUnavailable
NewGetAlliancesServiceUnavailable creates a GetAlliancesServiceUnavailable with default headers values
func (*GetAlliancesServiceUnavailable) Error ¶
func (o *GetAlliancesServiceUnavailable) Error() string
func (*GetAlliancesServiceUnavailable) GetPayload ¶
func (o *GetAlliancesServiceUnavailable) GetPayload() *models.ServiceUnavailable
Source Files ¶
- alliance_client.go
- get_alliances_alliance_id_corporations_parameters.go
- get_alliances_alliance_id_corporations_responses.go
- get_alliances_alliance_id_icons_parameters.go
- get_alliances_alliance_id_icons_responses.go
- get_alliances_alliance_id_parameters.go
- get_alliances_alliance_id_responses.go
- get_alliances_parameters.go
- get_alliances_responses.go