Documentation ¶
Index ¶
- type Client
- func (a *Client) RetrieveEligibilitiesPublic(params *RetrieveEligibilitiesPublicParams, ...) (*RetrieveEligibilitiesPublicOK, *RetrieveEligibilitiesPublicBadRequest, ...)deprecated
- func (a *Client) RetrieveEligibilitiesPublicIndirect(params *RetrieveEligibilitiesPublicIndirectParams, ...) (*RetrieveEligibilitiesPublicIndirectOK, ...)deprecated
- func (a *Client) RetrieveEligibilitiesPublicIndirectShort(params *RetrieveEligibilitiesPublicIndirectParams, ...) (*RetrieveEligibilitiesPublicIndirectOK, error)
- func (a *Client) RetrieveEligibilitiesPublicShort(params *RetrieveEligibilitiesPublicParams, ...) (*RetrieveEligibilitiesPublicOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type RetrieveEligibilitiesPublicBadRequest
- type RetrieveEligibilitiesPublicIndirectBadRequest
- type RetrieveEligibilitiesPublicIndirectOK
- type RetrieveEligibilitiesPublicIndirectParams
- func NewRetrieveEligibilitiesPublicIndirectParams() *RetrieveEligibilitiesPublicIndirectParams
- func NewRetrieveEligibilitiesPublicIndirectParamsWithContext(ctx context.Context) *RetrieveEligibilitiesPublicIndirectParams
- func NewRetrieveEligibilitiesPublicIndirectParamsWithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicIndirectParams
- func NewRetrieveEligibilitiesPublicIndirectParamsWithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetClientID(clientID string)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetContext(ctx context.Context)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetCountryCode(countryCode string)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetFlightId(flightId string)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetNamespace(namespace string)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveEligibilitiesPublicIndirectParams) SetUserID(userID string)
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithClientID(clientID string) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithContext(ctx context.Context) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithCountryCode(countryCode string) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithNamespace(namespace string) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WithUserID(userID string) *RetrieveEligibilitiesPublicIndirectParams
- func (o *RetrieveEligibilitiesPublicIndirectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveEligibilitiesPublicIndirectReader
- type RetrieveEligibilitiesPublicNotFound
- type RetrieveEligibilitiesPublicOK
- type RetrieveEligibilitiesPublicParams
- func NewRetrieveEligibilitiesPublicParams() *RetrieveEligibilitiesPublicParams
- func NewRetrieveEligibilitiesPublicParamsWithContext(ctx context.Context) *RetrieveEligibilitiesPublicParams
- func NewRetrieveEligibilitiesPublicParamsWithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicParams
- func NewRetrieveEligibilitiesPublicParamsWithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicParams
- func (o *RetrieveEligibilitiesPublicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrieveEligibilitiesPublicParams) SetContext(ctx context.Context)
- func (o *RetrieveEligibilitiesPublicParams) SetFlightId(flightId string)
- func (o *RetrieveEligibilitiesPublicParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveEligibilitiesPublicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrieveEligibilitiesPublicParams) SetNamespace(namespace string)
- func (o *RetrieveEligibilitiesPublicParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveEligibilitiesPublicParams) WithContext(ctx context.Context) *RetrieveEligibilitiesPublicParams
- func (o *RetrieveEligibilitiesPublicParams) WithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicParams
- func (o *RetrieveEligibilitiesPublicParams) WithNamespace(namespace string) *RetrieveEligibilitiesPublicParams
- func (o *RetrieveEligibilitiesPublicParams) WithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicParams
- func (o *RetrieveEligibilitiesPublicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveEligibilitiesPublicReader
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 eligibilities API
func (*Client) RetrieveEligibilitiesPublic
deprecated
func (a *Client) RetrieveEligibilitiesPublic(params *RetrieveEligibilitiesPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicOK, *RetrieveEligibilitiesPublicBadRequest, *RetrieveEligibilitiesPublicNotFound, error)
Deprecated: 2022-08-10 - Use RetrieveEligibilitiesPublicShort instead.
RetrieveEligibilitiesPublic check user legal eligibility Retrieve the active policies and its conformance status by user. This process supports cross-namespace checking, that means if the active policy already accepted by the same user in other namespace, then it will be considered as eligible.
func (*Client) RetrieveEligibilitiesPublicIndirect
deprecated
func (a *Client) RetrieveEligibilitiesPublicIndirect(params *RetrieveEligibilitiesPublicIndirectParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicIndirectOK, *RetrieveEligibilitiesPublicIndirectBadRequest, error)
Deprecated: 2022-08-10 - Use RetrieveEligibilitiesPublicIndirectShort instead.
RetrieveEligibilitiesPublicIndirect check user legal eligibility Retrieve the active policies and its conformance status by user. This process only supports cross-namespace checking between game namespace and publisher namespace , that means if the active policy already accepted by the same user in publisher namespace, then it will also be considered as eligible in non-publisher namespace.
func (*Client) RetrieveEligibilitiesPublicIndirectShort ¶ added in v0.8.0
func (a *Client) RetrieveEligibilitiesPublicIndirectShort(params *RetrieveEligibilitiesPublicIndirectParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicIndirectOK, error)
RetrieveEligibilitiesPublicIndirectShort check user legal eligibility Retrieve the active policies and its conformance status by user. This process only supports cross-namespace checking between game namespace and publisher namespace , that means if the active policy already accepted by the same user in publisher namespace, then it will also be considered as eligible in non-publisher namespace.
func (*Client) RetrieveEligibilitiesPublicShort ¶ added in v0.8.0
func (a *Client) RetrieveEligibilitiesPublicShort(params *RetrieveEligibilitiesPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicOK, error)
RetrieveEligibilitiesPublicShort check user legal eligibility Retrieve the active policies and its conformance status by user. This process supports cross-namespace checking, that means if the active policy already accepted by the same user in other namespace, then it will be considered as eligible.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { RetrieveEligibilitiesPublic(params *RetrieveEligibilitiesPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicOK, *RetrieveEligibilitiesPublicBadRequest, *RetrieveEligibilitiesPublicNotFound, error) RetrieveEligibilitiesPublicShort(params *RetrieveEligibilitiesPublicParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicOK, error) RetrieveEligibilitiesPublicIndirect(params *RetrieveEligibilitiesPublicIndirectParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicIndirectOK, *RetrieveEligibilitiesPublicIndirectBadRequest, error) RetrieveEligibilitiesPublicIndirectShort(params *RetrieveEligibilitiesPublicIndirectParams, authInfo runtime.ClientAuthInfoWriter) (*RetrieveEligibilitiesPublicIndirectOK, 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 eligibilities API client.
type RetrieveEligibilitiesPublicBadRequest ¶ added in v0.34.0
type RetrieveEligibilitiesPublicBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveEligibilitiesPublicBadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40045</td><td>errors.net.accelbyte.platform.legal.user_id_needed</td></tr></table>
func NewRetrieveEligibilitiesPublicBadRequest ¶ added in v0.34.0
func NewRetrieveEligibilitiesPublicBadRequest() *RetrieveEligibilitiesPublicBadRequest
NewRetrieveEligibilitiesPublicBadRequest creates a RetrieveEligibilitiesPublicBadRequest with default headers values
func (*RetrieveEligibilitiesPublicBadRequest) Error ¶ added in v0.34.0
func (o *RetrieveEligibilitiesPublicBadRequest) Error() string
func (*RetrieveEligibilitiesPublicBadRequest) GetPayload ¶ added in v0.34.0
func (o *RetrieveEligibilitiesPublicBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveEligibilitiesPublicBadRequest) ToJSONString ¶ added in v0.34.0
func (o *RetrieveEligibilitiesPublicBadRequest) ToJSONString() string
type RetrieveEligibilitiesPublicIndirectBadRequest ¶ added in v0.34.0
type RetrieveEligibilitiesPublicIndirectBadRequest struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveEligibilitiesPublicIndirectBadRequest handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40045</td><td>errors.net.accelbyte.platform.legal.user_id_needed</td></tr></table>
func NewRetrieveEligibilitiesPublicIndirectBadRequest ¶ added in v0.34.0
func NewRetrieveEligibilitiesPublicIndirectBadRequest() *RetrieveEligibilitiesPublicIndirectBadRequest
NewRetrieveEligibilitiesPublicIndirectBadRequest creates a RetrieveEligibilitiesPublicIndirectBadRequest with default headers values
func (*RetrieveEligibilitiesPublicIndirectBadRequest) Error ¶ added in v0.34.0
func (o *RetrieveEligibilitiesPublicIndirectBadRequest) Error() string
func (*RetrieveEligibilitiesPublicIndirectBadRequest) GetPayload ¶ added in v0.34.0
func (o *RetrieveEligibilitiesPublicIndirectBadRequest) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveEligibilitiesPublicIndirectBadRequest) ToJSONString ¶ added in v0.34.0
func (o *RetrieveEligibilitiesPublicIndirectBadRequest) ToJSONString() string
type RetrieveEligibilitiesPublicIndirectOK ¶
type RetrieveEligibilitiesPublicIndirectOK struct {
Payload *legalclientmodels.RetrieveUserEligibilitiesIndirectResponse
}
RetrieveEligibilitiesPublicIndirectOK handles this case with default header values.
successful operation
func NewRetrieveEligibilitiesPublicIndirectOK ¶
func NewRetrieveEligibilitiesPublicIndirectOK() *RetrieveEligibilitiesPublicIndirectOK
NewRetrieveEligibilitiesPublicIndirectOK creates a RetrieveEligibilitiesPublicIndirectOK with default headers values
func (*RetrieveEligibilitiesPublicIndirectOK) Error ¶
func (o *RetrieveEligibilitiesPublicIndirectOK) Error() string
func (*RetrieveEligibilitiesPublicIndirectOK) GetPayload ¶
func (o *RetrieveEligibilitiesPublicIndirectOK) GetPayload() *legalclientmodels.RetrieveUserEligibilitiesIndirectResponse
func (*RetrieveEligibilitiesPublicIndirectOK) ToJSONString ¶ added in v0.25.0
func (o *RetrieveEligibilitiesPublicIndirectOK) ToJSONString() string
type RetrieveEligibilitiesPublicIndirectParams ¶
type RetrieveEligibilitiesPublicIndirectParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ClientID Client Id */ ClientID string /*CountryCode Country Code */ CountryCode string /*Namespace Namespace */ Namespace string /*UserID User Id */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
RetrieveEligibilitiesPublicIndirectParams contains all the parameters to send to the API endpoint for the retrieve eligibilities public indirect operation typically these are written to a http.Request
func NewRetrieveEligibilitiesPublicIndirectParams ¶
func NewRetrieveEligibilitiesPublicIndirectParams() *RetrieveEligibilitiesPublicIndirectParams
NewRetrieveEligibilitiesPublicIndirectParams creates a new RetrieveEligibilitiesPublicIndirectParams object with the default values initialized.
func NewRetrieveEligibilitiesPublicIndirectParamsWithContext ¶
func NewRetrieveEligibilitiesPublicIndirectParamsWithContext(ctx context.Context) *RetrieveEligibilitiesPublicIndirectParams
NewRetrieveEligibilitiesPublicIndirectParamsWithContext creates a new RetrieveEligibilitiesPublicIndirectParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveEligibilitiesPublicIndirectParamsWithHTTPClient ¶
func NewRetrieveEligibilitiesPublicIndirectParamsWithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicIndirectParams
NewRetrieveEligibilitiesPublicIndirectParamsWithHTTPClient creates a new RetrieveEligibilitiesPublicIndirectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveEligibilitiesPublicIndirectParamsWithTimeout ¶
func NewRetrieveEligibilitiesPublicIndirectParamsWithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicIndirectParams
NewRetrieveEligibilitiesPublicIndirectParamsWithTimeout creates a new RetrieveEligibilitiesPublicIndirectParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveEligibilitiesPublicIndirectParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrieveEligibilitiesPublicIndirectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetClientID ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetClientID(clientID string)
SetClientID adds the clientId to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetContext ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetCountryCode ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetCountryCode(countryCode string)
SetCountryCode adds the countryCode to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetFlightId ¶ added in v0.63.0
func (o *RetrieveEligibilitiesPublicIndirectParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrieveEligibilitiesPublicIndirectParams) SetHTTPClient ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetrieveEligibilitiesPublicIndirectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetNamespace ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetTimeout ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) SetUserID ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) SetUserID(userID string)
SetUserID adds the userId to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithClientID ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithClientID(clientID string) *RetrieveEligibilitiesPublicIndirectParams
WithClientID adds the clientID to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithContext ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithContext(ctx context.Context) *RetrieveEligibilitiesPublicIndirectParams
WithContext adds the context to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithCountryCode ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithCountryCode(countryCode string) *RetrieveEligibilitiesPublicIndirectParams
WithCountryCode adds the countryCode to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithHTTPClient ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicIndirectParams
WithHTTPClient adds the HTTPClient to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithNamespace ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithNamespace(namespace string) *RetrieveEligibilitiesPublicIndirectParams
WithNamespace adds the namespace to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithTimeout ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicIndirectParams
WithTimeout adds the timeout to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WithUserID ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WithUserID(userID string) *RetrieveEligibilitiesPublicIndirectParams
WithUserID adds the userID to the retrieve eligibilities public indirect params
func (*RetrieveEligibilitiesPublicIndirectParams) WriteToRequest ¶
func (o *RetrieveEligibilitiesPublicIndirectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveEligibilitiesPublicIndirectReader ¶
type RetrieveEligibilitiesPublicIndirectReader struct {
// contains filtered or unexported fields
}
RetrieveEligibilitiesPublicIndirectReader is a Reader for the RetrieveEligibilitiesPublicIndirect structure.
func (*RetrieveEligibilitiesPublicIndirectReader) ReadResponse ¶
func (o *RetrieveEligibilitiesPublicIndirectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveEligibilitiesPublicNotFound ¶ added in v0.34.0
type RetrieveEligibilitiesPublicNotFound struct {
Payload *legalclientmodels.ErrorEntity
}
RetrieveEligibilitiesPublicNotFound handles this case with default header values.
<table><tr><td>NumericErrorCode</td><td>ErrorCode</td></tr><tr><td>40041</td><td>errors.net.accelbyte.platform.legal.policy_not_found</td></tr></table>
func NewRetrieveEligibilitiesPublicNotFound ¶ added in v0.34.0
func NewRetrieveEligibilitiesPublicNotFound() *RetrieveEligibilitiesPublicNotFound
NewRetrieveEligibilitiesPublicNotFound creates a RetrieveEligibilitiesPublicNotFound with default headers values
func (*RetrieveEligibilitiesPublicNotFound) Error ¶ added in v0.34.0
func (o *RetrieveEligibilitiesPublicNotFound) Error() string
func (*RetrieveEligibilitiesPublicNotFound) GetPayload ¶ added in v0.34.0
func (o *RetrieveEligibilitiesPublicNotFound) GetPayload() *legalclientmodels.ErrorEntity
func (*RetrieveEligibilitiesPublicNotFound) ToJSONString ¶ added in v0.34.0
func (o *RetrieveEligibilitiesPublicNotFound) ToJSONString() string
type RetrieveEligibilitiesPublicOK ¶
type RetrieveEligibilitiesPublicOK struct {
Payload []*legalclientmodels.RetrieveUserEligibilitiesResponse
}
RetrieveEligibilitiesPublicOK handles this case with default header values.
successful operation
func NewRetrieveEligibilitiesPublicOK ¶
func NewRetrieveEligibilitiesPublicOK() *RetrieveEligibilitiesPublicOK
NewRetrieveEligibilitiesPublicOK creates a RetrieveEligibilitiesPublicOK with default headers values
func (*RetrieveEligibilitiesPublicOK) Error ¶
func (o *RetrieveEligibilitiesPublicOK) Error() string
func (*RetrieveEligibilitiesPublicOK) GetPayload ¶
func (o *RetrieveEligibilitiesPublicOK) GetPayload() []*legalclientmodels.RetrieveUserEligibilitiesResponse
func (*RetrieveEligibilitiesPublicOK) ToJSONString ¶ added in v0.25.0
func (o *RetrieveEligibilitiesPublicOK) ToJSONString() string
type RetrieveEligibilitiesPublicParams ¶
type RetrieveEligibilitiesPublicParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
RetrieveEligibilitiesPublicParams contains all the parameters to send to the API endpoint for the retrieve eligibilities public operation typically these are written to a http.Request
func NewRetrieveEligibilitiesPublicParams ¶
func NewRetrieveEligibilitiesPublicParams() *RetrieveEligibilitiesPublicParams
NewRetrieveEligibilitiesPublicParams creates a new RetrieveEligibilitiesPublicParams object with the default values initialized.
func NewRetrieveEligibilitiesPublicParamsWithContext ¶
func NewRetrieveEligibilitiesPublicParamsWithContext(ctx context.Context) *RetrieveEligibilitiesPublicParams
NewRetrieveEligibilitiesPublicParamsWithContext creates a new RetrieveEligibilitiesPublicParams object with the default values initialized, and the ability to set a context for a request
func NewRetrieveEligibilitiesPublicParamsWithHTTPClient ¶
func NewRetrieveEligibilitiesPublicParamsWithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicParams
NewRetrieveEligibilitiesPublicParamsWithHTTPClient creates a new RetrieveEligibilitiesPublicParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrieveEligibilitiesPublicParamsWithTimeout ¶
func NewRetrieveEligibilitiesPublicParamsWithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicParams
NewRetrieveEligibilitiesPublicParamsWithTimeout creates a new RetrieveEligibilitiesPublicParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrieveEligibilitiesPublicParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RetrieveEligibilitiesPublicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) SetContext ¶
func (o *RetrieveEligibilitiesPublicParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) SetFlightId ¶ added in v0.63.0
func (o *RetrieveEligibilitiesPublicParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrieveEligibilitiesPublicParams) SetHTTPClient ¶
func (o *RetrieveEligibilitiesPublicParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RetrieveEligibilitiesPublicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) SetNamespace ¶
func (o *RetrieveEligibilitiesPublicParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) SetTimeout ¶
func (o *RetrieveEligibilitiesPublicParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) WithContext ¶
func (o *RetrieveEligibilitiesPublicParams) WithContext(ctx context.Context) *RetrieveEligibilitiesPublicParams
WithContext adds the context to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) WithHTTPClient ¶
func (o *RetrieveEligibilitiesPublicParams) WithHTTPClient(client *http.Client) *RetrieveEligibilitiesPublicParams
WithHTTPClient adds the HTTPClient to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) WithNamespace ¶
func (o *RetrieveEligibilitiesPublicParams) WithNamespace(namespace string) *RetrieveEligibilitiesPublicParams
WithNamespace adds the namespace to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) WithTimeout ¶
func (o *RetrieveEligibilitiesPublicParams) WithTimeout(timeout time.Duration) *RetrieveEligibilitiesPublicParams
WithTimeout adds the timeout to the retrieve eligibilities public params
func (*RetrieveEligibilitiesPublicParams) WriteToRequest ¶
func (o *RetrieveEligibilitiesPublicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveEligibilitiesPublicReader ¶
type RetrieveEligibilitiesPublicReader struct {
// contains filtered or unexported fields
}
RetrieveEligibilitiesPublicReader is a Reader for the RetrieveEligibilitiesPublic structure.
func (*RetrieveEligibilitiesPublicReader) ReadResponse ¶
func (o *RetrieveEligibilitiesPublicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.