schedules

package
v0.77.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminListSchedulesBadRequest

type AdminListSchedulesBadRequest struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminListSchedulesBadRequest 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 NewAdminListSchedulesBadRequest

func NewAdminListSchedulesBadRequest() *AdminListSchedulesBadRequest

NewAdminListSchedulesBadRequest creates a AdminListSchedulesBadRequest with default headers values

func (*AdminListSchedulesBadRequest) Error

func (*AdminListSchedulesBadRequest) GetPayload

func (*AdminListSchedulesBadRequest) ToJSONString

func (o *AdminListSchedulesBadRequest) ToJSONString() string

type AdminListSchedulesByGoalBadRequest

type AdminListSchedulesByGoalBadRequest struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminListSchedulesByGoalBadRequest 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 NewAdminListSchedulesByGoalBadRequest

func NewAdminListSchedulesByGoalBadRequest() *AdminListSchedulesByGoalBadRequest

NewAdminListSchedulesByGoalBadRequest creates a AdminListSchedulesByGoalBadRequest with default headers values

func (*AdminListSchedulesByGoalBadRequest) Error

func (*AdminListSchedulesByGoalBadRequest) GetPayload

func (*AdminListSchedulesByGoalBadRequest) ToJSONString

func (o *AdminListSchedulesByGoalBadRequest) ToJSONString() string

type AdminListSchedulesByGoalForbidden

type AdminListSchedulesByGoalForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminListSchedulesByGoalForbidden 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 NewAdminListSchedulesByGoalForbidden

func NewAdminListSchedulesByGoalForbidden() *AdminListSchedulesByGoalForbidden

NewAdminListSchedulesByGoalForbidden creates a AdminListSchedulesByGoalForbidden with default headers values

func (*AdminListSchedulesByGoalForbidden) Error

func (*AdminListSchedulesByGoalForbidden) GetPayload

func (*AdminListSchedulesByGoalForbidden) ToJSONString

func (o *AdminListSchedulesByGoalForbidden) ToJSONString() string

type AdminListSchedulesByGoalInternalServerError

type AdminListSchedulesByGoalInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminListSchedulesByGoalInternalServerError 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 NewAdminListSchedulesByGoalInternalServerError

func NewAdminListSchedulesByGoalInternalServerError() *AdminListSchedulesByGoalInternalServerError

NewAdminListSchedulesByGoalInternalServerError creates a AdminListSchedulesByGoalInternalServerError with default headers values

func (*AdminListSchedulesByGoalInternalServerError) Error

func (*AdminListSchedulesByGoalInternalServerError) GetPayload

func (*AdminListSchedulesByGoalInternalServerError) ToJSONString

type AdminListSchedulesByGoalNotFound

type AdminListSchedulesByGoalNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminListSchedulesByGoalNotFound 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 NewAdminListSchedulesByGoalNotFound

func NewAdminListSchedulesByGoalNotFound() *AdminListSchedulesByGoalNotFound

NewAdminListSchedulesByGoalNotFound creates a AdminListSchedulesByGoalNotFound with default headers values

func (*AdminListSchedulesByGoalNotFound) Error

func (*AdminListSchedulesByGoalNotFound) GetPayload

func (*AdminListSchedulesByGoalNotFound) ToJSONString

func (o *AdminListSchedulesByGoalNotFound) ToJSONString() string

type AdminListSchedulesByGoalOK

type AdminListSchedulesByGoalOK struct {
	Payload *challengeclientmodels.ModelListScheduleByGoalResponse
}

AdminListSchedulesByGoalOK handles this case with default header values.

OK

func NewAdminListSchedulesByGoalOK

func NewAdminListSchedulesByGoalOK() *AdminListSchedulesByGoalOK

NewAdminListSchedulesByGoalOK creates a AdminListSchedulesByGoalOK with default headers values

func (*AdminListSchedulesByGoalOK) Error

func (*AdminListSchedulesByGoalOK) GetPayload

func (*AdminListSchedulesByGoalOK) ToJSONString

func (o *AdminListSchedulesByGoalOK) ToJSONString() string

