Documentation
¶
Index ¶
- type AdminListSchedulesBadRequest
- type AdminListSchedulesByGoalBadRequest
- type AdminListSchedulesByGoalForbidden
- type AdminListSchedulesByGoalInternalServerError
- type AdminListSchedulesByGoalNotFound
- type AdminListSchedulesByGoalOK
- type AdminListSchedulesByGoalParams
- func NewAdminListSchedulesByGoalParams() *AdminListSchedulesByGoalParams
- func NewAdminListSchedulesByGoalParamsWithContext(ctx context.Context) *AdminListSchedulesByGoalParams
- func NewAdminListSchedulesByGoalParamsWithHTTPClient(client *http.Client) *AdminListSchedulesByGoalParams
- func NewAdminListSchedulesByGoalParamsWithTimeout(timeout time.Duration) *AdminListSchedulesByGoalParams
- func (o *AdminListSchedulesByGoalParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListSchedulesByGoalParams) SetChallengeCode(challengeCode string)
- func (o *AdminListSchedulesByGoalParams) SetCode(code string)
- func (o *AdminListSchedulesByGoalParams) SetContext(ctx context.Context)
- func (o *AdminListSchedulesByGoalParams) SetFlightId(flightId string)
- func (o *AdminListSchedulesByGoalParams) SetHTTPClient(client *http.Client)
- func (o *AdminListSchedulesByGoalParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListSchedulesByGoalParams) SetLimit(limit *int64)
- func (o *AdminListSchedulesByGoalParams) SetNamespace(namespace string)
- func (o *AdminListSchedulesByGoalParams) SetOffset(offset *int64)
- func (o *AdminListSchedulesByGoalParams) SetTimeout(timeout time.Duration)
- func (o *AdminListSchedulesByGoalParams) SetUserID(userID *string)
- func (o *AdminListSchedulesByGoalParams) WithChallengeCode(challengeCode string) *AdminListSchedulesByGoalParams
- func (o *AdminListSchedulesByGoalParams) WithCode(code string) *AdminListSchedulesByGoalParams
- func (o *AdminListSchedulesByGoalParams) WithContext(ctx context.Context) *AdminListSchedulesByGoalParams
- func (o *AdminListSchedulesByGoalParams) WithHTTPClient(client *http.Client) *AdminListSchedulesByGoalParams
- func (o *AdminListSchedulesByGoalParams) WithLimit(limit *int64) *AdminListSchedulesByGoalParams
- func (o *AdminListSchedulesByGoalParams) WithNamespace(namespace string) *AdminListSchedulesByGoalParams
- func (o *AdminListSchedulesByGoalParams) WithOffset(offset *int64) *AdminListSchedulesByGoalParams
- func (o *AdminListSchedulesByGoalParams) WithTimeout(timeout time.Duration) *AdminListSchedulesByGoalParams
- func (o *AdminListSchedulesByGoalParams) WithUserID(userID *string) *AdminListSchedulesByGoalParams
- func (o *AdminListSchedulesByGoalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListSchedulesByGoalReader
- type AdminListSchedulesByGoalUnauthorized
- type AdminListSchedulesForbidden
- type AdminListSchedulesInternalServerError
- type AdminListSchedulesNotFound
- type AdminListSchedulesOK
- type AdminListSchedulesParams
- func NewAdminListSchedulesParams() *AdminListSchedulesParams
- func NewAdminListSchedulesParamsWithContext(ctx context.Context) *AdminListSchedulesParams
- func NewAdminListSchedulesParamsWithHTTPClient(client *http.Client) *AdminListSchedulesParams
- func NewAdminListSchedulesParamsWithTimeout(timeout time.Duration) *AdminListSchedulesParams
- func (o *AdminListSchedulesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListSchedulesParams) SetChallengeCode(challengeCode string)
- func (o *AdminListSchedulesParams) SetContext(ctx context.Context)
- func (o *AdminListSchedulesParams) SetDateTime(dateTime *string)
- func (o *AdminListSchedulesParams) SetFlightId(flightId string)
- func (o *AdminListSchedulesParams) SetHTTPClient(client *http.Client)
- func (o *AdminListSchedulesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListSchedulesParams) SetLimit(limit *int64)
- func (o *AdminListSchedulesParams) SetNamespace(namespace string)
- func (o *AdminListSchedulesParams) SetOffset(offset *int64)
- func (o *AdminListSchedulesParams) SetTimeout(timeout time.Duration)
- func (o *AdminListSchedulesParams) SetUserID(userID *string)
- func (o *AdminListSchedulesParams) WithChallengeCode(challengeCode string) *AdminListSchedulesParams
- func (o *AdminListSchedulesParams) WithContext(ctx context.Context) *AdminListSchedulesParams
- func (o *AdminListSchedulesParams) WithDateTime(dateTime *string) *AdminListSchedulesParams
- func (o *AdminListSchedulesParams) WithHTTPClient(client *http.Client) *AdminListSchedulesParams
- func (o *AdminListSchedulesParams) WithLimit(limit *int64) *AdminListSchedulesParams
- func (o *AdminListSchedulesParams) WithNamespace(namespace string) *AdminListSchedulesParams
- func (o *AdminListSchedulesParams) WithOffset(offset *int64) *AdminListSchedulesParams
- func (o *AdminListSchedulesParams) WithTimeout(timeout time.Duration) *AdminListSchedulesParams
- func (o *AdminListSchedulesParams) WithUserID(userID *string) *AdminListSchedulesParams
- func (o *AdminListSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListSchedulesReader
- type AdminListSchedulesUnauthorized
- type Client
- func (a *Client) AdminListSchedules(params *AdminListSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListSchedulesOK, *AdminListSchedulesBadRequest, ...)deprecated
- func (a *Client) AdminListSchedulesByGoal(params *AdminListSchedulesByGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListSchedulesByGoalOK, *AdminListSchedulesByGoalBadRequest, ...)deprecated
- func (a *Client) AdminListSchedulesByGoalShort(params *AdminListSchedulesByGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListSchedulesByGoalOK, error)
- func (a *Client) AdminListSchedulesShort(params *AdminListSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListSchedulesOK, error)
- func (a *Client) PublicListSchedules(params *PublicListSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListSchedulesOK, *PublicListSchedulesBadRequest, ...)deprecated
- func (a *Client) PublicListSchedulesByGoal(params *PublicListSchedulesByGoalParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListSchedulesByGoalOK, *PublicListSchedulesByGoalBadRequest, ...)deprecated
- func (a *Client) PublicListSchedulesByGoalShort(params *PublicListSchedulesByGoalParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListSchedulesByGoalOK, error)
- func (a *Client) PublicListSchedulesShort(params *PublicListSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListSchedulesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicListSchedulesBadRequest
- type PublicListSchedulesByGoalBadRequest
- type PublicListSchedulesByGoalForbidden
- type PublicListSchedulesByGoalInternalServerError
- type PublicListSchedulesByGoalNotFound
- type PublicListSchedulesByGoalOK
- type PublicListSchedulesByGoalParams
- func NewPublicListSchedulesByGoalParams() *PublicListSchedulesByGoalParams
- func NewPublicListSchedulesByGoalParamsWithContext(ctx context.Context) *PublicListSchedulesByGoalParams
- func NewPublicListSchedulesByGoalParamsWithHTTPClient(client *http.Client) *PublicListSchedulesByGoalParams
- func NewPublicListSchedulesByGoalParamsWithTimeout(timeout time.Duration) *PublicListSchedulesByGoalParams
- func (o *PublicListSchedulesByGoalParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListSchedulesByGoalParams) SetChallengeCode(challengeCode string)
- func (o *PublicListSchedulesByGoalParams) SetCode(code string)
- func (o *PublicListSchedulesByGoalParams) SetContext(ctx context.Context)
- func (o *PublicListSchedulesByGoalParams) SetFlightId(flightId string)
- func (o *PublicListSchedulesByGoalParams) SetHTTPClient(client *http.Client)
- func (o *PublicListSchedulesByGoalParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicListSchedulesByGoalParams) SetLimit(limit *int64)
- func (o *PublicListSchedulesByGoalParams) SetNamespace(namespace string)
- func (o *PublicListSchedulesByGoalParams) SetOffset(offset *int64)
- func (o *PublicListSchedulesByGoalParams) SetTimeout(timeout time.Duration)
- func (o *PublicListSchedulesByGoalParams) WithChallengeCode(challengeCode string) *PublicListSchedulesByGoalParams
- func (o *PublicListSchedulesByGoalParams) WithCode(code string) *PublicListSchedulesByGoalParams
- func (o *PublicListSchedulesByGoalParams) WithContext(ctx context.Context) *PublicListSchedulesByGoalParams
- func (o *PublicListSchedulesByGoalParams) WithHTTPClient(client *http.Client) *PublicListSchedulesByGoalParams
- func (o *PublicListSchedulesByGoalParams) WithLimit(limit *int64) *PublicListSchedulesByGoalParams
- func (o *PublicListSchedulesByGoalParams) WithNamespace(namespace string) *PublicListSchedulesByGoalParams
- func (o *PublicListSchedulesByGoalParams) WithOffset(offset *int64) *PublicListSchedulesByGoalParams
- func (o *PublicListSchedulesByGoalParams) WithTimeout(timeout time.Duration) *PublicListSchedulesByGoalParams
- func (o *PublicListSchedulesByGoalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListSchedulesByGoalReader
- type PublicListSchedulesByGoalUnauthorized
- type PublicListSchedulesForbidden
- type PublicListSchedulesInternalServerError
- type PublicListSchedulesNotFound
- type PublicListSchedulesOK
- type PublicListSchedulesParams
- func NewPublicListSchedulesParams() *PublicListSchedulesParams
- func NewPublicListSchedulesParamsWithContext(ctx context.Context) *PublicListSchedulesParams
- func NewPublicListSchedulesParamsWithHTTPClient(client *http.Client) *PublicListSchedulesParams
- func NewPublicListSchedulesParamsWithTimeout(timeout time.Duration) *PublicListSchedulesParams
- func (o *PublicListSchedulesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListSchedulesParams) SetChallengeCode(challengeCode string)
- func (o *PublicListSchedulesParams) SetContext(ctx context.Context)
- func (o *PublicListSchedulesParams) SetDateTime(dateTime *string)
- func (o *PublicListSchedulesParams) SetFlightId(flightId string)
- func (o *PublicListSchedulesParams) SetHTTPClient(client *http.Client)
- func (o *PublicListSchedulesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicListSchedulesParams) SetLimit(limit *int64)
- func (o *PublicListSchedulesParams) SetNamespace(namespace string)
- func (o *PublicListSchedulesParams) SetOffset(offset *int64)
- func (o *PublicListSchedulesParams) SetTimeout(timeout time.Duration)
- func (o *PublicListSchedulesParams) WithChallengeCode(challengeCode string) *PublicListSchedulesParams
- func (o *PublicListSchedulesParams) WithContext(ctx context.Context) *PublicListSchedulesParams
- func (o *PublicListSchedulesParams) WithDateTime(dateTime *string) *PublicListSchedulesParams
- func (o *PublicListSchedulesParams) WithHTTPClient(client *http.Client) *PublicListSchedulesParams
- func (o *PublicListSchedulesParams) WithLimit(limit *int64) *PublicListSchedulesParams
- func (o *PublicListSchedulesParams) WithNamespace(namespace string) *PublicListSchedulesParams
- func (o *PublicListSchedulesParams) WithOffset(offset *int64) *PublicListSchedulesParams
- func (o *PublicListSchedulesParams) WithTimeout(timeout time.Duration) *PublicListSchedulesParams
- func (o *PublicListSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListSchedulesReader
- type PublicListSchedulesUnauthorized
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 (o *AdminListSchedulesBadRequest) Error() string
func (*AdminListSchedulesBadRequest) GetPayload ¶
func (o *AdminListSchedulesBadRequest) GetPayload() *challengeclientmodels.IamErrorResponse
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 (o *AdminListSchedulesByGoalBadRequest) Error() string
func (*AdminListSchedulesByGoalBadRequest) GetPayload ¶
func (o *AdminListSchedulesByGoalBadRequest) GetPayload() *challengeclientmodels.IamErrorResponse
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 (o *AdminListSchedulesByGoalForbidden) Error() string
func (*AdminListSchedulesByGoalForbidden) GetPayload ¶
func (o *AdminListSchedulesByGoalForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
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 (o *AdminListSchedulesByGoalInternalServerError) Error() string
func (*AdminListSchedulesByGoalInternalServerError) GetPayload ¶
func (o *AdminListSchedulesByGoalInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminListSchedulesByGoalInternalServerError) ToJSONString ¶
func (o *AdminListSchedulesByGoalInternalServerError) ToJSONString() string
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 (o *AdminListSchedulesByGoalNotFound) Error() string
func (*AdminListSchedulesByGoalNotFound) GetPayload ¶
func (o *AdminListSchedulesByGoalNotFound) GetPayload() *challengeclientmodels.ResponseError
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 (o *AdminListSchedulesByGoalOK) Error() string
func (*AdminListSchedulesByGoalOK) GetPayload ¶
func (o *AdminListSchedulesByGoalOK) GetPayload() *challengeclientmodels.ModelListScheduleByGoalResponse
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 ¶
func (o *AdminListSchedulesByGoalParams) WithCode(code string) *AdminListSchedulesByGoalParams
WithCode adds the code to the admin list schedules by goal params
func (*AdminListSchedulesByGoalParams) WithContext ¶
func (o *AdminListSchedulesByGoalParams) WithContext(ctx context.Context) *AdminListSchedulesByGoalParams
WithContext adds the context to the admin list schedules by goal params
func (*AdminListSchedulesByGoalParams) WithHTTPClient ¶
func (o *AdminListSchedulesByGoalParams) WithHTTPClient(client *http.Client) *AdminListSchedulesByGoalParams
WithHTTPClient adds the HTTPClient to the admin list schedules by goal params
func (*AdminListSchedulesByGoalParams) WithLimit ¶
func (o *AdminListSchedulesByGoalParams) WithLimit(limit *int64) *AdminListSchedulesByGoalParams
WithLimit adds the limit to the admin list schedules by goal params
func (*AdminListSchedulesByGoalParams) WithNamespace ¶
func (o *AdminListSchedulesByGoalParams) WithNamespace(namespace string) *AdminListSchedulesByGoalParams
WithNamespace adds the namespace to the admin list schedules by goal params
func (*AdminListSchedulesByGoalParams) WithOffset ¶
func (o *AdminListSchedulesByGoalParams) WithOffset(offset *int64) *AdminListSchedulesByGoalParams
WithOffset adds the offset to the admin list schedules by goal params
func (*AdminListSchedulesByGoalParams) WithTimeout ¶
func (o *AdminListSchedulesByGoalParams) WithTimeout(timeout time.Duration) *AdminListSchedulesByGoalParams
WithTimeout adds the timeout to the admin list schedules by goal params
func (*AdminListSchedulesByGoalParams) WithUserID ¶
func (o *AdminListSchedulesByGoalParams) WithUserID(userID *string) *AdminListSchedulesByGoalParams
WithUserID adds the userID to the admin list schedules by goal params
func (*AdminListSchedulesByGoalParams) WriteToRequest ¶
func (o *AdminListSchedulesByGoalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminListSchedulesByGoalUnauthorized) Error() string
func (*AdminListSchedulesByGoalUnauthorized) GetPayload ¶
func (o *AdminListSchedulesByGoalUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
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 (o *AdminListSchedulesForbidden) Error() string
func (*AdminListSchedulesForbidden) GetPayload ¶
func (o *AdminListSchedulesForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
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 (o *AdminListSchedulesInternalServerError) Error() string
func (*AdminListSchedulesInternalServerError) GetPayload ¶
func (o *AdminListSchedulesInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminListSchedulesInternalServerError) ToJSONString ¶
func (o *AdminListSchedulesInternalServerError) ToJSONString() string
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 (o *AdminListSchedulesNotFound) Error() string
func (*AdminListSchedulesNotFound) GetPayload ¶
func (o *AdminListSchedulesNotFound) GetPayload() *challengeclientmodels.ResponseError
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 (o *AdminListSchedulesOK) GetPayload() *challengeclientmodels.ModelListSchedulesResponse
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 ¶
func (o *AdminListSchedulesParams) WithContext(ctx context.Context) *AdminListSchedulesParams
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 ¶
func (o *AdminListSchedulesParams) WithLimit(limit *int64) *AdminListSchedulesParams
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 ¶
func (o *AdminListSchedulesParams) WithOffset(offset *int64) *AdminListSchedulesParams
WithOffset adds the offset to the admin list schedules params
func (*AdminListSchedulesParams) WithTimeout ¶
func (o *AdminListSchedulesParams) WithTimeout(timeout time.Duration) *AdminListSchedulesParams
WithTimeout adds the timeout to the admin list schedules params
func (*AdminListSchedulesParams) WithUserID ¶
func (o *AdminListSchedulesParams) WithUserID(userID *string) *AdminListSchedulesParams
WithUserID adds the userID to the admin list schedules params
func (*AdminListSchedulesParams) WriteToRequest ¶
func (o *AdminListSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminListSchedulesUnauthorized) Error() string
func (*AdminListSchedulesUnauthorized) GetPayload ¶
func (o *AdminListSchedulesUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
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
func (a *Client) AdminListSchedules(params *AdminListSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListSchedulesOK, *AdminListSchedulesBadRequest, *AdminListSchedulesUnauthorized, *AdminListSchedulesForbidden, *AdminListSchedulesNotFound, *AdminListSchedulesInternalServerError, error)
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
func (a *Client) AdminListSchedulesByGoal(params *AdminListSchedulesByGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListSchedulesByGoalOK, *AdminListSchedulesByGoalBadRequest, *AdminListSchedulesByGoalUnauthorized, *AdminListSchedulesByGoalForbidden, *AdminListSchedulesByGoalNotFound, *AdminListSchedulesByGoalInternalServerError, error)
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
func (a *Client) PublicListSchedules(params *PublicListSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListSchedulesOK, *PublicListSchedulesBadRequest, *PublicListSchedulesUnauthorized, *PublicListSchedulesForbidden, *PublicListSchedulesNotFound, *PublicListSchedulesInternalServerError, error)
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
func (a *Client) PublicListSchedulesByGoal(params *PublicListSchedulesByGoalParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListSchedulesByGoalOK, *PublicListSchedulesByGoalBadRequest, *PublicListSchedulesByGoalUnauthorized, *PublicListSchedulesByGoalForbidden, *PublicListSchedulesByGoalNotFound, *PublicListSchedulesByGoalInternalServerError, error)
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 (o *PublicListSchedulesBadRequest) Error() string
func (*PublicListSchedulesBadRequest) GetPayload ¶
func (o *PublicListSchedulesBadRequest) GetPayload() *challengeclientmodels.IamErrorResponse
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 (o *PublicListSchedulesByGoalBadRequest) Error() string
func (*PublicListSchedulesByGoalBadRequest) GetPayload ¶
func (o *PublicListSchedulesByGoalBadRequest) GetPayload() *challengeclientmodels.IamErrorResponse
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 (o *PublicListSchedulesByGoalForbidden) Error() string
func (*PublicListSchedulesByGoalForbidden) GetPayload ¶
func (o *PublicListSchedulesByGoalForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
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 (o *PublicListSchedulesByGoalInternalServerError) Error() string
func (*PublicListSchedulesByGoalInternalServerError) GetPayload ¶
func (o *PublicListSchedulesByGoalInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*PublicListSchedulesByGoalInternalServerError) ToJSONString ¶
func (o *PublicListSchedulesByGoalInternalServerError) ToJSONString() string
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 (o *PublicListSchedulesByGoalNotFound) Error() string
func (*PublicListSchedulesByGoalNotFound) GetPayload ¶
func (o *PublicListSchedulesByGoalNotFound) GetPayload() *challengeclientmodels.ResponseError
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 (o *PublicListSchedulesByGoalOK) Error() string
func (*PublicListSchedulesByGoalOK) GetPayload ¶
func (o *PublicListSchedulesByGoalOK) GetPayload() *challengeclientmodels.ModelListScheduleByGoalResponse
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 ¶
func (o *PublicListSchedulesByGoalParams) WithCode(code string) *PublicListSchedulesByGoalParams
WithCode adds the code to the public list schedules by goal params
func (*PublicListSchedulesByGoalParams) WithContext ¶
func (o *PublicListSchedulesByGoalParams) WithContext(ctx context.Context) *PublicListSchedulesByGoalParams
WithContext adds the context to the public list schedules by goal params
func (*PublicListSchedulesByGoalParams) WithHTTPClient ¶
func (o *PublicListSchedulesByGoalParams) WithHTTPClient(client *http.Client) *PublicListSchedulesByGoalParams
WithHTTPClient adds the HTTPClient to the public list schedules by goal params
func (*PublicListSchedulesByGoalParams) WithLimit ¶
func (o *PublicListSchedulesByGoalParams) WithLimit(limit *int64) *PublicListSchedulesByGoalParams
WithLimit adds the limit to the public list schedules by goal params
func (*PublicListSchedulesByGoalParams) WithNamespace ¶
func (o *PublicListSchedulesByGoalParams) WithNamespace(namespace string) *PublicListSchedulesByGoalParams
WithNamespace adds the namespace to the public list schedules by goal params
func (*PublicListSchedulesByGoalParams) WithOffset ¶
func (o *PublicListSchedulesByGoalParams) WithOffset(offset *int64) *PublicListSchedulesByGoalParams
WithOffset adds the offset to the public list schedules by goal params
func (*PublicListSchedulesByGoalParams) WithTimeout ¶
func (o *PublicListSchedulesByGoalParams) WithTimeout(timeout time.Duration) *PublicListSchedulesByGoalParams
WithTimeout adds the timeout to the public list schedules by goal params
func (*PublicListSchedulesByGoalParams) WriteToRequest ¶
func (o *PublicListSchedulesByGoalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *PublicListSchedulesByGoalUnauthorized) Error() string
func (*PublicListSchedulesByGoalUnauthorized) GetPayload ¶
func (o *PublicListSchedulesByGoalUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicListSchedulesByGoalUnauthorized) ToJSONString ¶
func (o *PublicListSchedulesByGoalUnauthorized) ToJSONString() string
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 (o *PublicListSchedulesForbidden) Error() string
func (*PublicListSchedulesForbidden) GetPayload ¶
func (o *PublicListSchedulesForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
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 (o *PublicListSchedulesInternalServerError) Error() string
func (*PublicListSchedulesInternalServerError) GetPayload ¶
func (o *PublicListSchedulesInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*PublicListSchedulesInternalServerError) ToJSONString ¶
func (o *PublicListSchedulesInternalServerError) ToJSONString() string
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 (o *PublicListSchedulesNotFound) Error() string
func (*PublicListSchedulesNotFound) GetPayload ¶
func (o *PublicListSchedulesNotFound) GetPayload() *challengeclientmodels.ResponseError
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 (o *PublicListSchedulesOK) GetPayload() *challengeclientmodels.ModelListSchedulesResponse
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 ¶
func (o *PublicListSchedulesParams) WithContext(ctx context.Context) *PublicListSchedulesParams
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 ¶
func (o *PublicListSchedulesParams) WithLimit(limit *int64) *PublicListSchedulesParams
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 ¶
func (o *PublicListSchedulesParams) WithOffset(offset *int64) *PublicListSchedulesParams
WithOffset adds the offset to the public list schedules params
func (*PublicListSchedulesParams) WithTimeout ¶
func (o *PublicListSchedulesParams) WithTimeout(timeout time.Duration) *PublicListSchedulesParams
WithTimeout adds the timeout to the public list schedules params
func (*PublicListSchedulesParams) WriteToRequest ¶
func (o *PublicListSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *PublicListSchedulesUnauthorized) Error() string
func (*PublicListSchedulesUnauthorized) GetPayload ¶
func (o *PublicListSchedulesUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicListSchedulesUnauthorized) ToJSONString ¶
func (o *PublicListSchedulesUnauthorized) ToJSONString() string
Source Files
¶
- admin_list_schedules_by_goal_parameters.go
- admin_list_schedules_by_goal_responses.go
- admin_list_schedules_parameters.go
- admin_list_schedules_responses.go
- public_list_schedules_by_goal_parameters.go
- public_list_schedules_by_goal_responses.go
- public_list_schedules_parameters.go
- public_list_schedules_responses.go
- schedules_client.go