Documentation
¶
Index ¶
- Constants
- type Client
- func (a *Client) GetChallengesShort(params *GetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChallengesResponse, error)
- func (a *Client) PublicGetScheduledGoalsShort(params *PublicGetScheduledGoalsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetScheduledGoalsResponse, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetChallengesForbidden
- type GetChallengesInternalServerError
- type GetChallengesOK
- type GetChallengesParams
- func (o *GetChallengesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetChallengesParams) SetContext(ctx context.Context)
- func (o *GetChallengesParams) SetFlightId(flightId string)
- func (o *GetChallengesParams) SetHTTPClient(client *http.Client)
- func (o *GetChallengesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetChallengesParams) SetLimit(limit *int64)
- func (o *GetChallengesParams) SetNamespace(namespace string)
- func (o *GetChallengesParams) SetOffset(offset *int64)
- func (o *GetChallengesParams) SetSortBy(sortBy *string)
- func (o *GetChallengesParams) SetStatus(status *string)
- func (o *GetChallengesParams) SetTimeout(timeout time.Duration)
- func (o *GetChallengesParams) WithContext(ctx context.Context) *GetChallengesParams
- func (o *GetChallengesParams) WithHTTPClient(client *http.Client) *GetChallengesParams
- func (o *GetChallengesParams) WithLimit(limit *int64) *GetChallengesParams
- func (o *GetChallengesParams) WithNamespace(namespace string) *GetChallengesParams
- func (o *GetChallengesParams) WithOffset(offset *int64) *GetChallengesParams
- func (o *GetChallengesParams) WithSortBy(sortBy *string) *GetChallengesParams
- func (o *GetChallengesParams) WithStatus(status *string) *GetChallengesParams
- func (o *GetChallengesParams) WithTimeout(timeout time.Duration) *GetChallengesParams
- func (o *GetChallengesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChallengesReader
- type GetChallengesResponse
- type GetChallengesUnauthorized
- type PublicGetScheduledGoalsForbidden
- type PublicGetScheduledGoalsInternalServerError
- type PublicGetScheduledGoalsNotFound
- type PublicGetScheduledGoalsOK
- type PublicGetScheduledGoalsParams
- func NewPublicGetScheduledGoalsParams() *PublicGetScheduledGoalsParams
- func NewPublicGetScheduledGoalsParamsWithContext(ctx context.Context) *PublicGetScheduledGoalsParams
- func NewPublicGetScheduledGoalsParamsWithHTTPClient(client *http.Client) *PublicGetScheduledGoalsParams
- func NewPublicGetScheduledGoalsParamsWithTimeout(timeout time.Duration) *PublicGetScheduledGoalsParams
- func (o *PublicGetScheduledGoalsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetScheduledGoalsParams) SetChallengeCode(challengeCode string)
- func (o *PublicGetScheduledGoalsParams) SetContext(ctx context.Context)
- func (o *PublicGetScheduledGoalsParams) SetFlightId(flightId string)
- func (o *PublicGetScheduledGoalsParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetScheduledGoalsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetScheduledGoalsParams) SetLimit(limit *int64)
- func (o *PublicGetScheduledGoalsParams) SetNamespace(namespace string)
- func (o *PublicGetScheduledGoalsParams) SetOffset(offset *int64)
- func (o *PublicGetScheduledGoalsParams) SetTags(tags []string)
- func (o *PublicGetScheduledGoalsParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetScheduledGoalsParams) WithChallengeCode(challengeCode string) *PublicGetScheduledGoalsParams
- func (o *PublicGetScheduledGoalsParams) WithContext(ctx context.Context) *PublicGetScheduledGoalsParams
- func (o *PublicGetScheduledGoalsParams) WithHTTPClient(client *http.Client) *PublicGetScheduledGoalsParams
- func (o *PublicGetScheduledGoalsParams) WithLimit(limit *int64) *PublicGetScheduledGoalsParams
- func (o *PublicGetScheduledGoalsParams) WithNamespace(namespace string) *PublicGetScheduledGoalsParams
- func (o *PublicGetScheduledGoalsParams) WithOffset(offset *int64) *PublicGetScheduledGoalsParams
- func (o *PublicGetScheduledGoalsParams) WithTags(tags []string) *PublicGetScheduledGoalsParams
- func (o *PublicGetScheduledGoalsParams) WithTimeout(timeout time.Duration) *PublicGetScheduledGoalsParams
- func (o *PublicGetScheduledGoalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetScheduledGoalsReader
- type PublicGetScheduledGoalsResponse
- type PublicGetScheduledGoalsUnauthorized
Constants ¶
const ( GetChallengesCreatedAtConstant = "createdAt" GetChallengesCreatedAtAscConstant = "createdAt:asc" GetChallengesCreatedAtDescConstant = "createdAt:desc" GetChallengesUpdatedAtConstant = "updatedAt" GetChallengesUpdatedAtAscConstant = "updatedAt:asc" GetChallengesUpdatedAtDescConstant = "updatedAt:desc" )
Get the enum in GetChallengesParams
const ( GetChallengesINITConstant = "INIT" GetChallengesRETIREDConstant = "RETIRED" GetChallengesTIEDConstant = "TIED" )
Get the enum in GetChallengesParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for challenge list API
func (*Client) GetChallengesShort ¶
func (a *Client) GetChallengesShort(params *GetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChallengesResponse, error)
GetChallengesShort list challenges - Required permission: NAMESPACE:{namespace}:CHALLENGE [READ]
func (*Client) PublicGetScheduledGoalsShort ¶
func (a *Client) PublicGetScheduledGoalsShort(params *PublicGetScheduledGoalsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetScheduledGoalsResponse, error)
PublicGetScheduledGoalsShort list goals of a challenge - Required permission: NAMESPACE:{namespace}:CHALLENGE [READ]
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetChallengesShort(params *GetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChallengesResponse, error) PublicGetScheduledGoalsShort(params *PublicGetScheduledGoalsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetScheduledGoalsResponse, 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 challenge list API client.
type GetChallengesForbidden ¶
type GetChallengesForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
GetChallengesForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetChallengesForbidden ¶
func NewGetChallengesForbidden() *GetChallengesForbidden
NewGetChallengesForbidden creates a GetChallengesForbidden with default headers values
func (*GetChallengesForbidden) Error ¶
func (o *GetChallengesForbidden) Error() string
func (*GetChallengesForbidden) GetPayload ¶
func (o *GetChallengesForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*GetChallengesForbidden) ToJSONString ¶
func (o *GetChallengesForbidden) ToJSONString() string
type GetChallengesInternalServerError ¶
type GetChallengesInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
GetChallengesInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewGetChallengesInternalServerError ¶
func NewGetChallengesInternalServerError() *GetChallengesInternalServerError
NewGetChallengesInternalServerError creates a GetChallengesInternalServerError with default headers values
func (*GetChallengesInternalServerError) Error ¶
func (o *GetChallengesInternalServerError) Error() string
func (*GetChallengesInternalServerError) GetPayload ¶
func (o *GetChallengesInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*GetChallengesInternalServerError) ToJSONString ¶
func (o *GetChallengesInternalServerError) ToJSONString() string
type GetChallengesOK ¶
type GetChallengesOK struct {
Payload *challengeclientmodels.ModelListChallengeResponse
}
GetChallengesOK handles this case with default header values.
OK
func NewGetChallengesOK ¶
func NewGetChallengesOK() *GetChallengesOK
NewGetChallengesOK creates a GetChallengesOK with default headers values
func (*GetChallengesOK) Error ¶
func (o *GetChallengesOK) Error() string
func (*GetChallengesOK) GetPayload ¶
func (o *GetChallengesOK) GetPayload() *challengeclientmodels.ModelListChallengeResponse
func (*GetChallengesOK) ToJSONString ¶
func (o *GetChallengesOK) ToJSONString() string
type GetChallengesParams ¶
type GetChallengesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*Limit limit the amount of data retrieved */ Limit *int64 /*Offset offset */ Offset *int64 /*SortBy sort list by attributes. default value: updatedAt:desc. */ SortBy *string /*Status challenge status */ Status *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 }
GetChallengesParams contains all the parameters to send to the API endpoint for the get challenges operation typically these are written to a http.Request
func NewGetChallengesParams ¶
func NewGetChallengesParams() *GetChallengesParams
NewGetChallengesParams creates a new GetChallengesParams object with the default values initialized.
func NewGetChallengesParamsWithContext ¶
func NewGetChallengesParamsWithContext(ctx context.Context) *GetChallengesParams
NewGetChallengesParamsWithContext creates a new GetChallengesParams object with the default values initialized, and the ability to set a context for a request
func NewGetChallengesParamsWithHTTPClient ¶
func NewGetChallengesParamsWithHTTPClient(client *http.Client) *GetChallengesParams
NewGetChallengesParamsWithHTTPClient creates a new GetChallengesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetChallengesParamsWithTimeout ¶
func NewGetChallengesParamsWithTimeout(timeout time.Duration) *GetChallengesParams
NewGetChallengesParamsWithTimeout creates a new GetChallengesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetChallengesParams) SetAuthInfoWriter ¶
func (o *GetChallengesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get challenges params
func (*GetChallengesParams) SetContext ¶
func (o *GetChallengesParams) SetContext(ctx context.Context)
SetContext adds the context to the get challenges params
func (*GetChallengesParams) SetFlightId ¶
func (o *GetChallengesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetChallengesParams) SetHTTPClient ¶
func (o *GetChallengesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get challenges params
func (*GetChallengesParams) SetHTTPClientTransport ¶
func (o *GetChallengesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get challenges params
func (*GetChallengesParams) SetLimit ¶
func (o *GetChallengesParams) SetLimit(limit *int64)
SetLimit adds the limit to the get challenges params
func (*GetChallengesParams) SetNamespace ¶
func (o *GetChallengesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get challenges params
func (*GetChallengesParams) SetOffset ¶
func (o *GetChallengesParams) SetOffset(offset *int64)
SetOffset adds the offset to the get challenges params
func (*GetChallengesParams) SetSortBy ¶
func (o *GetChallengesParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the get challenges params
func (*GetChallengesParams) SetStatus ¶
func (o *GetChallengesParams) SetStatus(status *string)
SetStatus adds the status to the get challenges params
func (*GetChallengesParams) SetTimeout ¶
func (o *GetChallengesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get challenges params
func (*GetChallengesParams) WithContext ¶
func (o *GetChallengesParams) WithContext(ctx context.Context) *GetChallengesParams
WithContext adds the context to the get challenges params
func (*GetChallengesParams) WithHTTPClient ¶
func (o *GetChallengesParams) WithHTTPClient(client *http.Client) *GetChallengesParams
WithHTTPClient adds the HTTPClient to the get challenges params
func (*GetChallengesParams) WithLimit ¶
func (o *GetChallengesParams) WithLimit(limit *int64) *GetChallengesParams
WithLimit adds the limit to the get challenges params
func (*GetChallengesParams) WithNamespace ¶
func (o *GetChallengesParams) WithNamespace(namespace string) *GetChallengesParams
WithNamespace adds the namespace to the get challenges params
func (*GetChallengesParams) WithOffset ¶
func (o *GetChallengesParams) WithOffset(offset *int64) *GetChallengesParams
WithOffset adds the offset to the get challenges params
func (*GetChallengesParams) WithSortBy ¶
func (o *GetChallengesParams) WithSortBy(sortBy *string) *GetChallengesParams
WithSortBy adds the sortBy to the get challenges params
func (*GetChallengesParams) WithStatus ¶
func (o *GetChallengesParams) WithStatus(status *string) *GetChallengesParams
WithStatus adds the status to the get challenges params
func (*GetChallengesParams) WithTimeout ¶
func (o *GetChallengesParams) WithTimeout(timeout time.Duration) *GetChallengesParams
WithTimeout adds the timeout to the get challenges params
func (*GetChallengesParams) WriteToRequest ¶
func (o *GetChallengesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetChallengesReader ¶
type GetChallengesReader struct {
// contains filtered or unexported fields
}
GetChallengesReader is a Reader for the GetChallenges structure.
func (*GetChallengesReader) ReadResponse ¶
func (o *GetChallengesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetChallengesResponse ¶
type GetChallengesResponse struct { challengeclientmodels.ApiResponse Data *challengeclientmodels.ModelListChallengeResponse Error401 *challengeclientmodels.IamErrorResponse Error403 *challengeclientmodels.IamErrorResponse Error500 *challengeclientmodels.ResponseError }
func (*GetChallengesResponse) Unpack ¶
func (m *GetChallengesResponse) Unpack() (*challengeclientmodels.ModelListChallengeResponse, *challengeclientmodels.ApiError)
type GetChallengesUnauthorized ¶
type GetChallengesUnauthorized struct {
}GetChallengesUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetChallengesUnauthorized ¶
func NewGetChallengesUnauthorized() *GetChallengesUnauthorized
NewGetChallengesUnauthorized creates a GetChallengesUnauthorized with default headers values
func (*GetChallengesUnauthorized) Error ¶
func (o *GetChallengesUnauthorized) Error() string
func (*GetChallengesUnauthorized) GetPayload ¶
func (o *GetChallengesUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*GetChallengesUnauthorized) ToJSONString ¶
func (o *GetChallengesUnauthorized) ToJSONString() string
type PublicGetScheduledGoalsForbidden ¶
type PublicGetScheduledGoalsForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicGetScheduledGoalsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPublicGetScheduledGoalsForbidden ¶
func NewPublicGetScheduledGoalsForbidden() *PublicGetScheduledGoalsForbidden
NewPublicGetScheduledGoalsForbidden creates a PublicGetScheduledGoalsForbidden with default headers values
func (*PublicGetScheduledGoalsForbidden) Error ¶
func (o *PublicGetScheduledGoalsForbidden) Error() string
func (*PublicGetScheduledGoalsForbidden) GetPayload ¶
func (o *PublicGetScheduledGoalsForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicGetScheduledGoalsForbidden) ToJSONString ¶
func (o *PublicGetScheduledGoalsForbidden) ToJSONString() string
type PublicGetScheduledGoalsInternalServerError ¶
type PublicGetScheduledGoalsInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
PublicGetScheduledGoalsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewPublicGetScheduledGoalsInternalServerError ¶
func NewPublicGetScheduledGoalsInternalServerError() *PublicGetScheduledGoalsInternalServerError
NewPublicGetScheduledGoalsInternalServerError creates a PublicGetScheduledGoalsInternalServerError with default headers values
func (*PublicGetScheduledGoalsInternalServerError) Error ¶
func (o *PublicGetScheduledGoalsInternalServerError) Error() string
func (*PublicGetScheduledGoalsInternalServerError) GetPayload ¶
func (o *PublicGetScheduledGoalsInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*PublicGetScheduledGoalsInternalServerError) ToJSONString ¶
func (o *PublicGetScheduledGoalsInternalServerError) ToJSONString() string
type PublicGetScheduledGoalsNotFound ¶
type PublicGetScheduledGoalsNotFound struct {
Payload *challengeclientmodels.ResponseError
}
PublicGetScheduledGoalsNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20029</td><td>not found</td></tr></table>
func NewPublicGetScheduledGoalsNotFound ¶
func NewPublicGetScheduledGoalsNotFound() *PublicGetScheduledGoalsNotFound
NewPublicGetScheduledGoalsNotFound creates a PublicGetScheduledGoalsNotFound with default headers values
func (*PublicGetScheduledGoalsNotFound) Error ¶
func (o *PublicGetScheduledGoalsNotFound) Error() string
func (*PublicGetScheduledGoalsNotFound) GetPayload ¶
func (o *PublicGetScheduledGoalsNotFound) GetPayload() *challengeclientmodels.ResponseError
func (*PublicGetScheduledGoalsNotFound) ToJSONString ¶
func (o *PublicGetScheduledGoalsNotFound) ToJSONString() string
type PublicGetScheduledGoalsOK ¶
type PublicGetScheduledGoalsOK struct {
Payload *challengeclientmodels.ModelGetGoalsResponse
}
PublicGetScheduledGoalsOK handles this case with default header values.
OK
func NewPublicGetScheduledGoalsOK ¶
func NewPublicGetScheduledGoalsOK() *PublicGetScheduledGoalsOK
NewPublicGetScheduledGoalsOK creates a PublicGetScheduledGoalsOK with default headers values
func (*PublicGetScheduledGoalsOK) Error ¶
func (o *PublicGetScheduledGoalsOK) Error() string
func (*PublicGetScheduledGoalsOK) GetPayload ¶
func (o *PublicGetScheduledGoalsOK) GetPayload() *challengeclientmodels.ModelGetGoalsResponse
func (*PublicGetScheduledGoalsOK) ToJSONString ¶
func (o *PublicGetScheduledGoalsOK) ToJSONString() string
type PublicGetScheduledGoalsParams ¶
type PublicGetScheduledGoalsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChallengeCode challenge code */ ChallengeCode string /*Namespace namespace of the game */ Namespace string /*Limit limit the amount of data retrieved */ Limit *int64 /*Offset offset */ Offset *int64 /*Tags filter list by tags */ Tags []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 }
PublicGetScheduledGoalsParams contains all the parameters to send to the API endpoint for the public get scheduled goals operation typically these are written to a http.Request
func NewPublicGetScheduledGoalsParams ¶
func NewPublicGetScheduledGoalsParams() *PublicGetScheduledGoalsParams
NewPublicGetScheduledGoalsParams creates a new PublicGetScheduledGoalsParams object with the default values initialized.
func NewPublicGetScheduledGoalsParamsWithContext ¶
func NewPublicGetScheduledGoalsParamsWithContext(ctx context.Context) *PublicGetScheduledGoalsParams
NewPublicGetScheduledGoalsParamsWithContext creates a new PublicGetScheduledGoalsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetScheduledGoalsParamsWithHTTPClient ¶
func NewPublicGetScheduledGoalsParamsWithHTTPClient(client *http.Client) *PublicGetScheduledGoalsParams
NewPublicGetScheduledGoalsParamsWithHTTPClient creates a new PublicGetScheduledGoalsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetScheduledGoalsParamsWithTimeout ¶
func NewPublicGetScheduledGoalsParamsWithTimeout(timeout time.Duration) *PublicGetScheduledGoalsParams
NewPublicGetScheduledGoalsParamsWithTimeout creates a new PublicGetScheduledGoalsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetScheduledGoalsParams) SetAuthInfoWriter ¶
func (o *PublicGetScheduledGoalsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) SetChallengeCode ¶
func (o *PublicGetScheduledGoalsParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) SetContext ¶
func (o *PublicGetScheduledGoalsParams) SetContext(ctx context.Context)
SetContext adds the context to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) SetFlightId ¶
func (o *PublicGetScheduledGoalsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetScheduledGoalsParams) SetHTTPClient ¶
func (o *PublicGetScheduledGoalsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) SetHTTPClientTransport ¶
func (o *PublicGetScheduledGoalsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) SetLimit ¶
func (o *PublicGetScheduledGoalsParams) SetLimit(limit *int64)
SetLimit adds the limit to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) SetNamespace ¶
func (o *PublicGetScheduledGoalsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) SetOffset ¶
func (o *PublicGetScheduledGoalsParams) SetOffset(offset *int64)
SetOffset adds the offset to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) SetTags ¶
func (o *PublicGetScheduledGoalsParams) SetTags(tags []string)
SetTags adds the tags to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) SetTimeout ¶
func (o *PublicGetScheduledGoalsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) WithChallengeCode ¶
func (o *PublicGetScheduledGoalsParams) WithChallengeCode(challengeCode string) *PublicGetScheduledGoalsParams
WithChallengeCode adds the challengeCode to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) WithContext ¶
func (o *PublicGetScheduledGoalsParams) WithContext(ctx context.Context) *PublicGetScheduledGoalsParams
WithContext adds the context to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) WithHTTPClient ¶
func (o *PublicGetScheduledGoalsParams) WithHTTPClient(client *http.Client) *PublicGetScheduledGoalsParams
WithHTTPClient adds the HTTPClient to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) WithLimit ¶
func (o *PublicGetScheduledGoalsParams) WithLimit(limit *int64) *PublicGetScheduledGoalsParams
WithLimit adds the limit to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) WithNamespace ¶
func (o *PublicGetScheduledGoalsParams) WithNamespace(namespace string) *PublicGetScheduledGoalsParams
WithNamespace adds the namespace to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) WithOffset ¶
func (o *PublicGetScheduledGoalsParams) WithOffset(offset *int64) *PublicGetScheduledGoalsParams
WithOffset adds the offset to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) WithTags ¶
func (o *PublicGetScheduledGoalsParams) WithTags(tags []string) *PublicGetScheduledGoalsParams
WithTags adds the tags to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) WithTimeout ¶
func (o *PublicGetScheduledGoalsParams) WithTimeout(timeout time.Duration) *PublicGetScheduledGoalsParams
WithTimeout adds the timeout to the public get scheduled goals params
func (*PublicGetScheduledGoalsParams) WriteToRequest ¶
func (o *PublicGetScheduledGoalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetScheduledGoalsReader ¶
type PublicGetScheduledGoalsReader struct {
// contains filtered or unexported fields
}
PublicGetScheduledGoalsReader is a Reader for the PublicGetScheduledGoals structure.
func (*PublicGetScheduledGoalsReader) ReadResponse ¶
func (o *PublicGetScheduledGoalsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetScheduledGoalsResponse ¶
type PublicGetScheduledGoalsResponse struct { challengeclientmodels.ApiResponse Data *challengeclientmodels.ModelGetGoalsResponse Error401 *challengeclientmodels.IamErrorResponse Error403 *challengeclientmodels.IamErrorResponse Error404 *challengeclientmodels.ResponseError Error500 *challengeclientmodels.ResponseError }
func (*PublicGetScheduledGoalsResponse) Unpack ¶
func (m *PublicGetScheduledGoalsResponse) Unpack() (*challengeclientmodels.ModelGetGoalsResponse, *challengeclientmodels.ApiError)
type PublicGetScheduledGoalsUnauthorized ¶
type PublicGetScheduledGoalsUnauthorized struct {
}PublicGetScheduledGoalsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicGetScheduledGoalsUnauthorized ¶
func NewPublicGetScheduledGoalsUnauthorized() *PublicGetScheduledGoalsUnauthorized
NewPublicGetScheduledGoalsUnauthorized creates a PublicGetScheduledGoalsUnauthorized with default headers values
func (*PublicGetScheduledGoalsUnauthorized) Error ¶
func (o *PublicGetScheduledGoalsUnauthorized) Error() string
func (*PublicGetScheduledGoalsUnauthorized) GetPayload ¶
func (o *PublicGetScheduledGoalsUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicGetScheduledGoalsUnauthorized) ToJSONString ¶
func (o *PublicGetScheduledGoalsUnauthorized) ToJSONString() string