type AdminListSchedulesByGoalParams

type AdminListSchedulesByGoalParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChallengeCode
	  challenge code

	*/
	ChallengeCode string
	/*Code
	  goal code

	*/
	Code string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Limit
	  limit the amount of data retrieved

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*UserID
	  userId, UUIDv4 format without hyphen, required when querying CUSTOM challenge schedule

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

AdminListSchedulesByGoalParams contains all the parameters to send to the API endpoint for the admin list schedules by goal operation typically these are written to a http.Request

func NewAdminListSchedulesByGoalParams

func NewAdminListSchedulesByGoalParams() *AdminListSchedulesByGoalParams

NewAdminListSchedulesByGoalParams creates a new AdminListSchedulesByGoalParams object with the default values initialized.

func NewAdminListSchedulesByGoalParamsWithContext

func NewAdminListSchedulesByGoalParamsWithContext(ctx context.Context) *AdminListSchedulesByGoalParams

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

func NewAdminListSchedulesByGoalParamsWithHTTPClient

func NewAdminListSchedulesByGoalParamsWithHTTPClient(client *http.Client) *AdminListSchedulesByGoalParams

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

func NewAdminListSchedulesByGoalParamsWithTimeout

func NewAdminListSchedulesByGoalParamsWithTimeout(timeout time.Duration) *AdminListSchedulesByGoalParams

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

func (*AdminListSchedulesByGoalParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) SetChallengeCode

func (o *AdminListSchedulesByGoalParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) SetCode

func (o *AdminListSchedulesByGoalParams) SetCode(code string)

SetCode adds the code to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) SetContext

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

SetContext adds the context to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) SetFlightId

func (o *AdminListSchedulesByGoalParams) SetFlightId(flightId string)

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

func (*AdminListSchedulesByGoalParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) SetLimit

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

SetLimit adds the limit to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) SetNamespace

func (o *AdminListSchedulesByGoalParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) SetOffset

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

SetOffset adds the offset to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) SetTimeout

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

SetTimeout adds the timeout to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) SetUserID

func (o *AdminListSchedulesByGoalParams) SetUserID(userID *string)

SetUserID adds the userId to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) WithChallengeCode

func (o *AdminListSchedulesByGoalParams) WithChallengeCode(challengeCode string) *AdminListSchedulesByGoalParams

WithChallengeCode adds the challengeCode to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) WithCode

WithCode adds the code to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) WithContext

WithContext adds the context to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) WithLimit

WithLimit adds the limit to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) WithNamespace

WithNamespace adds the namespace to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) WithOffset

WithOffset adds the offset to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) WithTimeout

WithTimeout adds the timeout to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) WithUserID

WithUserID adds the userID to the admin list schedules by goal params

func (*AdminListSchedulesByGoalParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListSchedulesByGoalReader

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

AdminListSchedulesByGoalReader is a Reader for the AdminListSchedulesByGoal structure.

func (*AdminListSchedulesByGoalReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListSchedulesByGoalUnauthorized

type AdminListSchedulesByGoalUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminListSchedulesByGoalUnauthorized 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 NewAdminListSchedulesByGoalUnauthorized

func NewAdminListSchedulesByGoalUnauthorized() *AdminListSchedulesByGoalUnauthorized

NewAdminListSchedulesByGoalUnauthorized creates a AdminListSchedulesByGoalUnauthorized with default headers values

func (*AdminListSchedulesByGoalUnauthorized) Error

func (*AdminListSchedulesByGoalUnauthorized) GetPayload

func (*AdminListSchedulesByGoalUnauthorized) ToJSONString

func (o *AdminListSchedulesByGoalUnauthorized) ToJSONString() string

type AdminListSchedulesForbidden

type AdminListSchedulesForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminListSchedulesForbidden 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 NewAdminListSchedulesForbidden

func NewAdminListSchedulesForbidden() *AdminListSchedulesForbidden

NewAdminListSchedulesForbidden creates a AdminListSchedulesForbidden with default headers values

func (*AdminListSchedulesForbidden) Error

func (*AdminListSchedulesForbidden) GetPayload

func (*AdminListSchedulesForbidden) ToJSONString

func (o *AdminListSchedulesForbidden) ToJSONString() string

type AdminListSchedulesInternalServerError

type AdminListSchedulesInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminListSchedulesInternalServerError 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 NewAdminListSchedulesInternalServerError

func NewAdminListSchedulesInternalServerError() *AdminListSchedulesInternalServerError

NewAdminListSchedulesInternalServerError creates a AdminListSchedulesInternalServerError with default headers values

func (*AdminListSchedulesInternalServerError) Error

func (*AdminListSchedulesInternalServerError) GetPayload

func (*AdminListSchedulesInternalServerError) ToJSONString

type AdminListSchedulesNotFound

type AdminListSchedulesNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminListSchedulesNotFound 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 NewAdminListSchedulesNotFound

func NewAdminListSchedulesNotFound() *AdminListSchedulesNotFound

NewAdminListSchedulesNotFound creates a AdminListSchedulesNotFound with default headers values

func (*AdminListSchedulesNotFound) Error

func (*AdminListSchedulesNotFound) GetPayload

func (*AdminListSchedulesNotFound) ToJSONString

func (o *AdminListSchedulesNotFound) ToJSONString() string

type AdminListSchedulesOK

type AdminListSchedulesOK struct {
	Payload *challengeclientmodels.ModelListSchedulesResponse
}

AdminListSchedulesOK handles this case with default header values.

OK

func NewAdminListSchedulesOK

func NewAdminListSchedulesOK() *AdminListSchedulesOK

NewAdminListSchedulesOK creates a AdminListSchedulesOK with default headers values

func (*AdminListSchedulesOK) Error

func (o *AdminListSchedulesOK) Error() string

func (*AdminListSchedulesOK) GetPayload

func (*AdminListSchedulesOK) ToJSONString

func (o *AdminListSchedulesOK) ToJSONString() string

type AdminListSchedulesParams

type AdminListSchedulesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChallengeCode
	  challenge code

	*/
	ChallengeCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*DateTime
	  use RFC3339 format(2006-01-02T15:04:05Z).

	*/
	DateTime *string
	/*Limit
	  limit the amount of data retrieved

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*UserID
	  userId, UUIDv4 format without hyphen, required when querying CUSTOM challenge schedule

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

AdminListSchedulesParams contains all the parameters to send to the API endpoint for the admin list schedules operation typically these are written to a http.Request

func NewAdminListSchedulesParams

func NewAdminListSchedulesParams() *AdminListSchedulesParams

NewAdminListSchedulesParams creates a new AdminListSchedulesParams object with the default values initialized.

func NewAdminListSchedulesParamsWithContext

func NewAdminListSchedulesParamsWithContext(ctx context.Context) *AdminListSchedulesParams

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

func NewAdminListSchedulesParamsWithHTTPClient

func NewAdminListSchedulesParamsWithHTTPClient(client *http.Client) *AdminListSchedulesParams

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

func NewAdminListSchedulesParamsWithTimeout

func NewAdminListSchedulesParamsWithTimeout(timeout time.Duration) *AdminListSchedulesParams

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

func (*AdminListSchedulesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin list schedules params

func (*AdminListSchedulesParams) SetChallengeCode

func (o *AdminListSchedulesParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin list schedules params

func (*AdminListSchedulesParams) SetContext

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

SetContext adds the context to the admin list schedules params

func (*AdminListSchedulesParams) SetDateTime

func (o *AdminListSchedulesParams) SetDateTime(dateTime *string)

SetDateTime adds the dateTime to the admin list schedules params

func (*AdminListSchedulesParams) SetFlightId

func (o *AdminListSchedulesParams) SetFlightId(flightId string)

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

func (*AdminListSchedulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list schedules params

func (*AdminListSchedulesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin list schedules params

func (*AdminListSchedulesParams) SetLimit

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

SetLimit adds the limit to the admin list schedules params

func (*AdminListSchedulesParams) SetNamespace

func (o *AdminListSchedulesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list schedules params

func (*AdminListSchedulesParams) SetOffset

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

SetOffset adds the offset to the admin list schedules params

func (*AdminListSchedulesParams) SetTimeout

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

SetTimeout adds the timeout to the admin list schedules params

func (*AdminListSchedulesParams) SetUserID

func (o *AdminListSchedulesParams) SetUserID(userID *string)

SetUserID adds the userId to the admin list schedules params

func (*AdminListSchedulesParams) WithChallengeCode

func (o *AdminListSchedulesParams) WithChallengeCode(challengeCode string) *AdminListSchedulesParams

WithChallengeCode adds the challengeCode to the admin list schedules params

func (*AdminListSchedulesParams) WithContext

WithContext adds the context to the admin list schedules params

func (*AdminListSchedulesParams) WithDateTime

func (o *AdminListSchedulesParams) WithDateTime(dateTime *string) *AdminListSchedulesParams

WithDateTime adds the dateTime to the admin list schedules params

func (*AdminListSchedulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin list schedules params

func (*AdminListSchedulesParams) WithLimit

WithLimit adds the limit to the admin list schedules params

func (*AdminListSchedulesParams) WithNamespace

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

WithNamespace adds the namespace to the admin list schedules params

func (*AdminListSchedulesParams) WithOffset

WithOffset adds the offset to the admin list schedules params

func (*AdminListSchedulesParams) WithTimeout

WithTimeout adds the timeout to the admin list schedules params

func (*AdminListSchedulesParams) WithUserID

WithUserID adds the userID to the admin list schedules params

func (*AdminListSchedulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListSchedulesReader

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

AdminListSchedulesReader is a Reader for the AdminListSchedules structure.

func (*AdminListSchedulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListSchedulesUnauthorized

type AdminListSchedulesUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminListSchedulesUnauthorized 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 NewAdminListSchedulesUnauthorized

func NewAdminListSchedulesUnauthorized() *AdminListSchedulesUnauthorized

NewAdminListSchedulesUnauthorized creates a AdminListSchedulesUnauthorized with default headers values

func (*AdminListSchedulesUnauthorized) Error

func (*AdminListSchedulesUnauthorized) GetPayload

func (*AdminListSchedulesUnauthorized) ToJSONString

func (o *AdminListSchedulesUnauthorized) ToJSONString() string

type Client

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

Client for schedules API

func (*Client) AdminListSchedules deprecated

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

AdminListSchedules get challenge's schedules

  • Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]

List schedules of given challenge for specific user. To query schedules prior to specific date time, use dateTime parameter.

func (*Client) AdminListSchedulesByGoal deprecated

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

AdminListSchedulesByGoal get goal's schedules

  • Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]

List schedules of given goal in a challenge for specific user.

func (*Client) AdminListSchedulesByGoalShort

func (a *Client) AdminListSchedulesByGoalShort(params *AdminListSchedulesByGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListSchedulesByGoalOK, error)

AdminListSchedulesByGoalShort get goal's schedules

  • Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]

List schedules of given goal in a challenge for specific user.

func (*Client) AdminListSchedulesShort

func (a *Client) AdminListSchedulesShort(params *AdminListSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListSchedulesOK, error)

AdminListSchedulesShort get challenge's schedules

  • Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]

List schedules of given challenge for specific user. To query schedules prior to specific date time, use dateTime parameter.

func (*Client) PublicListSchedules deprecated

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

PublicListSchedules get challenge's schedules

  • Required permission: NAMESPACE:{namespace}:CHALLENGE [READ]

List schedules of given challenge for specific user. To query schedules prior to specific date time, use dateTime parameter.

func (*Client) PublicListSchedulesByGoal deprecated

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

PublicListSchedulesByGoal get goal's schedules

  • Required permission: NAMESPACE:{namespace}:CHALLENGE [READ]

List schedules of given goal in a challenge for specific user.

func (*Client) PublicListSchedulesByGoalShort

func (a *Client) PublicListSchedulesByGoalShort(params *PublicListSchedulesByGoalParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListSchedulesByGoalOK, error)

PublicListSchedulesByGoalShort get goal's schedules

  • Required permission: NAMESPACE:{namespace}:CHALLENGE [READ]

List schedules of given goal in a challenge for specific user.

func (*Client) PublicListSchedulesShort

func (a *Client) PublicListSchedulesShort(params *PublicListSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListSchedulesOK, error)

PublicListSchedulesShort get challenge's schedules

  • Required permission: NAMESPACE:{namespace}:CHALLENGE [READ]

List schedules of given challenge for specific user. To query schedules prior to specific date time, use dateTime parameter.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminListSchedulesByGoal(params *AdminListSchedulesByGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListSchedulesByGoalOK, *AdminListSchedulesByGoalBadRequest, *AdminListSchedulesByGoalUnauthorized, *AdminListSchedulesByGoalForbidden, *AdminListSchedulesByGoalNotFound, *AdminListSchedulesByGoalInternalServerError, error)
	AdminListSchedulesByGoalShort(params *AdminListSchedulesByGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListSchedulesByGoalOK, error)
	AdminListSchedules(params *AdminListSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListSchedulesOK, *AdminListSchedulesBadRequest, *AdminListSchedulesUnauthorized, *AdminListSchedulesForbidden, *AdminListSchedulesNotFound, *AdminListSchedulesInternalServerError, error)
	AdminListSchedulesShort(params *AdminListSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListSchedulesOK, error)
	PublicListSchedulesByGoal(params *PublicListSchedulesByGoalParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListSchedulesByGoalOK, *PublicListSchedulesByGoalBadRequest, *PublicListSchedulesByGoalUnauthorized, *PublicListSchedulesByGoalForbidden, *PublicListSchedulesByGoalNotFound, *PublicListSchedulesByGoalInternalServerError, error)
	PublicListSchedulesByGoalShort(params *PublicListSchedulesByGoalParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListSchedulesByGoalOK, error)
	PublicListSchedules(params *PublicListSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListSchedulesOK, *PublicListSchedulesBadRequest, *PublicListSchedulesUnauthorized, *PublicListSchedulesForbidden, *PublicListSchedulesNotFound, *PublicListSchedulesInternalServerError, error)
	PublicListSchedulesShort(params *PublicListSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListSchedulesOK, 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 schedules API client.

type PublicListSchedulesBadRequest

type PublicListSchedulesBadRequest struct {
	Payload *challengeclientmodels.IamErrorResponse
}

PublicListSchedulesBadRequest 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 NewPublicListSchedulesBadRequest

func NewPublicListSchedulesBadRequest() *PublicListSchedulesBadRequest

NewPublicListSchedulesBadRequest creates a PublicListSchedulesBadRequest with default headers values

func (*PublicListSchedulesBadRequest) Error

func (*PublicListSchedulesBadRequest) GetPayload

func (*PublicListSchedulesBadRequest) ToJSONString

func (o *PublicListSchedulesBadRequest) ToJSONString() string

type PublicListSchedulesByGoalBadRequest

type PublicListSchedulesByGoalBadRequest struct {
	Payload *challengeclientmodels.IamErrorResponse
}

PublicListSchedulesByGoalBadRequest 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 NewPublicListSchedulesByGoalBadRequest

func NewPublicListSchedulesByGoalBadRequest() *PublicListSchedulesByGoalBadRequest

NewPublicListSchedulesByGoalBadRequest creates a PublicListSchedulesByGoalBadRequest with default headers values

func (*PublicListSchedulesByGoalBadRequest) Error

func (*PublicListSchedulesByGoalBadRequest) GetPayload

func (*PublicListSchedulesByGoalBadRequest) ToJSONString

func (o *PublicListSchedulesByGoalBadRequest) ToJSONString() string

type PublicListSchedulesByGoalForbidden

type PublicListSchedulesByGoalForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

PublicListSchedulesByGoalForbidden 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 NewPublicListSchedulesByGoalForbidden

func NewPublicListSchedulesByGoalForbidden() *PublicListSchedulesByGoalForbidden

NewPublicListSchedulesByGoalForbidden creates a PublicListSchedulesByGoalForbidden with default headers values

func (*PublicListSchedulesByGoalForbidden) Error

func (*PublicListSchedulesByGoalForbidden) GetPayload

func (*PublicListSchedulesByGoalForbidden) ToJSONString

func (o *PublicListSchedulesByGoalForbidden) ToJSONString() string

type PublicListSchedulesByGoalInternalServerError

type PublicListSchedulesByGoalInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

PublicListSchedulesByGoalInternalServerError 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 NewPublicListSchedulesByGoalInternalServerError

func NewPublicListSchedulesByGoalInternalServerError() *PublicListSchedulesByGoalInternalServerError

NewPublicListSchedulesByGoalInternalServerError creates a PublicListSchedulesByGoalInternalServerError with default headers values

func (*PublicListSchedulesByGoalInternalServerError) Error

func (*PublicListSchedulesByGoalInternalServerError) GetPayload

func (*PublicListSchedulesByGoalInternalServerError) ToJSONString

type PublicListSchedulesByGoalNotFound

type PublicListSchedulesByGoalNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

PublicListSchedulesByGoalNotFound 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 NewPublicListSchedulesByGoalNotFound

func NewPublicListSchedulesByGoalNotFound() *PublicListSchedulesByGoalNotFound

NewPublicListSchedulesByGoalNotFound creates a PublicListSchedulesByGoalNotFound with default headers values

func (*PublicListSchedulesByGoalNotFound) Error

func (*PublicListSchedulesByGoalNotFound) GetPayload

func (*PublicListSchedulesByGoalNotFound) ToJSONString

func (o *PublicListSchedulesByGoalNotFound) ToJSONString() string

type PublicListSchedulesByGoalOK

type PublicListSchedulesByGoalOK struct {
	Payload *challengeclientmodels.ModelListScheduleByGoalResponse
}

PublicListSchedulesByGoalOK handles this case with default header values.

OK

func NewPublicListSchedulesByGoalOK

func NewPublicListSchedulesByGoalOK() *PublicListSchedulesByGoalOK

NewPublicListSchedulesByGoalOK creates a PublicListSchedulesByGoalOK with default headers values

func (*PublicListSchedulesByGoalOK) Error

func (*PublicListSchedulesByGoalOK) GetPayload

func (*PublicListSchedulesByGoalOK) ToJSONString

func (o *PublicListSchedulesByGoalOK) ToJSONString() string

type PublicListSchedulesByGoalParams

type PublicListSchedulesByGoalParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChallengeCode
	  challenge code

	*/
	ChallengeCode string
	/*Code
	  goal code

	*/
	Code string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Limit
	  limit the amount of data retrieved

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicListSchedulesByGoalParams contains all the parameters to send to the API endpoint for the public list schedules by goal operation typically these are written to a http.Request

func NewPublicListSchedulesByGoalParams

func NewPublicListSchedulesByGoalParams() *PublicListSchedulesByGoalParams

NewPublicListSchedulesByGoalParams creates a new PublicListSchedulesByGoalParams object with the default values initialized.

func NewPublicListSchedulesByGoalParamsWithContext

func NewPublicListSchedulesByGoalParamsWithContext(ctx context.Context) *PublicListSchedulesByGoalParams

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

func NewPublicListSchedulesByGoalParamsWithHTTPClient

func NewPublicListSchedulesByGoalParamsWithHTTPClient(client *http.Client) *PublicListSchedulesByGoalParams

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

func NewPublicListSchedulesByGoalParamsWithTimeout

func NewPublicListSchedulesByGoalParamsWithTimeout(timeout time.Duration) *PublicListSchedulesByGoalParams

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

func (*PublicListSchedulesByGoalParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) SetChallengeCode

func (o *PublicListSchedulesByGoalParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) SetCode

func (o *PublicListSchedulesByGoalParams) SetCode(code string)

SetCode adds the code to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) SetContext

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

SetContext adds the context to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) SetFlightId

