challenge_list

package
v0.89.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PublicGetChallengesCodeAscConstant       = "code:asc"
	PublicGetChallengesCodeDescConstant      = "code:desc"
	PublicGetChallengesCreatedAtConstant     = "createdAt"
	PublicGetChallengesCreatedAtAscConstant  = "createdAt:asc"
	PublicGetChallengesCreatedAtDescConstant = "createdAt:desc"
	PublicGetChallengesNameAscConstant       = "name:asc"
	PublicGetChallengesNameDescConstant      = "name:desc"
	PublicGetChallengesUpdatedAtConstant     = "updatedAt"
	PublicGetChallengesUpdatedAtAscConstant  = "updatedAt:asc"
	PublicGetChallengesUpdatedAtDescConstant = "updatedAt:desc"
)

Deprecated: 2025-07-16 - Use PublicGetChallengesSortBy<EnumValue>Constant instead. Get the enum in PublicGetChallengesParams

View Source
const (
	PublicGetChallengesINITConstant    = "INIT"
	PublicGetChallengesRETIREDConstant = "RETIRED"
	PublicGetChallengesTIEDConstant    = "TIED"
)

Deprecated: 2025-07-16 - Use PublicGetChallengesStatus<EnumValue>Constant instead. Get the enum in PublicGetChallengesParams

View Source
const (
	PublicGetChallengesSortByCodeAscConstant       = "code:asc"
	PublicGetChallengesSortByCodeDescConstant      = "code:desc"
	PublicGetChallengesSortByCreatedAtConstant     = "createdAt"
	PublicGetChallengesSortByCreatedAtAscConstant  = "createdAt:asc"
	PublicGetChallengesSortByCreatedAtDescConstant = "createdAt:desc"
	PublicGetChallengesSortByNameAscConstant       = "name:asc"
	PublicGetChallengesSortByNameDescConstant      = "name:desc"
	PublicGetChallengesSortByUpdatedAtConstant     = "updatedAt"
	PublicGetChallengesSortByUpdatedAtAscConstant  = "updatedAt:asc"
	PublicGetChallengesSortByUpdatedAtDescConstant = "updatedAt:desc"
)

Get the enum in PublicGetChallengesParams

View Source
const (
	PublicGetChallengesStatusINITConstant    = "INIT"
	PublicGetChallengesStatusRETIREDConstant = "RETIRED"
	PublicGetChallengesStatusTIEDConstant    = "TIED"
)

Get the enum in PublicGetChallengesParams

View Source
const (
	PublicGetScheduledGoalsCreatedAtConstant     = "createdAt"
	PublicGetScheduledGoalsCreatedAtAscConstant  = "createdAt:asc"
	PublicGetScheduledGoalsCreatedAtDescConstant = "createdAt:desc"
	PublicGetScheduledGoalsUpdatedAtConstant     = "updatedAt"
	PublicGetScheduledGoalsUpdatedAtAscConstant  = "updatedAt:asc"
	PublicGetScheduledGoalsUpdatedAtDescConstant = "updatedAt:desc"
)

Deprecated: 2025-07-16 - Use PublicGetScheduledGoalsSortBy<EnumValue>Constant instead. Get the enum in PublicGetScheduledGoalsParams

View Source
const (
	PublicGetScheduledGoalsSortByCreatedAtConstant     = "createdAt"
	PublicGetScheduledGoalsSortByCreatedAtAscConstant  = "createdAt:asc"
	PublicGetScheduledGoalsSortByCreatedAtDescConstant = "createdAt:desc"
	PublicGetScheduledGoalsSortByUpdatedAtConstant     = "updatedAt"
	PublicGetScheduledGoalsSortByUpdatedAtAscConstant  = "updatedAt:asc"
	PublicGetScheduledGoalsSortByUpdatedAtDescConstant = "updatedAt:desc"
)

Get the enum in PublicGetScheduledGoalsParams

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) PublicGetChallenges deprecated added in v0.89.0

Deprecated: 2022-08-10 - Use PublicGetChallengesShort instead.

