Documentation ¶
Index ¶
- type Client
- func (a *Client) GetCharactersCharacterIDLoyaltyPoints(params *GetCharactersCharacterIDLoyaltyPointsParams, ...) (*GetCharactersCharacterIDLoyaltyPointsOK, error)
- func (a *Client) GetLoyaltyStoresCorporationIDOffers(params *GetLoyaltyStoresCorporationIDOffersParams, opts ...ClientOption) (*GetLoyaltyStoresCorporationIDOffersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetCharactersCharacterIDLoyaltyPointsBadRequest
- type GetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm
- type GetCharactersCharacterIDLoyaltyPointsForbidden
- type GetCharactersCharacterIDLoyaltyPointsGatewayTimeout
- type GetCharactersCharacterIDLoyaltyPointsInternalServerError
- type GetCharactersCharacterIDLoyaltyPointsNotModified
- type GetCharactersCharacterIDLoyaltyPointsOK
- type GetCharactersCharacterIDLoyaltyPointsOKBodyItems0
- func (o *GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetCharactersCharacterIDLoyaltyPointsParams
- func NewGetCharactersCharacterIDLoyaltyPointsParams() *GetCharactersCharacterIDLoyaltyPointsParams
- func NewGetCharactersCharacterIDLoyaltyPointsParamsWithContext(ctx context.Context) *GetCharactersCharacterIDLoyaltyPointsParams
- func NewGetCharactersCharacterIDLoyaltyPointsParamsWithHTTPClient(client *http.Client) *GetCharactersCharacterIDLoyaltyPointsParams
- func NewGetCharactersCharacterIDLoyaltyPointsParamsWithTimeout(timeout time.Duration) *GetCharactersCharacterIDLoyaltyPointsParams
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetCharacterID(characterID int32)
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetContext(ctx context.Context)
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetDatasource(datasource *string)
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetDefaults()
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetHTTPClient(client *http.Client)
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetTimeout(timeout time.Duration)
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetToken(token *string)
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithCharacterID(characterID int32) *GetCharactersCharacterIDLoyaltyPointsParams
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithContext(ctx context.Context) *GetCharactersCharacterIDLoyaltyPointsParams
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithDatasource(datasource *string) *GetCharactersCharacterIDLoyaltyPointsParams
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithDefaults() *GetCharactersCharacterIDLoyaltyPointsParams
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithHTTPClient(client *http.Client) *GetCharactersCharacterIDLoyaltyPointsParams
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithIfNoneMatch(ifNoneMatch *string) *GetCharactersCharacterIDLoyaltyPointsParams
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithTimeout(timeout time.Duration) *GetCharactersCharacterIDLoyaltyPointsParams
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithToken(token *string) *GetCharactersCharacterIDLoyaltyPointsParams
- func (o *GetCharactersCharacterIDLoyaltyPointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCharactersCharacterIDLoyaltyPointsReader
- type GetCharactersCharacterIDLoyaltyPointsServiceUnavailable
- type GetCharactersCharacterIDLoyaltyPointsUnauthorized
- type GetLoyaltyStoresCorporationIDOffersBadRequest
- type GetLoyaltyStoresCorporationIDOffersEnhanceYourCalm
- type GetLoyaltyStoresCorporationIDOffersGatewayTimeout
- type GetLoyaltyStoresCorporationIDOffersInternalServerError
- type GetLoyaltyStoresCorporationIDOffersNotFound
- type GetLoyaltyStoresCorporationIDOffersNotFoundBody
- func (o *GetLoyaltyStoresCorporationIDOffersNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetLoyaltyStoresCorporationIDOffersNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *GetLoyaltyStoresCorporationIDOffersNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *GetLoyaltyStoresCorporationIDOffersNotFoundBody) Validate(formats strfmt.Registry) error
- type GetLoyaltyStoresCorporationIDOffersNotModified
- type GetLoyaltyStoresCorporationIDOffersOK
- type GetLoyaltyStoresCorporationIDOffersOKBodyItems0
- func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0
- func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) MarshalBinary() ([]byte, error)
- func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) UnmarshalBinary(b []byte) error
- func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) Validate(formats strfmt.Registry) error
- type GetLoyaltyStoresCorporationIDOffersParams
- func NewGetLoyaltyStoresCorporationIDOffersParams() *GetLoyaltyStoresCorporationIDOffersParams
- func NewGetLoyaltyStoresCorporationIDOffersParamsWithContext(ctx context.Context) *GetLoyaltyStoresCorporationIDOffersParams
- func NewGetLoyaltyStoresCorporationIDOffersParamsWithHTTPClient(client *http.Client) *GetLoyaltyStoresCorporationIDOffersParams
- func NewGetLoyaltyStoresCorporationIDOffersParamsWithTimeout(timeout time.Duration) *GetLoyaltyStoresCorporationIDOffersParams
- func (o *GetLoyaltyStoresCorporationIDOffersParams) SetContext(ctx context.Context)
- func (o *GetLoyaltyStoresCorporationIDOffersParams) SetCorporationID(corporationID int32)
- func (o *GetLoyaltyStoresCorporationIDOffersParams) SetDatasource(datasource *string)
- func (o *GetLoyaltyStoresCorporationIDOffersParams) SetDefaults()
- func (o *GetLoyaltyStoresCorporationIDOffersParams) SetHTTPClient(client *http.Client)
- func (o *GetLoyaltyStoresCorporationIDOffersParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetLoyaltyStoresCorporationIDOffersParams) SetTimeout(timeout time.Duration)
- func (o *GetLoyaltyStoresCorporationIDOffersParams) WithContext(ctx context.Context) *GetLoyaltyStoresCorporationIDOffersParams
- func (o *GetLoyaltyStoresCorporationIDOffersParams) WithCorporationID(corporationID int32) *GetLoyaltyStoresCorporationIDOffersParams
- func (o *GetLoyaltyStoresCorporationIDOffersParams) WithDatasource(datasource *string) *GetLoyaltyStoresCorporationIDOffersParams
- func (o *GetLoyaltyStoresCorporationIDOffersParams) WithDefaults() *GetLoyaltyStoresCorporationIDOffersParams
- func (o *GetLoyaltyStoresCorporationIDOffersParams) WithHTTPClient(client *http.Client) *GetLoyaltyStoresCorporationIDOffersParams
- func (o *GetLoyaltyStoresCorporationIDOffersParams) WithIfNoneMatch(ifNoneMatch *string) *GetLoyaltyStoresCorporationIDOffersParams
- func (o *GetLoyaltyStoresCorporationIDOffersParams) WithTimeout(timeout time.Duration) *GetLoyaltyStoresCorporationIDOffersParams
- func (o *GetLoyaltyStoresCorporationIDOffersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLoyaltyStoresCorporationIDOffersReader
- type GetLoyaltyStoresCorporationIDOffersServiceUnavailable
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 (o *GetCharactersCharacterIDLoyaltyPointsBadRequest) Error() string
func (*GetCharactersCharacterIDLoyaltyPointsBadRequest) GetPayload ¶
func (o *GetCharactersCharacterIDLoyaltyPointsBadRequest) GetPayload() *models.BadRequest
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 (o *GetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm) Error() string
func (*GetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm) GetPayload ¶
func (o *GetCharactersCharacterIDLoyaltyPointsEnhanceYourCalm) GetPayload() *models.ErrorLimited
type GetCharactersCharacterIDLoyaltyPointsForbidden ¶
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 (o *GetCharactersCharacterIDLoyaltyPointsForbidden) Error() string
func (*GetCharactersCharacterIDLoyaltyPointsForbidden) GetPayload ¶
func (o *GetCharactersCharacterIDLoyaltyPointsForbidden) GetPayload() *models.Forbidden
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 (o *GetCharactersCharacterIDLoyaltyPointsGatewayTimeout) Error() string
func (*GetCharactersCharacterIDLoyaltyPointsGatewayTimeout) GetPayload ¶
func (o *GetCharactersCharacterIDLoyaltyPointsGatewayTimeout) GetPayload() *models.GatewayTimeout
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 (o *GetCharactersCharacterIDLoyaltyPointsInternalServerError) Error() string
func (*GetCharactersCharacterIDLoyaltyPointsInternalServerError) GetPayload ¶
func (o *GetCharactersCharacterIDLoyaltyPointsInternalServerError) GetPayload() *models.InternalServerError
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 ¶
func (o *GetCharactersCharacterIDLoyaltyPointsNotModified) Error() string
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 (o *GetCharactersCharacterIDLoyaltyPointsOK) Error() string
func (*GetCharactersCharacterIDLoyaltyPointsOK) GetPayload ¶
func (o *GetCharactersCharacterIDLoyaltyPointsOK) GetPayload() []*GetCharactersCharacterIDLoyaltyPointsOKBodyItems0
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
func (o *GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get characters character ID loyalty points o k body items0 based on context it is used
func (*GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) MarshalBinary ¶
func (o *GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) UnmarshalBinary ¶
func (o *GetCharactersCharacterIDLoyaltyPointsOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetContext(ctx context.Context)
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
func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetDefaults()
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 ¶
func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get characters character id loyalty points params
func (*GetCharactersCharacterIDLoyaltyPointsParams) SetToken ¶
func (o *GetCharactersCharacterIDLoyaltyPointsParams) SetToken(token *string)
SetToken adds the token to the get characters character id loyalty points params
func (*GetCharactersCharacterIDLoyaltyPointsParams) WithCharacterID ¶
func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithCharacterID(characterID int32) *GetCharactersCharacterIDLoyaltyPointsParams
WithCharacterID adds the characterID to the get characters character id loyalty points params
func (*GetCharactersCharacterIDLoyaltyPointsParams) WithContext ¶
func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithContext(ctx context.Context) *GetCharactersCharacterIDLoyaltyPointsParams
WithContext adds the context to the get characters character id loyalty points params
func (*GetCharactersCharacterIDLoyaltyPointsParams) WithDatasource ¶
func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithDatasource(datasource *string) *GetCharactersCharacterIDLoyaltyPointsParams
WithDatasource adds the datasource to the get characters character id loyalty points params
func (*GetCharactersCharacterIDLoyaltyPointsParams) WithDefaults ¶ added in v0.3.0
func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithDefaults() *GetCharactersCharacterIDLoyaltyPointsParams
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 ¶
func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithHTTPClient(client *http.Client) *GetCharactersCharacterIDLoyaltyPointsParams
WithHTTPClient adds the HTTPClient to the get characters character id loyalty points params
func (*GetCharactersCharacterIDLoyaltyPointsParams) WithIfNoneMatch ¶
func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithIfNoneMatch(ifNoneMatch *string) *GetCharactersCharacterIDLoyaltyPointsParams
WithIfNoneMatch adds the ifNoneMatch to the get characters character id loyalty points params
func (*GetCharactersCharacterIDLoyaltyPointsParams) WithTimeout ¶
func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithTimeout(timeout time.Duration) *GetCharactersCharacterIDLoyaltyPointsParams
WithTimeout adds the timeout to the get characters character id loyalty points params
func (*GetCharactersCharacterIDLoyaltyPointsParams) WithToken ¶
func (o *GetCharactersCharacterIDLoyaltyPointsParams) WithToken(token *string) *GetCharactersCharacterIDLoyaltyPointsParams
WithToken adds the token to the get characters character id loyalty points params
func (*GetCharactersCharacterIDLoyaltyPointsParams) WriteToRequest ¶
func (o *GetCharactersCharacterIDLoyaltyPointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetCharactersCharacterIDLoyaltyPointsServiceUnavailable) Error() string
func (*GetCharactersCharacterIDLoyaltyPointsServiceUnavailable) GetPayload ¶
func (o *GetCharactersCharacterIDLoyaltyPointsServiceUnavailable) GetPayload() *models.ServiceUnavailable
type GetCharactersCharacterIDLoyaltyPointsUnauthorized ¶
type GetCharactersCharacterIDLoyaltyPointsUnauthorized struct {
}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 (o *GetCharactersCharacterIDLoyaltyPointsUnauthorized) Error() string
func (*GetCharactersCharacterIDLoyaltyPointsUnauthorized) GetPayload ¶
func (o *GetCharactersCharacterIDLoyaltyPointsUnauthorized) GetPayload() *models.Unauthorized
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 (o *GetLoyaltyStoresCorporationIDOffersBadRequest) Error() string
func (*GetLoyaltyStoresCorporationIDOffersBadRequest) GetPayload ¶
func (o *GetLoyaltyStoresCorporationIDOffersBadRequest) GetPayload() *models.BadRequest
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 (o *GetLoyaltyStoresCorporationIDOffersEnhanceYourCalm) Error() string
func (*GetLoyaltyStoresCorporationIDOffersEnhanceYourCalm) GetPayload ¶
func (o *GetLoyaltyStoresCorporationIDOffersEnhanceYourCalm) GetPayload() *models.ErrorLimited
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 (o *GetLoyaltyStoresCorporationIDOffersGatewayTimeout) Error() string
func (*GetLoyaltyStoresCorporationIDOffersGatewayTimeout) GetPayload ¶
func (o *GetLoyaltyStoresCorporationIDOffersGatewayTimeout) GetPayload() *models.GatewayTimeout
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 (o *GetLoyaltyStoresCorporationIDOffersInternalServerError) Error() string
func (*GetLoyaltyStoresCorporationIDOffersInternalServerError) GetPayload ¶
func (o *GetLoyaltyStoresCorporationIDOffersInternalServerError) GetPayload() *models.InternalServerError
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 (o *GetLoyaltyStoresCorporationIDOffersNotFound) Error() string
func (*GetLoyaltyStoresCorporationIDOffersNotFound) GetPayload ¶
func (o *GetLoyaltyStoresCorporationIDOffersNotFound) GetPayload() *GetLoyaltyStoresCorporationIDOffersNotFoundBody
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
func (o *GetLoyaltyStoresCorporationIDOffersNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get loyalty stores corporation ID offers not found body based on context it is used
func (*GetLoyaltyStoresCorporationIDOffersNotFoundBody) MarshalBinary ¶
func (o *GetLoyaltyStoresCorporationIDOffersNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetLoyaltyStoresCorporationIDOffersNotFoundBody) UnmarshalBinary ¶
func (o *GetLoyaltyStoresCorporationIDOffersNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetLoyaltyStoresCorporationIDOffersNotModified) Error() string
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 (o *GetLoyaltyStoresCorporationIDOffersOK) Error() string
func (*GetLoyaltyStoresCorporationIDOffersOK) GetPayload ¶
func (o *GetLoyaltyStoresCorporationIDOffersOK) GetPayload() []*GetLoyaltyStoresCorporationIDOffersOKBodyItems0
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
func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get loyalty stores corporation ID offers o k body items0 based on the context it is used
func (*GetLoyaltyStoresCorporationIDOffersOKBodyItems0) MarshalBinary ¶
func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetLoyaltyStoresCorporationIDOffersOKBodyItems0) UnmarshalBinary ¶
func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) UnmarshalBinary ¶
func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) Validate ¶
func (o *GetLoyaltyStoresCorporationIDOffersOKBodyItems0RequiredItemsItems0) Validate(formats strfmt.Registry) error
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 ¶
func (o *GetLoyaltyStoresCorporationIDOffersParams) SetContext(ctx context.Context)
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
func (o *GetLoyaltyStoresCorporationIDOffersParams) SetDefaults()
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 ¶
func (o *GetLoyaltyStoresCorporationIDOffersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get loyalty stores corporation id offers params
func (*GetLoyaltyStoresCorporationIDOffersParams) WithContext ¶
func (o *GetLoyaltyStoresCorporationIDOffersParams) WithContext(ctx context.Context) *GetLoyaltyStoresCorporationIDOffersParams
WithContext adds the context to the get loyalty stores corporation id offers params
func (*GetLoyaltyStoresCorporationIDOffersParams) WithCorporationID ¶
func (o *GetLoyaltyStoresCorporationIDOffersParams) WithCorporationID(corporationID int32) *GetLoyaltyStoresCorporationIDOffersParams
WithCorporationID adds the corporationID to the get loyalty stores corporation id offers params
func (*GetLoyaltyStoresCorporationIDOffersParams) WithDatasource ¶
func (o *GetLoyaltyStoresCorporationIDOffersParams) WithDatasource(datasource *string) *GetLoyaltyStoresCorporationIDOffersParams
WithDatasource adds the datasource to the get loyalty stores corporation id offers params
func (*GetLoyaltyStoresCorporationIDOffersParams) WithDefaults ¶ added in v0.3.0
func (o *GetLoyaltyStoresCorporationIDOffersParams) WithDefaults() *GetLoyaltyStoresCorporationIDOffersParams
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 ¶
func (o *GetLoyaltyStoresCorporationIDOffersParams) WithHTTPClient(client *http.Client) *GetLoyaltyStoresCorporationIDOffersParams
WithHTTPClient adds the HTTPClient to the get loyalty stores corporation id offers params
func (*GetLoyaltyStoresCorporationIDOffersParams) WithIfNoneMatch ¶
func (o *GetLoyaltyStoresCorporationIDOffersParams) WithIfNoneMatch(ifNoneMatch *string) *GetLoyaltyStoresCorporationIDOffersParams
WithIfNoneMatch adds the ifNoneMatch to the get loyalty stores corporation id offers params
func (*GetLoyaltyStoresCorporationIDOffersParams) WithTimeout ¶
func (o *GetLoyaltyStoresCorporationIDOffersParams) WithTimeout(timeout time.Duration) *GetLoyaltyStoresCorporationIDOffersParams
WithTimeout adds the timeout to the get loyalty stores corporation id offers params
func (*GetLoyaltyStoresCorporationIDOffersParams) WriteToRequest ¶
func (o *GetLoyaltyStoresCorporationIDOffersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetLoyaltyStoresCorporationIDOffersServiceUnavailable) Error() string
func (*GetLoyaltyStoresCorporationIDOffersServiceUnavailable) GetPayload ¶
func (o *GetLoyaltyStoresCorporationIDOffersServiceUnavailable) GetPayload() *models.ServiceUnavailable