alliance

package
v0.0.0-...-b9aa217 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id bad request response

func (*GetAlliancesAllianceIDBadRequest) Error

func (*GetAlliancesAllianceIDBadRequest) GetPayload

func (*GetAlliancesAllianceIDBadRequest) IsClientError added in v0.5.29

func (o *GetAlliancesAllianceIDBadRequest) IsClientError() bool

IsClientError returns true when this get alliances alliance Id bad request response has a 4xx status code

func (*GetAlliancesAllianceIDBadRequest) IsCode added in v0.5.29

func (o *GetAlliancesAllianceIDBadRequest) IsCode(code int) bool

IsCode returns true when this get alliances alliance Id bad request response a status code equal to that given

func (*GetAlliancesAllianceIDBadRequest) IsRedirect added in v0.5.29

func (o *GetAlliancesAllianceIDBadRequest) IsRedirect() bool

IsRedirect returns true when this get alliances alliance Id bad request response has a 3xx status code

func (*GetAlliancesAllianceIDBadRequest) IsServerError added in v0.5.29

func (o *GetAlliancesAllianceIDBadRequest) IsServerError() bool

IsServerError returns true when this get alliances alliance Id bad request response has a 5xx status code

func (*GetAlliancesAllianceIDBadRequest) IsSuccess added in v0.5.29

func (o *GetAlliancesAllianceIDBadRequest) IsSuccess() bool

IsSuccess returns true when this get alliances alliance Id bad request response has a 2xx status code

func (*GetAlliancesAllianceIDBadRequest) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id corporations bad request response

func (*GetAlliancesAllianceIDCorporationsBadRequest) Error

func (*GetAlliancesAllianceIDCorporationsBadRequest) GetPayload

func (*GetAlliancesAllianceIDCorporationsBadRequest) IsClientError added in v0.5.29

IsClientError returns true when this get alliances alliance Id corporations bad request response has a 4xx status code

func (*GetAlliancesAllianceIDCorporationsBadRequest) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id corporations bad request response a status code equal to that given

func (*GetAlliancesAllianceIDCorporationsBadRequest) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id corporations bad request response has a 3xx status code

func (*GetAlliancesAllianceIDCorporationsBadRequest) IsServerError added in v0.5.29

IsServerError returns true when this get alliances alliance Id corporations bad request response has a 5xx status code

func (*GetAlliancesAllianceIDCorporationsBadRequest) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id corporations bad request response has a 2xx status code

func (*GetAlliancesAllianceIDCorporationsBadRequest) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id corporations enhance your calm response

func (*GetAlliancesAllianceIDCorporationsEnhanceYourCalm) Error

func (*GetAlliancesAllianceIDCorporationsEnhanceYourCalm) GetPayload

func (*GetAlliancesAllianceIDCorporationsEnhanceYourCalm) IsClientError added in v0.5.29

IsClientError returns true when this get alliances alliance Id corporations enhance your calm response has a 4xx status code

func (*GetAlliancesAllianceIDCorporationsEnhanceYourCalm) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id corporations enhance your calm response a status code equal to that given

func (*GetAlliancesAllianceIDCorporationsEnhanceYourCalm) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id corporations enhance your calm response has a 3xx status code

func (*GetAlliancesAllianceIDCorporationsEnhanceYourCalm) IsServerError added in v0.5.29

IsServerError returns true when this get alliances alliance Id corporations enhance your calm response has a 5xx status code

func (*GetAlliancesAllianceIDCorporationsEnhanceYourCalm) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id corporations enhance your calm response has a 2xx status code

func (*GetAlliancesAllianceIDCorporationsEnhanceYourCalm) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id corporations gateway timeout response

func (*GetAlliancesAllianceIDCorporationsGatewayTimeout) Error

func (*GetAlliancesAllianceIDCorporationsGatewayTimeout) GetPayload

func (*GetAlliancesAllianceIDCorporationsGatewayTimeout) IsClientError added in v0.5.29

IsClientError returns true when this get alliances alliance Id corporations gateway timeout response has a 4xx status code

func (*GetAlliancesAllianceIDCorporationsGatewayTimeout) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id corporations gateway timeout response a status code equal to that given

func (*GetAlliancesAllianceIDCorporationsGatewayTimeout) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id corporations gateway timeout response has a 3xx status code

func (*GetAlliancesAllianceIDCorporationsGatewayTimeout) IsServerError added in v0.5.29

IsServerError returns true when this get alliances alliance Id corporations gateway timeout response has a 5xx status code

func (*GetAlliancesAllianceIDCorporationsGatewayTimeout) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id corporations gateway timeout response has a 2xx status code

func (*GetAlliancesAllianceIDCorporationsGatewayTimeout) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id corporations internal server error response

func (*GetAlliancesAllianceIDCorporationsInternalServerError) Error

func (*GetAlliancesAllianceIDCorporationsInternalServerError) GetPayload

func (*GetAlliancesAllianceIDCorporationsInternalServerError) IsClientError added in v0.5.29

