alliance

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 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) (*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) (*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) (*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) (*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 ClientService

type ClientService interface {
	GetAlliances(params *GetAlliancesParams) (*GetAlliancesOK, error)

	GetAlliancesAllianceID(params *GetAlliancesAllianceIDParams) (*GetAlliancesAllianceIDOK, error)

	GetAlliancesAllianceIDCorporations(params *GetAlliancesAllianceIDCorporationsParams) (*GetAlliancesAllianceIDCorporationsOK, error)

	GetAlliancesAllianceIDIcons(params *GetAlliancesAllianceIDIconsParams) (*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 *esimodels.BadRequest
}

GetAlliancesAllianceIDBadRequest handles this case with default header values.

Bad request

func NewGetAlliancesAllianceIDBadRequest

func NewGetAlliancesAllianceIDBadRequest() *GetAlliancesAllianceIDBadRequest

NewGetAlliancesAllianceIDBadRequest creates a GetAlliancesAllianceIDBadRequest with default headers values

func (*GetAlliancesAllianceIDBadRequest) Error

func (*GetAlliancesAllianceIDBadRequest) GetPayload

type GetAlliancesAllianceIDCorporationsBadRequest

type GetAlliancesAllianceIDCorporationsBadRequest struct {
	Payload *esimodels.BadRequest
}

GetAlliancesAllianceIDCorporationsBadRequest handles this case with default header values.

Bad request

func NewGetAlliancesAllianceIDCorporationsBadRequest

func NewGetAlliancesAllianceIDCorporationsBadRequest() *GetAlliancesAllianceIDCorporationsBadRequest

NewGetAlliancesAllianceIDCorporationsBadRequest creates a GetAlliancesAllianceIDCorporationsBadRequest with default headers values

func (*GetAlliancesAllianceIDCorporationsBadRequest) Error

func (*GetAlliancesAllianceIDCorporationsBadRequest) GetPayload

type GetAlliancesAllianceIDCorporationsEnhanceYourCalm

type GetAlliancesAllianceIDCorporationsEnhanceYourCalm struct {
	Payload *esimodels.ErrorLimited
}

GetAlliancesAllianceIDCorporationsEnhanceYourCalm handles this case with default header values.

Error limited

func NewGetAlliancesAllianceIDCorporationsEnhanceYourCalm

func NewGetAlliancesAllianceIDCorporationsEnhanceYourCalm() *GetAlliancesAllianceIDCorporationsEnhanceYourCalm

NewGetAlliancesAllianceIDCorporationsEnhanceYourCalm creates a GetAlliancesAllianceIDCorporationsEnhanceYourCalm with default headers values

func (*GetAlliancesAllianceIDCorporationsEnhanceYourCalm) Error

func (*GetAlliancesAllianceIDCorporationsEnhanceYourCalm) GetPayload

type GetAlliancesAllianceIDCorporationsGatewayTimeout

type GetAlliancesAllianceIDCorporationsGatewayTimeout struct {
	Payload *esimodels.GatewayTimeout
}

GetAlliancesAllianceIDCorporationsGatewayTimeout handles this case with default header values.

Gateway timeout

func NewGetAlliancesAllianceIDCorporationsGatewayTimeout

func NewGetAlliancesAllianceIDCorporationsGatewayTimeout() *GetAlliancesAllianceIDCorporationsGatewayTimeout

NewGetAlliancesAllianceIDCorporationsGatewayTimeout creates a GetAlliancesAllianceIDCorporationsGatewayTimeout with default headers values

func (*GetAlliancesAllianceIDCorporationsGatewayTimeout) Error

func (*GetAlliancesAllianceIDCorporationsGatewayTimeout) GetPayload

type GetAlliancesAllianceIDCorporationsInternalServerError

type GetAlliancesAllianceIDCorporationsInternalServerError struct {
	Payload *esimodels.InternalServerError
}

GetAlliancesAllianceIDCorporationsInternalServerError handles this case with default header values.

Internal server error

func NewGetAlliancesAllianceIDCorporationsInternalServerError

func NewGetAlliancesAllianceIDCorporationsInternalServerError() *GetAlliancesAllianceIDCorporationsInternalServerError

NewGetAlliancesAllianceIDCorporationsInternalServerError creates a GetAlliancesAllianceIDCorporationsInternalServerError with default headers values

func (*GetAlliancesAllianceIDCorporationsInternalServerError) Error

func (*GetAlliancesAllianceIDCorporationsInternalServerError) GetPayload

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 handles this case with default header values.

Not modified

func NewGetAlliancesAllianceIDCorporationsNotModified

func NewGetAlliancesAllianceIDCorporationsNotModified() *GetAlliancesAllianceIDCorporationsNotModified

NewGetAlliancesAllianceIDCorporationsNotModified creates a GetAlliancesAllianceIDCorporationsNotModified with default headers values

func (*GetAlliancesAllianceIDCorporationsNotModified) Error

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 handles this case 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 (*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

	*/
	AllianceID int32
	/*Datasource
	  The server name you would like data from

	*/
	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 values initialized.

func NewGetAlliancesAllianceIDCorporationsParamsWithContext

func NewGetAlliancesAllianceIDCorporationsParamsWithContext(ctx context.Context) *GetAlliancesAllianceIDCorporationsParams

NewGetAlliancesAllianceIDCorporationsParamsWithContext creates a new GetAlliancesAllianceIDCorporationsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *esimodels.ServiceUnavailable
}

GetAlliancesAllianceIDCorporationsServiceUnavailable handles this case with default header values.

Service unavailable

func NewGetAlliancesAllianceIDCorporationsServiceUnavailable

func NewGetAlliancesAllianceIDCorporationsServiceUnavailable() *GetAlliancesAllianceIDCorporationsServiceUnavailable

NewGetAlliancesAllianceIDCorporationsServiceUnavailable creates a GetAlliancesAllianceIDCorporationsServiceUnavailable with default headers values

func (*GetAlliancesAllianceIDCorporationsServiceUnavailable) Error

func (*GetAlliancesAllianceIDCorporationsServiceUnavailable) GetPayload

type GetAlliancesAllianceIDEnhanceYourCalm

type GetAlliancesAllianceIDEnhanceYourCalm struct {
	Payload *esimodels.ErrorLimited
}

GetAlliancesAllianceIDEnhanceYourCalm handles this case with default header values.

Error limited

func NewGetAlliancesAllianceIDEnhanceYourCalm

func NewGetAlliancesAllianceIDEnhanceYourCalm() *GetAlliancesAllianceIDEnhanceYourCalm

NewGetAlliancesAllianceIDEnhanceYourCalm creates a GetAlliancesAllianceIDEnhanceYourCalm with default headers values

func (*GetAlliancesAllianceIDEnhanceYourCalm) Error

func (*GetAlliancesAllianceIDEnhanceYourCalm) GetPayload

type GetAlliancesAllianceIDGatewayTimeout

type GetAlliancesAllianceIDGatewayTimeout struct {
	Payload *esimodels.GatewayTimeout
}

GetAlliancesAllianceIDGatewayTimeout handles this case with default header values.

Gateway timeout

func NewGetAlliancesAllianceIDGatewayTimeout

func NewGetAlliancesAllianceIDGatewayTimeout() *GetAlliancesAllianceIDGatewayTimeout

NewGetAlliancesAllianceIDGatewayTimeout creates a GetAlliancesAllianceIDGatewayTimeout with default headers values

func (*GetAlliancesAllianceIDGatewayTimeout) Error

func (*GetAlliancesAllianceIDGatewayTimeout) GetPayload

type GetAlliancesAllianceIDIconsBadRequest

type GetAlliancesAllianceIDIconsBadRequest struct {
	Payload *esimodels.BadRequest
}

GetAlliancesAllianceIDIconsBadRequest handles this case with default header values.

Bad request

func NewGetAlliancesAllianceIDIconsBadRequest

func NewGetAlliancesAllianceIDIconsBadRequest() *GetAlliancesAllianceIDIconsBadRequest

NewGetAlliancesAllianceIDIconsBadRequest creates a GetAlliancesAllianceIDIconsBadRequest with default headers values

func (*GetAlliancesAllianceIDIconsBadRequest) Error

func (*GetAlliancesAllianceIDIconsBadRequest) GetPayload

type GetAlliancesAllianceIDIconsEnhanceYourCalm

type GetAlliancesAllianceIDIconsEnhanceYourCalm struct {
	Payload *esimodels.ErrorLimited
}

GetAlliancesAllianceIDIconsEnhanceYourCalm handles this case with default header values.

Error limited

func NewGetAlliancesAllianceIDIconsEnhanceYourCalm

func NewGetAlliancesAllianceIDIconsEnhanceYourCalm() *GetAlliancesAllianceIDIconsEnhanceYourCalm

NewGetAlliancesAllianceIDIconsEnhanceYourCalm creates a GetAlliancesAllianceIDIconsEnhanceYourCalm with default headers values

func (*GetAlliancesAllianceIDIconsEnhanceYourCalm) Error

func (*GetAlliancesAllianceIDIconsEnhanceYourCalm) GetPayload

type GetAlliancesAllianceIDIconsGatewayTimeout

type GetAlliancesAllianceIDIconsGatewayTimeout struct {
	Payload *esimodels.GatewayTimeout
}

GetAlliancesAllianceIDIconsGatewayTimeout handles this case with default header values.

Gateway timeout

func NewGetAlliancesAllianceIDIconsGatewayTimeout

func NewGetAlliancesAllianceIDIconsGatewayTimeout() *GetAlliancesAllianceIDIconsGatewayTimeout

NewGetAlliancesAllianceIDIconsGatewayTimeout creates a GetAlliancesAllianceIDIconsGatewayTimeout with default headers values

func (*GetAlliancesAllianceIDIconsGatewayTimeout) Error

func (*GetAlliancesAllianceIDIconsGatewayTimeout) GetPayload

type GetAlliancesAllianceIDIconsInternalServerError

type GetAlliancesAllianceIDIconsInternalServerError struct {
	Payload *esimodels.InternalServerError
}

GetAlliancesAllianceIDIconsInternalServerError handles this case with default header values.

Internal server error

func NewGetAlliancesAllianceIDIconsInternalServerError

func NewGetAlliancesAllianceIDIconsInternalServerError() *GetAlliancesAllianceIDIconsInternalServerError

NewGetAlliancesAllianceIDIconsInternalServerError creates a GetAlliancesAllianceIDIconsInternalServerError with default headers values

func (*GetAlliancesAllianceIDIconsInternalServerError) Error

func (*GetAlliancesAllianceIDIconsInternalServerError) GetPayload

type GetAlliancesAllianceIDIconsNotFound

type GetAlliancesAllianceIDIconsNotFound struct {
	Payload *GetAlliancesAllianceIDIconsNotFoundBody
}

GetAlliancesAllianceIDIconsNotFound handles this case 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 (*GetAlliancesAllianceIDIconsNotFound) GetPayload

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) 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 handles this case with default header values.

Not modified

func NewGetAlliancesAllianceIDIconsNotModified

func NewGetAlliancesAllianceIDIconsNotModified() *GetAlliancesAllianceIDIconsNotModified

NewGetAlliancesAllianceIDIconsNotModified creates a GetAlliancesAllianceIDIconsNotModified with default headers values

func (*GetAlliancesAllianceIDIconsNotModified) Error

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 handles this case 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 (*GetAlliancesAllianceIDIconsOK) GetPayload

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) 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

	*/
	AllianceID int32
	/*Datasource
	  The server name you would like data from

	*/
	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 values initialized.