func (o *PublicListSchedulesByGoalParams) SetFlightId(flightId string)

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

func (*PublicListSchedulesByGoalParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) SetLimit

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

SetLimit adds the limit to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) SetNamespace

func (o *PublicListSchedulesByGoalParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) SetOffset

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

SetOffset adds the offset to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) SetTimeout

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

SetTimeout adds the timeout to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) WithChallengeCode

func (o *PublicListSchedulesByGoalParams) WithChallengeCode(challengeCode string) *PublicListSchedulesByGoalParams

WithChallengeCode adds the challengeCode to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) WithCode

WithCode adds the code to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) WithContext

WithContext adds the context to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) WithLimit

WithLimit adds the limit to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) WithNamespace

WithNamespace adds the namespace to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) WithOffset

WithOffset adds the offset to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) WithTimeout

WithTimeout adds the timeout to the public list schedules by goal params

func (*PublicListSchedulesByGoalParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListSchedulesByGoalReader

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

PublicListSchedulesByGoalReader is a Reader for the PublicListSchedulesByGoal structure.

func (*PublicListSchedulesByGoalReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListSchedulesByGoalUnauthorized

type PublicListSchedulesByGoalUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

PublicListSchedulesByGoalUnauthorized 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 NewPublicListSchedulesByGoalUnauthorized

func NewPublicListSchedulesByGoalUnauthorized() *PublicListSchedulesByGoalUnauthorized

NewPublicListSchedulesByGoalUnauthorized creates a PublicListSchedulesByGoalUnauthorized with default headers values

func (*PublicListSchedulesByGoalUnauthorized) Error

func (*PublicListSchedulesByGoalUnauthorized) GetPayload

func (*PublicListSchedulesByGoalUnauthorized) ToJSONString

type PublicListSchedulesForbidden

type PublicListSchedulesForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

PublicListSchedulesForbidden 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 NewPublicListSchedulesForbidden

func NewPublicListSchedulesForbidden() *PublicListSchedulesForbidden

NewPublicListSchedulesForbidden creates a PublicListSchedulesForbidden with default headers values

func (*PublicListSchedulesForbidden) Error

func (*PublicListSchedulesForbidden) GetPayload

func (*PublicListSchedulesForbidden) ToJSONString

func (o *PublicListSchedulesForbidden) ToJSONString() string

type PublicListSchedulesInternalServerError

type PublicListSchedulesInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

PublicListSchedulesInternalServerError 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 NewPublicListSchedulesInternalServerError

func NewPublicListSchedulesInternalServerError() *PublicListSchedulesInternalServerError

NewPublicListSchedulesInternalServerError creates a PublicListSchedulesInternalServerError with default headers values

func (*PublicListSchedulesInternalServerError) Error

func (*PublicListSchedulesInternalServerError) GetPayload

func (*PublicListSchedulesInternalServerError) ToJSONString

type PublicListSchedulesNotFound

type PublicListSchedulesNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

PublicListSchedulesNotFound 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 NewPublicListSchedulesNotFound

func NewPublicListSchedulesNotFound() *PublicListSchedulesNotFound

NewPublicListSchedulesNotFound creates a PublicListSchedulesNotFound with default headers values

func (*PublicListSchedulesNotFound) Error

func (*PublicListSchedulesNotFound) GetPayload

func (*PublicListSchedulesNotFound) ToJSONString

func (o *PublicListSchedulesNotFound) ToJSONString() string

type PublicListSchedulesOK

type PublicListSchedulesOK struct {
	Payload *challengeclientmodels.ModelListSchedulesResponse
}

PublicListSchedulesOK handles this case with default header values.

OK

func NewPublicListSchedulesOK

func NewPublicListSchedulesOK() *PublicListSchedulesOK

NewPublicListSchedulesOK creates a PublicListSchedulesOK with default headers values

func (*PublicListSchedulesOK) Error

func (o *PublicListSchedulesOK) Error() string

func (*PublicListSchedulesOK) GetPayload

func (*PublicListSchedulesOK) ToJSONString

func (o *PublicListSchedulesOK) ToJSONString() string

type PublicListSchedulesParams

type PublicListSchedulesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChallengeCode
	  challenge code

	*/
	ChallengeCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*DateTime
	  use RFC3339 format(2006-01-02T15:04:05Z).

	*/
	DateTime *string
	/*Limit
	  limit the amount of data retrieved

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicListSchedulesParams contains all the parameters to send to the API endpoint for the public list schedules operation typically these are written to a http.Request

func NewPublicListSchedulesParams

func NewPublicListSchedulesParams() *PublicListSchedulesParams

NewPublicListSchedulesParams creates a new PublicListSchedulesParams object with the default values initialized.

func NewPublicListSchedulesParamsWithContext

func NewPublicListSchedulesParamsWithContext(ctx context.Context) *PublicListSchedulesParams

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

func NewPublicListSchedulesParamsWithHTTPClient

func NewPublicListSchedulesParamsWithHTTPClient(client *http.Client) *PublicListSchedulesParams

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

func NewPublicListSchedulesParamsWithTimeout

func NewPublicListSchedulesParamsWithTimeout(timeout time.Duration) *PublicListSchedulesParams

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

func (*PublicListSchedulesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public list schedules params

func (*PublicListSchedulesParams) SetChallengeCode

func (o *PublicListSchedulesParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the public list schedules params

func (*PublicListSchedulesParams) SetContext

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

SetContext adds the context to the public list schedules params

func (*PublicListSchedulesParams) SetDateTime

func (o *PublicListSchedulesParams) SetDateTime(dateTime *string)

SetDateTime adds the dateTime to the public list schedules params

func (*PublicListSchedulesParams) SetFlightId

func (o *PublicListSchedulesParams) SetFlightId(flightId string)

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

func (*PublicListSchedulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list schedules params

func (*PublicListSchedulesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public list schedules params

func (*PublicListSchedulesParams) SetLimit

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

SetLimit adds the limit to the public list schedules params

func (*PublicListSchedulesParams) SetNamespace

func (o *PublicListSchedulesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list schedules params

func (*PublicListSchedulesParams) SetOffset

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

SetOffset adds the offset to the public list schedules params

func (*PublicListSchedulesParams) SetTimeout

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

SetTimeout adds the timeout to the public list schedules params

func (*PublicListSchedulesParams) WithChallengeCode

func (o *PublicListSchedulesParams) WithChallengeCode(challengeCode string) *PublicListSchedulesParams

WithChallengeCode adds the challengeCode to the public list schedules params

func (*PublicListSchedulesParams) WithContext

WithContext adds the context to the public list schedules params

func (*PublicListSchedulesParams) WithDateTime

func (o *PublicListSchedulesParams) WithDateTime(dateTime *string) *PublicListSchedulesParams

WithDateTime adds the dateTime to the public list schedules params

func (*PublicListSchedulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public list schedules params

func (*PublicListSchedulesParams) WithLimit

WithLimit adds the limit to the public list schedules params

func (*PublicListSchedulesParams) WithNamespace

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

WithNamespace adds the namespace to the public list schedules params

func (*PublicListSchedulesParams) WithOffset

WithOffset adds the offset to the public list schedules params

func (*PublicListSchedulesParams) WithTimeout

WithTimeout adds the timeout to the public list schedules params

func (*PublicListSchedulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListSchedulesReader

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

PublicListSchedulesReader is a Reader for the PublicListSchedules structure.

func (*PublicListSchedulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListSchedulesUnauthorized

type PublicListSchedulesUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

PublicListSchedulesUnauthorized 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 NewPublicListSchedulesUnauthorized

func NewPublicListSchedulesUnauthorized() *PublicListSchedulesUnauthorized

NewPublicListSchedulesUnauthorized creates a PublicListSchedulesUnauthorized with default headers values

func (*PublicListSchedulesUnauthorized) Error

func (*PublicListSchedulesUnauthorized) GetPayload

func (*PublicListSchedulesUnauthorized) ToJSONString

func (o *PublicListSchedulesUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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