IsClientError returns true when this get alliances alliance Id corporations internal server error response has a 4xx status code

func (*GetAlliancesAllianceIDCorporationsInternalServerError) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id corporations internal server error response a status code equal to that given

func (*GetAlliancesAllianceIDCorporationsInternalServerError) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id corporations internal server error response has a 3xx status code

func (*GetAlliancesAllianceIDCorporationsInternalServerError) IsServerError added in v0.5.29

IsServerError returns true when this get alliances alliance Id corporations internal server error response has a 5xx status code

func (*GetAlliancesAllianceIDCorporationsInternalServerError) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id corporations internal server error response has a 2xx status code

func (*GetAlliancesAllianceIDCorporationsInternalServerError) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id corporations not modified response

func (*GetAlliancesAllianceIDCorporationsNotModified) Error

func (*GetAlliancesAllianceIDCorporationsNotModified) IsClientError added in v0.5.29

IsClientError returns true when this get alliances alliance Id corporations not modified response has a 4xx status code

func (*GetAlliancesAllianceIDCorporationsNotModified) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id corporations not modified response a status code equal to that given

func (*GetAlliancesAllianceIDCorporationsNotModified) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id corporations not modified response has a 3xx status code

func (*GetAlliancesAllianceIDCorporationsNotModified) IsServerError added in v0.5.29

IsServerError returns true when this get alliances alliance Id corporations not modified response has a 5xx status code

func (*GetAlliancesAllianceIDCorporationsNotModified) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id corporations not modified response has a 2xx status code

func (*GetAlliancesAllianceIDCorporationsNotModified) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id corporations o k response

func (*GetAlliancesAllianceIDCorporationsOK) Error

func (*GetAlliancesAllianceIDCorporationsOK) GetPayload

func (o *GetAlliancesAllianceIDCorporationsOK) GetPayload() []*int32

func (*GetAlliancesAllianceIDCorporationsOK) IsClientError added in v0.5.29

func (o *GetAlliancesAllianceIDCorporationsOK) IsClientError() bool

IsClientError returns true when this get alliances alliance Id corporations o k response has a 4xx status code

func (*GetAlliancesAllianceIDCorporationsOK) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id corporations o k response a status code equal to that given

func (*GetAlliancesAllianceIDCorporationsOK) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id corporations o k response has a 3xx status code

func (*GetAlliancesAllianceIDCorporationsOK) IsServerError added in v0.5.29

func (o *GetAlliancesAllianceIDCorporationsOK) IsServerError() bool

IsServerError returns true when this get alliances alliance Id corporations o k response has a 5xx status code

func (*GetAlliancesAllianceIDCorporationsOK) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id corporations o k response has a 2xx status code

func (*GetAlliancesAllianceIDCorporationsOK) String added in v0.5.29

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

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

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

SetTimeout adds the timeout to the get alliances alliance id corporations params

func (*GetAlliancesAllianceIDCorporationsParams) WithAllianceID

WithAllianceID adds the allianceID to the get alliances alliance id corporations params

func (*GetAlliancesAllianceIDCorporationsParams) WithContext

WithContext adds the context to the get alliances alliance id corporations params

func (*GetAlliancesAllianceIDCorporationsParams) WithDatasource

WithDatasource adds the datasource to the get alliances alliance id corporations params

func (*GetAlliancesAllianceIDCorporationsParams) WithDefaults added in v0.3.0

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

WithHTTPClient adds the HTTPClient to the get alliances alliance id corporations params

func (*GetAlliancesAllianceIDCorporationsParams) WithIfNoneMatch

WithIfNoneMatch adds the ifNoneMatch to the get alliances alliance id corporations params

func (*GetAlliancesAllianceIDCorporationsParams) WithTimeout

WithTimeout adds the timeout to the get alliances alliance id corporations params

func (*GetAlliancesAllianceIDCorporationsParams) WriteToRequest

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 {
	Payload *models.ServiceUnavailable
}

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id corporations service unavailable response

func (*GetAlliancesAllianceIDCorporationsServiceUnavailable) Error

func (*GetAlliancesAllianceIDCorporationsServiceUnavailable) GetPayload

func (*GetAlliancesAllianceIDCorporationsServiceUnavailable) IsClientError added in v0.5.29

IsClientError returns true when this get alliances alliance Id corporations service unavailable response has a 4xx status code

func (*GetAlliancesAllianceIDCorporationsServiceUnavailable) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id corporations service unavailable response a status code equal to that given

func (*GetAlliancesAllianceIDCorporationsServiceUnavailable) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id corporations service unavailable response has a 3xx status code

func (*GetAlliancesAllianceIDCorporationsServiceUnavailable) IsServerError added in v0.5.29

IsServerError returns true when this get alliances alliance Id corporations service unavailable response has a 5xx status code

func (*GetAlliancesAllianceIDCorporationsServiceUnavailable) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id corporations service unavailable response has a 2xx status code