PublicGetChallenges list challenges - Required permission: NAMESPACE:{namespace}:CHALLENGE [READ]

func (*Client) PublicGetChallengesShort added in v0.89.0

func (a *Client) PublicGetChallengesShort(params *PublicGetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetChallengesOK, error)

PublicGetChallengesShort list challenges - Required permission: NAMESPACE:{namespace}:CHALLENGE [READ]

func (*Client) PublicGetScheduledGoals deprecated

Deprecated: 2022-08-10 - Use PublicGetScheduledGoalsShort instead.

PublicGetScheduledGoals list goals of a challenge - Required permission: NAMESPACE:{namespace}:CHALLENGE [READ]

func (*Client) PublicGetScheduledGoalsShort

func (a *Client) PublicGetScheduledGoalsShort(params *PublicGetScheduledGoalsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetScheduledGoalsOK, 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 PublicGetChallengesBadRequest added in v0.89.0

type PublicGetChallengesBadRequest struct {
	Payload *challengeclientmodels.ResponseError
}

PublicGetChallengesBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20018</td><td>bad request: {{message}}</td></tr></table>

func NewPublicGetChallengesBadRequest added in v0.89.0

func NewPublicGetChallengesBadRequest() *PublicGetChallengesBadRequest

NewPublicGetChallengesBadRequest creates a PublicGetChallengesBadRequest with default headers values

func (*PublicGetChallengesBadRequest) Error added in v0.89.0

func (*PublicGetChallengesBadRequest) GetPayload added in v0.89.0

func (*PublicGetChallengesBadRequest) ToJSONString added in v0.89.0

func (o *PublicGetChallengesBadRequest) ToJSONString() string

type PublicGetChallengesForbidden added in v0.89.0

type PublicGetChallengesForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

PublicGetChallengesForbidden 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 NewPublicGetChallengesForbidden added in v0.89.0

func NewPublicGetChallengesForbidden() *PublicGetChallengesForbidden

NewPublicGetChallengesForbidden creates a PublicGetChallengesForbidden with default headers values

func (*PublicGetChallengesForbidden) Error added in v0.89.0

func (*PublicGetChallengesForbidden) GetPayload added in v0.89.0

func (*PublicGetChallengesForbidden) ToJSONString added in v0.89.0

func (o *PublicGetChallengesForbidden) ToJSONString() string

type PublicGetChallengesInternalServerError added in v0.89.0

type PublicGetChallengesInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

PublicGetChallengesInternalServerError 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 NewPublicGetChallengesInternalServerError added in v0.89.0

func NewPublicGetChallengesInternalServerError() *PublicGetChallengesInternalServerError

NewPublicGetChallengesInternalServerError creates a PublicGetChallengesInternalServerError with default headers values

func (*PublicGetChallengesInternalServerError) Error added in v0.89.0

func (*PublicGetChallengesInternalServerError) GetPayload added in v0.89.0

func (*PublicGetChallengesInternalServerError) ToJSONString added in v0.89.0

type PublicGetChallengesOK added in v0.89.0

type PublicGetChallengesOK struct {
	Payload *challengeclientmodels.ModelListChallengeResponse
}

PublicGetChallengesOK handles this case with default header values.

OK

func NewPublicGetChallengesOK added in v0.89.0

func NewPublicGetChallengesOK() *PublicGetChallengesOK

NewPublicGetChallengesOK creates a PublicGetChallengesOK with default headers values

func (*PublicGetChallengesOK) Error added in v0.89.0

func (o *PublicGetChallengesOK) Error() string

func (*PublicGetChallengesOK) GetPayload added in v0.89.0

func (*PublicGetChallengesOK) ToJSONString added in v0.89.0

func (o *PublicGetChallengesOK) ToJSONString() string

type PublicGetChallengesParams added in v0.89.0

type PublicGetChallengesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Keyword
	  filter challenges by code with likes behavior

	*/
	Keyword *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
	/*Tags
	  filter challenges by tags, comma separated value

	*/
	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
}