func NewGetAlliancesAllianceIDIconsParamsWithContext

func NewGetAlliancesAllianceIDIconsParamsWithContext(ctx context.Context) *GetAlliancesAllianceIDIconsParams

NewGetAlliancesAllianceIDIconsParamsWithContext creates a new GetAlliancesAllianceIDIconsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *esimodels.ServiceUnavailable
}

GetAlliancesAllianceIDIconsServiceUnavailable handles this case with default header values.

Service unavailable

func NewGetAlliancesAllianceIDIconsServiceUnavailable

func NewGetAlliancesAllianceIDIconsServiceUnavailable() *GetAlliancesAllianceIDIconsServiceUnavailable

NewGetAlliancesAllianceIDIconsServiceUnavailable creates a GetAlliancesAllianceIDIconsServiceUnavailable with default headers values

func (*GetAlliancesAllianceIDIconsServiceUnavailable) Error

func (*GetAlliancesAllianceIDIconsServiceUnavailable) GetPayload

type GetAlliancesAllianceIDInternalServerError

type GetAlliancesAllianceIDInternalServerError struct {
	Payload *esimodels.InternalServerError
}

GetAlliancesAllianceIDInternalServerError handles this case with default header values.

Internal server error

func NewGetAlliancesAllianceIDInternalServerError