func (*GetAlliancesAllianceIDCorporationsServiceUnavailable) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id enhance your calm response

func (*GetAlliancesAllianceIDEnhanceYourCalm) Error

func (*GetAlliancesAllianceIDEnhanceYourCalm) GetPayload

func (*GetAlliancesAllianceIDEnhanceYourCalm) IsClientError added in v0.5.29

func (o *GetAlliancesAllianceIDEnhanceYourCalm) IsClientError() bool

IsClientError returns true when this get alliances alliance Id enhance your calm response has a 4xx status code

func (*GetAlliancesAllianceIDEnhanceYourCalm) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id enhance your calm response a status code equal to that given

func (*GetAlliancesAllianceIDEnhanceYourCalm) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id enhance your calm response has a 3xx status code

func (*GetAlliancesAllianceIDEnhanceYourCalm) IsServerError added in v0.5.29

func (o *GetAlliancesAllianceIDEnhanceYourCalm) IsServerError() bool

IsServerError returns true when this get alliances alliance Id enhance your calm response has a 5xx status code

func (*GetAlliancesAllianceIDEnhanceYourCalm) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id enhance your calm response has a 2xx status code

func (*GetAlliancesAllianceIDEnhanceYourCalm) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id gateway timeout response

func (*GetAlliancesAllianceIDGatewayTimeout) Error

func (*GetAlliancesAllianceIDGatewayTimeout) GetPayload

func (*GetAlliancesAllianceIDGatewayTimeout) IsClientError added in v0.5.29

func (o *GetAlliancesAllianceIDGatewayTimeout) IsClientError() bool

IsClientError returns true when this get alliances alliance Id gateway timeout response has a 4xx status code

func (*GetAlliancesAllianceIDGatewayTimeout) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id gateway timeout response a status code equal to that given

func (*GetAlliancesAllianceIDGatewayTimeout) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id gateway timeout response has a 3xx status code

func (*GetAlliancesAllianceIDGatewayTimeout) IsServerError added in v0.5.29

func (o *GetAlliancesAllianceIDGatewayTimeout) IsServerError() bool

IsServerError returns true when this get alliances alliance Id gateway timeout response has a 5xx status code

func (*GetAlliancesAllianceIDGatewayTimeout) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id gateway timeout response has a 2xx status code

func (*GetAlliancesAllianceIDGatewayTimeout) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id icons bad request response

func (*GetAlliancesAllianceIDIconsBadRequest) Error

func (*GetAlliancesAllianceIDIconsBadRequest) GetPayload

func (*GetAlliancesAllianceIDIconsBadRequest) IsClientError added in v0.5.29

func (o *GetAlliancesAllianceIDIconsBadRequest) IsClientError() bool

IsClientError returns true when this get alliances alliance Id icons bad request response has a 4xx status code

func (*GetAlliancesAllianceIDIconsBadRequest) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id icons bad request response a status code equal to that given

func (*GetAlliancesAllianceIDIconsBadRequest) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id icons bad request response has a 3xx status code

func (*GetAlliancesAllianceIDIconsBadRequest) IsServerError added in v0.5.29

func (o *GetAlliancesAllianceIDIconsBadRequest) IsServerError() bool

IsServerError returns true when this get alliances alliance Id icons bad request response has a 5xx status code

func (*GetAlliancesAllianceIDIconsBadRequest) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id icons bad request response has a 2xx status code

func (*GetAlliancesAllianceIDIconsBadRequest) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id icons enhance your calm response

func (*GetAlliancesAllianceIDIconsEnhanceYourCalm) Error

func (*GetAlliancesAllianceIDIconsEnhanceYourCalm) GetPayload

func (*GetAlliancesAllianceIDIconsEnhanceYourCalm) IsClientError added in v0.5.29

IsClientError returns true when this get alliances alliance Id icons enhance your calm response has a 4xx status code

func (*GetAlliancesAllianceIDIconsEnhanceYourCalm) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id icons enhance your calm response a status code equal to that given

func (*GetAlliancesAllianceIDIconsEnhanceYourCalm) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id icons enhance your calm response has a 3xx status code

func (*GetAlliancesAllianceIDIconsEnhanceYourCalm) IsServerError added in v0.5.29

IsServerError returns true when this get alliances alliance Id icons enhance your calm response has a 5xx status code

func (*GetAlliancesAllianceIDIconsEnhanceYourCalm) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id icons enhance your calm response has a 2xx status code

func (*GetAlliancesAllianceIDIconsEnhanceYourCalm) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id icons gateway timeout response

func (*GetAlliancesAllianceIDIconsGatewayTimeout) Error

func (*GetAlliancesAllianceIDIconsGatewayTimeout) GetPayload

func (*GetAlliancesAllianceIDIconsGatewayTimeout) IsClientError added in v0.5.29

IsClientError returns true when this get alliances alliance Id icons gateway timeout response has a 4xx status code

func (*GetAlliancesAllianceIDIconsGatewayTimeout) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id icons gateway timeout response a status code equal to that given