PublicGetChallengesParams contains all the parameters to send to the API endpoint for the public get challenges operation typically these are written to a http.Request

func NewPublicGetChallengesParams added in v0.89.0

func NewPublicGetChallengesParams() *PublicGetChallengesParams

NewPublicGetChallengesParams creates a new PublicGetChallengesParams object with the default values initialized.

func NewPublicGetChallengesParamsWithContext added in v0.89.0

func NewPublicGetChallengesParamsWithContext(ctx context.Context) *PublicGetChallengesParams

NewPublicGetChallengesParamsWithContext creates a new PublicGetChallengesParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetChallengesParamsWithHTTPClient added in v0.89.0

func NewPublicGetChallengesParamsWithHTTPClient(client *http.Client) *PublicGetChallengesParams

NewPublicGetChallengesParamsWithHTTPClient creates a new PublicGetChallengesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetChallengesParamsWithTimeout added in v0.89.0

func NewPublicGetChallengesParamsWithTimeout(timeout time.Duration) *PublicGetChallengesParams

NewPublicGetChallengesParamsWithTimeout creates a new PublicGetChallengesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetChallengesParams) SetAuthInfoWriter added in v0.89.0

func (o *PublicGetChallengesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get challenges params

func (*PublicGetChallengesParams) SetContext added in v0.89.0

func (o *PublicGetChallengesParams) SetContext(ctx context.Context)

SetContext adds the context to the public get challenges params

func (*PublicGetChallengesParams) SetFlightId added in v0.89.0

func (o *PublicGetChallengesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetChallengesParams) SetHTTPClient added in v0.89.0

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

SetHTTPClient adds the HTTPClient to the public get challenges params

func (*PublicGetChallengesParams) SetHTTPClientTransport added in v0.89.0

func (o *PublicGetChallengesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get challenges params

func (*PublicGetChallengesParams) SetKeyword added in v0.89.0

func (o *PublicGetChallengesParams) SetKeyword(keyword *string)

SetKeyword adds the keyword to the public get challenges params

func (*PublicGetChallengesParams) SetLimit added in v0.89.0

func (o *PublicGetChallengesParams) SetLimit(limit *int64)

SetLimit adds the limit to the public get challenges params

func (*PublicGetChallengesParams) SetNamespace added in v0.89.0

func (o *PublicGetChallengesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get challenges params

func (*PublicGetChallengesParams) SetOffset added in v0.89.0

func (o *PublicGetChallengesParams) SetOffset(offset *int64)

SetOffset adds the offset to the public get challenges params

func (*PublicGetChallengesParams) SetSortBy added in v0.89.0

func (o *PublicGetChallengesParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the public get challenges params

func (*PublicGetChallengesParams) SetStatus added in v0.89.0

func (o *PublicGetChallengesParams) SetStatus(status *string)

SetStatus adds the status to the public get challenges params

func (*PublicGetChallengesParams) SetTags added in v0.89.0

func (o *PublicGetChallengesParams) SetTags(tags []string)

SetTags adds the tags to the public get challenges params

func (*PublicGetChallengesParams) SetTimeout added in v0.89.0

func (o *PublicGetChallengesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get challenges params

func (*PublicGetChallengesParams) WithContext added in v0.89.0

WithContext adds the context to the public get challenges params

func (*PublicGetChallengesParams) WithHTTPClient added in v0.89.0

func (o *PublicGetChallengesParams) WithHTTPClient(client *http.Client) *PublicGetChallengesParams

WithHTTPClient adds the HTTPClient to the public get challenges params

func (*PublicGetChallengesParams) WithKeyword added in v0.89.0

WithKeyword adds the keyword to the public get challenges params

func (*PublicGetChallengesParams) WithLimit added in v0.89.0

WithLimit adds the limit to the public get challenges params

func (*PublicGetChallengesParams) WithNamespace added in v0.89.0

func (o *PublicGetChallengesParams) WithNamespace(namespace string) *PublicGetChallengesParams

WithNamespace adds the namespace to the public get challenges params

func (*PublicGetChallengesParams) WithOffset added in v0.89.0

WithOffset adds the offset to the public get challenges params

func (*PublicGetChallengesParams) WithSortBy added in v0.89.0

WithSortBy adds the sortBy to the public get challenges params

func (*PublicGetChallengesParams) WithStatus added in v0.89.0

WithStatus adds the status to the public get challenges params

func (*PublicGetChallengesParams) WithTags added in v0.89.0

WithTags adds the tags to the public get challenges params

func (*PublicGetChallengesParams) WithTimeout added in v0.89.0

WithTimeout adds the timeout to the public get challenges params

func (*PublicGetChallengesParams) WriteToRequest added in v0.89.0

WriteToRequest writes these params to a swagger request

type PublicGetChallengesReader added in v0.89.0

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

PublicGetChallengesReader is a Reader for the PublicGetChallenges structure.

func (*PublicGetChallengesReader) ReadResponse added in v0.89.0

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

ReadResponse reads a server response into the received o.

type PublicGetChallengesUnauthorized added in v0.89.0

type PublicGetChallengesUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

PublicGetChallengesUnauthorized 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 NewPublicGetChallengesUnauthorized added in v0.89.0

func NewPublicGetChallengesUnauthorized() *PublicGetChallengesUnauthorized

NewPublicGetChallengesUnauthorized creates a PublicGetChallengesUnauthorized with default headers values

func (*PublicGetChallengesUnauthorized) Error added in v0.89.0

func (*PublicGetChallengesUnauthorized) GetPayload added in v0.89.0

func (*PublicGetChallengesUnauthorized) ToJSONString added in v0.89.0

func (o *PublicGetChallengesUnauthorized) 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 (*PublicGetScheduledGoalsForbidden) GetPayload

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 (*PublicGetScheduledGoalsInternalServerError) GetPayload

func (*PublicGetScheduledGoalsInternalServerError) ToJSONString

type PublicGetScheduledGoalsNotFound added in v0.70.0

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 added in v0.70.0

func NewPublicGetScheduledGoalsNotFound() *PublicGetScheduledGoalsNotFound

NewPublicGetScheduledGoalsNotFound creates a PublicGetScheduledGoalsNotFound with default headers values

func (*PublicGetScheduledGoalsNotFound) Error added in v0.70.0

func (*PublicGetScheduledGoalsNotFound) GetPayload added in v0.70.0

func (*PublicGetScheduledGoalsNotFound) ToJSONString added in v0.70.0

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 (*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
	/*SortBy
	    sort list by attributes.
					default value: updatedAt:desc.

	*/
	SortBy *string
	/*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) SetSortBy added in v0.78.0

func (o *PublicGetScheduledGoalsParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy 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

WithContext adds the context to the public get scheduled goals params

func (*PublicGetScheduledGoalsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get scheduled goals params

func (*PublicGetScheduledGoalsParams) WithLimit

WithLimit adds the limit to the public get scheduled goals params

func (*PublicGetScheduledGoalsParams) WithNamespace

WithNamespace adds the namespace to the public get scheduled goals params

func (*PublicGetScheduledGoalsParams) WithOffset

WithOffset adds the offset to the public get scheduled goals params

func (*PublicGetScheduledGoalsParams) WithSortBy added in v0.78.0

WithSortBy adds the sortBy to the public get scheduled goals params

func (*PublicGetScheduledGoalsParams) WithTags

WithTags adds the tags to the public get scheduled goals params

func (*PublicGetScheduledGoalsParams) WithTimeout

WithTimeout adds the timeout to the public get scheduled goals params

func (*PublicGetScheduledGoalsParams) WriteToRequest

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 PublicGetScheduledGoalsUnauthorized

type PublicGetScheduledGoalsUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

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 (*PublicGetScheduledGoalsUnauthorized) GetPayload

func (*PublicGetScheduledGoalsUnauthorized) ToJSONString

func (o *PublicGetScheduledGoalsUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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