func NewGetAlliancesAllianceIDInternalServerError() *GetAlliancesAllianceIDInternalServerError

NewGetAlliancesAllianceIDInternalServerError creates a GetAlliancesAllianceIDInternalServerError with default headers values

func (*GetAlliancesAllianceIDInternalServerError) Error

func (*GetAlliancesAllianceIDInternalServerError) GetPayload

type GetAlliancesAllianceIDNotFound

type GetAlliancesAllianceIDNotFound struct {
	Payload *GetAlliancesAllianceIDNotFoundBody
}

GetAlliancesAllianceIDNotFound handles this case with default header values.

Alliance not found

func NewGetAlliancesAllianceIDNotFound

func NewGetAlliancesAllianceIDNotFound() *GetAlliancesAllianceIDNotFound

NewGetAlliancesAllianceIDNotFound creates a GetAlliancesAllianceIDNotFound with default headers values

func (*GetAlliancesAllianceIDNotFound) Error

func (*GetAlliancesAllianceIDNotFound) GetPayload

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) 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 handles this case with default header values.

Not modified

func NewGetAlliancesAllianceIDNotModified

func NewGetAlliancesAllianceIDNotModified() *GetAlliancesAllianceIDNotModified

NewGetAlliancesAllianceIDNotModified creates a GetAlliancesAllianceIDNotModified with default headers values