func (*GetAlliancesAllianceIDIconsGatewayTimeout) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id icons gateway timeout response has a 3xx status code

func (*GetAlliancesAllianceIDIconsGatewayTimeout) IsServerError added in v0.5.29

IsServerError returns true when this get alliances alliance Id icons gateway timeout response has a 5xx status code

func (*GetAlliancesAllianceIDIconsGatewayTimeout) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id icons gateway timeout response has a 2xx status code

func (*GetAlliancesAllianceIDIconsGatewayTimeout) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id icons internal server error response

func (*GetAlliancesAllianceIDIconsInternalServerError) Error

func (*GetAlliancesAllianceIDIconsInternalServerError) GetPayload

func (*GetAlliancesAllianceIDIconsInternalServerError) IsClientError added in v0.5.29

IsClientError returns true when this get alliances alliance Id icons internal server error response has a 4xx status code

func (*GetAlliancesAllianceIDIconsInternalServerError) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id icons internal server error response a status code equal to that given

func (*GetAlliancesAllianceIDIconsInternalServerError) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id icons internal server error response has a 3xx status code

func (*GetAlliancesAllianceIDIconsInternalServerError) IsServerError added in v0.5.29

IsServerError returns true when this get alliances alliance Id icons internal server error response has a 5xx status code

func (*GetAlliancesAllianceIDIconsInternalServerError) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id icons internal server error response has a 2xx status code

func (*GetAlliancesAllianceIDIconsInternalServerError) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id icons not found response

func (*GetAlliancesAllianceIDIconsNotFound) Error

func (*GetAlliancesAllianceIDIconsNotFound) GetPayload

func (*GetAlliancesAllianceIDIconsNotFound) IsClientError added in v0.5.29

func (o *GetAlliancesAllianceIDIconsNotFound) IsClientError() bool

IsClientError returns true when this get alliances alliance Id icons not found response has a 4xx status code

func (*GetAlliancesAllianceIDIconsNotFound) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id icons not found response a status code equal to that given

func (*GetAlliancesAllianceIDIconsNotFound) IsRedirect added in v0.5.29

func (o *GetAlliancesAllianceIDIconsNotFound) IsRedirect() bool

IsRedirect returns true when this get alliances alliance Id icons not found response has a 3xx status code

func (*GetAlliancesAllianceIDIconsNotFound) IsServerError added in v0.5.29

func (o *GetAlliancesAllianceIDIconsNotFound) IsServerError() bool

IsServerError returns true when this get alliances alliance Id icons not found response has a 5xx status code

func (*GetAlliancesAllianceIDIconsNotFound) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id icons not found response has a 2xx status code

func (*GetAlliancesAllianceIDIconsNotFound) String added in v0.5.29

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

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

func (*GetAlliancesAllianceIDIconsNotFoundBody) Validate

Validate validates this get alliances alliance ID icons not found body

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id icons not modified response

func (*GetAlliancesAllianceIDIconsNotModified) Error

func (*GetAlliancesAllianceIDIconsNotModified) IsClientError added in v0.5.29

func (o *GetAlliancesAllianceIDIconsNotModified) IsClientError() bool

IsClientError returns true when this get alliances alliance Id icons not modified response has a 4xx status code

func (*GetAlliancesAllianceIDIconsNotModified) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id icons not modified response a status code equal to that given

func (*GetAlliancesAllianceIDIconsNotModified) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id icons not modified response has a 3xx status code

func (*GetAlliancesAllianceIDIconsNotModified) IsServerError added in v0.5.29

func (o *GetAlliancesAllianceIDIconsNotModified) IsServerError() bool

IsServerError returns true when this get alliances alliance Id icons not modified response has a 5xx status code

func (*GetAlliancesAllianceIDIconsNotModified) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id icons not modified response has a 2xx status code

func (*GetAlliancesAllianceIDIconsNotModified) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id icons o k response

func (*GetAlliancesAllianceIDIconsOK) Error

func (*GetAlliancesAllianceIDIconsOK) GetPayload

func (*GetAlliancesAllianceIDIconsOK) IsClientError added in v0.5.29

func (o *GetAlliancesAllianceIDIconsOK) IsClientError() bool

IsClientError returns true when this get alliances alliance Id icons o k response has a 4xx status code

func (*GetAlliancesAllianceIDIconsOK) IsCode added in v0.5.29

func (o *GetAlliancesAllianceIDIconsOK) IsCode(code int) bool

IsCode returns true when this get alliances alliance Id icons o k response a status code equal to that given

func (*GetAlliancesAllianceIDIconsOK) IsRedirect added in v0.5.29

func (o *GetAlliancesAllianceIDIconsOK) IsRedirect() bool

IsRedirect returns true when this get alliances alliance Id icons o k response has a 3xx status code

func (*GetAlliancesAllianceIDIconsOK) IsServerError added in v0.5.29

func (o *GetAlliancesAllianceIDIconsOK) IsServerError() bool

