loyalty

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 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

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) (*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 ClientService

type ClientService interface {
	GetCharactersCharacterIDLoyaltyPoints(params *GetCharactersCharacterIDLoyaltyPointsParams, authInfo runtime.ClientAuthInfoWriter) (*GetCharactersCharacterIDLoyaltyPointsOK, error)

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

GetCharactersCharacterIDLoyaltyPointsBadRequest handles this case 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 *esimodels.ErrorLimited
}

GetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm handles this case 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 *esimodels.Forbidden
}

GetCharactersCharacterIDLoyaltyPointsForbidden handles this case 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 *esimodels.GatewayTimeout
}

GetCharactersCharacterIDLoyaltyPointsGatewayTimeout handles this case 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 *esimodels.InternalServerError
}

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

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

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

func NewGetCharactersCharacterIDLoyaltyPointsParamsWithContext

func NewGetCharactersCharacterIDLoyaltyPointsParamsWithContext(ctx context.Context) *GetCharactersCharacterIDLoyaltyPointsParams

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

GetCharactersCharacterIDLoyaltyPointsServiceUnavailable handles this case 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 *esimodels.Unauthorized
}

GetCharactersCharacterIDLoyaltyPointsUnauthorized handles this case 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 *esimodels.BadRequest
}

GetLoyaltyStoresCorporationIDOffersBadRequest handles this case 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 *esimodels.ErrorLimited
}

GetLoyaltyStoresCorporationIDOffersEnhanceYourCalm handles this case 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 *esimodels.GatewayTimeout
}

GetLoyaltyStoresCorporationIDOffersGatewayTimeout handles this case 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 *esimodels.InternalServerError
}

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

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

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

func NewGetLoyaltyStoresCorporationIDOffersParamsWithContext

func NewGetLoyaltyStoresCorporationIDOffersParamsWithContext(ctx context.Context) *GetLoyaltyStoresCorporationIDOffersParams

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

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