func (*GetAlliancesAllianceIDNotModified) Error

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 handles this case 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

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) 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

	*/
	AllianceID int32
	/*Datasource
	  The server name you would like data from

	*/
	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 values initialized.

func NewGetAlliancesAllianceIDParamsWithContext

func NewGetAlliancesAllianceIDParamsWithContext(ctx context.Context) *GetAlliancesAllianceIDParams

NewGetAlliancesAllianceIDParamsWithContext creates a new GetAlliancesAllianceIDParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *esimodels.ServiceUnavailable
}

GetAlliancesAllianceIDServiceUnavailable handles this case with default header values.

Service unavailable

func NewGetAlliancesAllianceIDServiceUnavailable

func NewGetAlliancesAllianceIDServiceUnavailable() *GetAlliancesAllianceIDServiceUnavailable

NewGetAlliancesAllianceIDServiceUnavailable creates a GetAlliancesAllianceIDServiceUnavailable with default headers values

func (*GetAlliancesAllianceIDServiceUnavailable) Error

func (*GetAlliancesAllianceIDServiceUnavailable) GetPayload

type GetAlliancesBadRequest

type GetAlliancesBadRequest struct {
	Payload *esimodels.BadRequest
}

GetAlliancesBadRequest handles this case 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() *esimodels.BadRequest

type GetAlliancesEnhanceYourCalm

type GetAlliancesEnhanceYourCalm struct {
	Payload *esimodels.ErrorLimited
}

GetAlliancesEnhanceYourCalm handles this case with default header values.

Error limited

func NewGetAlliancesEnhanceYourCalm

func NewGetAlliancesEnhanceYourCalm() *GetAlliancesEnhanceYourCalm

NewGetAlliancesEnhanceYourCalm creates a GetAlliancesEnhanceYourCalm with default headers values

func (*GetAlliancesEnhanceYourCalm) Error

func (*GetAlliancesEnhanceYourCalm) GetPayload

type GetAlliancesGatewayTimeout

type GetAlliancesGatewayTimeout struct {
	Payload *esimodels.GatewayTimeout
}

GetAlliancesGatewayTimeout handles this case with default header values.

Gateway timeout

func NewGetAlliancesGatewayTimeout

func NewGetAlliancesGatewayTimeout() *GetAlliancesGatewayTimeout

NewGetAlliancesGatewayTimeout creates a GetAlliancesGatewayTimeout with default headers values

func (*GetAlliancesGatewayTimeout) Error

func (*GetAlliancesGatewayTimeout) GetPayload

type GetAlliancesInternalServerError

type GetAlliancesInternalServerError struct {
	Payload *esimodels.InternalServerError
}

GetAlliancesInternalServerError handles this case with default header values.

Internal server error

func NewGetAlliancesInternalServerError

func NewGetAlliancesInternalServerError() *GetAlliancesInternalServerError

NewGetAlliancesInternalServerError creates a GetAlliancesInternalServerError with default headers values

func (*GetAlliancesInternalServerError) Error

func (*GetAlliancesInternalServerError) GetPayload

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 handles this case 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 handles this case 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

	*/
	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 values initialized.

func NewGetAlliancesParamsWithContext

func NewGetAlliancesParamsWithContext(ctx context.Context) *GetAlliancesParams

NewGetAlliancesParamsWithContext creates a new GetAlliancesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *esimodels.ServiceUnavailable
}

GetAlliancesServiceUnavailable handles this case with default header values.

Service unavailable

func NewGetAlliancesServiceUnavailable

func NewGetAlliancesServiceUnavailable() *GetAlliancesServiceUnavailable

NewGetAlliancesServiceUnavailable creates a GetAlliancesServiceUnavailable with default headers values

func (*GetAlliancesServiceUnavailable) Error

func (*GetAlliancesServiceUnavailable) GetPayload

Jump to

Keyboard shortcuts

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