IsServerError returns true when this get alliances alliance Id icons o k response has a 5xx status code

func (*GetAlliancesAllianceIDIconsOK) IsSuccess added in v0.5.29

func (o *GetAlliancesAllianceIDIconsOK) IsSuccess() bool

IsSuccess returns true when this get alliances alliance Id icons o k response has a 2xx status code

func (*GetAlliancesAllianceIDIconsOK) String added in v0.5.29

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

func (*GetAlliancesAllianceIDIconsOKBody) Validate

Validate validates this get alliances alliance ID icons o k body

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

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

WithAllianceID adds the allianceID to the get alliances alliance id icons params

func (*GetAlliancesAllianceIDIconsParams) WithContext

WithContext adds the context to the get alliances alliance id icons params

func (*GetAlliancesAllianceIDIconsParams) WithDatasource

WithDatasource adds the datasource to the get alliances alliance id icons params

func (*GetAlliancesAllianceIDIconsParams) WithDefaults added in v0.3.0

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

WithHTTPClient adds the HTTPClient to the get alliances alliance id icons params

func (*GetAlliancesAllianceIDIconsParams) WithIfNoneMatch

WithIfNoneMatch adds the ifNoneMatch to the get alliances alliance id icons params

func (*GetAlliancesAllianceIDIconsParams) WithTimeout

WithTimeout adds the timeout to the get alliances alliance id icons params

func (*GetAlliancesAllianceIDIconsParams) WriteToRequest

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 {
	Payload *models.ServiceUnavailable
}

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id icons service unavailable response

func (*GetAlliancesAllianceIDIconsServiceUnavailable) Error

func (*GetAlliancesAllianceIDIconsServiceUnavailable) GetPayload

func (*GetAlliancesAllianceIDIconsServiceUnavailable) IsClientError added in v0.5.29

IsClientError returns true when this get alliances alliance Id icons service unavailable response has a 4xx status code

func (*GetAlliancesAllianceIDIconsServiceUnavailable) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id icons service unavailable response a status code equal to that given

func (*GetAlliancesAllianceIDIconsServiceUnavailable) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id icons service unavailable response has a 3xx status code

func (*GetAlliancesAllianceIDIconsServiceUnavailable) IsServerError added in v0.5.29

IsServerError returns true when this get alliances alliance Id icons service unavailable response has a 5xx status code

func (*GetAlliancesAllianceIDIconsServiceUnavailable) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id icons service unavailable response has a 2xx status code

func (*GetAlliancesAllianceIDIconsServiceUnavailable) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id internal server error response

func (*GetAlliancesAllianceIDInternalServerError) Error

func (*GetAlliancesAllianceIDInternalServerError) GetPayload

func (*GetAlliancesAllianceIDInternalServerError) IsClientError added in v0.5.29

IsClientError returns true when this get alliances alliance Id internal server error response has a 4xx status code

func (*GetAlliancesAllianceIDInternalServerError) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id internal server error response a status code equal to that given

func (*GetAlliancesAllianceIDInternalServerError) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id internal server error response has a 3xx status code

func (*GetAlliancesAllianceIDInternalServerError) IsServerError added in v0.5.29

IsServerError returns true when this get alliances alliance Id internal server error response has a 5xx status code

func (*GetAlliancesAllianceIDInternalServerError) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id internal server error response has a 2xx status code

func (*GetAlliancesAllianceIDInternalServerError) String added in v0.5.29

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id not found response

func (*GetAlliancesAllianceIDNotFound) Error

func (*GetAlliancesAllianceIDNotFound) GetPayload

func (*GetAlliancesAllianceIDNotFound) IsClientError added in v0.5.29

func (o *GetAlliancesAllianceIDNotFound) IsClientError() bool

IsClientError returns true when this get alliances alliance Id not found response has a 4xx status code

func (*GetAlliancesAllianceIDNotFound) IsCode added in v0.5.29

func (o *GetAlliancesAllianceIDNotFound) IsCode(code int) bool

IsCode returns true when this get alliances alliance Id not found response a status code equal to that given

func (*GetAlliancesAllianceIDNotFound) IsRedirect added in v0.5.29

func (o *GetAlliancesAllianceIDNotFound) IsRedirect() bool

IsRedirect returns true when this get alliances alliance Id not found response has a 3xx status code

func (*GetAlliancesAllianceIDNotFound) IsServerError added in v0.5.29

func (o *GetAlliancesAllianceIDNotFound) IsServerError() bool

IsServerError returns true when this get alliances alliance Id not found response has a 5xx status code

func (*GetAlliancesAllianceIDNotFound) IsSuccess added in v0.5.29

func (o *GetAlliancesAllianceIDNotFound) IsSuccess() bool

IsSuccess returns true when this get alliances alliance Id not found response has a 2xx status code

func (*GetAlliancesAllianceIDNotFound) String added in v0.5.29

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

func (*GetAlliancesAllianceIDNotFoundBody) Validate

