loyalty

package
v0.5.16 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for loyalty API

func (*Client) GetCharactersCharacterIDLoyaltyPoints

func (a *Client) GetCharactersCharacterIDLoyaltyPoints(params *GetCharactersCharacterIDLoyaltyPointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDLoyaltyPointsOK, error)
GetCharactersCharacterIDLoyaltyPoints gets loyalty points

Return a list of loyalty points for all corporations the character has worked for

---

This route is cached for up to 3600 seconds

func (*Client) GetLoyaltyStoresCorporationIDOffers

func (a *Client) GetLoyaltyStoresCorporationIDOffers(params *GetLoyaltyStoresCorporationIDOffersParams, opts ...ClientOption) (*GetLoyaltyStoresCorporationIDOffersOK, error)
GetLoyaltyStoresCorporationIDOffers lists loyalty store offers

Return a list of offers from a specific corporation's loyalty store

---

This route expires daily at 11:05

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 {
	GetCharactersCharacterIDLoyaltyPoints(params *GetCharactersCharacterIDLoyaltyPointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDLoyaltyPointsOK, error)

	GetLoyaltyStoresCorporationIDOffers(params *GetLoyaltyStoresCorporationIDOffersParams, opts ...ClientOption) (*GetLoyaltyStoresCorporationIDOffersOK, 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 loyalty API client.

type GetCharactersCharacterIDLoyaltyPointsBadRequest

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

Bad request

func NewGetCharactersCharacterIDLoyaltyPointsBadRequest

func NewGetCharactersCharacterIDLoyaltyPointsBadRequest() *GetCharactersCharacterIDLoyaltyPointsBadRequest

NewGetCharactersCharacterIDLoyaltyPointsBadRequest creates a GetCharactersCharacterIDLoyaltyPointsBadRequest with default headers values

func (*GetCharactersCharacterIDLoyaltyPointsBadRequest) Error

func (*GetCharactersCharacterIDLoyaltyPointsBadRequest) GetPayload

type GetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm

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

Error limited

func NewGetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm

func NewGetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm() *GetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm

NewGetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm creates a GetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm with default headers values

func (*GetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm) Error

func (*GetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm) GetPayload

type GetCharactersCharacterIDLoyaltyPointsForbidden

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

Forbidden

func NewGetCharactersCharacterIDLoyaltyPointsForbidden

func NewGetCharactersCharacterIDLoyaltyPointsForbidden() *GetCharactersCharacterIDLoyaltyPointsForbidden

NewGetCharactersCharacterIDLoyaltyPointsForbidden creates a GetCharactersCharacterIDLoyaltyPointsForbidden with default headers values

func (*GetCharactersCharacterIDLoyaltyPointsForbidden) Error

func (*GetCharactersCharacterIDLoyaltyPointsForbidden) GetPayload

type GetCharactersCharacterIDLoyaltyPointsGatewayTimeout

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

Gateway timeout

func NewGetCharactersCharacterIDLoyaltyPointsGatewayTimeout

func NewGetCharactersCharacterIDLoyaltyPointsGatewayTimeout() *GetCharactersCharacterIDLoyaltyPointsGatewayTimeout

NewGetCharactersCharacterIDLoyaltyPointsGatewayTimeout creates a GetCharactersCharacterIDLoyaltyPointsGatewayTimeout with default headers values

func (*GetCharactersCharacterIDLoyaltyPointsGatewayTimeout) Error

func (*GetCharactersCharacterIDLoyaltyPointsGatewayTimeout) GetPayload

type GetCharactersCharacterIDLoyaltyPointsInternalServerError

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

Internal server error

func NewGetCharactersCharacterIDLoyaltyPointsInternalServerError

func NewGetCharactersCharacterIDLoyaltyPointsInternalServerError() *GetCharactersCharacterIDLoyaltyPointsInternalServerError

NewGetCharactersCharacterIDLoyaltyPointsInternalServerError creates a GetCharactersCharacterIDLoyaltyPointsInternalServerError with default headers values

func (*GetCharactersCharacterIDLoyaltyPointsInternalServerError) Error

func (*GetCharactersCharacterIDLoyaltyPointsInternalServerError) GetPayload

type GetCharactersCharacterIDLoyaltyPointsNotModified

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

Not modified

func NewGetCharactersCharacterIDLoyaltyPointsNotModified

func NewGetCharactersCharacterIDLoyaltyPointsNotModified() *GetCharactersCharacterIDLoyaltyPointsNotModified

NewGetCharactersCharacterIDLoyaltyPointsNotModified creates a GetCharactersCharacterIDLoyaltyPointsNotModified with default headers values

func (*GetCharactersCharacterIDLoyaltyPointsNotModified) Error

type GetCharactersCharacterIDLoyaltyPointsOK

type GetCharactersCharacterIDLoyaltyPointsOK 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 []*GetCharactersCharacterIDLoyaltyPointsOKBodyItems0
}
GetCharactersCharacterIDLoyaltyPointsOK describes a response with status code 200, with default header values.

A list of loyalty points

func NewGetCharactersCharacterIDLoyaltyPointsOK

func NewGetCharactersCharacterIDLoyaltyPointsOK() *GetCharactersCharacterIDLoyaltyPointsOK

NewGetCharactersCharacterIDLoyaltyPointsOK creates a GetCharactersCharacterIDLoyaltyPointsOK with default headers values

func (*GetCharactersCharacterIDLoyaltyPointsOK) Error

func (*GetCharactersCharacterIDLoyaltyPointsOK) GetPayload

type GetCharactersCharacterIDLoyaltyPointsOKBodyItems0

type GetCharactersCharacterIDLoyaltyPointsOKBodyItems0 struct {

	// get_characters_character_id_loyalty_points_corporation_id
	//
	// corporation_id integer
	// Required: true
	CorporationID *int32 `json:"corporation_id"`

	// get_characters_character_id_loyalty_points_loyalty_points
	//
	// loyalty_points integer
	// Required: true
	LoyaltyPoints *int32 `json:"loyalty_points"`
}

GetCharactersCharacterIDLoyaltyPointsOKBodyItems0 get_characters_character_id_loyalty_points_200_ok // // 200 ok object swagger:model GetCharactersCharacterIDLoyaltyPointsOKBodyItems0

func (*GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) ContextValidate added in v0.3.0

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

func (*GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) Validate

Validate validates this get characters character ID loyalty points o k body items0

type GetCharactersCharacterIDLoyaltyPointsParams

type GetCharactersCharacterIDLoyaltyPointsParams struct {

	/* IfNoneMatch.

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

	/* CharacterID.

	   An EVE character ID

	   Format: int32
	*/
	CharacterID int32

	/* Datasource.

	   The server name you would like data from

	   Default: "tranquility"
	*/
	Datasource *string

	/* Token.

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

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

GetCharactersCharacterIDLoyaltyPointsParams contains all the parameters to send to the API endpoint

for the get characters character id loyalty points operation.

Typically these are written to a http.Request.

func NewGetCharactersCharacterIDLoyaltyPointsParams

func NewGetCharactersCharacterIDLoyaltyPointsParams() *GetCharactersCharacterIDLoyaltyPointsParams

NewGetCharactersCharacterIDLoyaltyPointsParams creates a new GetCharactersCharacterIDLoyaltyPointsParams 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 NewGetCharactersCharacterIDLoyaltyPointsParamsWithContext

func NewGetCharactersCharacterIDLoyaltyPointsParamsWithContext(ctx context.Context) *GetCharactersCharacterIDLoyaltyPointsParams

NewGetCharactersCharacterIDLoyaltyPointsParamsWithContext creates a new GetCharactersCharacterIDLoyaltyPointsParams object with the ability to set a context for a request.

func NewGetCharactersCharacterIDLoyaltyPointsParamsWithHTTPClient

func NewGetCharactersCharacterIDLoyaltyPointsParamsWithHTTPClient(client *http.Client) *GetCharactersCharacterIDLoyaltyPointsParams

NewGetCharactersCharacterIDLoyaltyPointsParamsWithHTTPClient creates a new GetCharactersCharacterIDLoyaltyPointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCharactersCharacterIDLoyaltyPointsParamsWithTimeout

func NewGetCharactersCharacterIDLoyaltyPointsParamsWithTimeout(timeout time.Duration) *GetCharactersCharacterIDLoyaltyPointsParams

NewGetCharactersCharacterIDLoyaltyPointsParamsWithTimeout creates a new GetCharactersCharacterIDLoyaltyPointsParams object with the ability to set a timeout on a request.

func (*GetCharactersCharacterIDLoyaltyPointsParams) SetCharacterID

func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetCharacterID(characterID int32)

SetCharacterID adds the characterId to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) SetContext

SetContext adds the context to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) SetDatasource

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

SetDatasource adds the datasource to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) SetDefaults added in v0.3.0

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

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

func (*GetCharactersCharacterIDLoyaltyPointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) SetTimeout

SetTimeout adds the timeout to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) SetToken

SetToken adds the token to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) WithCharacterID

WithCharacterID adds the characterID to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) WithContext

WithContext adds the context to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) WithDatasource

WithDatasource adds the datasource to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) WithDefaults added in v0.3.0

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

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

func (*GetCharactersCharacterIDLoyaltyPointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) WithIfNoneMatch

WithIfNoneMatch adds the ifNoneMatch to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) WithTimeout

WithTimeout adds the timeout to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) WithToken

WithToken adds the token to the get characters character id loyalty points params

func (*GetCharactersCharacterIDLoyaltyPointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCharactersCharacterIDLoyaltyPointsReader

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

GetCharactersCharacterIDLoyaltyPointsReader is a Reader for the GetCharactersCharacterIDLoyaltyPoints structure.

func (*GetCharactersCharacterIDLoyaltyPointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCharactersCharacterIDLoyaltyPointsServiceUnavailable

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

Service unavailable

func NewGetCharactersCharacterIDLoyaltyPointsServiceUnavailable

func NewGetCharactersCharacterIDLoyaltyPointsServiceUnavailable() *GetCharactersCharacterIDLoyaltyPointsServiceUnavailable

NewGetCharactersCharacterIDLoyaltyPointsServiceUnavailable creates a GetCharactersCharacterIDLoyaltyPointsServiceUnavailable with default headers values

func (*GetCharactersCharacterIDLoyaltyPointsServiceUnavailable) Error

func (*GetCharactersCharacterIDLoyaltyPointsServiceUnavailable) GetPayload

type GetCharactersCharacterIDLoyaltyPointsUnauthorized

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

Unauthorized

func NewGetCharactersCharacterIDLoyaltyPointsUnauthorized

func NewGetCharactersCharacterIDLoyaltyPointsUnauthorized() *GetCharactersCharacterIDLoyaltyPointsUnauthorized

NewGetCharactersCharacterIDLoyaltyPointsUnauthorized creates a GetCharactersCharacterIDLoyaltyPointsUnauthorized with default headers values

func (*GetCharactersCharacterIDLoyaltyPointsUnauthorized) Error

func (*GetCharactersCharacterIDLoyaltyPointsUnauthorized) GetPayload

type GetLoyaltyStoresCorporationIDOffersBadRequest

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

Bad request

func NewGetLoyaltyStoresCorporationIDOffersBadRequest

func NewGetLoyaltyStoresCorporationIDOffersBadRequest() *GetLoyaltyStoresCorporationIDOffersBadRequest

NewGetLoyaltyStoresCorporationIDOffersBadRequest creates a GetLoyaltyStoresCorporationIDOffersBadRequest with default headers values

func (*GetLoyaltyStoresCorporationIDOffersBadRequest) Error

func (*GetLoyaltyStoresCorporationIDOffersBadRequest) GetPayload

type GetLoyaltyStoresCorporationIDOffersEnhanceYourCalm

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

Error limited

func NewGetLoyaltyStoresCorporationIDOffersEnhanceYourCalm

func NewGetLoyaltyStoresCorporationIDOffersEnhanceYourCalm() *GetLoyaltyStoresCorporationIDOffersEnhanceYourCalm

NewGetLoyaltyStoresCorporationIDOffersEnhanceYourCalm creates a GetLoyaltyStoresCorporationIDOffersEnhanceYourCalm with default headers values

func (*GetLoyaltyStoresCorporationIDOffersEnhanceYourCalm) Error

func (*GetLoyaltyStoresCorporationIDOffersEnhanceYourCalm) GetPayload

type GetLoyaltyStoresCorporationIDOffersGatewayTimeout

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

Gateway timeout

func NewGetLoyaltyStoresCorporationIDOffersGatewayTimeout

func NewGetLoyaltyStoresCorporationIDOffersGatewayTimeout() *GetLoyaltyStoresCorporationIDOffersGatewayTimeout

NewGetLoyaltyStoresCorporationIDOffersGatewayTimeout creates a GetLoyaltyStoresCorporationIDOffersGatewayTimeout with default headers values

func (*GetLoyaltyStoresCorporationIDOffersGatewayTimeout) Error

func (*GetLoyaltyStoresCorporationIDOffersGatewayTimeout) GetPayload

type GetLoyaltyStoresCorporationIDOffersInternalServerError

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

Internal server error

func NewGetLoyaltyStoresCorporationIDOffersInternalServerError

func NewGetLoyaltyStoresCorporationIDOffersInternalServerError() *GetLoyaltyStoresCorporationIDOffersInternalServerError

NewGetLoyaltyStoresCorporationIDOffersInternalServerError creates a GetLoyaltyStoresCorporationIDOffersInternalServerError with default headers values

func (*GetLoyaltyStoresCorporationIDOffersInternalServerError) Error

func (*GetLoyaltyStoresCorporationIDOffersInternalServerError) GetPayload

type GetLoyaltyStoresCorporationIDOffersNotFound

type GetLoyaltyStoresCorporationIDOffersNotFound struct {
	Payload *GetLoyaltyStoresCorporationIDOffersNotFoundBody
}
GetLoyaltyStoresCorporationIDOffersNotFound describes a response with status code 404, with default header values.

No loyalty point store found for the provided corporation

func NewGetLoyaltyStoresCorporationIDOffersNotFound

func NewGetLoyaltyStoresCorporationIDOffersNotFound() *GetLoyaltyStoresCorporationIDOffersNotFound

NewGetLoyaltyStoresCorporationIDOffersNotFound creates a GetLoyaltyStoresCorporationIDOffersNotFound with default headers values

func (*GetLoyaltyStoresCorporationIDOffersNotFound) Error

func (*GetLoyaltyStoresCorporationIDOffersNotFound) GetPayload

type GetLoyaltyStoresCorporationIDOffersNotFoundBody

type GetLoyaltyStoresCorporationIDOffersNotFoundBody struct {

	// get_loyalty_stores_corporation_id_offers_404_not_found
	//
	// Not found message
	Error string `json:"error,omitempty"`
}

GetLoyaltyStoresCorporationIDOffersNotFoundBody get_loyalty_stores_corporation_id_offers_not_found // // Not found swagger:model GetLoyaltyStoresCorporationIDOffersNotFoundBody

func (*GetLoyaltyStoresCorporationIDOffersNotFoundBody) ContextValidate added in v0.3.0

ContextValidate validates this get loyalty stores corporation ID offers not found body based on context it is used

func (*GetLoyaltyStoresCorporationIDOffersNotFoundBody) MarshalBinary

MarshalBinary interface implementation

func (*GetLoyaltyStoresCorporationIDOffersNotFoundBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetLoyaltyStoresCorporationIDOffersNotFoundBody) Validate

Validate validates this get loyalty stores corporation ID offers not found body

type GetLoyaltyStoresCorporationIDOffersNotModified

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

Not modified

func NewGetLoyaltyStoresCorporationIDOffersNotModified

func NewGetLoyaltyStoresCorporationIDOffersNotModified() *GetLoyaltyStoresCorporationIDOffersNotModified

NewGetLoyaltyStoresCorporationIDOffersNotModified creates a GetLoyaltyStoresCorporationIDOffersNotModified with default headers values

func (*GetLoyaltyStoresCorporationIDOffersNotModified) Error

type GetLoyaltyStoresCorporationIDOffersOK

type GetLoyaltyStoresCorporationIDOffersOK 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 []*GetLoyaltyStoresCorporationIDOffersOKBodyItems0
}
GetLoyaltyStoresCorporationIDOffersOK describes a response with status code 200, with default header values.

A list of offers

func NewGetLoyaltyStoresCorporationIDOffersOK

func NewGetLoyaltyStoresCorporationIDOffersOK() *GetLoyaltyStoresCorporationIDOffersOK

NewGetLoyaltyStoresCorporationIDOffersOK creates a GetLoyaltyStoresCorporationIDOffersOK with default headers values

func (*GetLoyaltyStoresCorporationIDOffersOK) Error

func (*GetLoyaltyStoresCorporationIDOffersOK) GetPayload

type GetLoyaltyStoresCorporationIDOffersOKBodyItems0

type GetLoyaltyStoresCorporationIDOffersOKBodyItems0 struct {

	// get_loyalty_stores_corporation_id_offers_ak_cost
	//
	// Analysis kredit cost
	AkCost int32 `json:"ak_cost,omitempty"`

	// get_loyalty_stores_corporation_id_offers_isk_cost
	//
	// isk_cost integer
	// Required: true
	IskCost *int64 `json:"isk_cost"`

	// get_loyalty_stores_corporation_id_offers_lp_cost
	//
	// lp_cost integer
	// Required: true
	LpCost *int32 `json:"lp_cost"`

	// get_loyalty_stores_corporation_id_offers_offer_id
	//
	// offer_id integer
	// Required: true
	OfferID *int32 `json:"offer_id"`

	// get_loyalty_stores_corporation_id_offers_quantity
	//
	// quantity integer
	// Required: true
	Quantity *int32 `json:"quantity"`

	// get_loyalty_stores_corporation_id_offers_required_items
	//
	// required_items array
	// Required: true
	// Max Items: 100
	RequiredItems []*GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0 `json:"required_items"`

	// get_loyalty_stores_corporation_id_offers_type_id
	//
	// type_id integer
	// Required: true
	TypeID *int32 `json:"type_id"`
}

GetLoyaltyStoresCorporationIDOffersOKBodyItems0 get_loyalty_stores_corporation_id_offers_200_ok // // 200 ok object swagger:model GetLoyaltyStoresCorporationIDOffersOKBodyItems0

func (*GetLoyaltyStoresCorporationIDOffersOKBodyItems0) ContextValidate added in v0.3.0

ContextValidate validate this get loyalty stores corporation ID offers o k body items0 based on the context it is used

func (*GetLoyaltyStoresCorporationIDOffersOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetLoyaltyStoresCorporationIDOffersOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetLoyaltyStoresCorporationIDOffersOKBodyItems0) Validate

Validate validates this get loyalty stores corporation ID offers o k body items0

type GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0

type GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0 struct {

	// get_loyalty_stores_corporation_id_offers_required_item_quantity
	//
	// quantity integer
	// Required: true
	Quantity *int32 `json:"quantity"`

	// get_loyalty_stores_corporation_id_offers_required_item_type_id
	//
	// type_id integer
	// Required: true
	TypeID *int32 `json:"type_id"`
}

GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0 get_loyalty_stores_corporation_id_offers_required_item // // required_item object swagger:model GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0

func (*GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) ContextValidate added in v0.3.0

ContextValidate validates this get loyalty stores corporation ID offers o k body items0 required items items0 based on context it is used

func (*GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) Validate

Validate validates this get loyalty stores corporation ID offers o k body items0 required items items0

type GetLoyaltyStoresCorporationIDOffersParams

type GetLoyaltyStoresCorporationIDOffersParams struct {

	/* IfNoneMatch.

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

	/* CorporationID.

	   An EVE corporation ID

	   Format: int32
	*/
	CorporationID int32

	/* Datasource.

	   The server name you would like data from

	   Default: "tranquility"
	*/
	Datasource *string

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

GetLoyaltyStoresCorporationIDOffersParams contains all the parameters to send to the API endpoint

for the get loyalty stores corporation id offers operation.

Typically these are written to a http.Request.

func NewGetLoyaltyStoresCorporationIDOffersParams

func NewGetLoyaltyStoresCorporationIDOffersParams() *GetLoyaltyStoresCorporationIDOffersParams

NewGetLoyaltyStoresCorporationIDOffersParams creates a new GetLoyaltyStoresCorporationIDOffersParams 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 NewGetLoyaltyStoresCorporationIDOffersParamsWithContext

func NewGetLoyaltyStoresCorporationIDOffersParamsWithContext(ctx context.Context) *GetLoyaltyStoresCorporationIDOffersParams

NewGetLoyaltyStoresCorporationIDOffersParamsWithContext creates a new GetLoyaltyStoresCorporationIDOffersParams object with the ability to set a context for a request.

func NewGetLoyaltyStoresCorporationIDOffersParamsWithHTTPClient

func NewGetLoyaltyStoresCorporationIDOffersParamsWithHTTPClient(client *http.Client) *GetLoyaltyStoresCorporationIDOffersParams

NewGetLoyaltyStoresCorporationIDOffersParamsWithHTTPClient creates a new GetLoyaltyStoresCorporationIDOffersParams object with the ability to set a custom HTTPClient for a request.

func NewGetLoyaltyStoresCorporationIDOffersParamsWithTimeout

func NewGetLoyaltyStoresCorporationIDOffersParamsWithTimeout(timeout time.Duration) *GetLoyaltyStoresCorporationIDOffersParams

NewGetLoyaltyStoresCorporationIDOffersParamsWithTimeout creates a new GetLoyaltyStoresCorporationIDOffersParams object with the ability to set a timeout on a request.

func (*GetLoyaltyStoresCorporationIDOffersParams) SetContext

SetContext adds the context to the get loyalty stores corporation id offers params

func (*GetLoyaltyStoresCorporationIDOffersParams) SetCorporationID

func (o *GetLoyaltyStoresCorporationIDOffersParams) SetCorporationID(corporationID int32)

SetCorporationID adds the corporationId to the get loyalty stores corporation id offers params

func (*GetLoyaltyStoresCorporationIDOffersParams) SetDatasource

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

SetDatasource adds the datasource to the get loyalty stores corporation id offers params

func (*GetLoyaltyStoresCorporationIDOffersParams) SetDefaults added in v0.3.0

SetDefaults hydrates default values in the get loyalty stores corporation id offers params (not the query body).

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

func (*GetLoyaltyStoresCorporationIDOffersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get loyalty stores corporation id offers params

func (*GetLoyaltyStoresCorporationIDOffersParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the get loyalty stores corporation id offers params

func (*GetLoyaltyStoresCorporationIDOffersParams) SetTimeout

SetTimeout adds the timeout to the get loyalty stores corporation id offers params

func (*GetLoyaltyStoresCorporationIDOffersParams) WithContext

WithContext adds the context to the get loyalty stores corporation id offers params

func (*GetLoyaltyStoresCorporationIDOffersParams) WithCorporationID

WithCorporationID adds the corporationID to the get loyalty stores corporation id offers params

func (*GetLoyaltyStoresCorporationIDOffersParams) WithDatasource

WithDatasource adds the datasource to the get loyalty stores corporation id offers params

func (*GetLoyaltyStoresCorporationIDOffersParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get loyalty stores corporation id offers params (not the query body).

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

func (*GetLoyaltyStoresCorporationIDOffersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get loyalty stores corporation id offers params

func (*GetLoyaltyStoresCorporationIDOffersParams) WithIfNoneMatch

WithIfNoneMatch adds the ifNoneMatch to the get loyalty stores corporation id offers params

func (*GetLoyaltyStoresCorporationIDOffersParams) WithTimeout

WithTimeout adds the timeout to the get loyalty stores corporation id offers params

func (*GetLoyaltyStoresCorporationIDOffersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLoyaltyStoresCorporationIDOffersReader

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

GetLoyaltyStoresCorporationIDOffersReader is a Reader for the GetLoyaltyStoresCorporationIDOffers structure.

func (*GetLoyaltyStoresCorporationIDOffersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLoyaltyStoresCorporationIDOffersServiceUnavailable

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

Service unavailable

func NewGetLoyaltyStoresCorporationIDOffersServiceUnavailable

func NewGetLoyaltyStoresCorporationIDOffersServiceUnavailable() *GetLoyaltyStoresCorporationIDOffersServiceUnavailable

NewGetLoyaltyStoresCorporationIDOffersServiceUnavailable creates a GetLoyaltyStoresCorporationIDOffersServiceUnavailable with default headers values

func (*GetLoyaltyStoresCorporationIDOffersServiceUnavailable) Error

func (*GetLoyaltyStoresCorporationIDOffersServiceUnavailable) GetPayload

Jump to

Keyboard shortcuts

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