Validate validates this get alliances alliance ID not found body

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id not modified response

func (*GetAlliancesAllianceIDNotModified) Error

func (*GetAlliancesAllianceIDNotModified) IsClientError added in v0.5.29

func (o *GetAlliancesAllianceIDNotModified) IsClientError() bool

IsClientError returns true when this get alliances alliance Id not modified response has a 4xx status code

func (*GetAlliancesAllianceIDNotModified) IsCode added in v0.5.29

func (o *GetAlliancesAllianceIDNotModified) IsCode(code int) bool

IsCode returns true when this get alliances alliance Id not modified response a status code equal to that given

func (*GetAlliancesAllianceIDNotModified) IsRedirect added in v0.5.29

func (o *GetAlliancesAllianceIDNotModified) IsRedirect() bool

IsRedirect returns true when this get alliances alliance Id not modified response has a 3xx status code

func (*GetAlliancesAllianceIDNotModified) IsServerError added in v0.5.29

func (o *GetAlliancesAllianceIDNotModified) IsServerError() bool

IsServerError returns true when this get alliances alliance Id not modified response has a 5xx status code

func (*GetAlliancesAllianceIDNotModified) IsSuccess added in v0.5.29

func (o *GetAlliancesAllianceIDNotModified) IsSuccess() bool

IsSuccess returns true when this get alliances alliance Id not modified response has a 2xx status code

func (*GetAlliancesAllianceIDNotModified) String added in v0.5.29

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) Code added in v0.5.29

func (o *GetAlliancesAllianceIDOK) Code() int

Code gets the status code for the get alliances alliance Id o k response

func (*GetAlliancesAllianceIDOK) Error

func (o *GetAlliancesAllianceIDOK) Error() string

func (*GetAlliancesAllianceIDOK) GetPayload

func (*GetAlliancesAllianceIDOK) IsClientError added in v0.5.29

func (o *GetAlliancesAllianceIDOK) IsClientError() bool

IsClientError returns true when this get alliances alliance Id o k response has a 4xx status code

func (*GetAlliancesAllianceIDOK) IsCode added in v0.5.29

func (o *GetAlliancesAllianceIDOK) IsCode(code int) bool

IsCode returns true when this get alliances alliance Id o k response a status code equal to that given

func (*GetAlliancesAllianceIDOK) IsRedirect added in v0.5.29

func (o *GetAlliancesAllianceIDOK) IsRedirect() bool

IsRedirect returns true when this get alliances alliance Id o k response has a 3xx status code

func (*GetAlliancesAllianceIDOK) IsServerError added in v0.5.29

func (o *GetAlliancesAllianceIDOK) IsServerError() bool

IsServerError returns true when this get alliances alliance Id o k response has a 5xx status code

func (*GetAlliancesAllianceIDOK) IsSuccess added in v0.5.29

func (o *GetAlliancesAllianceIDOK) IsSuccess() bool

IsSuccess returns true when this get alliances alliance Id o k response has a 2xx status code

func (*GetAlliancesAllianceIDOK) String added in v0.5.29

func (o *GetAlliancesAllianceIDOK) String() string

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

func (*GetAlliancesAllianceIDOKBody) Validate

func (o *GetAlliancesAllianceIDOKBody) Validate(formats strfmt.Registry) error

Validate validates this get alliances alliance ID o k body

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

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

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

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

WithTimeout adds the timeout to the get alliances alliance id params

func (*GetAlliancesAllianceIDParams) WriteToRequest

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 {
	Payload *models.ServiceUnavailable
}

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) Code added in v0.5.29

Code gets the status code for the get alliances alliance Id service unavailable response

func (*GetAlliancesAllianceIDServiceUnavailable) Error

func (*GetAlliancesAllianceIDServiceUnavailable) GetPayload

func (*GetAlliancesAllianceIDServiceUnavailable) IsClientError added in v0.5.29

IsClientError returns true when this get alliances alliance Id service unavailable response has a 4xx status code

func (*GetAlliancesAllianceIDServiceUnavailable) IsCode added in v0.5.29

IsCode returns true when this get alliances alliance Id service unavailable response a status code equal to that given

func (*GetAlliancesAllianceIDServiceUnavailable) IsRedirect added in v0.5.29

IsRedirect returns true when this get alliances alliance Id service unavailable response has a 3xx status code

func (*GetAlliancesAllianceIDServiceUnavailable) IsServerError added in v0.5.29

IsServerError returns true when this get alliances alliance Id service unavailable response has a 5xx status code

func (*GetAlliancesAllianceIDServiceUnavailable) IsSuccess added in v0.5.29

IsSuccess returns true when this get alliances alliance Id service unavailable response has a 2xx status code

func (*GetAlliancesAllianceIDServiceUnavailable) String added in v0.5.29

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) Code added in v0.5.29

func (o *GetAlliancesBadRequest) Code() int

Code gets the status code for the get alliances bad request response

func (*GetAlliancesBadRequest) Error

func (o *GetAlliancesBadRequest) Error() string

func (*GetAlliancesBadRequest) GetPayload

func (o *GetAlliancesBadRequest) GetPayload() *models.BadRequest

func (*GetAlliancesBadRequest) IsClientError added in v0.5.29

func (o *GetAlliancesBadRequest) IsClientError() bool

IsClientError returns true when this get alliances bad request response has a 4xx status code

func (*GetAlliancesBadRequest) IsCode added in v0.5.29

func (o *GetAlliancesBadRequest) IsCode(code int) bool

IsCode returns true when this get alliances bad request response a status code equal to that given

func (*GetAlliancesBadRequest) IsRedirect added in v0.5.29

func (o *GetAlliancesBadRequest) IsRedirect() bool

IsRedirect returns true when this get alliances bad request response has a 3xx status code

func (*GetAlliancesBadRequest) IsServerError added in v0.5.29

func (o *GetAlliancesBadRequest) IsServerError() bool

IsServerError returns true when this get alliances bad request response has a 5xx status code

func (*GetAlliancesBadRequest) IsSuccess added in v0.5.29

func (o *GetAlliancesBadRequest) IsSuccess() bool

IsSuccess returns true when this get alliances bad request response has a 2xx status code

func (*GetAlliancesBadRequest) String added in v0.5.29

func (o *GetAlliancesBadRequest) String() string

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) Code added in v0.5.29

func (o *GetAlliancesEnhanceYourCalm) Code() int

Code gets the status code for the get alliances enhance your calm response

func (*GetAlliancesEnhanceYourCalm) Error

func (*GetAlliancesEnhanceYourCalm) GetPayload

func (*GetAlliancesEnhanceYourCalm) IsClientError added in v0.5.29

func (o *GetAlliancesEnhanceYourCalm) IsClientError() bool

IsClientError returns true when this get alliances enhance your calm response has a 4xx status code

func (*GetAlliancesEnhanceYourCalm) IsCode added in v0.5.29

func (o *GetAlliancesEnhanceYourCalm) IsCode(code int) bool

IsCode returns true when this get alliances enhance your calm response a status code equal to that given

func (*GetAlliancesEnhanceYourCalm) IsRedirect added in v0.5.29

func (o *GetAlliancesEnhanceYourCalm) IsRedirect() bool

IsRedirect returns true when this get alliances enhance your calm response has a 3xx status code

func (*GetAlliancesEnhanceYourCalm) IsServerError added in v0.5.29

func (o *GetAlliancesEnhanceYourCalm) IsServerError() bool

IsServerError returns true when this get alliances enhance your calm response has a 5xx status code

func (*GetAlliancesEnhanceYourCalm) IsSuccess added in v0.5.29

func (o *GetAlliancesEnhanceYourCalm) IsSuccess() bool

IsSuccess returns true when this get alliances enhance your calm response has a 2xx status code

func (*GetAlliancesEnhanceYourCalm) String added in v0.5.29

func (o *GetAlliancesEnhanceYourCalm) String() string

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) Code added in v0.5.29

func (o *GetAlliancesGatewayTimeout) Code() int

Code gets the status code for the get alliances gateway timeout response

func (*GetAlliancesGatewayTimeout) Error

func (*GetAlliancesGatewayTimeout) GetPayload

func (*GetAlliancesGatewayTimeout) IsClientError added in v0.5.29

func (o *GetAlliancesGatewayTimeout) IsClientError() bool

IsClientError returns true when this get alliances gateway timeout response has a 4xx status code

func (*GetAlliancesGatewayTimeout) IsCode added in v0.5.29

func (o *GetAlliancesGatewayTimeout) IsCode(code int) bool

IsCode returns true when this get alliances gateway timeout response a status code equal to that given

func (*GetAlliancesGatewayTimeout) IsRedirect added in v0.5.29

func (o *GetAlliancesGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get alliances gateway timeout response has a 3xx status code

func (*GetAlliancesGatewayTimeout) IsServerError added in v0.5.29

func (o *GetAlliancesGatewayTimeout) IsServerError() bool

IsServerError returns true when this get alliances gateway timeout response has a 5xx status code

func (*GetAlliancesGatewayTimeout) IsSuccess added in v0.5.29

func (o *GetAlliancesGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get alliances gateway timeout response has a 2xx status code

func (*GetAlliancesGatewayTimeout) String added in v0.5.29

func (o *GetAlliancesGatewayTimeout) String() string

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) Code added in v0.5.29

Code gets the status code for the get alliances internal server error response

func (*GetAlliancesInternalServerError) Error

func (*GetAlliancesInternalServerError) GetPayload

func (*GetAlliancesInternalServerError) IsClientError added in v0.5.29

func (o *GetAlliancesInternalServerError) IsClientError() bool

IsClientError returns true when this get alliances internal server error response has a 4xx status code

func (*GetAlliancesInternalServerError) IsCode added in v0.5.29

func (o *GetAlliancesInternalServerError) IsCode(code int) bool

IsCode returns true when this get alliances internal server error response a status code equal to that given

func (*GetAlliancesInternalServerError) IsRedirect added in v0.5.29

func (o *GetAlliancesInternalServerError) IsRedirect() bool

IsRedirect returns true when this get alliances internal server error response has a 3xx status code

func (*GetAlliancesInternalServerError) IsServerError added in v0.5.29

func (o *GetAlliancesInternalServerError) IsServerError() bool

IsServerError returns true when this get alliances internal server error response has a 5xx status code

func (*GetAlliancesInternalServerError) IsSuccess added in v0.5.29

func (o *GetAlliancesInternalServerError) IsSuccess() bool

IsSuccess returns true when this get alliances internal server error response has a 2xx status code

func (*GetAlliancesInternalServerError) String added in v0.5.29

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) Code added in v0.5.29

func (o *GetAlliancesNotModified) Code() int

Code gets the status code for the get alliances not modified response

func (*GetAlliancesNotModified) Error

func (o *GetAlliancesNotModified) Error() string

func (*GetAlliancesNotModified) IsClientError added in v0.5.29

func (o *GetAlliancesNotModified) IsClientError() bool

IsClientError returns true when this get alliances not modified response has a 4xx status code

func (*GetAlliancesNotModified) IsCode added in v0.5.29

func (o *GetAlliancesNotModified) IsCode(code int) bool

IsCode returns true when this get alliances not modified response a status code equal to that given

func (*GetAlliancesNotModified) IsRedirect added in v0.5.29

func (o *GetAlliancesNotModified) IsRedirect() bool

IsRedirect returns true when this get alliances not modified response has a 3xx status code

func (*GetAlliancesNotModified) IsServerError added in v0.5.29

func (o *GetAlliancesNotModified) IsServerError() bool

IsServerError returns true when this get alliances not modified response has a 5xx status code

func (*GetAlliancesNotModified) IsSuccess added in v0.5.29

func (o *GetAlliancesNotModified) IsSuccess() bool

IsSuccess returns true when this get alliances not modified response has a 2xx status code

func (*GetAlliancesNotModified) String added in v0.5.29

func (o *GetAlliancesNotModified) String() 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) Code added in v0.5.29

func (o *GetAlliancesOK) Code() int

Code gets the status code for the get alliances o k response

func (*GetAlliancesOK) Error

func (o *GetAlliancesOK) Error() string

func (*GetAlliancesOK) GetPayload

func (o *GetAlliancesOK) GetPayload() []*int32

func (*GetAlliancesOK) IsClientError added in v0.5.29

func (o *GetAlliancesOK) IsClientError() bool

IsClientError returns true when this get alliances o k response has a 4xx status code

func (*GetAlliancesOK) IsCode added in v0.5.29

func (o *GetAlliancesOK) IsCode(code int) bool

IsCode returns true when this get alliances o k response a status code equal to that given

func (*GetAlliancesOK) IsRedirect added in v0.5.29

func (o *GetAlliancesOK) IsRedirect() bool

IsRedirect returns true when this get alliances o k response has a 3xx status code

func (*GetAlliancesOK) IsServerError added in v0.5.29

func (o *GetAlliancesOK) IsServerError() bool

IsServerError returns true when this get alliances o k response has a 5xx status code

func (*GetAlliancesOK) IsSuccess added in v0.5.29

func (o *GetAlliancesOK) IsSuccess() bool

IsSuccess returns true when this get alliances o k response has a 2xx status code

func (*GetAlliancesOK) String added in v0.5.29

func (o *GetAlliancesOK) String() string

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

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 {
	Payload *models.ServiceUnavailable
}

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) Code added in v0.5.29

Code gets the status code for the get alliances service unavailable response

func (*GetAlliancesServiceUnavailable) Error

func (*GetAlliancesServiceUnavailable) GetPayload

func (*GetAlliancesServiceUnavailable) IsClientError added in v0.5.29

func (o *GetAlliancesServiceUnavailable) IsClientError() bool

IsClientError returns true when this get alliances service unavailable response has a 4xx status code

func (*GetAlliancesServiceUnavailable) IsCode added in v0.5.29

func (o *GetAlliancesServiceUnavailable) IsCode(code int) bool

IsCode returns true when this get alliances service unavailable response a status code equal to that given

func (*GetAlliancesServiceUnavailable) IsRedirect added in v0.5.29

func (o *GetAlliancesServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get alliances service unavailable response has a 3xx status code

func (*GetAlliancesServiceUnavailable) IsServerError added in v0.5.29

func (o *GetAlliancesServiceUnavailable) IsServerError() bool

IsServerError returns true when this get alliances service unavailable response has a 5xx status code

func (*GetAlliancesServiceUnavailable) IsSuccess added in v0.5.29

func (o *GetAlliancesServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get alliances service unavailable response has a 2xx status code

func (*GetAlliancesServiceUnavailable) String added in v0.5.29

Jump to

Keyboard shortcuts

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