Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
- type Client
- func (a *Client) DeleteAPIKeyCompetitionID(params *DeleteAPIKeyCompetitionIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAPIKeyCompetitionIDOK, error)
- func (a *Client) GetAPIKeyCompetitionID(params *GetAPIKeyCompetitionIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIKeyCompetitionIDOK, error)
- func (a *Client) GetAPIKeyCompetitionPathPath(params *GetAPIKeyCompetitionPathPathParams, ...) (*GetAPIKeyCompetitionPathPathOK, error)
- func (a *Client) GetAPIKeyCompetitionSubmitHistoryID(params *GetAPIKeyCompetitionSubmitHistoryIDParams, ...) (*GetAPIKeyCompetitionSubmitHistoryIDOK, error)
- func (a *Client) PostAPIKeyCompetition(params *PostAPIKeyCompetitionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIKeyCompetitionOK, error)
- func (a *Client) PostAPIKeyCompetitionIDJoin(params *PostAPIKeyCompetitionIDJoinParams, ...) (*PostAPIKeyCompetitionIDJoinOK, error)
- func (a *Client) PostAPIKeyCompetitionIDLaunch(params *PostAPIKeyCompetitionIDLaunchParams, ...) (*PostAPIKeyCompetitionIDLaunchOK, error)
- func (a *Client) PostAPIKeyCompetitionIDLeave(params *PostAPIKeyCompetitionIDLeaveParams, ...) (*PostAPIKeyCompetitionIDLeaveOK, error)
- func (a *Client) PostAPIKeyCompetitionList(params *PostAPIKeyCompetitionListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIKeyCompetitionListOK, error)
- func (a *Client) PostAPIKeyCompetitionPreSubmit(params *PostAPIKeyCompetitionPreSubmitParams, ...) (*PostAPIKeyCompetitionPreSubmitOK, error)
- func (a *Client) PostAPIKeyCompetitionSubmit(params *PostAPIKeyCompetitionSubmitParams, ...) (*PostAPIKeyCompetitionSubmitOK, error)
- func (a *Client) PostAPIKeyCompetitionSubmitCost(params *PostAPIKeyCompetitionSubmitCostParams, ...) (*PostAPIKeyCompetitionSubmitCostOK, error)
- func (a *Client) PutAPIKeyCompetitionID(params *PutAPIKeyCompetitionIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutAPIKeyCompetitionIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAPIKeyCompetitionIDBadRequest
- func (o *DeleteAPIKeyCompetitionIDBadRequest) Code() int
- func (o *DeleteAPIKeyCompetitionIDBadRequest) Error() string
- func (o *DeleteAPIKeyCompetitionIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *DeleteAPIKeyCompetitionIDBadRequest) IsClientError() bool
- func (o *DeleteAPIKeyCompetitionIDBadRequest) IsCode(code int) bool
- func (o *DeleteAPIKeyCompetitionIDBadRequest) IsRedirect() bool
- func (o *DeleteAPIKeyCompetitionIDBadRequest) IsServerError() bool
- func (o *DeleteAPIKeyCompetitionIDBadRequest) IsSuccess() bool
- func (o *DeleteAPIKeyCompetitionIDBadRequest) String() string
- type DeleteAPIKeyCompetitionIDInternalServerError
- func (o *DeleteAPIKeyCompetitionIDInternalServerError) Code() int
- func (o *DeleteAPIKeyCompetitionIDInternalServerError) Error() string
- func (o *DeleteAPIKeyCompetitionIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *DeleteAPIKeyCompetitionIDInternalServerError) IsClientError() bool
- func (o *DeleteAPIKeyCompetitionIDInternalServerError) IsCode(code int) bool
- func (o *DeleteAPIKeyCompetitionIDInternalServerError) IsRedirect() bool
- func (o *DeleteAPIKeyCompetitionIDInternalServerError) IsServerError() bool
- func (o *DeleteAPIKeyCompetitionIDInternalServerError) IsSuccess() bool
- func (o *DeleteAPIKeyCompetitionIDInternalServerError) String() string
- type DeleteAPIKeyCompetitionIDOK
- func (o *DeleteAPIKeyCompetitionIDOK) Code() int
- func (o *DeleteAPIKeyCompetitionIDOK) Error() string
- func (o *DeleteAPIKeyCompetitionIDOK) GetPayload() *models.ResponseSuccessResponse
- func (o *DeleteAPIKeyCompetitionIDOK) IsClientError() bool
- func (o *DeleteAPIKeyCompetitionIDOK) IsCode(code int) bool
- func (o *DeleteAPIKeyCompetitionIDOK) IsRedirect() bool
- func (o *DeleteAPIKeyCompetitionIDOK) IsServerError() bool
- func (o *DeleteAPIKeyCompetitionIDOK) IsSuccess() bool
- func (o *DeleteAPIKeyCompetitionIDOK) String() string
- type DeleteAPIKeyCompetitionIDParams
- func NewDeleteAPIKeyCompetitionIDParams() *DeleteAPIKeyCompetitionIDParams
- func NewDeleteAPIKeyCompetitionIDParamsWithContext(ctx context.Context) *DeleteAPIKeyCompetitionIDParams
- func NewDeleteAPIKeyCompetitionIDParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyCompetitionIDParams
- func NewDeleteAPIKeyCompetitionIDParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyCompetitionIDParams
- func (o *DeleteAPIKeyCompetitionIDParams) SetContext(ctx context.Context)
- func (o *DeleteAPIKeyCompetitionIDParams) SetDefaults()
- func (o *DeleteAPIKeyCompetitionIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPIKeyCompetitionIDParams) SetID(id string)
- func (o *DeleteAPIKeyCompetitionIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPIKeyCompetitionIDParams) WithContext(ctx context.Context) *DeleteAPIKeyCompetitionIDParams
- func (o *DeleteAPIKeyCompetitionIDParams) WithDefaults() *DeleteAPIKeyCompetitionIDParams
- func (o *DeleteAPIKeyCompetitionIDParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyCompetitionIDParams
- func (o *DeleteAPIKeyCompetitionIDParams) WithID(id string) *DeleteAPIKeyCompetitionIDParams
- func (o *DeleteAPIKeyCompetitionIDParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyCompetitionIDParams
- func (o *DeleteAPIKeyCompetitionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPIKeyCompetitionIDReader
- type GetAPIKeyCompetitionIDBadRequest
- func (o *GetAPIKeyCompetitionIDBadRequest) Code() int
- func (o *GetAPIKeyCompetitionIDBadRequest) Error() string
- func (o *GetAPIKeyCompetitionIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyCompetitionIDBadRequest) IsClientError() bool
- func (o *GetAPIKeyCompetitionIDBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyCompetitionIDBadRequest) IsRedirect() bool
- func (o *GetAPIKeyCompetitionIDBadRequest) IsServerError() bool
- func (o *GetAPIKeyCompetitionIDBadRequest) IsSuccess() bool
- func (o *GetAPIKeyCompetitionIDBadRequest) String() string
- type GetAPIKeyCompetitionIDInternalServerError
- func (o *GetAPIKeyCompetitionIDInternalServerError) Code() int
- func (o *GetAPIKeyCompetitionIDInternalServerError) Error() string
- func (o *GetAPIKeyCompetitionIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyCompetitionIDInternalServerError) IsClientError() bool
- func (o *GetAPIKeyCompetitionIDInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyCompetitionIDInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyCompetitionIDInternalServerError) IsServerError() bool
- func (o *GetAPIKeyCompetitionIDInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyCompetitionIDInternalServerError) String() string
- type GetAPIKeyCompetitionIDOK
- func (o *GetAPIKeyCompetitionIDOK) Code() int
- func (o *GetAPIKeyCompetitionIDOK) Error() string
- func (o *GetAPIKeyCompetitionIDOK) GetPayload() *models.ResponseCompetitionResponse
- func (o *GetAPIKeyCompetitionIDOK) IsClientError() bool
- func (o *GetAPIKeyCompetitionIDOK) IsCode(code int) bool
- func (o *GetAPIKeyCompetitionIDOK) IsRedirect() bool
- func (o *GetAPIKeyCompetitionIDOK) IsServerError() bool
- func (o *GetAPIKeyCompetitionIDOK) IsSuccess() bool
- func (o *GetAPIKeyCompetitionIDOK) String() string
- type GetAPIKeyCompetitionIDParams
- func NewGetAPIKeyCompetitionIDParams() *GetAPIKeyCompetitionIDParams
- func NewGetAPIKeyCompetitionIDParamsWithContext(ctx context.Context) *GetAPIKeyCompetitionIDParams
- func NewGetAPIKeyCompetitionIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyCompetitionIDParams
- func NewGetAPIKeyCompetitionIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyCompetitionIDParams
- func (o *GetAPIKeyCompetitionIDParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyCompetitionIDParams) SetDefaults()
- func (o *GetAPIKeyCompetitionIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyCompetitionIDParams) SetID(id string)
- func (o *GetAPIKeyCompetitionIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyCompetitionIDParams) WithContext(ctx context.Context) *GetAPIKeyCompetitionIDParams
- func (o *GetAPIKeyCompetitionIDParams) WithDefaults() *GetAPIKeyCompetitionIDParams
- func (o *GetAPIKeyCompetitionIDParams) WithHTTPClient(client *http.Client) *GetAPIKeyCompetitionIDParams
- func (o *GetAPIKeyCompetitionIDParams) WithID(id string) *GetAPIKeyCompetitionIDParams
- func (o *GetAPIKeyCompetitionIDParams) WithTimeout(timeout time.Duration) *GetAPIKeyCompetitionIDParams
- func (o *GetAPIKeyCompetitionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyCompetitionIDReader
- type GetAPIKeyCompetitionPathPathBadRequest
- func (o *GetAPIKeyCompetitionPathPathBadRequest) Code() int
- func (o *GetAPIKeyCompetitionPathPathBadRequest) Error() string
- func (o *GetAPIKeyCompetitionPathPathBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyCompetitionPathPathBadRequest) IsClientError() bool
- func (o *GetAPIKeyCompetitionPathPathBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyCompetitionPathPathBadRequest) IsRedirect() bool
- func (o *GetAPIKeyCompetitionPathPathBadRequest) IsServerError() bool
- func (o *GetAPIKeyCompetitionPathPathBadRequest) IsSuccess() bool
- func (o *GetAPIKeyCompetitionPathPathBadRequest) String() string
- type GetAPIKeyCompetitionPathPathInternalServerError
- func (o *GetAPIKeyCompetitionPathPathInternalServerError) Code() int
- func (o *GetAPIKeyCompetitionPathPathInternalServerError) Error() string
- func (o *GetAPIKeyCompetitionPathPathInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyCompetitionPathPathInternalServerError) IsClientError() bool
- func (o *GetAPIKeyCompetitionPathPathInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyCompetitionPathPathInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyCompetitionPathPathInternalServerError) IsServerError() bool
- func (o *GetAPIKeyCompetitionPathPathInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyCompetitionPathPathInternalServerError) String() string
- type GetAPIKeyCompetitionPathPathOK
- func (o *GetAPIKeyCompetitionPathPathOK) Code() int
- func (o *GetAPIKeyCompetitionPathPathOK) Error() string
- func (o *GetAPIKeyCompetitionPathPathOK) GetPayload() *models.ResponseCompetitionResponse
- func (o *GetAPIKeyCompetitionPathPathOK) IsClientError() bool
- func (o *GetAPIKeyCompetitionPathPathOK) IsCode(code int) bool
- func (o *GetAPIKeyCompetitionPathPathOK) IsRedirect() bool
- func (o *GetAPIKeyCompetitionPathPathOK) IsServerError() bool
- func (o *GetAPIKeyCompetitionPathPathOK) IsSuccess() bool
- func (o *GetAPIKeyCompetitionPathPathOK) String() string
- type GetAPIKeyCompetitionPathPathParams
- func NewGetAPIKeyCompetitionPathPathParams() *GetAPIKeyCompetitionPathPathParams
- func NewGetAPIKeyCompetitionPathPathParamsWithContext(ctx context.Context) *GetAPIKeyCompetitionPathPathParams
- func NewGetAPIKeyCompetitionPathPathParamsWithHTTPClient(client *http.Client) *GetAPIKeyCompetitionPathPathParams
- func NewGetAPIKeyCompetitionPathPathParamsWithTimeout(timeout time.Duration) *GetAPIKeyCompetitionPathPathParams
- func (o *GetAPIKeyCompetitionPathPathParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyCompetitionPathPathParams) SetDefaults()
- func (o *GetAPIKeyCompetitionPathPathParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyCompetitionPathPathParams) SetPath(path string)
- func (o *GetAPIKeyCompetitionPathPathParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyCompetitionPathPathParams) WithContext(ctx context.Context) *GetAPIKeyCompetitionPathPathParams
- func (o *GetAPIKeyCompetitionPathPathParams) WithDefaults() *GetAPIKeyCompetitionPathPathParams
- func (o *GetAPIKeyCompetitionPathPathParams) WithHTTPClient(client *http.Client) *GetAPIKeyCompetitionPathPathParams
- func (o *GetAPIKeyCompetitionPathPathParams) WithPath(path string) *GetAPIKeyCompetitionPathPathParams
- func (o *GetAPIKeyCompetitionPathPathParams) WithTimeout(timeout time.Duration) *GetAPIKeyCompetitionPathPathParams
- func (o *GetAPIKeyCompetitionPathPathParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyCompetitionPathPathReader
- type GetAPIKeyCompetitionSubmitHistoryIDBadRequest
- func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) Code() int
- func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) Error() string
- func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsClientError() bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsRedirect() bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsServerError() bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsSuccess() bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) String() string
- type GetAPIKeyCompetitionSubmitHistoryIDInternalServerError
- func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) Code() int
- func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) Error() string
- func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsClientError() bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsServerError() bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) String() string
- type GetAPIKeyCompetitionSubmitHistoryIDOK
- func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) Code() int
- func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) Error() string
- func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) GetPayload() *models.ResponseSubmitHistoryListResponse
- func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) IsClientError() bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) IsCode(code int) bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) IsRedirect() bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) IsServerError() bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) IsSuccess() bool
- func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) String() string
- type GetAPIKeyCompetitionSubmitHistoryIDParams
- func NewGetAPIKeyCompetitionSubmitHistoryIDParams() *GetAPIKeyCompetitionSubmitHistoryIDParams
- func NewGetAPIKeyCompetitionSubmitHistoryIDParamsWithContext(ctx context.Context) *GetAPIKeyCompetitionSubmitHistoryIDParams
- func NewGetAPIKeyCompetitionSubmitHistoryIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyCompetitionSubmitHistoryIDParams
- func NewGetAPIKeyCompetitionSubmitHistoryIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyCompetitionSubmitHistoryIDParams
- func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) SetDefaults()
- func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) SetID(id string)
- func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) WithContext(ctx context.Context) *GetAPIKeyCompetitionSubmitHistoryIDParams
- func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) WithDefaults() *GetAPIKeyCompetitionSubmitHistoryIDParams
- func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) WithHTTPClient(client *http.Client) *GetAPIKeyCompetitionSubmitHistoryIDParams
- func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) WithID(id string) *GetAPIKeyCompetitionSubmitHistoryIDParams
- func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) WithTimeout(timeout time.Duration) *GetAPIKeyCompetitionSubmitHistoryIDParams
- func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyCompetitionSubmitHistoryIDReader
- type PostAPIKeyCompetitionBadRequest
- func (o *PostAPIKeyCompetitionBadRequest) Code() int
- func (o *PostAPIKeyCompetitionBadRequest) Error() string
- func (o *PostAPIKeyCompetitionBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyCompetitionBadRequest) IsClientError() bool
- func (o *PostAPIKeyCompetitionBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionBadRequest) IsRedirect() bool
- func (o *PostAPIKeyCompetitionBadRequest) IsServerError() bool
- func (o *PostAPIKeyCompetitionBadRequest) IsSuccess() bool
- func (o *PostAPIKeyCompetitionBadRequest) String() string
- type PostAPIKeyCompetitionIDJoinBadRequest
- func (o *PostAPIKeyCompetitionIDJoinBadRequest) Code() int
- func (o *PostAPIKeyCompetitionIDJoinBadRequest) Error() string
- func (o *PostAPIKeyCompetitionIDJoinBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyCompetitionIDJoinBadRequest) IsClientError() bool
- func (o *PostAPIKeyCompetitionIDJoinBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionIDJoinBadRequest) IsRedirect() bool
- func (o *PostAPIKeyCompetitionIDJoinBadRequest) IsServerError() bool
- func (o *PostAPIKeyCompetitionIDJoinBadRequest) IsSuccess() bool
- func (o *PostAPIKeyCompetitionIDJoinBadRequest) String() string
- type PostAPIKeyCompetitionIDJoinInternalServerError
- func (o *PostAPIKeyCompetitionIDJoinInternalServerError) Code() int
- func (o *PostAPIKeyCompetitionIDJoinInternalServerError) Error() string
- func (o *PostAPIKeyCompetitionIDJoinInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyCompetitionIDJoinInternalServerError) IsClientError() bool
- func (o *PostAPIKeyCompetitionIDJoinInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionIDJoinInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyCompetitionIDJoinInternalServerError) IsServerError() bool
- func (o *PostAPIKeyCompetitionIDJoinInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyCompetitionIDJoinInternalServerError) String() string
- type PostAPIKeyCompetitionIDJoinOK
- func (o *PostAPIKeyCompetitionIDJoinOK) Code() int
- func (o *PostAPIKeyCompetitionIDJoinOK) Error() string
- func (o *PostAPIKeyCompetitionIDJoinOK) GetPayload() *models.ResponseSuccessResponse
- func (o *PostAPIKeyCompetitionIDJoinOK) IsClientError() bool
- func (o *PostAPIKeyCompetitionIDJoinOK) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionIDJoinOK) IsRedirect() bool
- func (o *PostAPIKeyCompetitionIDJoinOK) IsServerError() bool
- func (o *PostAPIKeyCompetitionIDJoinOK) IsSuccess() bool
- func (o *PostAPIKeyCompetitionIDJoinOK) String() string
- type PostAPIKeyCompetitionIDJoinParams
- func NewPostAPIKeyCompetitionIDJoinParams() *PostAPIKeyCompetitionIDJoinParams
- func NewPostAPIKeyCompetitionIDJoinParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionIDJoinParams
- func NewPostAPIKeyCompetitionIDJoinParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionIDJoinParams
- func NewPostAPIKeyCompetitionIDJoinParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionIDJoinParams
- func (o *PostAPIKeyCompetitionIDJoinParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyCompetitionIDJoinParams) SetDefaults()
- func (o *PostAPIKeyCompetitionIDJoinParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyCompetitionIDJoinParams) SetID(id string)
- func (o *PostAPIKeyCompetitionIDJoinParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyCompetitionIDJoinParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionIDJoinParams
- func (o *PostAPIKeyCompetitionIDJoinParams) WithDefaults() *PostAPIKeyCompetitionIDJoinParams
- func (o *PostAPIKeyCompetitionIDJoinParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionIDJoinParams
- func (o *PostAPIKeyCompetitionIDJoinParams) WithID(id string) *PostAPIKeyCompetitionIDJoinParams
- func (o *PostAPIKeyCompetitionIDJoinParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionIDJoinParams
- func (o *PostAPIKeyCompetitionIDJoinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyCompetitionIDJoinReader
- type PostAPIKeyCompetitionIDLaunchBadRequest
- func (o *PostAPIKeyCompetitionIDLaunchBadRequest) Code() int
- func (o *PostAPIKeyCompetitionIDLaunchBadRequest) Error() string
- func (o *PostAPIKeyCompetitionIDLaunchBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyCompetitionIDLaunchBadRequest) IsClientError() bool
- func (o *PostAPIKeyCompetitionIDLaunchBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionIDLaunchBadRequest) IsRedirect() bool
- func (o *PostAPIKeyCompetitionIDLaunchBadRequest) IsServerError() bool
- func (o *PostAPIKeyCompetitionIDLaunchBadRequest) IsSuccess() bool
- func (o *PostAPIKeyCompetitionIDLaunchBadRequest) String() string
- type PostAPIKeyCompetitionIDLaunchInternalServerError
- func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) Code() int
- func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) Error() string
- func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) IsClientError() bool
- func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) IsServerError() bool
- func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) String() string
- type PostAPIKeyCompetitionIDLaunchOK
- func (o *PostAPIKeyCompetitionIDLaunchOK) Code() int
- func (o *PostAPIKeyCompetitionIDLaunchOK) Error() string
- func (o *PostAPIKeyCompetitionIDLaunchOK) GetPayload() *models.ResponseSuccessResponse
- func (o *PostAPIKeyCompetitionIDLaunchOK) IsClientError() bool
- func (o *PostAPIKeyCompetitionIDLaunchOK) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionIDLaunchOK) IsRedirect() bool
- func (o *PostAPIKeyCompetitionIDLaunchOK) IsServerError() bool
- func (o *PostAPIKeyCompetitionIDLaunchOK) IsSuccess() bool
- func (o *PostAPIKeyCompetitionIDLaunchOK) String() string
- type PostAPIKeyCompetitionIDLaunchParams
- func NewPostAPIKeyCompetitionIDLaunchParams() *PostAPIKeyCompetitionIDLaunchParams
- func NewPostAPIKeyCompetitionIDLaunchParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionIDLaunchParams
- func NewPostAPIKeyCompetitionIDLaunchParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionIDLaunchParams
- func NewPostAPIKeyCompetitionIDLaunchParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionIDLaunchParams
- func (o *PostAPIKeyCompetitionIDLaunchParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyCompetitionIDLaunchParams) SetDefaults()
- func (o *PostAPIKeyCompetitionIDLaunchParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyCompetitionIDLaunchParams) SetID(id string)
- func (o *PostAPIKeyCompetitionIDLaunchParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyCompetitionIDLaunchParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionIDLaunchParams
- func (o *PostAPIKeyCompetitionIDLaunchParams) WithDefaults() *PostAPIKeyCompetitionIDLaunchParams
- func (o *PostAPIKeyCompetitionIDLaunchParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionIDLaunchParams
- func (o *PostAPIKeyCompetitionIDLaunchParams) WithID(id string) *PostAPIKeyCompetitionIDLaunchParams
- func (o *PostAPIKeyCompetitionIDLaunchParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionIDLaunchParams
- func (o *PostAPIKeyCompetitionIDLaunchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyCompetitionIDLaunchReader
- type PostAPIKeyCompetitionIDLeaveBadRequest
- func (o *PostAPIKeyCompetitionIDLeaveBadRequest) Code() int
- func (o *PostAPIKeyCompetitionIDLeaveBadRequest) Error() string
- func (o *PostAPIKeyCompetitionIDLeaveBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyCompetitionIDLeaveBadRequest) IsClientError() bool
- func (o *PostAPIKeyCompetitionIDLeaveBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionIDLeaveBadRequest) IsRedirect() bool
- func (o *PostAPIKeyCompetitionIDLeaveBadRequest) IsServerError() bool
- func (o *PostAPIKeyCompetitionIDLeaveBadRequest) IsSuccess() bool
- func (o *PostAPIKeyCompetitionIDLeaveBadRequest) String() string
- type PostAPIKeyCompetitionIDLeaveInternalServerError
- func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) Code() int
- func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) Error() string
- func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) IsClientError() bool
- func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) IsServerError() bool
- func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) String() string
- type PostAPIKeyCompetitionIDLeaveOK
- func (o *PostAPIKeyCompetitionIDLeaveOK) Code() int
- func (o *PostAPIKeyCompetitionIDLeaveOK) Error() string
- func (o *PostAPIKeyCompetitionIDLeaveOK) GetPayload() *models.ResponseSuccessResponse
- func (o *PostAPIKeyCompetitionIDLeaveOK) IsClientError() bool
- func (o *PostAPIKeyCompetitionIDLeaveOK) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionIDLeaveOK) IsRedirect() bool
- func (o *PostAPIKeyCompetitionIDLeaveOK) IsServerError() bool
- func (o *PostAPIKeyCompetitionIDLeaveOK) IsSuccess() bool
- func (o *PostAPIKeyCompetitionIDLeaveOK) String() string
- type PostAPIKeyCompetitionIDLeaveParams
- func NewPostAPIKeyCompetitionIDLeaveParams() *PostAPIKeyCompetitionIDLeaveParams
- func NewPostAPIKeyCompetitionIDLeaveParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionIDLeaveParams
- func NewPostAPIKeyCompetitionIDLeaveParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionIDLeaveParams
- func NewPostAPIKeyCompetitionIDLeaveParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionIDLeaveParams
- func (o *PostAPIKeyCompetitionIDLeaveParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyCompetitionIDLeaveParams) SetDefaults()
- func (o *PostAPIKeyCompetitionIDLeaveParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyCompetitionIDLeaveParams) SetID(id string)
- func (o *PostAPIKeyCompetitionIDLeaveParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyCompetitionIDLeaveParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionIDLeaveParams
- func (o *PostAPIKeyCompetitionIDLeaveParams) WithDefaults() *PostAPIKeyCompetitionIDLeaveParams
- func (o *PostAPIKeyCompetitionIDLeaveParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionIDLeaveParams
- func (o *PostAPIKeyCompetitionIDLeaveParams) WithID(id string) *PostAPIKeyCompetitionIDLeaveParams
- func (o *PostAPIKeyCompetitionIDLeaveParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionIDLeaveParams
- func (o *PostAPIKeyCompetitionIDLeaveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyCompetitionIDLeaveReader
- type PostAPIKeyCompetitionInternalServerError
- func (o *PostAPIKeyCompetitionInternalServerError) Code() int
- func (o *PostAPIKeyCompetitionInternalServerError) Error() string
- func (o *PostAPIKeyCompetitionInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyCompetitionInternalServerError) IsClientError() bool
- func (o *PostAPIKeyCompetitionInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyCompetitionInternalServerError) IsServerError() bool
- func (o *PostAPIKeyCompetitionInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyCompetitionInternalServerError) String() string
- type PostAPIKeyCompetitionListBadRequest
- func (o *PostAPIKeyCompetitionListBadRequest) Code() int
- func (o *PostAPIKeyCompetitionListBadRequest) Error() string
- func (o *PostAPIKeyCompetitionListBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyCompetitionListBadRequest) IsClientError() bool
- func (o *PostAPIKeyCompetitionListBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionListBadRequest) IsRedirect() bool
- func (o *PostAPIKeyCompetitionListBadRequest) IsServerError() bool
- func (o *PostAPIKeyCompetitionListBadRequest) IsSuccess() bool
- func (o *PostAPIKeyCompetitionListBadRequest) String() string
- type PostAPIKeyCompetitionListInternalServerError
- func (o *PostAPIKeyCompetitionListInternalServerError) Code() int
- func (o *PostAPIKeyCompetitionListInternalServerError) Error() string
- func (o *PostAPIKeyCompetitionListInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyCompetitionListInternalServerError) IsClientError() bool
- func (o *PostAPIKeyCompetitionListInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionListInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyCompetitionListInternalServerError) IsServerError() bool
- func (o *PostAPIKeyCompetitionListInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyCompetitionListInternalServerError) String() string
- type PostAPIKeyCompetitionListOK
- func (o *PostAPIKeyCompetitionListOK) Code() int
- func (o *PostAPIKeyCompetitionListOK) Error() string
- func (o *PostAPIKeyCompetitionListOK) GetPayload() *models.ResponseCompetitionListResponse
- func (o *PostAPIKeyCompetitionListOK) IsClientError() bool
- func (o *PostAPIKeyCompetitionListOK) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionListOK) IsRedirect() bool
- func (o *PostAPIKeyCompetitionListOK) IsServerError() bool
- func (o *PostAPIKeyCompetitionListOK) IsSuccess() bool
- func (o *PostAPIKeyCompetitionListOK) String() string
- type PostAPIKeyCompetitionListParams
- func NewPostAPIKeyCompetitionListParams() *PostAPIKeyCompetitionListParams
- func NewPostAPIKeyCompetitionListParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionListParams
- func NewPostAPIKeyCompetitionListParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionListParams
- func NewPostAPIKeyCompetitionListParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionListParams
- func (o *PostAPIKeyCompetitionListParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyCompetitionListParams) SetDefaults()
- func (o *PostAPIKeyCompetitionListParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyCompetitionListParams) SetInput(input *models.RequestGetCompetitionListRequest)
- func (o *PostAPIKeyCompetitionListParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyCompetitionListParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionListParams
- func (o *PostAPIKeyCompetitionListParams) WithDefaults() *PostAPIKeyCompetitionListParams
- func (o *PostAPIKeyCompetitionListParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionListParams
- func (o *PostAPIKeyCompetitionListParams) WithInput(input *models.RequestGetCompetitionListRequest) *PostAPIKeyCompetitionListParams
- func (o *PostAPIKeyCompetitionListParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionListParams
- func (o *PostAPIKeyCompetitionListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyCompetitionListReader
- type PostAPIKeyCompetitionOK
- func (o *PostAPIKeyCompetitionOK) Code() int
- func (o *PostAPIKeyCompetitionOK) Error() string
- func (o *PostAPIKeyCompetitionOK) GetPayload() *models.ResponseCompetitionResponse
- func (o *PostAPIKeyCompetitionOK) IsClientError() bool
- func (o *PostAPIKeyCompetitionOK) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionOK) IsRedirect() bool
- func (o *PostAPIKeyCompetitionOK) IsServerError() bool
- func (o *PostAPIKeyCompetitionOK) IsSuccess() bool
- func (o *PostAPIKeyCompetitionOK) String() string
- type PostAPIKeyCompetitionParams
- func NewPostAPIKeyCompetitionParams() *PostAPIKeyCompetitionParams
- func NewPostAPIKeyCompetitionParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionParams
- func NewPostAPIKeyCompetitionParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionParams
- func NewPostAPIKeyCompetitionParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionParams
- func (o *PostAPIKeyCompetitionParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyCompetitionParams) SetDefaults()
- func (o *PostAPIKeyCompetitionParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyCompetitionParams) SetInput(input *models.RequestCreateCompetitionRequest)
- func (o *PostAPIKeyCompetitionParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyCompetitionParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionParams
- func (o *PostAPIKeyCompetitionParams) WithDefaults() *PostAPIKeyCompetitionParams
- func (o *PostAPIKeyCompetitionParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionParams
- func (o *PostAPIKeyCompetitionParams) WithInput(input *models.RequestCreateCompetitionRequest) *PostAPIKeyCompetitionParams
- func (o *PostAPIKeyCompetitionParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionParams
- func (o *PostAPIKeyCompetitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyCompetitionPreSubmitBadRequest
- func (o *PostAPIKeyCompetitionPreSubmitBadRequest) Code() int
- func (o *PostAPIKeyCompetitionPreSubmitBadRequest) Error() string
- func (o *PostAPIKeyCompetitionPreSubmitBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyCompetitionPreSubmitBadRequest) IsClientError() bool
- func (o *PostAPIKeyCompetitionPreSubmitBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionPreSubmitBadRequest) IsRedirect() bool
- func (o *PostAPIKeyCompetitionPreSubmitBadRequest) IsServerError() bool
- func (o *PostAPIKeyCompetitionPreSubmitBadRequest) IsSuccess() bool
- func (o *PostAPIKeyCompetitionPreSubmitBadRequest) String() string
- type PostAPIKeyCompetitionPreSubmitInternalServerError
- func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) Code() int
- func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) Error() string
- func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) IsClientError() bool
- func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) IsServerError() bool
- func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) String() string
- type PostAPIKeyCompetitionPreSubmitOK
- func (o *PostAPIKeyCompetitionPreSubmitOK) Code() int
- func (o *PostAPIKeyCompetitionPreSubmitOK) Error() string
- func (o *PostAPIKeyCompetitionPreSubmitOK) GetPayload() *models.ResponseSuccessResponse
- func (o *PostAPIKeyCompetitionPreSubmitOK) IsClientError() bool
- func (o *PostAPIKeyCompetitionPreSubmitOK) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionPreSubmitOK) IsRedirect() bool
- func (o *PostAPIKeyCompetitionPreSubmitOK) IsServerError() bool
- func (o *PostAPIKeyCompetitionPreSubmitOK) IsSuccess() bool
- func (o *PostAPIKeyCompetitionPreSubmitOK) String() string
- type PostAPIKeyCompetitionPreSubmitParams
- func NewPostAPIKeyCompetitionPreSubmitParams() *PostAPIKeyCompetitionPreSubmitParams
- func NewPostAPIKeyCompetitionPreSubmitParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionPreSubmitParams
- func NewPostAPIKeyCompetitionPreSubmitParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionPreSubmitParams
- func NewPostAPIKeyCompetitionPreSubmitParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionPreSubmitParams
- func (o *PostAPIKeyCompetitionPreSubmitParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyCompetitionPreSubmitParams) SetDefaults()
- func (o *PostAPIKeyCompetitionPreSubmitParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyCompetitionPreSubmitParams) SetInput(input *models.RequestCheckValidRepoToEvaluateModelRequest)
- func (o *PostAPIKeyCompetitionPreSubmitParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyCompetitionPreSubmitParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionPreSubmitParams
- func (o *PostAPIKeyCompetitionPreSubmitParams) WithDefaults() *PostAPIKeyCompetitionPreSubmitParams
- func (o *PostAPIKeyCompetitionPreSubmitParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionPreSubmitParams
- func (o *PostAPIKeyCompetitionPreSubmitParams) WithInput(input *models.RequestCheckValidRepoToEvaluateModelRequest) *PostAPIKeyCompetitionPreSubmitParams
- func (o *PostAPIKeyCompetitionPreSubmitParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionPreSubmitParams
- func (o *PostAPIKeyCompetitionPreSubmitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyCompetitionPreSubmitReader
- type PostAPIKeyCompetitionReader
- type PostAPIKeyCompetitionSubmitBadRequest
- func (o *PostAPIKeyCompetitionSubmitBadRequest) Code() int
- func (o *PostAPIKeyCompetitionSubmitBadRequest) Error() string
- func (o *PostAPIKeyCompetitionSubmitBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyCompetitionSubmitBadRequest) IsClientError() bool
- func (o *PostAPIKeyCompetitionSubmitBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionSubmitBadRequest) IsRedirect() bool
- func (o *PostAPIKeyCompetitionSubmitBadRequest) IsServerError() bool
- func (o *PostAPIKeyCompetitionSubmitBadRequest) IsSuccess() bool
- func (o *PostAPIKeyCompetitionSubmitBadRequest) String() string
- type PostAPIKeyCompetitionSubmitCostBadRequest
- func (o *PostAPIKeyCompetitionSubmitCostBadRequest) Code() int
- func (o *PostAPIKeyCompetitionSubmitCostBadRequest) Error() string
- func (o *PostAPIKeyCompetitionSubmitCostBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PostAPIKeyCompetitionSubmitCostBadRequest) IsClientError() bool
- func (o *PostAPIKeyCompetitionSubmitCostBadRequest) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionSubmitCostBadRequest) IsRedirect() bool
- func (o *PostAPIKeyCompetitionSubmitCostBadRequest) IsServerError() bool
- func (o *PostAPIKeyCompetitionSubmitCostBadRequest) IsSuccess() bool
- func (o *PostAPIKeyCompetitionSubmitCostBadRequest) String() string
- type PostAPIKeyCompetitionSubmitCostInternalServerError
- func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) Code() int
- func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) Error() string
- func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) IsClientError() bool
- func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) IsServerError() bool
- func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) String() string
- type PostAPIKeyCompetitionSubmitCostOK
- func (o *PostAPIKeyCompetitionSubmitCostOK) Code() int
- func (o *PostAPIKeyCompetitionSubmitCostOK) Error() string
- func (o *PostAPIKeyCompetitionSubmitCostOK) GetPayload() *models.ResponseEstimateCostResponse
- func (o *PostAPIKeyCompetitionSubmitCostOK) IsClientError() bool
- func (o *PostAPIKeyCompetitionSubmitCostOK) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionSubmitCostOK) IsRedirect() bool
- func (o *PostAPIKeyCompetitionSubmitCostOK) IsServerError() bool
- func (o *PostAPIKeyCompetitionSubmitCostOK) IsSuccess() bool
- func (o *PostAPIKeyCompetitionSubmitCostOK) String() string
- type PostAPIKeyCompetitionSubmitCostParams
- func NewPostAPIKeyCompetitionSubmitCostParams() *PostAPIKeyCompetitionSubmitCostParams
- func NewPostAPIKeyCompetitionSubmitCostParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionSubmitCostParams
- func NewPostAPIKeyCompetitionSubmitCostParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionSubmitCostParams
- func NewPostAPIKeyCompetitionSubmitCostParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionSubmitCostParams
- func (o *PostAPIKeyCompetitionSubmitCostParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyCompetitionSubmitCostParams) SetDefaults()
- func (o *PostAPIKeyCompetitionSubmitCostParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyCompetitionSubmitCostParams) SetInput(input *models.RequestEstimateCostToEvaluateModelRequest)
- func (o *PostAPIKeyCompetitionSubmitCostParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyCompetitionSubmitCostParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionSubmitCostParams
- func (o *PostAPIKeyCompetitionSubmitCostParams) WithDefaults() *PostAPIKeyCompetitionSubmitCostParams
- func (o *PostAPIKeyCompetitionSubmitCostParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionSubmitCostParams
- func (o *PostAPIKeyCompetitionSubmitCostParams) WithInput(input *models.RequestEstimateCostToEvaluateModelRequest) *PostAPIKeyCompetitionSubmitCostParams
- func (o *PostAPIKeyCompetitionSubmitCostParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionSubmitCostParams
- func (o *PostAPIKeyCompetitionSubmitCostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyCompetitionSubmitCostReader
- type PostAPIKeyCompetitionSubmitInternalServerError
- func (o *PostAPIKeyCompetitionSubmitInternalServerError) Code() int
- func (o *PostAPIKeyCompetitionSubmitInternalServerError) Error() string
- func (o *PostAPIKeyCompetitionSubmitInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PostAPIKeyCompetitionSubmitInternalServerError) IsClientError() bool
- func (o *PostAPIKeyCompetitionSubmitInternalServerError) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionSubmitInternalServerError) IsRedirect() bool
- func (o *PostAPIKeyCompetitionSubmitInternalServerError) IsServerError() bool
- func (o *PostAPIKeyCompetitionSubmitInternalServerError) IsSuccess() bool
- func (o *PostAPIKeyCompetitionSubmitInternalServerError) String() string
- type PostAPIKeyCompetitionSubmitOK
- func (o *PostAPIKeyCompetitionSubmitOK) Code() int
- func (o *PostAPIKeyCompetitionSubmitOK) Error() string
- func (o *PostAPIKeyCompetitionSubmitOK) GetPayload() *models.ResponseSubmitHistoryResponse
- func (o *PostAPIKeyCompetitionSubmitOK) IsClientError() bool
- func (o *PostAPIKeyCompetitionSubmitOK) IsCode(code int) bool
- func (o *PostAPIKeyCompetitionSubmitOK) IsRedirect() bool
- func (o *PostAPIKeyCompetitionSubmitOK) IsServerError() bool
- func (o *PostAPIKeyCompetitionSubmitOK) IsSuccess() bool
- func (o *PostAPIKeyCompetitionSubmitOK) String() string
- type PostAPIKeyCompetitionSubmitParams
- func NewPostAPIKeyCompetitionSubmitParams() *PostAPIKeyCompetitionSubmitParams
- func NewPostAPIKeyCompetitionSubmitParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionSubmitParams
- func NewPostAPIKeyCompetitionSubmitParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionSubmitParams
- func NewPostAPIKeyCompetitionSubmitParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionSubmitParams
- func (o *PostAPIKeyCompetitionSubmitParams) SetCommitHash(commitHash *string)
- func (o *PostAPIKeyCompetitionSubmitParams) SetCompetitionID(competitionID string)
- func (o *PostAPIKeyCompetitionSubmitParams) SetContext(ctx context.Context)
- func (o *PostAPIKeyCompetitionSubmitParams) SetDefaults()
- func (o *PostAPIKeyCompetitionSubmitParams) SetDescription(description *string)
- func (o *PostAPIKeyCompetitionSubmitParams) SetFile(file runtime.NamedReadCloser)
- func (o *PostAPIKeyCompetitionSubmitParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIKeyCompetitionSubmitParams) SetModelID(modelID *string)
- func (o *PostAPIKeyCompetitionSubmitParams) SetSubmissionType(submissionType string)
- func (o *PostAPIKeyCompetitionSubmitParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIKeyCompetitionSubmitParams) WithCommitHash(commitHash *string) *PostAPIKeyCompetitionSubmitParams
- func (o *PostAPIKeyCompetitionSubmitParams) WithCompetitionID(competitionID string) *PostAPIKeyCompetitionSubmitParams
- func (o *PostAPIKeyCompetitionSubmitParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionSubmitParams
- func (o *PostAPIKeyCompetitionSubmitParams) WithDefaults() *PostAPIKeyCompetitionSubmitParams
- func (o *PostAPIKeyCompetitionSubmitParams) WithDescription(description *string) *PostAPIKeyCompetitionSubmitParams
- func (o *PostAPIKeyCompetitionSubmitParams) WithFile(file runtime.NamedReadCloser) *PostAPIKeyCompetitionSubmitParams
- func (o *PostAPIKeyCompetitionSubmitParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionSubmitParams
- func (o *PostAPIKeyCompetitionSubmitParams) WithModelID(modelID *string) *PostAPIKeyCompetitionSubmitParams
- func (o *PostAPIKeyCompetitionSubmitParams) WithSubmissionType(submissionType string) *PostAPIKeyCompetitionSubmitParams
- func (o *PostAPIKeyCompetitionSubmitParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionSubmitParams
- func (o *PostAPIKeyCompetitionSubmitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIKeyCompetitionSubmitReader
- type PutAPIKeyCompetitionIDBadRequest
- func (o *PutAPIKeyCompetitionIDBadRequest) Code() int
- func (o *PutAPIKeyCompetitionIDBadRequest) Error() string
- func (o *PutAPIKeyCompetitionIDBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PutAPIKeyCompetitionIDBadRequest) IsClientError() bool
- func (o *PutAPIKeyCompetitionIDBadRequest) IsCode(code int) bool
- func (o *PutAPIKeyCompetitionIDBadRequest) IsRedirect() bool
- func (o *PutAPIKeyCompetitionIDBadRequest) IsServerError() bool
- func (o *PutAPIKeyCompetitionIDBadRequest) IsSuccess() bool
- func (o *PutAPIKeyCompetitionIDBadRequest) String() string
- type PutAPIKeyCompetitionIDInternalServerError
- func (o *PutAPIKeyCompetitionIDInternalServerError) Code() int
- func (o *PutAPIKeyCompetitionIDInternalServerError) Error() string
- func (o *PutAPIKeyCompetitionIDInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PutAPIKeyCompetitionIDInternalServerError) IsClientError() bool
- func (o *PutAPIKeyCompetitionIDInternalServerError) IsCode(code int) bool
- func (o *PutAPIKeyCompetitionIDInternalServerError) IsRedirect() bool
- func (o *PutAPIKeyCompetitionIDInternalServerError) IsServerError() bool
- func (o *PutAPIKeyCompetitionIDInternalServerError) IsSuccess() bool
- func (o *PutAPIKeyCompetitionIDInternalServerError) String() string
- type PutAPIKeyCompetitionIDOK
- func (o *PutAPIKeyCompetitionIDOK) Code() int
- func (o *PutAPIKeyCompetitionIDOK) Error() string
- func (o *PutAPIKeyCompetitionIDOK) GetPayload() *models.ResponseCompetitionResponse
- func (o *PutAPIKeyCompetitionIDOK) IsClientError() bool
- func (o *PutAPIKeyCompetitionIDOK) IsCode(code int) bool
- func (o *PutAPIKeyCompetitionIDOK) IsRedirect() bool
- func (o *PutAPIKeyCompetitionIDOK) IsServerError() bool
- func (o *PutAPIKeyCompetitionIDOK) IsSuccess() bool
- func (o *PutAPIKeyCompetitionIDOK) String() string
- type PutAPIKeyCompetitionIDParams
- func NewPutAPIKeyCompetitionIDParams() *PutAPIKeyCompetitionIDParams
- func NewPutAPIKeyCompetitionIDParamsWithContext(ctx context.Context) *PutAPIKeyCompetitionIDParams
- func NewPutAPIKeyCompetitionIDParamsWithHTTPClient(client *http.Client) *PutAPIKeyCompetitionIDParams
- func NewPutAPIKeyCompetitionIDParamsWithTimeout(timeout time.Duration) *PutAPIKeyCompetitionIDParams
- func (o *PutAPIKeyCompetitionIDParams) SetContext(ctx context.Context)
- func (o *PutAPIKeyCompetitionIDParams) SetDefaults()
- func (o *PutAPIKeyCompetitionIDParams) SetHTTPClient(client *http.Client)
- func (o *PutAPIKeyCompetitionIDParams) SetID(id string)
- func (o *PutAPIKeyCompetitionIDParams) SetInput(input *models.RequestUpdateCompetitionRequest)
- func (o *PutAPIKeyCompetitionIDParams) SetTimeout(timeout time.Duration)
- func (o *PutAPIKeyCompetitionIDParams) WithContext(ctx context.Context) *PutAPIKeyCompetitionIDParams
- func (o *PutAPIKeyCompetitionIDParams) WithDefaults() *PutAPIKeyCompetitionIDParams
- func (o *PutAPIKeyCompetitionIDParams) WithHTTPClient(client *http.Client) *PutAPIKeyCompetitionIDParams
- func (o *PutAPIKeyCompetitionIDParams) WithID(id string) *PutAPIKeyCompetitionIDParams
- func (o *PutAPIKeyCompetitionIDParams) WithInput(input *models.RequestUpdateCompetitionRequest) *PutAPIKeyCompetitionIDParams
- func (o *PutAPIKeyCompetitionIDParams) WithTimeout(timeout time.Duration) *PutAPIKeyCompetitionIDParams
- func (o *PutAPIKeyCompetitionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAPIKeyCompetitionIDReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeMultipartFormData ¶
func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
WithContentTypeMultipartFormData sets the Content-Type header to "multipart/form-data".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for api key competition API
func (*Client) DeleteAPIKeyCompetitionID ¶
func (a *Client) DeleteAPIKeyCompetitionID(params *DeleteAPIKeyCompetitionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyCompetitionIDOK, error)
DeleteAPIKeyCompetitionID deletes a competition by Api key
Delete an existing competition by ID
func (*Client) GetAPIKeyCompetitionID ¶
func (a *Client) GetAPIKeyCompetitionID(params *GetAPIKeyCompetitionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyCompetitionIDOK, error)
GetAPIKeyCompetitionID gets competition details by Api key
Get details of a specific competition by ID
func (*Client) GetAPIKeyCompetitionPathPath ¶
func (a *Client) GetAPIKeyCompetitionPathPath(params *GetAPIKeyCompetitionPathPathParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyCompetitionPathPathOK, error)
GetAPIKeyCompetitionPathPath gets competition details by path by Api key
Get details of a specific competition by path
func (*Client) GetAPIKeyCompetitionSubmitHistoryID ¶
func (a *Client) GetAPIKeyCompetitionSubmitHistoryID(params *GetAPIKeyCompetitionSubmitHistoryIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyCompetitionSubmitHistoryIDOK, error)
GetAPIKeyCompetitionSubmitHistoryID gets submission history by Api key
Get submission history for a competition. sort is [created_at, score]. filter is [pending, completed, failed]
func (*Client) PostAPIKeyCompetition ¶
func (a *Client) PostAPIKeyCompetition(params *PostAPIKeyCompetitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionOK, error)
PostAPIKeyCompetition creates a new competition by Api key
Create a new competition with the given details. Use this field private_leaderboard_release_date to determine whether the competition have private evaluate or not. The medals only distribute when evaluate_type = auto
func (*Client) PostAPIKeyCompetitionIDJoin ¶
func (a *Client) PostAPIKeyCompetitionIDJoin(params *PostAPIKeyCompetitionIDJoinParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionIDJoinOK, error)
PostAPIKeyCompetitionIDJoin joins a competition by Api key
Join an existing competition by its ID
func (*Client) PostAPIKeyCompetitionIDLaunch ¶
func (a *Client) PostAPIKeyCompetitionIDLaunch(params *PostAPIKeyCompetitionIDLaunchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionIDLaunchOK, error)
PostAPIKeyCompetitionIDLaunch launches a competition by Api key
Launch an existing competition by ID. Make sure competition is fully updated and setup evaluation before launch
func (*Client) PostAPIKeyCompetitionIDLeave ¶
func (a *Client) PostAPIKeyCompetitionIDLeave(params *PostAPIKeyCompetitionIDLeaveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionIDLeaveOK, error)
PostAPIKeyCompetitionIDLeave leaves competition by Api key
Leave a competition
func (*Client) PostAPIKeyCompetitionList ¶
func (a *Client) PostAPIKeyCompetitionList(params *PostAPIKeyCompetitionListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionListOK, error)
PostAPIKeyCompetitionList lists competitions by Api key
Get a list of competitions with filtering options
func (*Client) PostAPIKeyCompetitionPreSubmit ¶
func (a *Client) PostAPIKeyCompetitionPreSubmit(params *PostAPIKeyCompetitionPreSubmitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionPreSubmitOK, error)
PostAPIKeyCompetitionPreSubmit checks valid repo to submit data by Api key
Check valid repo to submit data for a competition
func (*Client) PostAPIKeyCompetitionSubmit ¶
func (a *Client) PostAPIKeyCompetitionSubmit(params *PostAPIKeyCompetitionSubmitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionSubmitOK, error)
PostAPIKeyCompetitionSubmit submits competition data by Api key
Submit data for a competition
func (*Client) PostAPIKeyCompetitionSubmitCost ¶
func (a *Client) PostAPIKeyCompetitionSubmitCost(params *PostAPIKeyCompetitionSubmitCostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionSubmitCostOK, error)
PostAPIKeyCompetitionSubmitCost estimates cost to submit data by Api key
Estimate cost to submit data for a competition
func (*Client) PutAPIKeyCompetitionID ¶
func (a *Client) PutAPIKeyCompetitionID(params *PutAPIKeyCompetitionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyCompetitionIDOK, error)
PutAPIKeyCompetitionID updates a competition by Api key
Update an existing competition with new details. Use this field private_leaderboard_release_date to determine whether the competition have private evaluate or not. The medals only distribute when evaluate_type = auto
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
DeleteAPIKeyCompetitionID(params *DeleteAPIKeyCompetitionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyCompetitionIDOK, error)
GetAPIKeyCompetitionID(params *GetAPIKeyCompetitionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyCompetitionIDOK, error)
GetAPIKeyCompetitionPathPath(params *GetAPIKeyCompetitionPathPathParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyCompetitionPathPathOK, error)
GetAPIKeyCompetitionSubmitHistoryID(params *GetAPIKeyCompetitionSubmitHistoryIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyCompetitionSubmitHistoryIDOK, error)
PostAPIKeyCompetition(params *PostAPIKeyCompetitionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionOK, error)
PostAPIKeyCompetitionIDJoin(params *PostAPIKeyCompetitionIDJoinParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionIDJoinOK, error)
PostAPIKeyCompetitionIDLaunch(params *PostAPIKeyCompetitionIDLaunchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionIDLaunchOK, error)
PostAPIKeyCompetitionIDLeave(params *PostAPIKeyCompetitionIDLeaveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionIDLeaveOK, error)
PostAPIKeyCompetitionList(params *PostAPIKeyCompetitionListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionListOK, error)
PostAPIKeyCompetitionPreSubmit(params *PostAPIKeyCompetitionPreSubmitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionPreSubmitOK, error)
PostAPIKeyCompetitionSubmit(params *PostAPIKeyCompetitionSubmitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionSubmitOK, error)
PostAPIKeyCompetitionSubmitCost(params *PostAPIKeyCompetitionSubmitCostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyCompetitionSubmitCostOK, error)
PutAPIKeyCompetitionID(params *PutAPIKeyCompetitionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyCompetitionIDOK, 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 api key competition API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new api key competition API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new api key competition API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type DeleteAPIKeyCompetitionIDBadRequest ¶
type DeleteAPIKeyCompetitionIDBadRequest struct {
Payload *models.ResponseFailResponse
}
DeleteAPIKeyCompetitionIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteAPIKeyCompetitionIDBadRequest ¶
func NewDeleteAPIKeyCompetitionIDBadRequest() *DeleteAPIKeyCompetitionIDBadRequest
NewDeleteAPIKeyCompetitionIDBadRequest creates a DeleteAPIKeyCompetitionIDBadRequest with default headers values
func (*DeleteAPIKeyCompetitionIDBadRequest) Code ¶
func (o *DeleteAPIKeyCompetitionIDBadRequest) Code() int
Code gets the status code for the delete Api key competition Id bad request response
func (*DeleteAPIKeyCompetitionIDBadRequest) Error ¶
func (o *DeleteAPIKeyCompetitionIDBadRequest) Error() string
func (*DeleteAPIKeyCompetitionIDBadRequest) GetPayload ¶
func (o *DeleteAPIKeyCompetitionIDBadRequest) GetPayload() *models.ResponseFailResponse
func (*DeleteAPIKeyCompetitionIDBadRequest) IsClientError ¶
func (o *DeleteAPIKeyCompetitionIDBadRequest) IsClientError() bool
IsClientError returns true when this delete Api key competition Id bad request response has a 4xx status code
func (*DeleteAPIKeyCompetitionIDBadRequest) IsCode ¶
func (o *DeleteAPIKeyCompetitionIDBadRequest) IsCode(code int) bool
IsCode returns true when this delete Api key competition Id bad request response a status code equal to that given
func (*DeleteAPIKeyCompetitionIDBadRequest) IsRedirect ¶
func (o *DeleteAPIKeyCompetitionIDBadRequest) IsRedirect() bool
IsRedirect returns true when this delete Api key competition Id bad request response has a 3xx status code
func (*DeleteAPIKeyCompetitionIDBadRequest) IsServerError ¶
func (o *DeleteAPIKeyCompetitionIDBadRequest) IsServerError() bool
IsServerError returns true when this delete Api key competition Id bad request response has a 5xx status code
func (*DeleteAPIKeyCompetitionIDBadRequest) IsSuccess ¶
func (o *DeleteAPIKeyCompetitionIDBadRequest) IsSuccess() bool
IsSuccess returns true when this delete Api key competition Id bad request response has a 2xx status code
func (*DeleteAPIKeyCompetitionIDBadRequest) String ¶
func (o *DeleteAPIKeyCompetitionIDBadRequest) String() string
type DeleteAPIKeyCompetitionIDInternalServerError ¶
type DeleteAPIKeyCompetitionIDInternalServerError struct {
Payload *models.ResponseErrorResponse
}
DeleteAPIKeyCompetitionIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteAPIKeyCompetitionIDInternalServerError ¶
func NewDeleteAPIKeyCompetitionIDInternalServerError() *DeleteAPIKeyCompetitionIDInternalServerError
NewDeleteAPIKeyCompetitionIDInternalServerError creates a DeleteAPIKeyCompetitionIDInternalServerError with default headers values
func (*DeleteAPIKeyCompetitionIDInternalServerError) Code ¶
func (o *DeleteAPIKeyCompetitionIDInternalServerError) Code() int
Code gets the status code for the delete Api key competition Id internal server error response
func (*DeleteAPIKeyCompetitionIDInternalServerError) Error ¶
func (o *DeleteAPIKeyCompetitionIDInternalServerError) Error() string
func (*DeleteAPIKeyCompetitionIDInternalServerError) GetPayload ¶
func (o *DeleteAPIKeyCompetitionIDInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*DeleteAPIKeyCompetitionIDInternalServerError) IsClientError ¶
func (o *DeleteAPIKeyCompetitionIDInternalServerError) IsClientError() bool
IsClientError returns true when this delete Api key competition Id internal server error response has a 4xx status code
func (*DeleteAPIKeyCompetitionIDInternalServerError) IsCode ¶
func (o *DeleteAPIKeyCompetitionIDInternalServerError) IsCode(code int) bool
IsCode returns true when this delete Api key competition Id internal server error response a status code equal to that given
func (*DeleteAPIKeyCompetitionIDInternalServerError) IsRedirect ¶
func (o *DeleteAPIKeyCompetitionIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete Api key competition Id internal server error response has a 3xx status code
func (*DeleteAPIKeyCompetitionIDInternalServerError) IsServerError ¶
func (o *DeleteAPIKeyCompetitionIDInternalServerError) IsServerError() bool
IsServerError returns true when this delete Api key competition Id internal server error response has a 5xx status code
func (*DeleteAPIKeyCompetitionIDInternalServerError) IsSuccess ¶
func (o *DeleteAPIKeyCompetitionIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete Api key competition Id internal server error response has a 2xx status code
func (*DeleteAPIKeyCompetitionIDInternalServerError) String ¶
func (o *DeleteAPIKeyCompetitionIDInternalServerError) String() string
type DeleteAPIKeyCompetitionIDOK ¶
type DeleteAPIKeyCompetitionIDOK struct {
Payload *models.ResponseSuccessResponse
}
DeleteAPIKeyCompetitionIDOK describes a response with status code 200, with default header values.
OK
func NewDeleteAPIKeyCompetitionIDOK ¶
func NewDeleteAPIKeyCompetitionIDOK() *DeleteAPIKeyCompetitionIDOK
NewDeleteAPIKeyCompetitionIDOK creates a DeleteAPIKeyCompetitionIDOK with default headers values
func (*DeleteAPIKeyCompetitionIDOK) Code ¶
func (o *DeleteAPIKeyCompetitionIDOK) Code() int
Code gets the status code for the delete Api key competition Id o k response
func (*DeleteAPIKeyCompetitionIDOK) Error ¶
func (o *DeleteAPIKeyCompetitionIDOK) Error() string
func (*DeleteAPIKeyCompetitionIDOK) GetPayload ¶
func (o *DeleteAPIKeyCompetitionIDOK) GetPayload() *models.ResponseSuccessResponse
func (*DeleteAPIKeyCompetitionIDOK) IsClientError ¶
func (o *DeleteAPIKeyCompetitionIDOK) IsClientError() bool
IsClientError returns true when this delete Api key competition Id o k response has a 4xx status code
func (*DeleteAPIKeyCompetitionIDOK) IsCode ¶
func (o *DeleteAPIKeyCompetitionIDOK) IsCode(code int) bool
IsCode returns true when this delete Api key competition Id o k response a status code equal to that given
func (*DeleteAPIKeyCompetitionIDOK) IsRedirect ¶
func (o *DeleteAPIKeyCompetitionIDOK) IsRedirect() bool
IsRedirect returns true when this delete Api key competition Id o k response has a 3xx status code
func (*DeleteAPIKeyCompetitionIDOK) IsServerError ¶
func (o *DeleteAPIKeyCompetitionIDOK) IsServerError() bool
IsServerError returns true when this delete Api key competition Id o k response has a 5xx status code
func (*DeleteAPIKeyCompetitionIDOK) IsSuccess ¶
func (o *DeleteAPIKeyCompetitionIDOK) IsSuccess() bool
IsSuccess returns true when this delete Api key competition Id o k response has a 2xx status code
func (*DeleteAPIKeyCompetitionIDOK) String ¶
func (o *DeleteAPIKeyCompetitionIDOK) String() string
type DeleteAPIKeyCompetitionIDParams ¶
type DeleteAPIKeyCompetitionIDParams struct {
/* ID.
Competition Id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteAPIKeyCompetitionIDParams contains all the parameters to send to the API endpoint
for the delete API key competition ID operation. Typically these are written to a http.Request.
func NewDeleteAPIKeyCompetitionIDParams ¶
func NewDeleteAPIKeyCompetitionIDParams() *DeleteAPIKeyCompetitionIDParams
NewDeleteAPIKeyCompetitionIDParams creates a new DeleteAPIKeyCompetitionIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAPIKeyCompetitionIDParamsWithContext ¶
func NewDeleteAPIKeyCompetitionIDParamsWithContext(ctx context.Context) *DeleteAPIKeyCompetitionIDParams
NewDeleteAPIKeyCompetitionIDParamsWithContext creates a new DeleteAPIKeyCompetitionIDParams object with the ability to set a context for a request.
func NewDeleteAPIKeyCompetitionIDParamsWithHTTPClient ¶
func NewDeleteAPIKeyCompetitionIDParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyCompetitionIDParams
NewDeleteAPIKeyCompetitionIDParamsWithHTTPClient creates a new DeleteAPIKeyCompetitionIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPIKeyCompetitionIDParamsWithTimeout ¶
func NewDeleteAPIKeyCompetitionIDParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyCompetitionIDParams
NewDeleteAPIKeyCompetitionIDParamsWithTimeout creates a new DeleteAPIKeyCompetitionIDParams object with the ability to set a timeout on a request.
func (*DeleteAPIKeyCompetitionIDParams) SetContext ¶
func (o *DeleteAPIKeyCompetitionIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API key competition ID params
func (*DeleteAPIKeyCompetitionIDParams) SetDefaults ¶
func (o *DeleteAPIKeyCompetitionIDParams) SetDefaults()
SetDefaults hydrates default values in the delete API key competition ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIKeyCompetitionIDParams) SetHTTPClient ¶
func (o *DeleteAPIKeyCompetitionIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API key competition ID params
func (*DeleteAPIKeyCompetitionIDParams) SetID ¶
func (o *DeleteAPIKeyCompetitionIDParams) SetID(id string)
SetID adds the id to the delete API key competition ID params
func (*DeleteAPIKeyCompetitionIDParams) SetTimeout ¶
func (o *DeleteAPIKeyCompetitionIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API key competition ID params
func (*DeleteAPIKeyCompetitionIDParams) WithContext ¶
func (o *DeleteAPIKeyCompetitionIDParams) WithContext(ctx context.Context) *DeleteAPIKeyCompetitionIDParams
WithContext adds the context to the delete API key competition ID params
func (*DeleteAPIKeyCompetitionIDParams) WithDefaults ¶
func (o *DeleteAPIKeyCompetitionIDParams) WithDefaults() *DeleteAPIKeyCompetitionIDParams
WithDefaults hydrates default values in the delete API key competition ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIKeyCompetitionIDParams) WithHTTPClient ¶
func (o *DeleteAPIKeyCompetitionIDParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyCompetitionIDParams
WithHTTPClient adds the HTTPClient to the delete API key competition ID params
func (*DeleteAPIKeyCompetitionIDParams) WithID ¶
func (o *DeleteAPIKeyCompetitionIDParams) WithID(id string) *DeleteAPIKeyCompetitionIDParams
WithID adds the id to the delete API key competition ID params
func (*DeleteAPIKeyCompetitionIDParams) WithTimeout ¶
func (o *DeleteAPIKeyCompetitionIDParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyCompetitionIDParams
WithTimeout adds the timeout to the delete API key competition ID params
func (*DeleteAPIKeyCompetitionIDParams) WriteToRequest ¶
func (o *DeleteAPIKeyCompetitionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPIKeyCompetitionIDReader ¶
type DeleteAPIKeyCompetitionIDReader struct {
// contains filtered or unexported fields
}
DeleteAPIKeyCompetitionIDReader is a Reader for the DeleteAPIKeyCompetitionID structure.
func (*DeleteAPIKeyCompetitionIDReader) ReadResponse ¶
func (o *DeleteAPIKeyCompetitionIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetAPIKeyCompetitionIDBadRequest ¶
type GetAPIKeyCompetitionIDBadRequest struct {
Payload *models.ResponseFailResponse
}
GetAPIKeyCompetitionIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIKeyCompetitionIDBadRequest ¶
func NewGetAPIKeyCompetitionIDBadRequest() *GetAPIKeyCompetitionIDBadRequest
NewGetAPIKeyCompetitionIDBadRequest creates a GetAPIKeyCompetitionIDBadRequest with default headers values
func (*GetAPIKeyCompetitionIDBadRequest) Code ¶
func (o *GetAPIKeyCompetitionIDBadRequest) Code() int
Code gets the status code for the get Api key competition Id bad request response
func (*GetAPIKeyCompetitionIDBadRequest) Error ¶
func (o *GetAPIKeyCompetitionIDBadRequest) Error() string
func (*GetAPIKeyCompetitionIDBadRequest) GetPayload ¶
func (o *GetAPIKeyCompetitionIDBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetAPIKeyCompetitionIDBadRequest) IsClientError ¶
func (o *GetAPIKeyCompetitionIDBadRequest) IsClientError() bool
IsClientError returns true when this get Api key competition Id bad request response has a 4xx status code
func (*GetAPIKeyCompetitionIDBadRequest) IsCode ¶
func (o *GetAPIKeyCompetitionIDBadRequest) IsCode(code int) bool
IsCode returns true when this get Api key competition Id bad request response a status code equal to that given
func (*GetAPIKeyCompetitionIDBadRequest) IsRedirect ¶
func (o *GetAPIKeyCompetitionIDBadRequest) IsRedirect() bool
IsRedirect returns true when this get Api key competition Id bad request response has a 3xx status code
func (*GetAPIKeyCompetitionIDBadRequest) IsServerError ¶
func (o *GetAPIKeyCompetitionIDBadRequest) IsServerError() bool
IsServerError returns true when this get Api key competition Id bad request response has a 5xx status code
func (*GetAPIKeyCompetitionIDBadRequest) IsSuccess ¶
func (o *GetAPIKeyCompetitionIDBadRequest) IsSuccess() bool
IsSuccess returns true when this get Api key competition Id bad request response has a 2xx status code
func (*GetAPIKeyCompetitionIDBadRequest) String ¶
func (o *GetAPIKeyCompetitionIDBadRequest) String() string
type GetAPIKeyCompetitionIDInternalServerError ¶
type GetAPIKeyCompetitionIDInternalServerError struct {
Payload *models.ResponseErrorResponse
}
GetAPIKeyCompetitionIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIKeyCompetitionIDInternalServerError ¶
func NewGetAPIKeyCompetitionIDInternalServerError() *GetAPIKeyCompetitionIDInternalServerError
NewGetAPIKeyCompetitionIDInternalServerError creates a GetAPIKeyCompetitionIDInternalServerError with default headers values
func (*GetAPIKeyCompetitionIDInternalServerError) Code ¶
func (o *GetAPIKeyCompetitionIDInternalServerError) Code() int
Code gets the status code for the get Api key competition Id internal server error response
func (*GetAPIKeyCompetitionIDInternalServerError) Error ¶
func (o *GetAPIKeyCompetitionIDInternalServerError) Error() string
func (*GetAPIKeyCompetitionIDInternalServerError) GetPayload ¶
func (o *GetAPIKeyCompetitionIDInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyCompetitionIDInternalServerError) IsClientError ¶
func (o *GetAPIKeyCompetitionIDInternalServerError) IsClientError() bool
IsClientError returns true when this get Api key competition Id internal server error response has a 4xx status code
func (*GetAPIKeyCompetitionIDInternalServerError) IsCode ¶
func (o *GetAPIKeyCompetitionIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get Api key competition Id internal server error response a status code equal to that given
func (*GetAPIKeyCompetitionIDInternalServerError) IsRedirect ¶
func (o *GetAPIKeyCompetitionIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Api key competition Id internal server error response has a 3xx status code
func (*GetAPIKeyCompetitionIDInternalServerError) IsServerError ¶
func (o *GetAPIKeyCompetitionIDInternalServerError) IsServerError() bool
IsServerError returns true when this get Api key competition Id internal server error response has a 5xx status code
func (*GetAPIKeyCompetitionIDInternalServerError) IsSuccess ¶
func (o *GetAPIKeyCompetitionIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key competition Id internal server error response has a 2xx status code
func (*GetAPIKeyCompetitionIDInternalServerError) String ¶
func (o *GetAPIKeyCompetitionIDInternalServerError) String() string
type GetAPIKeyCompetitionIDOK ¶
type GetAPIKeyCompetitionIDOK struct {
Payload *models.ResponseCompetitionResponse
}
GetAPIKeyCompetitionIDOK describes a response with status code 200, with default header values.
OK
func NewGetAPIKeyCompetitionIDOK ¶
func NewGetAPIKeyCompetitionIDOK() *GetAPIKeyCompetitionIDOK
NewGetAPIKeyCompetitionIDOK creates a GetAPIKeyCompetitionIDOK with default headers values
func (*GetAPIKeyCompetitionIDOK) Code ¶
func (o *GetAPIKeyCompetitionIDOK) Code() int
Code gets the status code for the get Api key competition Id o k response
func (*GetAPIKeyCompetitionIDOK) Error ¶
func (o *GetAPIKeyCompetitionIDOK) Error() string
func (*GetAPIKeyCompetitionIDOK) GetPayload ¶
func (o *GetAPIKeyCompetitionIDOK) GetPayload() *models.ResponseCompetitionResponse
func (*GetAPIKeyCompetitionIDOK) IsClientError ¶
func (o *GetAPIKeyCompetitionIDOK) IsClientError() bool
IsClientError returns true when this get Api key competition Id o k response has a 4xx status code
func (*GetAPIKeyCompetitionIDOK) IsCode ¶
func (o *GetAPIKeyCompetitionIDOK) IsCode(code int) bool
IsCode returns true when this get Api key competition Id o k response a status code equal to that given
func (*GetAPIKeyCompetitionIDOK) IsRedirect ¶
func (o *GetAPIKeyCompetitionIDOK) IsRedirect() bool
IsRedirect returns true when this get Api key competition Id o k response has a 3xx status code
func (*GetAPIKeyCompetitionIDOK) IsServerError ¶
func (o *GetAPIKeyCompetitionIDOK) IsServerError() bool
IsServerError returns true when this get Api key competition Id o k response has a 5xx status code
func (*GetAPIKeyCompetitionIDOK) IsSuccess ¶
func (o *GetAPIKeyCompetitionIDOK) IsSuccess() bool
IsSuccess returns true when this get Api key competition Id o k response has a 2xx status code
func (*GetAPIKeyCompetitionIDOK) String ¶
func (o *GetAPIKeyCompetitionIDOK) String() string
type GetAPIKeyCompetitionIDParams ¶
type GetAPIKeyCompetitionIDParams struct {
/* ID.
Competition Id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAPIKeyCompetitionIDParams contains all the parameters to send to the API endpoint
for the get API key competition ID operation. Typically these are written to a http.Request.
func NewGetAPIKeyCompetitionIDParams ¶
func NewGetAPIKeyCompetitionIDParams() *GetAPIKeyCompetitionIDParams
NewGetAPIKeyCompetitionIDParams creates a new GetAPIKeyCompetitionIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIKeyCompetitionIDParamsWithContext ¶
func NewGetAPIKeyCompetitionIDParamsWithContext(ctx context.Context) *GetAPIKeyCompetitionIDParams
NewGetAPIKeyCompetitionIDParamsWithContext creates a new GetAPIKeyCompetitionIDParams object with the ability to set a context for a request.
func NewGetAPIKeyCompetitionIDParamsWithHTTPClient ¶
func NewGetAPIKeyCompetitionIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyCompetitionIDParams
NewGetAPIKeyCompetitionIDParamsWithHTTPClient creates a new GetAPIKeyCompetitionIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIKeyCompetitionIDParamsWithTimeout ¶
func NewGetAPIKeyCompetitionIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyCompetitionIDParams
NewGetAPIKeyCompetitionIDParamsWithTimeout creates a new GetAPIKeyCompetitionIDParams object with the ability to set a timeout on a request.
func (*GetAPIKeyCompetitionIDParams) SetContext ¶
func (o *GetAPIKeyCompetitionIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get API key competition ID params
func (*GetAPIKeyCompetitionIDParams) SetDefaults ¶
func (o *GetAPIKeyCompetitionIDParams) SetDefaults()
SetDefaults hydrates default values in the get API key competition ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyCompetitionIDParams) SetHTTPClient ¶
func (o *GetAPIKeyCompetitionIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API key competition ID params
func (*GetAPIKeyCompetitionIDParams) SetID ¶
func (o *GetAPIKeyCompetitionIDParams) SetID(id string)
SetID adds the id to the get API key competition ID params
func (*GetAPIKeyCompetitionIDParams) SetTimeout ¶
func (o *GetAPIKeyCompetitionIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API key competition ID params
func (*GetAPIKeyCompetitionIDParams) WithContext ¶
func (o *GetAPIKeyCompetitionIDParams) WithContext(ctx context.Context) *GetAPIKeyCompetitionIDParams
WithContext adds the context to the get API key competition ID params
func (*GetAPIKeyCompetitionIDParams) WithDefaults ¶
func (o *GetAPIKeyCompetitionIDParams) WithDefaults() *GetAPIKeyCompetitionIDParams
WithDefaults hydrates default values in the get API key competition ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyCompetitionIDParams) WithHTTPClient ¶
func (o *GetAPIKeyCompetitionIDParams) WithHTTPClient(client *http.Client) *GetAPIKeyCompetitionIDParams
WithHTTPClient adds the HTTPClient to the get API key competition ID params
func (*GetAPIKeyCompetitionIDParams) WithID ¶
func (o *GetAPIKeyCompetitionIDParams) WithID(id string) *GetAPIKeyCompetitionIDParams
WithID adds the id to the get API key competition ID params
func (*GetAPIKeyCompetitionIDParams) WithTimeout ¶
func (o *GetAPIKeyCompetitionIDParams) WithTimeout(timeout time.Duration) *GetAPIKeyCompetitionIDParams
WithTimeout adds the timeout to the get API key competition ID params
func (*GetAPIKeyCompetitionIDParams) WriteToRequest ¶
func (o *GetAPIKeyCompetitionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIKeyCompetitionIDReader ¶
type GetAPIKeyCompetitionIDReader struct {
// contains filtered or unexported fields
}
GetAPIKeyCompetitionIDReader is a Reader for the GetAPIKeyCompetitionID structure.
func (*GetAPIKeyCompetitionIDReader) ReadResponse ¶
func (o *GetAPIKeyCompetitionIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetAPIKeyCompetitionPathPathBadRequest ¶
type GetAPIKeyCompetitionPathPathBadRequest struct {
Payload *models.ResponseFailResponse
}
GetAPIKeyCompetitionPathPathBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIKeyCompetitionPathPathBadRequest ¶
func NewGetAPIKeyCompetitionPathPathBadRequest() *GetAPIKeyCompetitionPathPathBadRequest
NewGetAPIKeyCompetitionPathPathBadRequest creates a GetAPIKeyCompetitionPathPathBadRequest with default headers values
func (*GetAPIKeyCompetitionPathPathBadRequest) Code ¶
func (o *GetAPIKeyCompetitionPathPathBadRequest) Code() int
Code gets the status code for the get Api key competition path path bad request response
func (*GetAPIKeyCompetitionPathPathBadRequest) Error ¶
func (o *GetAPIKeyCompetitionPathPathBadRequest) Error() string
func (*GetAPIKeyCompetitionPathPathBadRequest) GetPayload ¶
func (o *GetAPIKeyCompetitionPathPathBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetAPIKeyCompetitionPathPathBadRequest) IsClientError ¶
func (o *GetAPIKeyCompetitionPathPathBadRequest) IsClientError() bool
IsClientError returns true when this get Api key competition path path bad request response has a 4xx status code
func (*GetAPIKeyCompetitionPathPathBadRequest) IsCode ¶
func (o *GetAPIKeyCompetitionPathPathBadRequest) IsCode(code int) bool
IsCode returns true when this get Api key competition path path bad request response a status code equal to that given
func (*GetAPIKeyCompetitionPathPathBadRequest) IsRedirect ¶
func (o *GetAPIKeyCompetitionPathPathBadRequest) IsRedirect() bool
IsRedirect returns true when this get Api key competition path path bad request response has a 3xx status code
func (*GetAPIKeyCompetitionPathPathBadRequest) IsServerError ¶
func (o *GetAPIKeyCompetitionPathPathBadRequest) IsServerError() bool
IsServerError returns true when this get Api key competition path path bad request response has a 5xx status code
func (*GetAPIKeyCompetitionPathPathBadRequest) IsSuccess ¶
func (o *GetAPIKeyCompetitionPathPathBadRequest) IsSuccess() bool
IsSuccess returns true when this get Api key competition path path bad request response has a 2xx status code
func (*GetAPIKeyCompetitionPathPathBadRequest) String ¶
func (o *GetAPIKeyCompetitionPathPathBadRequest) String() string
type GetAPIKeyCompetitionPathPathInternalServerError ¶
type GetAPIKeyCompetitionPathPathInternalServerError struct {
Payload *models.ResponseErrorResponse
}
GetAPIKeyCompetitionPathPathInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIKeyCompetitionPathPathInternalServerError ¶
func NewGetAPIKeyCompetitionPathPathInternalServerError() *GetAPIKeyCompetitionPathPathInternalServerError
NewGetAPIKeyCompetitionPathPathInternalServerError creates a GetAPIKeyCompetitionPathPathInternalServerError with default headers values
func (*GetAPIKeyCompetitionPathPathInternalServerError) Code ¶
func (o *GetAPIKeyCompetitionPathPathInternalServerError) Code() int
Code gets the status code for the get Api key competition path path internal server error response
func (*GetAPIKeyCompetitionPathPathInternalServerError) Error ¶
func (o *GetAPIKeyCompetitionPathPathInternalServerError) Error() string
func (*GetAPIKeyCompetitionPathPathInternalServerError) GetPayload ¶
func (o *GetAPIKeyCompetitionPathPathInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyCompetitionPathPathInternalServerError) IsClientError ¶
func (o *GetAPIKeyCompetitionPathPathInternalServerError) IsClientError() bool
IsClientError returns true when this get Api key competition path path internal server error response has a 4xx status code
func (*GetAPIKeyCompetitionPathPathInternalServerError) IsCode ¶
func (o *GetAPIKeyCompetitionPathPathInternalServerError) IsCode(code int) bool
IsCode returns true when this get Api key competition path path internal server error response a status code equal to that given
func (*GetAPIKeyCompetitionPathPathInternalServerError) IsRedirect ¶
func (o *GetAPIKeyCompetitionPathPathInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Api key competition path path internal server error response has a 3xx status code
func (*GetAPIKeyCompetitionPathPathInternalServerError) IsServerError ¶
func (o *GetAPIKeyCompetitionPathPathInternalServerError) IsServerError() bool
IsServerError returns true when this get Api key competition path path internal server error response has a 5xx status code
func (*GetAPIKeyCompetitionPathPathInternalServerError) IsSuccess ¶
func (o *GetAPIKeyCompetitionPathPathInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key competition path path internal server error response has a 2xx status code
func (*GetAPIKeyCompetitionPathPathInternalServerError) String ¶
func (o *GetAPIKeyCompetitionPathPathInternalServerError) String() string
type GetAPIKeyCompetitionPathPathOK ¶
type GetAPIKeyCompetitionPathPathOK struct {
Payload *models.ResponseCompetitionResponse
}
GetAPIKeyCompetitionPathPathOK describes a response with status code 200, with default header values.
OK
func NewGetAPIKeyCompetitionPathPathOK ¶
func NewGetAPIKeyCompetitionPathPathOK() *GetAPIKeyCompetitionPathPathOK
NewGetAPIKeyCompetitionPathPathOK creates a GetAPIKeyCompetitionPathPathOK with default headers values
func (*GetAPIKeyCompetitionPathPathOK) Code ¶
func (o *GetAPIKeyCompetitionPathPathOK) Code() int
Code gets the status code for the get Api key competition path path o k response
func (*GetAPIKeyCompetitionPathPathOK) Error ¶
func (o *GetAPIKeyCompetitionPathPathOK) Error() string
func (*GetAPIKeyCompetitionPathPathOK) GetPayload ¶
func (o *GetAPIKeyCompetitionPathPathOK) GetPayload() *models.ResponseCompetitionResponse
func (*GetAPIKeyCompetitionPathPathOK) IsClientError ¶
func (o *GetAPIKeyCompetitionPathPathOK) IsClientError() bool
IsClientError returns true when this get Api key competition path path o k response has a 4xx status code
func (*GetAPIKeyCompetitionPathPathOK) IsCode ¶
func (o *GetAPIKeyCompetitionPathPathOK) IsCode(code int) bool
IsCode returns true when this get Api key competition path path o k response a status code equal to that given
func (*GetAPIKeyCompetitionPathPathOK) IsRedirect ¶
func (o *GetAPIKeyCompetitionPathPathOK) IsRedirect() bool
IsRedirect returns true when this get Api key competition path path o k response has a 3xx status code
func (*GetAPIKeyCompetitionPathPathOK) IsServerError ¶
func (o *GetAPIKeyCompetitionPathPathOK) IsServerError() bool
IsServerError returns true when this get Api key competition path path o k response has a 5xx status code
func (*GetAPIKeyCompetitionPathPathOK) IsSuccess ¶
func (o *GetAPIKeyCompetitionPathPathOK) IsSuccess() bool
IsSuccess returns true when this get Api key competition path path o k response has a 2xx status code
func (*GetAPIKeyCompetitionPathPathOK) String ¶
func (o *GetAPIKeyCompetitionPathPathOK) String() string
type GetAPIKeyCompetitionPathPathParams ¶
type GetAPIKeyCompetitionPathPathParams struct {
/* Path.
Competition Path
*/
Path string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAPIKeyCompetitionPathPathParams contains all the parameters to send to the API endpoint
for the get API key competition path path operation. Typically these are written to a http.Request.
func NewGetAPIKeyCompetitionPathPathParams ¶
func NewGetAPIKeyCompetitionPathPathParams() *GetAPIKeyCompetitionPathPathParams
NewGetAPIKeyCompetitionPathPathParams creates a new GetAPIKeyCompetitionPathPathParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIKeyCompetitionPathPathParamsWithContext ¶
func NewGetAPIKeyCompetitionPathPathParamsWithContext(ctx context.Context) *GetAPIKeyCompetitionPathPathParams
NewGetAPIKeyCompetitionPathPathParamsWithContext creates a new GetAPIKeyCompetitionPathPathParams object with the ability to set a context for a request.
func NewGetAPIKeyCompetitionPathPathParamsWithHTTPClient ¶
func NewGetAPIKeyCompetitionPathPathParamsWithHTTPClient(client *http.Client) *GetAPIKeyCompetitionPathPathParams
NewGetAPIKeyCompetitionPathPathParamsWithHTTPClient creates a new GetAPIKeyCompetitionPathPathParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIKeyCompetitionPathPathParamsWithTimeout ¶
func NewGetAPIKeyCompetitionPathPathParamsWithTimeout(timeout time.Duration) *GetAPIKeyCompetitionPathPathParams
NewGetAPIKeyCompetitionPathPathParamsWithTimeout creates a new GetAPIKeyCompetitionPathPathParams object with the ability to set a timeout on a request.
func (*GetAPIKeyCompetitionPathPathParams) SetContext ¶
func (o *GetAPIKeyCompetitionPathPathParams) SetContext(ctx context.Context)
SetContext adds the context to the get API key competition path path params
func (*GetAPIKeyCompetitionPathPathParams) SetDefaults ¶
func (o *GetAPIKeyCompetitionPathPathParams) SetDefaults()
SetDefaults hydrates default values in the get API key competition path path params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyCompetitionPathPathParams) SetHTTPClient ¶
func (o *GetAPIKeyCompetitionPathPathParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API key competition path path params
func (*GetAPIKeyCompetitionPathPathParams) SetPath ¶
func (o *GetAPIKeyCompetitionPathPathParams) SetPath(path string)
SetPath adds the path to the get API key competition path path params
func (*GetAPIKeyCompetitionPathPathParams) SetTimeout ¶
func (o *GetAPIKeyCompetitionPathPathParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API key competition path path params
func (*GetAPIKeyCompetitionPathPathParams) WithContext ¶
func (o *GetAPIKeyCompetitionPathPathParams) WithContext(ctx context.Context) *GetAPIKeyCompetitionPathPathParams
WithContext adds the context to the get API key competition path path params
func (*GetAPIKeyCompetitionPathPathParams) WithDefaults ¶
func (o *GetAPIKeyCompetitionPathPathParams) WithDefaults() *GetAPIKeyCompetitionPathPathParams
WithDefaults hydrates default values in the get API key competition path path params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyCompetitionPathPathParams) WithHTTPClient ¶
func (o *GetAPIKeyCompetitionPathPathParams) WithHTTPClient(client *http.Client) *GetAPIKeyCompetitionPathPathParams
WithHTTPClient adds the HTTPClient to the get API key competition path path params
func (*GetAPIKeyCompetitionPathPathParams) WithPath ¶
func (o *GetAPIKeyCompetitionPathPathParams) WithPath(path string) *GetAPIKeyCompetitionPathPathParams
WithPath adds the path to the get API key competition path path params
func (*GetAPIKeyCompetitionPathPathParams) WithTimeout ¶
func (o *GetAPIKeyCompetitionPathPathParams) WithTimeout(timeout time.Duration) *GetAPIKeyCompetitionPathPathParams
WithTimeout adds the timeout to the get API key competition path path params
func (*GetAPIKeyCompetitionPathPathParams) WriteToRequest ¶
func (o *GetAPIKeyCompetitionPathPathParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIKeyCompetitionPathPathReader ¶
type GetAPIKeyCompetitionPathPathReader struct {
// contains filtered or unexported fields
}
GetAPIKeyCompetitionPathPathReader is a Reader for the GetAPIKeyCompetitionPathPath structure.
func (*GetAPIKeyCompetitionPathPathReader) ReadResponse ¶
func (o *GetAPIKeyCompetitionPathPathReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetAPIKeyCompetitionSubmitHistoryIDBadRequest ¶
type GetAPIKeyCompetitionSubmitHistoryIDBadRequest struct {
Payload *models.ResponseFailResponse
}
GetAPIKeyCompetitionSubmitHistoryIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIKeyCompetitionSubmitHistoryIDBadRequest ¶
func NewGetAPIKeyCompetitionSubmitHistoryIDBadRequest() *GetAPIKeyCompetitionSubmitHistoryIDBadRequest
NewGetAPIKeyCompetitionSubmitHistoryIDBadRequest creates a GetAPIKeyCompetitionSubmitHistoryIDBadRequest with default headers values
func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) Code ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) Code() int
Code gets the status code for the get Api key competition submit history Id bad request response
func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) Error ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) Error() string
func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) GetPayload ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsClientError ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsClientError() bool
IsClientError returns true when this get Api key competition submit history Id bad request response has a 4xx status code
func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsCode ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsCode(code int) bool
IsCode returns true when this get Api key competition submit history Id bad request response a status code equal to that given
func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsRedirect ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsRedirect() bool
IsRedirect returns true when this get Api key competition submit history Id bad request response has a 3xx status code
func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsServerError ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsServerError() bool
IsServerError returns true when this get Api key competition submit history Id bad request response has a 5xx status code
func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsSuccess ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsSuccess() bool
IsSuccess returns true when this get Api key competition submit history Id bad request response has a 2xx status code
func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) String ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDBadRequest) String() string
type GetAPIKeyCompetitionSubmitHistoryIDInternalServerError ¶
type GetAPIKeyCompetitionSubmitHistoryIDInternalServerError struct {
Payload *models.ResponseErrorResponse
}
GetAPIKeyCompetitionSubmitHistoryIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIKeyCompetitionSubmitHistoryIDInternalServerError ¶
func NewGetAPIKeyCompetitionSubmitHistoryIDInternalServerError() *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError
NewGetAPIKeyCompetitionSubmitHistoryIDInternalServerError creates a GetAPIKeyCompetitionSubmitHistoryIDInternalServerError with default headers values
func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) Code ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) Code() int
Code gets the status code for the get Api key competition submit history Id internal server error response
func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) Error ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) Error() string
func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) GetPayload ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsClientError ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsClientError() bool
IsClientError returns true when this get Api key competition submit history Id internal server error response has a 4xx status code
func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsCode ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get Api key competition submit history Id internal server error response a status code equal to that given
func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsRedirect ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Api key competition submit history Id internal server error response has a 3xx status code
func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsServerError ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsServerError() bool
IsServerError returns true when this get Api key competition submit history Id internal server error response has a 5xx status code
func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsSuccess ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key competition submit history Id internal server error response has a 2xx status code
func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) String ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) String() string
type GetAPIKeyCompetitionSubmitHistoryIDOK ¶
type GetAPIKeyCompetitionSubmitHistoryIDOK struct {
Payload *models.ResponseSubmitHistoryListResponse
}
GetAPIKeyCompetitionSubmitHistoryIDOK describes a response with status code 200, with default header values.
OK
func NewGetAPIKeyCompetitionSubmitHistoryIDOK ¶
func NewGetAPIKeyCompetitionSubmitHistoryIDOK() *GetAPIKeyCompetitionSubmitHistoryIDOK
NewGetAPIKeyCompetitionSubmitHistoryIDOK creates a GetAPIKeyCompetitionSubmitHistoryIDOK with default headers values
func (*GetAPIKeyCompetitionSubmitHistoryIDOK) Code ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) Code() int
Code gets the status code for the get Api key competition submit history Id o k response
func (*GetAPIKeyCompetitionSubmitHistoryIDOK) Error ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) Error() string
func (*GetAPIKeyCompetitionSubmitHistoryIDOK) GetPayload ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) GetPayload() *models.ResponseSubmitHistoryListResponse
func (*GetAPIKeyCompetitionSubmitHistoryIDOK) IsClientError ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) IsClientError() bool
IsClientError returns true when this get Api key competition submit history Id o k response has a 4xx status code
func (*GetAPIKeyCompetitionSubmitHistoryIDOK) IsCode ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) IsCode(code int) bool
IsCode returns true when this get Api key competition submit history Id o k response a status code equal to that given
func (*GetAPIKeyCompetitionSubmitHistoryIDOK) IsRedirect ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) IsRedirect() bool
IsRedirect returns true when this get Api key competition submit history Id o k response has a 3xx status code
func (*GetAPIKeyCompetitionSubmitHistoryIDOK) IsServerError ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) IsServerError() bool
IsServerError returns true when this get Api key competition submit history Id o k response has a 5xx status code
func (*GetAPIKeyCompetitionSubmitHistoryIDOK) IsSuccess ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) IsSuccess() bool
IsSuccess returns true when this get Api key competition submit history Id o k response has a 2xx status code
func (*GetAPIKeyCompetitionSubmitHistoryIDOK) String ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDOK) String() string
type GetAPIKeyCompetitionSubmitHistoryIDParams ¶
type GetAPIKeyCompetitionSubmitHistoryIDParams struct {
/* ID.
Competition Id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAPIKeyCompetitionSubmitHistoryIDParams contains all the parameters to send to the API endpoint
for the get API key competition submit history ID operation. Typically these are written to a http.Request.
func NewGetAPIKeyCompetitionSubmitHistoryIDParams ¶
func NewGetAPIKeyCompetitionSubmitHistoryIDParams() *GetAPIKeyCompetitionSubmitHistoryIDParams
NewGetAPIKeyCompetitionSubmitHistoryIDParams creates a new GetAPIKeyCompetitionSubmitHistoryIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIKeyCompetitionSubmitHistoryIDParamsWithContext ¶
func NewGetAPIKeyCompetitionSubmitHistoryIDParamsWithContext(ctx context.Context) *GetAPIKeyCompetitionSubmitHistoryIDParams
NewGetAPIKeyCompetitionSubmitHistoryIDParamsWithContext creates a new GetAPIKeyCompetitionSubmitHistoryIDParams object with the ability to set a context for a request.
func NewGetAPIKeyCompetitionSubmitHistoryIDParamsWithHTTPClient ¶
func NewGetAPIKeyCompetitionSubmitHistoryIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyCompetitionSubmitHistoryIDParams
NewGetAPIKeyCompetitionSubmitHistoryIDParamsWithHTTPClient creates a new GetAPIKeyCompetitionSubmitHistoryIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIKeyCompetitionSubmitHistoryIDParamsWithTimeout ¶
func NewGetAPIKeyCompetitionSubmitHistoryIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyCompetitionSubmitHistoryIDParams
NewGetAPIKeyCompetitionSubmitHistoryIDParamsWithTimeout creates a new GetAPIKeyCompetitionSubmitHistoryIDParams object with the ability to set a timeout on a request.
func (*GetAPIKeyCompetitionSubmitHistoryIDParams) SetContext ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get API key competition submit history ID params
func (*GetAPIKeyCompetitionSubmitHistoryIDParams) SetDefaults ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) SetDefaults()
SetDefaults hydrates default values in the get API key competition submit history ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyCompetitionSubmitHistoryIDParams) SetHTTPClient ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API key competition submit history ID params
func (*GetAPIKeyCompetitionSubmitHistoryIDParams) SetID ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) SetID(id string)
SetID adds the id to the get API key competition submit history ID params
func (*GetAPIKeyCompetitionSubmitHistoryIDParams) SetTimeout ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API key competition submit history ID params
func (*GetAPIKeyCompetitionSubmitHistoryIDParams) WithContext ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) WithContext(ctx context.Context) *GetAPIKeyCompetitionSubmitHistoryIDParams
WithContext adds the context to the get API key competition submit history ID params
func (*GetAPIKeyCompetitionSubmitHistoryIDParams) WithDefaults ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) WithDefaults() *GetAPIKeyCompetitionSubmitHistoryIDParams
WithDefaults hydrates default values in the get API key competition submit history ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyCompetitionSubmitHistoryIDParams) WithHTTPClient ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) WithHTTPClient(client *http.Client) *GetAPIKeyCompetitionSubmitHistoryIDParams
WithHTTPClient adds the HTTPClient to the get API key competition submit history ID params
func (*GetAPIKeyCompetitionSubmitHistoryIDParams) WithID ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) WithID(id string) *GetAPIKeyCompetitionSubmitHistoryIDParams
WithID adds the id to the get API key competition submit history ID params
func (*GetAPIKeyCompetitionSubmitHistoryIDParams) WithTimeout ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) WithTimeout(timeout time.Duration) *GetAPIKeyCompetitionSubmitHistoryIDParams
WithTimeout adds the timeout to the get API key competition submit history ID params
func (*GetAPIKeyCompetitionSubmitHistoryIDParams) WriteToRequest ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIKeyCompetitionSubmitHistoryIDReader ¶
type GetAPIKeyCompetitionSubmitHistoryIDReader struct {
// contains filtered or unexported fields
}
GetAPIKeyCompetitionSubmitHistoryIDReader is a Reader for the GetAPIKeyCompetitionSubmitHistoryID structure.
func (*GetAPIKeyCompetitionSubmitHistoryIDReader) ReadResponse ¶
func (o *GetAPIKeyCompetitionSubmitHistoryIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyCompetitionBadRequest ¶
type PostAPIKeyCompetitionBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyCompetitionBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyCompetitionBadRequest ¶
func NewPostAPIKeyCompetitionBadRequest() *PostAPIKeyCompetitionBadRequest
NewPostAPIKeyCompetitionBadRequest creates a PostAPIKeyCompetitionBadRequest with default headers values
func (*PostAPIKeyCompetitionBadRequest) Code ¶
func (o *PostAPIKeyCompetitionBadRequest) Code() int
Code gets the status code for the post Api key competition bad request response
func (*PostAPIKeyCompetitionBadRequest) Error ¶
func (o *PostAPIKeyCompetitionBadRequest) Error() string
func (*PostAPIKeyCompetitionBadRequest) GetPayload ¶
func (o *PostAPIKeyCompetitionBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyCompetitionBadRequest) IsClientError ¶
func (o *PostAPIKeyCompetitionBadRequest) IsClientError() bool
IsClientError returns true when this post Api key competition bad request response has a 4xx status code
func (*PostAPIKeyCompetitionBadRequest) IsCode ¶
func (o *PostAPIKeyCompetitionBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key competition bad request response a status code equal to that given
func (*PostAPIKeyCompetitionBadRequest) IsRedirect ¶
func (o *PostAPIKeyCompetitionBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key competition bad request response has a 3xx status code
func (*PostAPIKeyCompetitionBadRequest) IsServerError ¶
func (o *PostAPIKeyCompetitionBadRequest) IsServerError() bool
IsServerError returns true when this post Api key competition bad request response has a 5xx status code
func (*PostAPIKeyCompetitionBadRequest) IsSuccess ¶
func (o *PostAPIKeyCompetitionBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key competition bad request response has a 2xx status code
func (*PostAPIKeyCompetitionBadRequest) String ¶
func (o *PostAPIKeyCompetitionBadRequest) String() string
type PostAPIKeyCompetitionIDJoinBadRequest ¶
type PostAPIKeyCompetitionIDJoinBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyCompetitionIDJoinBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyCompetitionIDJoinBadRequest ¶
func NewPostAPIKeyCompetitionIDJoinBadRequest() *PostAPIKeyCompetitionIDJoinBadRequest
NewPostAPIKeyCompetitionIDJoinBadRequest creates a PostAPIKeyCompetitionIDJoinBadRequest with default headers values
func (*PostAPIKeyCompetitionIDJoinBadRequest) Code ¶
func (o *PostAPIKeyCompetitionIDJoinBadRequest) Code() int
Code gets the status code for the post Api key competition Id join bad request response
func (*PostAPIKeyCompetitionIDJoinBadRequest) Error ¶
func (o *PostAPIKeyCompetitionIDJoinBadRequest) Error() string
func (*PostAPIKeyCompetitionIDJoinBadRequest) GetPayload ¶
func (o *PostAPIKeyCompetitionIDJoinBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyCompetitionIDJoinBadRequest) IsClientError ¶
func (o *PostAPIKeyCompetitionIDJoinBadRequest) IsClientError() bool
IsClientError returns true when this post Api key competition Id join bad request response has a 4xx status code
func (*PostAPIKeyCompetitionIDJoinBadRequest) IsCode ¶
func (o *PostAPIKeyCompetitionIDJoinBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key competition Id join bad request response a status code equal to that given
func (*PostAPIKeyCompetitionIDJoinBadRequest) IsRedirect ¶
func (o *PostAPIKeyCompetitionIDJoinBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key competition Id join bad request response has a 3xx status code
func (*PostAPIKeyCompetitionIDJoinBadRequest) IsServerError ¶
func (o *PostAPIKeyCompetitionIDJoinBadRequest) IsServerError() bool
IsServerError returns true when this post Api key competition Id join bad request response has a 5xx status code
func (*PostAPIKeyCompetitionIDJoinBadRequest) IsSuccess ¶
func (o *PostAPIKeyCompetitionIDJoinBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key competition Id join bad request response has a 2xx status code
func (*PostAPIKeyCompetitionIDJoinBadRequest) String ¶
func (o *PostAPIKeyCompetitionIDJoinBadRequest) String() string
type PostAPIKeyCompetitionIDJoinInternalServerError ¶
type PostAPIKeyCompetitionIDJoinInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyCompetitionIDJoinInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyCompetitionIDJoinInternalServerError ¶
func NewPostAPIKeyCompetitionIDJoinInternalServerError() *PostAPIKeyCompetitionIDJoinInternalServerError
NewPostAPIKeyCompetitionIDJoinInternalServerError creates a PostAPIKeyCompetitionIDJoinInternalServerError with default headers values
func (*PostAPIKeyCompetitionIDJoinInternalServerError) Code ¶
func (o *PostAPIKeyCompetitionIDJoinInternalServerError) Code() int
Code gets the status code for the post Api key competition Id join internal server error response
func (*PostAPIKeyCompetitionIDJoinInternalServerError) Error ¶
func (o *PostAPIKeyCompetitionIDJoinInternalServerError) Error() string
func (*PostAPIKeyCompetitionIDJoinInternalServerError) GetPayload ¶
func (o *PostAPIKeyCompetitionIDJoinInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyCompetitionIDJoinInternalServerError) IsClientError ¶
func (o *PostAPIKeyCompetitionIDJoinInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key competition Id join internal server error response has a 4xx status code
func (*PostAPIKeyCompetitionIDJoinInternalServerError) IsCode ¶
func (o *PostAPIKeyCompetitionIDJoinInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key competition Id join internal server error response a status code equal to that given
func (*PostAPIKeyCompetitionIDJoinInternalServerError) IsRedirect ¶
func (o *PostAPIKeyCompetitionIDJoinInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key competition Id join internal server error response has a 3xx status code
func (*PostAPIKeyCompetitionIDJoinInternalServerError) IsServerError ¶
func (o *PostAPIKeyCompetitionIDJoinInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key competition Id join internal server error response has a 5xx status code
func (*PostAPIKeyCompetitionIDJoinInternalServerError) IsSuccess ¶
func (o *PostAPIKeyCompetitionIDJoinInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key competition Id join internal server error response has a 2xx status code
func (*PostAPIKeyCompetitionIDJoinInternalServerError) String ¶
func (o *PostAPIKeyCompetitionIDJoinInternalServerError) String() string
type PostAPIKeyCompetitionIDJoinOK ¶
type PostAPIKeyCompetitionIDJoinOK struct {
Payload *models.ResponseSuccessResponse
}
PostAPIKeyCompetitionIDJoinOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyCompetitionIDJoinOK ¶
func NewPostAPIKeyCompetitionIDJoinOK() *PostAPIKeyCompetitionIDJoinOK
NewPostAPIKeyCompetitionIDJoinOK creates a PostAPIKeyCompetitionIDJoinOK with default headers values
func (*PostAPIKeyCompetitionIDJoinOK) Code ¶
func (o *PostAPIKeyCompetitionIDJoinOK) Code() int
Code gets the status code for the post Api key competition Id join o k response
func (*PostAPIKeyCompetitionIDJoinOK) Error ¶
func (o *PostAPIKeyCompetitionIDJoinOK) Error() string
func (*PostAPIKeyCompetitionIDJoinOK) GetPayload ¶
func (o *PostAPIKeyCompetitionIDJoinOK) GetPayload() *models.ResponseSuccessResponse
func (*PostAPIKeyCompetitionIDJoinOK) IsClientError ¶
func (o *PostAPIKeyCompetitionIDJoinOK) IsClientError() bool
IsClientError returns true when this post Api key competition Id join o k response has a 4xx status code
func (*PostAPIKeyCompetitionIDJoinOK) IsCode ¶
func (o *PostAPIKeyCompetitionIDJoinOK) IsCode(code int) bool
IsCode returns true when this post Api key competition Id join o k response a status code equal to that given
func (*PostAPIKeyCompetitionIDJoinOK) IsRedirect ¶
func (o *PostAPIKeyCompetitionIDJoinOK) IsRedirect() bool
IsRedirect returns true when this post Api key competition Id join o k response has a 3xx status code
func (*PostAPIKeyCompetitionIDJoinOK) IsServerError ¶
func (o *PostAPIKeyCompetitionIDJoinOK) IsServerError() bool
IsServerError returns true when this post Api key competition Id join o k response has a 5xx status code
func (*PostAPIKeyCompetitionIDJoinOK) IsSuccess ¶
func (o *PostAPIKeyCompetitionIDJoinOK) IsSuccess() bool
IsSuccess returns true when this post Api key competition Id join o k response has a 2xx status code
func (*PostAPIKeyCompetitionIDJoinOK) String ¶
func (o *PostAPIKeyCompetitionIDJoinOK) String() string
type PostAPIKeyCompetitionIDJoinParams ¶
type PostAPIKeyCompetitionIDJoinParams struct {
/* ID.
Competition Id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyCompetitionIDJoinParams contains all the parameters to send to the API endpoint
for the post API key competition ID join operation. Typically these are written to a http.Request.
func NewPostAPIKeyCompetitionIDJoinParams ¶
func NewPostAPIKeyCompetitionIDJoinParams() *PostAPIKeyCompetitionIDJoinParams
NewPostAPIKeyCompetitionIDJoinParams creates a new PostAPIKeyCompetitionIDJoinParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIKeyCompetitionIDJoinParamsWithContext ¶
func NewPostAPIKeyCompetitionIDJoinParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionIDJoinParams
NewPostAPIKeyCompetitionIDJoinParamsWithContext creates a new PostAPIKeyCompetitionIDJoinParams object with the ability to set a context for a request.
func NewPostAPIKeyCompetitionIDJoinParamsWithHTTPClient ¶
func NewPostAPIKeyCompetitionIDJoinParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionIDJoinParams
NewPostAPIKeyCompetitionIDJoinParamsWithHTTPClient creates a new PostAPIKeyCompetitionIDJoinParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyCompetitionIDJoinParamsWithTimeout ¶
func NewPostAPIKeyCompetitionIDJoinParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionIDJoinParams
NewPostAPIKeyCompetitionIDJoinParamsWithTimeout creates a new PostAPIKeyCompetitionIDJoinParams object with the ability to set a timeout on a request.
func (*PostAPIKeyCompetitionIDJoinParams) SetContext ¶
func (o *PostAPIKeyCompetitionIDJoinParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key competition ID join params
func (*PostAPIKeyCompetitionIDJoinParams) SetDefaults ¶
func (o *PostAPIKeyCompetitionIDJoinParams) SetDefaults()
SetDefaults hydrates default values in the post API key competition ID join params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionIDJoinParams) SetHTTPClient ¶
func (o *PostAPIKeyCompetitionIDJoinParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key competition ID join params
func (*PostAPIKeyCompetitionIDJoinParams) SetID ¶
func (o *PostAPIKeyCompetitionIDJoinParams) SetID(id string)
SetID adds the id to the post API key competition ID join params
func (*PostAPIKeyCompetitionIDJoinParams) SetTimeout ¶
func (o *PostAPIKeyCompetitionIDJoinParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key competition ID join params
func (*PostAPIKeyCompetitionIDJoinParams) WithContext ¶
func (o *PostAPIKeyCompetitionIDJoinParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionIDJoinParams
WithContext adds the context to the post API key competition ID join params
func (*PostAPIKeyCompetitionIDJoinParams) WithDefaults ¶
func (o *PostAPIKeyCompetitionIDJoinParams) WithDefaults() *PostAPIKeyCompetitionIDJoinParams
WithDefaults hydrates default values in the post API key competition ID join params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionIDJoinParams) WithHTTPClient ¶
func (o *PostAPIKeyCompetitionIDJoinParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionIDJoinParams
WithHTTPClient adds the HTTPClient to the post API key competition ID join params
func (*PostAPIKeyCompetitionIDJoinParams) WithID ¶
func (o *PostAPIKeyCompetitionIDJoinParams) WithID(id string) *PostAPIKeyCompetitionIDJoinParams
WithID adds the id to the post API key competition ID join params
func (*PostAPIKeyCompetitionIDJoinParams) WithTimeout ¶
func (o *PostAPIKeyCompetitionIDJoinParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionIDJoinParams
WithTimeout adds the timeout to the post API key competition ID join params
func (*PostAPIKeyCompetitionIDJoinParams) WriteToRequest ¶
func (o *PostAPIKeyCompetitionIDJoinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyCompetitionIDJoinReader ¶
type PostAPIKeyCompetitionIDJoinReader struct {
// contains filtered or unexported fields
}
PostAPIKeyCompetitionIDJoinReader is a Reader for the PostAPIKeyCompetitionIDJoin structure.
func (*PostAPIKeyCompetitionIDJoinReader) ReadResponse ¶
func (o *PostAPIKeyCompetitionIDJoinReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyCompetitionIDLaunchBadRequest ¶
type PostAPIKeyCompetitionIDLaunchBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyCompetitionIDLaunchBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyCompetitionIDLaunchBadRequest ¶
func NewPostAPIKeyCompetitionIDLaunchBadRequest() *PostAPIKeyCompetitionIDLaunchBadRequest
NewPostAPIKeyCompetitionIDLaunchBadRequest creates a PostAPIKeyCompetitionIDLaunchBadRequest with default headers values
func (*PostAPIKeyCompetitionIDLaunchBadRequest) Code ¶
func (o *PostAPIKeyCompetitionIDLaunchBadRequest) Code() int
Code gets the status code for the post Api key competition Id launch bad request response
func (*PostAPIKeyCompetitionIDLaunchBadRequest) Error ¶
func (o *PostAPIKeyCompetitionIDLaunchBadRequest) Error() string
func (*PostAPIKeyCompetitionIDLaunchBadRequest) GetPayload ¶
func (o *PostAPIKeyCompetitionIDLaunchBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyCompetitionIDLaunchBadRequest) IsClientError ¶
func (o *PostAPIKeyCompetitionIDLaunchBadRequest) IsClientError() bool
IsClientError returns true when this post Api key competition Id launch bad request response has a 4xx status code
func (*PostAPIKeyCompetitionIDLaunchBadRequest) IsCode ¶
func (o *PostAPIKeyCompetitionIDLaunchBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key competition Id launch bad request response a status code equal to that given
func (*PostAPIKeyCompetitionIDLaunchBadRequest) IsRedirect ¶
func (o *PostAPIKeyCompetitionIDLaunchBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key competition Id launch bad request response has a 3xx status code
func (*PostAPIKeyCompetitionIDLaunchBadRequest) IsServerError ¶
func (o *PostAPIKeyCompetitionIDLaunchBadRequest) IsServerError() bool
IsServerError returns true when this post Api key competition Id launch bad request response has a 5xx status code
func (*PostAPIKeyCompetitionIDLaunchBadRequest) IsSuccess ¶
func (o *PostAPIKeyCompetitionIDLaunchBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key competition Id launch bad request response has a 2xx status code
func (*PostAPIKeyCompetitionIDLaunchBadRequest) String ¶
func (o *PostAPIKeyCompetitionIDLaunchBadRequest) String() string
type PostAPIKeyCompetitionIDLaunchInternalServerError ¶
type PostAPIKeyCompetitionIDLaunchInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyCompetitionIDLaunchInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyCompetitionIDLaunchInternalServerError ¶
func NewPostAPIKeyCompetitionIDLaunchInternalServerError() *PostAPIKeyCompetitionIDLaunchInternalServerError
NewPostAPIKeyCompetitionIDLaunchInternalServerError creates a PostAPIKeyCompetitionIDLaunchInternalServerError with default headers values
func (*PostAPIKeyCompetitionIDLaunchInternalServerError) Code ¶
func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) Code() int
Code gets the status code for the post Api key competition Id launch internal server error response
func (*PostAPIKeyCompetitionIDLaunchInternalServerError) Error ¶
func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) Error() string
func (*PostAPIKeyCompetitionIDLaunchInternalServerError) GetPayload ¶
func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyCompetitionIDLaunchInternalServerError) IsClientError ¶
func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key competition Id launch internal server error response has a 4xx status code
func (*PostAPIKeyCompetitionIDLaunchInternalServerError) IsCode ¶
func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key competition Id launch internal server error response a status code equal to that given
func (*PostAPIKeyCompetitionIDLaunchInternalServerError) IsRedirect ¶
func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key competition Id launch internal server error response has a 3xx status code
func (*PostAPIKeyCompetitionIDLaunchInternalServerError) IsServerError ¶
func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key competition Id launch internal server error response has a 5xx status code
func (*PostAPIKeyCompetitionIDLaunchInternalServerError) IsSuccess ¶
func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key competition Id launch internal server error response has a 2xx status code
func (*PostAPIKeyCompetitionIDLaunchInternalServerError) String ¶
func (o *PostAPIKeyCompetitionIDLaunchInternalServerError) String() string
type PostAPIKeyCompetitionIDLaunchOK ¶
type PostAPIKeyCompetitionIDLaunchOK struct {
Payload *models.ResponseSuccessResponse
}
PostAPIKeyCompetitionIDLaunchOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyCompetitionIDLaunchOK ¶
func NewPostAPIKeyCompetitionIDLaunchOK() *PostAPIKeyCompetitionIDLaunchOK
NewPostAPIKeyCompetitionIDLaunchOK creates a PostAPIKeyCompetitionIDLaunchOK with default headers values
func (*PostAPIKeyCompetitionIDLaunchOK) Code ¶
func (o *PostAPIKeyCompetitionIDLaunchOK) Code() int
Code gets the status code for the post Api key competition Id launch o k response
func (*PostAPIKeyCompetitionIDLaunchOK) Error ¶
func (o *PostAPIKeyCompetitionIDLaunchOK) Error() string
func (*PostAPIKeyCompetitionIDLaunchOK) GetPayload ¶
func (o *PostAPIKeyCompetitionIDLaunchOK) GetPayload() *models.ResponseSuccessResponse
func (*PostAPIKeyCompetitionIDLaunchOK) IsClientError ¶
func (o *PostAPIKeyCompetitionIDLaunchOK) IsClientError() bool
IsClientError returns true when this post Api key competition Id launch o k response has a 4xx status code
func (*PostAPIKeyCompetitionIDLaunchOK) IsCode ¶
func (o *PostAPIKeyCompetitionIDLaunchOK) IsCode(code int) bool
IsCode returns true when this post Api key competition Id launch o k response a status code equal to that given
func (*PostAPIKeyCompetitionIDLaunchOK) IsRedirect ¶
func (o *PostAPIKeyCompetitionIDLaunchOK) IsRedirect() bool
IsRedirect returns true when this post Api key competition Id launch o k response has a 3xx status code
func (*PostAPIKeyCompetitionIDLaunchOK) IsServerError ¶
func (o *PostAPIKeyCompetitionIDLaunchOK) IsServerError() bool
IsServerError returns true when this post Api key competition Id launch o k response has a 5xx status code
func (*PostAPIKeyCompetitionIDLaunchOK) IsSuccess ¶
func (o *PostAPIKeyCompetitionIDLaunchOK) IsSuccess() bool
IsSuccess returns true when this post Api key competition Id launch o k response has a 2xx status code
func (*PostAPIKeyCompetitionIDLaunchOK) String ¶
func (o *PostAPIKeyCompetitionIDLaunchOK) String() string
type PostAPIKeyCompetitionIDLaunchParams ¶
type PostAPIKeyCompetitionIDLaunchParams struct {
/* ID.
Competition Id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyCompetitionIDLaunchParams contains all the parameters to send to the API endpoint
for the post API key competition ID launch operation. Typically these are written to a http.Request.
func NewPostAPIKeyCompetitionIDLaunchParams ¶
func NewPostAPIKeyCompetitionIDLaunchParams() *PostAPIKeyCompetitionIDLaunchParams
NewPostAPIKeyCompetitionIDLaunchParams creates a new PostAPIKeyCompetitionIDLaunchParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIKeyCompetitionIDLaunchParamsWithContext ¶
func NewPostAPIKeyCompetitionIDLaunchParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionIDLaunchParams
NewPostAPIKeyCompetitionIDLaunchParamsWithContext creates a new PostAPIKeyCompetitionIDLaunchParams object with the ability to set a context for a request.
func NewPostAPIKeyCompetitionIDLaunchParamsWithHTTPClient ¶
func NewPostAPIKeyCompetitionIDLaunchParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionIDLaunchParams
NewPostAPIKeyCompetitionIDLaunchParamsWithHTTPClient creates a new PostAPIKeyCompetitionIDLaunchParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyCompetitionIDLaunchParamsWithTimeout ¶
func NewPostAPIKeyCompetitionIDLaunchParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionIDLaunchParams
NewPostAPIKeyCompetitionIDLaunchParamsWithTimeout creates a new PostAPIKeyCompetitionIDLaunchParams object with the ability to set a timeout on a request.
func (*PostAPIKeyCompetitionIDLaunchParams) SetContext ¶
func (o *PostAPIKeyCompetitionIDLaunchParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key competition ID launch params
func (*PostAPIKeyCompetitionIDLaunchParams) SetDefaults ¶
func (o *PostAPIKeyCompetitionIDLaunchParams) SetDefaults()
SetDefaults hydrates default values in the post API key competition ID launch params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionIDLaunchParams) SetHTTPClient ¶
func (o *PostAPIKeyCompetitionIDLaunchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key competition ID launch params
func (*PostAPIKeyCompetitionIDLaunchParams) SetID ¶
func (o *PostAPIKeyCompetitionIDLaunchParams) SetID(id string)
SetID adds the id to the post API key competition ID launch params
func (*PostAPIKeyCompetitionIDLaunchParams) SetTimeout ¶
func (o *PostAPIKeyCompetitionIDLaunchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key competition ID launch params
func (*PostAPIKeyCompetitionIDLaunchParams) WithContext ¶
func (o *PostAPIKeyCompetitionIDLaunchParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionIDLaunchParams
WithContext adds the context to the post API key competition ID launch params
func (*PostAPIKeyCompetitionIDLaunchParams) WithDefaults ¶
func (o *PostAPIKeyCompetitionIDLaunchParams) WithDefaults() *PostAPIKeyCompetitionIDLaunchParams
WithDefaults hydrates default values in the post API key competition ID launch params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionIDLaunchParams) WithHTTPClient ¶
func (o *PostAPIKeyCompetitionIDLaunchParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionIDLaunchParams
WithHTTPClient adds the HTTPClient to the post API key competition ID launch params
func (*PostAPIKeyCompetitionIDLaunchParams) WithID ¶
func (o *PostAPIKeyCompetitionIDLaunchParams) WithID(id string) *PostAPIKeyCompetitionIDLaunchParams
WithID adds the id to the post API key competition ID launch params
func (*PostAPIKeyCompetitionIDLaunchParams) WithTimeout ¶
func (o *PostAPIKeyCompetitionIDLaunchParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionIDLaunchParams
WithTimeout adds the timeout to the post API key competition ID launch params
func (*PostAPIKeyCompetitionIDLaunchParams) WriteToRequest ¶
func (o *PostAPIKeyCompetitionIDLaunchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyCompetitionIDLaunchReader ¶
type PostAPIKeyCompetitionIDLaunchReader struct {
// contains filtered or unexported fields
}
PostAPIKeyCompetitionIDLaunchReader is a Reader for the PostAPIKeyCompetitionIDLaunch structure.
func (*PostAPIKeyCompetitionIDLaunchReader) ReadResponse ¶
func (o *PostAPIKeyCompetitionIDLaunchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyCompetitionIDLeaveBadRequest ¶
type PostAPIKeyCompetitionIDLeaveBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyCompetitionIDLeaveBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyCompetitionIDLeaveBadRequest ¶
func NewPostAPIKeyCompetitionIDLeaveBadRequest() *PostAPIKeyCompetitionIDLeaveBadRequest
NewPostAPIKeyCompetitionIDLeaveBadRequest creates a PostAPIKeyCompetitionIDLeaveBadRequest with default headers values
func (*PostAPIKeyCompetitionIDLeaveBadRequest) Code ¶
func (o *PostAPIKeyCompetitionIDLeaveBadRequest) Code() int
Code gets the status code for the post Api key competition Id leave bad request response
func (*PostAPIKeyCompetitionIDLeaveBadRequest) Error ¶
func (o *PostAPIKeyCompetitionIDLeaveBadRequest) Error() string
func (*PostAPIKeyCompetitionIDLeaveBadRequest) GetPayload ¶
func (o *PostAPIKeyCompetitionIDLeaveBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyCompetitionIDLeaveBadRequest) IsClientError ¶
func (o *PostAPIKeyCompetitionIDLeaveBadRequest) IsClientError() bool
IsClientError returns true when this post Api key competition Id leave bad request response has a 4xx status code
func (*PostAPIKeyCompetitionIDLeaveBadRequest) IsCode ¶
func (o *PostAPIKeyCompetitionIDLeaveBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key competition Id leave bad request response a status code equal to that given
func (*PostAPIKeyCompetitionIDLeaveBadRequest) IsRedirect ¶
func (o *PostAPIKeyCompetitionIDLeaveBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key competition Id leave bad request response has a 3xx status code
func (*PostAPIKeyCompetitionIDLeaveBadRequest) IsServerError ¶
func (o *PostAPIKeyCompetitionIDLeaveBadRequest) IsServerError() bool
IsServerError returns true when this post Api key competition Id leave bad request response has a 5xx status code
func (*PostAPIKeyCompetitionIDLeaveBadRequest) IsSuccess ¶
func (o *PostAPIKeyCompetitionIDLeaveBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key competition Id leave bad request response has a 2xx status code
func (*PostAPIKeyCompetitionIDLeaveBadRequest) String ¶
func (o *PostAPIKeyCompetitionIDLeaveBadRequest) String() string
type PostAPIKeyCompetitionIDLeaveInternalServerError ¶
type PostAPIKeyCompetitionIDLeaveInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyCompetitionIDLeaveInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyCompetitionIDLeaveInternalServerError ¶
func NewPostAPIKeyCompetitionIDLeaveInternalServerError() *PostAPIKeyCompetitionIDLeaveInternalServerError
NewPostAPIKeyCompetitionIDLeaveInternalServerError creates a PostAPIKeyCompetitionIDLeaveInternalServerError with default headers values
func (*PostAPIKeyCompetitionIDLeaveInternalServerError) Code ¶
func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) Code() int
Code gets the status code for the post Api key competition Id leave internal server error response
func (*PostAPIKeyCompetitionIDLeaveInternalServerError) Error ¶
func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) Error() string
func (*PostAPIKeyCompetitionIDLeaveInternalServerError) GetPayload ¶
func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyCompetitionIDLeaveInternalServerError) IsClientError ¶
func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key competition Id leave internal server error response has a 4xx status code
func (*PostAPIKeyCompetitionIDLeaveInternalServerError) IsCode ¶
func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key competition Id leave internal server error response a status code equal to that given
func (*PostAPIKeyCompetitionIDLeaveInternalServerError) IsRedirect ¶
func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key competition Id leave internal server error response has a 3xx status code
func (*PostAPIKeyCompetitionIDLeaveInternalServerError) IsServerError ¶
func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key competition Id leave internal server error response has a 5xx status code
func (*PostAPIKeyCompetitionIDLeaveInternalServerError) IsSuccess ¶
func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key competition Id leave internal server error response has a 2xx status code
func (*PostAPIKeyCompetitionIDLeaveInternalServerError) String ¶
func (o *PostAPIKeyCompetitionIDLeaveInternalServerError) String() string
type PostAPIKeyCompetitionIDLeaveOK ¶
type PostAPIKeyCompetitionIDLeaveOK struct {
Payload *models.ResponseSuccessResponse
}
PostAPIKeyCompetitionIDLeaveOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyCompetitionIDLeaveOK ¶
func NewPostAPIKeyCompetitionIDLeaveOK() *PostAPIKeyCompetitionIDLeaveOK
NewPostAPIKeyCompetitionIDLeaveOK creates a PostAPIKeyCompetitionIDLeaveOK with default headers values
func (*PostAPIKeyCompetitionIDLeaveOK) Code ¶
func (o *PostAPIKeyCompetitionIDLeaveOK) Code() int
Code gets the status code for the post Api key competition Id leave o k response
func (*PostAPIKeyCompetitionIDLeaveOK) Error ¶
func (o *PostAPIKeyCompetitionIDLeaveOK) Error() string
func (*PostAPIKeyCompetitionIDLeaveOK) GetPayload ¶
func (o *PostAPIKeyCompetitionIDLeaveOK) GetPayload() *models.ResponseSuccessResponse
func (*PostAPIKeyCompetitionIDLeaveOK) IsClientError ¶
func (o *PostAPIKeyCompetitionIDLeaveOK) IsClientError() bool
IsClientError returns true when this post Api key competition Id leave o k response has a 4xx status code
func (*PostAPIKeyCompetitionIDLeaveOK) IsCode ¶
func (o *PostAPIKeyCompetitionIDLeaveOK) IsCode(code int) bool
IsCode returns true when this post Api key competition Id leave o k response a status code equal to that given
func (*PostAPIKeyCompetitionIDLeaveOK) IsRedirect ¶
func (o *PostAPIKeyCompetitionIDLeaveOK) IsRedirect() bool
IsRedirect returns true when this post Api key competition Id leave o k response has a 3xx status code
func (*PostAPIKeyCompetitionIDLeaveOK) IsServerError ¶
func (o *PostAPIKeyCompetitionIDLeaveOK) IsServerError() bool
IsServerError returns true when this post Api key competition Id leave o k response has a 5xx status code
func (*PostAPIKeyCompetitionIDLeaveOK) IsSuccess ¶
func (o *PostAPIKeyCompetitionIDLeaveOK) IsSuccess() bool
IsSuccess returns true when this post Api key competition Id leave o k response has a 2xx status code
func (*PostAPIKeyCompetitionIDLeaveOK) String ¶
func (o *PostAPIKeyCompetitionIDLeaveOK) String() string
type PostAPIKeyCompetitionIDLeaveParams ¶
type PostAPIKeyCompetitionIDLeaveParams struct {
/* ID.
Competition Id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyCompetitionIDLeaveParams contains all the parameters to send to the API endpoint
for the post API key competition ID leave operation. Typically these are written to a http.Request.
func NewPostAPIKeyCompetitionIDLeaveParams ¶
func NewPostAPIKeyCompetitionIDLeaveParams() *PostAPIKeyCompetitionIDLeaveParams
NewPostAPIKeyCompetitionIDLeaveParams creates a new PostAPIKeyCompetitionIDLeaveParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIKeyCompetitionIDLeaveParamsWithContext ¶
func NewPostAPIKeyCompetitionIDLeaveParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionIDLeaveParams
NewPostAPIKeyCompetitionIDLeaveParamsWithContext creates a new PostAPIKeyCompetitionIDLeaveParams object with the ability to set a context for a request.
func NewPostAPIKeyCompetitionIDLeaveParamsWithHTTPClient ¶
func NewPostAPIKeyCompetitionIDLeaveParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionIDLeaveParams
NewPostAPIKeyCompetitionIDLeaveParamsWithHTTPClient creates a new PostAPIKeyCompetitionIDLeaveParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyCompetitionIDLeaveParamsWithTimeout ¶
func NewPostAPIKeyCompetitionIDLeaveParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionIDLeaveParams
NewPostAPIKeyCompetitionIDLeaveParamsWithTimeout creates a new PostAPIKeyCompetitionIDLeaveParams object with the ability to set a timeout on a request.
func (*PostAPIKeyCompetitionIDLeaveParams) SetContext ¶
func (o *PostAPIKeyCompetitionIDLeaveParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key competition ID leave params
func (*PostAPIKeyCompetitionIDLeaveParams) SetDefaults ¶
func (o *PostAPIKeyCompetitionIDLeaveParams) SetDefaults()
SetDefaults hydrates default values in the post API key competition ID leave params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionIDLeaveParams) SetHTTPClient ¶
func (o *PostAPIKeyCompetitionIDLeaveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key competition ID leave params
func (*PostAPIKeyCompetitionIDLeaveParams) SetID ¶
func (o *PostAPIKeyCompetitionIDLeaveParams) SetID(id string)
SetID adds the id to the post API key competition ID leave params
func (*PostAPIKeyCompetitionIDLeaveParams) SetTimeout ¶
func (o *PostAPIKeyCompetitionIDLeaveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key competition ID leave params
func (*PostAPIKeyCompetitionIDLeaveParams) WithContext ¶
func (o *PostAPIKeyCompetitionIDLeaveParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionIDLeaveParams
WithContext adds the context to the post API key competition ID leave params
func (*PostAPIKeyCompetitionIDLeaveParams) WithDefaults ¶
func (o *PostAPIKeyCompetitionIDLeaveParams) WithDefaults() *PostAPIKeyCompetitionIDLeaveParams
WithDefaults hydrates default values in the post API key competition ID leave params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionIDLeaveParams) WithHTTPClient ¶
func (o *PostAPIKeyCompetitionIDLeaveParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionIDLeaveParams
WithHTTPClient adds the HTTPClient to the post API key competition ID leave params
func (*PostAPIKeyCompetitionIDLeaveParams) WithID ¶
func (o *PostAPIKeyCompetitionIDLeaveParams) WithID(id string) *PostAPIKeyCompetitionIDLeaveParams
WithID adds the id to the post API key competition ID leave params
func (*PostAPIKeyCompetitionIDLeaveParams) WithTimeout ¶
func (o *PostAPIKeyCompetitionIDLeaveParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionIDLeaveParams
WithTimeout adds the timeout to the post API key competition ID leave params
func (*PostAPIKeyCompetitionIDLeaveParams) WriteToRequest ¶
func (o *PostAPIKeyCompetitionIDLeaveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyCompetitionIDLeaveReader ¶
type PostAPIKeyCompetitionIDLeaveReader struct {
// contains filtered or unexported fields
}
PostAPIKeyCompetitionIDLeaveReader is a Reader for the PostAPIKeyCompetitionIDLeave structure.
func (*PostAPIKeyCompetitionIDLeaveReader) ReadResponse ¶
func (o *PostAPIKeyCompetitionIDLeaveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyCompetitionInternalServerError ¶
type PostAPIKeyCompetitionInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyCompetitionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyCompetitionInternalServerError ¶
func NewPostAPIKeyCompetitionInternalServerError() *PostAPIKeyCompetitionInternalServerError
NewPostAPIKeyCompetitionInternalServerError creates a PostAPIKeyCompetitionInternalServerError with default headers values
func (*PostAPIKeyCompetitionInternalServerError) Code ¶
func (o *PostAPIKeyCompetitionInternalServerError) Code() int
Code gets the status code for the post Api key competition internal server error response
func (*PostAPIKeyCompetitionInternalServerError) Error ¶
func (o *PostAPIKeyCompetitionInternalServerError) Error() string
func (*PostAPIKeyCompetitionInternalServerError) GetPayload ¶
func (o *PostAPIKeyCompetitionInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyCompetitionInternalServerError) IsClientError ¶
func (o *PostAPIKeyCompetitionInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key competition internal server error response has a 4xx status code
func (*PostAPIKeyCompetitionInternalServerError) IsCode ¶
func (o *PostAPIKeyCompetitionInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key competition internal server error response a status code equal to that given
func (*PostAPIKeyCompetitionInternalServerError) IsRedirect ¶
func (o *PostAPIKeyCompetitionInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key competition internal server error response has a 3xx status code
func (*PostAPIKeyCompetitionInternalServerError) IsServerError ¶
func (o *PostAPIKeyCompetitionInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key competition internal server error response has a 5xx status code
func (*PostAPIKeyCompetitionInternalServerError) IsSuccess ¶
func (o *PostAPIKeyCompetitionInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key competition internal server error response has a 2xx status code
func (*PostAPIKeyCompetitionInternalServerError) String ¶
func (o *PostAPIKeyCompetitionInternalServerError) String() string
type PostAPIKeyCompetitionListBadRequest ¶
type PostAPIKeyCompetitionListBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyCompetitionListBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyCompetitionListBadRequest ¶
func NewPostAPIKeyCompetitionListBadRequest() *PostAPIKeyCompetitionListBadRequest
NewPostAPIKeyCompetitionListBadRequest creates a PostAPIKeyCompetitionListBadRequest with default headers values
func (*PostAPIKeyCompetitionListBadRequest) Code ¶
func (o *PostAPIKeyCompetitionListBadRequest) Code() int
Code gets the status code for the post Api key competition list bad request response
func (*PostAPIKeyCompetitionListBadRequest) Error ¶
func (o *PostAPIKeyCompetitionListBadRequest) Error() string
func (*PostAPIKeyCompetitionListBadRequest) GetPayload ¶
func (o *PostAPIKeyCompetitionListBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyCompetitionListBadRequest) IsClientError ¶
func (o *PostAPIKeyCompetitionListBadRequest) IsClientError() bool
IsClientError returns true when this post Api key competition list bad request response has a 4xx status code
func (*PostAPIKeyCompetitionListBadRequest) IsCode ¶
func (o *PostAPIKeyCompetitionListBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key competition list bad request response a status code equal to that given
func (*PostAPIKeyCompetitionListBadRequest) IsRedirect ¶
func (o *PostAPIKeyCompetitionListBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key competition list bad request response has a 3xx status code
func (*PostAPIKeyCompetitionListBadRequest) IsServerError ¶
func (o *PostAPIKeyCompetitionListBadRequest) IsServerError() bool
IsServerError returns true when this post Api key competition list bad request response has a 5xx status code
func (*PostAPIKeyCompetitionListBadRequest) IsSuccess ¶
func (o *PostAPIKeyCompetitionListBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key competition list bad request response has a 2xx status code
func (*PostAPIKeyCompetitionListBadRequest) String ¶
func (o *PostAPIKeyCompetitionListBadRequest) String() string
type PostAPIKeyCompetitionListInternalServerError ¶
type PostAPIKeyCompetitionListInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyCompetitionListInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyCompetitionListInternalServerError ¶
func NewPostAPIKeyCompetitionListInternalServerError() *PostAPIKeyCompetitionListInternalServerError
NewPostAPIKeyCompetitionListInternalServerError creates a PostAPIKeyCompetitionListInternalServerError with default headers values
func (*PostAPIKeyCompetitionListInternalServerError) Code ¶
func (o *PostAPIKeyCompetitionListInternalServerError) Code() int
Code gets the status code for the post Api key competition list internal server error response
func (*PostAPIKeyCompetitionListInternalServerError) Error ¶
func (o *PostAPIKeyCompetitionListInternalServerError) Error() string
func (*PostAPIKeyCompetitionListInternalServerError) GetPayload ¶
func (o *PostAPIKeyCompetitionListInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyCompetitionListInternalServerError) IsClientError ¶
func (o *PostAPIKeyCompetitionListInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key competition list internal server error response has a 4xx status code
func (*PostAPIKeyCompetitionListInternalServerError) IsCode ¶
func (o *PostAPIKeyCompetitionListInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key competition list internal server error response a status code equal to that given
func (*PostAPIKeyCompetitionListInternalServerError) IsRedirect ¶
func (o *PostAPIKeyCompetitionListInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key competition list internal server error response has a 3xx status code
func (*PostAPIKeyCompetitionListInternalServerError) IsServerError ¶
func (o *PostAPIKeyCompetitionListInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key competition list internal server error response has a 5xx status code
func (*PostAPIKeyCompetitionListInternalServerError) IsSuccess ¶
func (o *PostAPIKeyCompetitionListInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key competition list internal server error response has a 2xx status code
func (*PostAPIKeyCompetitionListInternalServerError) String ¶
func (o *PostAPIKeyCompetitionListInternalServerError) String() string
type PostAPIKeyCompetitionListOK ¶
type PostAPIKeyCompetitionListOK struct {
Payload *models.ResponseCompetitionListResponse
}
PostAPIKeyCompetitionListOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyCompetitionListOK ¶
func NewPostAPIKeyCompetitionListOK() *PostAPIKeyCompetitionListOK
NewPostAPIKeyCompetitionListOK creates a PostAPIKeyCompetitionListOK with default headers values
func (*PostAPIKeyCompetitionListOK) Code ¶
func (o *PostAPIKeyCompetitionListOK) Code() int
Code gets the status code for the post Api key competition list o k response
func (*PostAPIKeyCompetitionListOK) Error ¶
func (o *PostAPIKeyCompetitionListOK) Error() string
func (*PostAPIKeyCompetitionListOK) GetPayload ¶
func (o *PostAPIKeyCompetitionListOK) GetPayload() *models.ResponseCompetitionListResponse
func (*PostAPIKeyCompetitionListOK) IsClientError ¶
func (o *PostAPIKeyCompetitionListOK) IsClientError() bool
IsClientError returns true when this post Api key competition list o k response has a 4xx status code
func (*PostAPIKeyCompetitionListOK) IsCode ¶
func (o *PostAPIKeyCompetitionListOK) IsCode(code int) bool
IsCode returns true when this post Api key competition list o k response a status code equal to that given
func (*PostAPIKeyCompetitionListOK) IsRedirect ¶
func (o *PostAPIKeyCompetitionListOK) IsRedirect() bool
IsRedirect returns true when this post Api key competition list o k response has a 3xx status code
func (*PostAPIKeyCompetitionListOK) IsServerError ¶
func (o *PostAPIKeyCompetitionListOK) IsServerError() bool
IsServerError returns true when this post Api key competition list o k response has a 5xx status code
func (*PostAPIKeyCompetitionListOK) IsSuccess ¶
func (o *PostAPIKeyCompetitionListOK) IsSuccess() bool
IsSuccess returns true when this post Api key competition list o k response has a 2xx status code
func (*PostAPIKeyCompetitionListOK) String ¶
func (o *PostAPIKeyCompetitionListOK) String() string
type PostAPIKeyCompetitionListParams ¶
type PostAPIKeyCompetitionListParams struct {
/* Input.
Filter options
*/
Input *models.RequestGetCompetitionListRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyCompetitionListParams contains all the parameters to send to the API endpoint
for the post API key competition list operation. Typically these are written to a http.Request.
func NewPostAPIKeyCompetitionListParams ¶
func NewPostAPIKeyCompetitionListParams() *PostAPIKeyCompetitionListParams
NewPostAPIKeyCompetitionListParams creates a new PostAPIKeyCompetitionListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIKeyCompetitionListParamsWithContext ¶
func NewPostAPIKeyCompetitionListParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionListParams
NewPostAPIKeyCompetitionListParamsWithContext creates a new PostAPIKeyCompetitionListParams object with the ability to set a context for a request.
func NewPostAPIKeyCompetitionListParamsWithHTTPClient ¶
func NewPostAPIKeyCompetitionListParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionListParams
NewPostAPIKeyCompetitionListParamsWithHTTPClient creates a new PostAPIKeyCompetitionListParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyCompetitionListParamsWithTimeout ¶
func NewPostAPIKeyCompetitionListParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionListParams
NewPostAPIKeyCompetitionListParamsWithTimeout creates a new PostAPIKeyCompetitionListParams object with the ability to set a timeout on a request.
func (*PostAPIKeyCompetitionListParams) SetContext ¶
func (o *PostAPIKeyCompetitionListParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key competition list params
func (*PostAPIKeyCompetitionListParams) SetDefaults ¶
func (o *PostAPIKeyCompetitionListParams) SetDefaults()
SetDefaults hydrates default values in the post API key competition list params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionListParams) SetHTTPClient ¶
func (o *PostAPIKeyCompetitionListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key competition list params
func (*PostAPIKeyCompetitionListParams) SetInput ¶
func (o *PostAPIKeyCompetitionListParams) SetInput(input *models.RequestGetCompetitionListRequest)
SetInput adds the input to the post API key competition list params
func (*PostAPIKeyCompetitionListParams) SetTimeout ¶
func (o *PostAPIKeyCompetitionListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key competition list params
func (*PostAPIKeyCompetitionListParams) WithContext ¶
func (o *PostAPIKeyCompetitionListParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionListParams
WithContext adds the context to the post API key competition list params
func (*PostAPIKeyCompetitionListParams) WithDefaults ¶
func (o *PostAPIKeyCompetitionListParams) WithDefaults() *PostAPIKeyCompetitionListParams
WithDefaults hydrates default values in the post API key competition list params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionListParams) WithHTTPClient ¶
func (o *PostAPIKeyCompetitionListParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionListParams
WithHTTPClient adds the HTTPClient to the post API key competition list params
func (*PostAPIKeyCompetitionListParams) WithInput ¶
func (o *PostAPIKeyCompetitionListParams) WithInput(input *models.RequestGetCompetitionListRequest) *PostAPIKeyCompetitionListParams
WithInput adds the input to the post API key competition list params
func (*PostAPIKeyCompetitionListParams) WithTimeout ¶
func (o *PostAPIKeyCompetitionListParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionListParams
WithTimeout adds the timeout to the post API key competition list params
func (*PostAPIKeyCompetitionListParams) WriteToRequest ¶
func (o *PostAPIKeyCompetitionListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyCompetitionListReader ¶
type PostAPIKeyCompetitionListReader struct {
// contains filtered or unexported fields
}
PostAPIKeyCompetitionListReader is a Reader for the PostAPIKeyCompetitionList structure.
func (*PostAPIKeyCompetitionListReader) ReadResponse ¶
func (o *PostAPIKeyCompetitionListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyCompetitionOK ¶
type PostAPIKeyCompetitionOK struct {
Payload *models.ResponseCompetitionResponse
}
PostAPIKeyCompetitionOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyCompetitionOK ¶
func NewPostAPIKeyCompetitionOK() *PostAPIKeyCompetitionOK
NewPostAPIKeyCompetitionOK creates a PostAPIKeyCompetitionOK with default headers values
func (*PostAPIKeyCompetitionOK) Code ¶
func (o *PostAPIKeyCompetitionOK) Code() int
Code gets the status code for the post Api key competition o k response
func (*PostAPIKeyCompetitionOK) Error ¶
func (o *PostAPIKeyCompetitionOK) Error() string
func (*PostAPIKeyCompetitionOK) GetPayload ¶
func (o *PostAPIKeyCompetitionOK) GetPayload() *models.ResponseCompetitionResponse
func (*PostAPIKeyCompetitionOK) IsClientError ¶
func (o *PostAPIKeyCompetitionOK) IsClientError() bool
IsClientError returns true when this post Api key competition o k response has a 4xx status code
func (*PostAPIKeyCompetitionOK) IsCode ¶
func (o *PostAPIKeyCompetitionOK) IsCode(code int) bool
IsCode returns true when this post Api key competition o k response a status code equal to that given
func (*PostAPIKeyCompetitionOK) IsRedirect ¶
func (o *PostAPIKeyCompetitionOK) IsRedirect() bool
IsRedirect returns true when this post Api key competition o k response has a 3xx status code
func (*PostAPIKeyCompetitionOK) IsServerError ¶
func (o *PostAPIKeyCompetitionOK) IsServerError() bool
IsServerError returns true when this post Api key competition o k response has a 5xx status code
func (*PostAPIKeyCompetitionOK) IsSuccess ¶
func (o *PostAPIKeyCompetitionOK) IsSuccess() bool
IsSuccess returns true when this post Api key competition o k response has a 2xx status code
func (*PostAPIKeyCompetitionOK) String ¶
func (o *PostAPIKeyCompetitionOK) String() string
type PostAPIKeyCompetitionParams ¶
type PostAPIKeyCompetitionParams struct {
/* Input.
Create Competition Request
*/
Input *models.RequestCreateCompetitionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyCompetitionParams contains all the parameters to send to the API endpoint
for the post API key competition operation. Typically these are written to a http.Request.
func NewPostAPIKeyCompetitionParams ¶
func NewPostAPIKeyCompetitionParams() *PostAPIKeyCompetitionParams
NewPostAPIKeyCompetitionParams creates a new PostAPIKeyCompetitionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIKeyCompetitionParamsWithContext ¶
func NewPostAPIKeyCompetitionParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionParams
NewPostAPIKeyCompetitionParamsWithContext creates a new PostAPIKeyCompetitionParams object with the ability to set a context for a request.
func NewPostAPIKeyCompetitionParamsWithHTTPClient ¶
func NewPostAPIKeyCompetitionParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionParams
NewPostAPIKeyCompetitionParamsWithHTTPClient creates a new PostAPIKeyCompetitionParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyCompetitionParamsWithTimeout ¶
func NewPostAPIKeyCompetitionParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionParams
NewPostAPIKeyCompetitionParamsWithTimeout creates a new PostAPIKeyCompetitionParams object with the ability to set a timeout on a request.
func (*PostAPIKeyCompetitionParams) SetContext ¶
func (o *PostAPIKeyCompetitionParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key competition params
func (*PostAPIKeyCompetitionParams) SetDefaults ¶
func (o *PostAPIKeyCompetitionParams) SetDefaults()
SetDefaults hydrates default values in the post API key competition params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionParams) SetHTTPClient ¶
func (o *PostAPIKeyCompetitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key competition params
func (*PostAPIKeyCompetitionParams) SetInput ¶
func (o *PostAPIKeyCompetitionParams) SetInput(input *models.RequestCreateCompetitionRequest)
SetInput adds the input to the post API key competition params
func (*PostAPIKeyCompetitionParams) SetTimeout ¶
func (o *PostAPIKeyCompetitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key competition params
func (*PostAPIKeyCompetitionParams) WithContext ¶
func (o *PostAPIKeyCompetitionParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionParams
WithContext adds the context to the post API key competition params
func (*PostAPIKeyCompetitionParams) WithDefaults ¶
func (o *PostAPIKeyCompetitionParams) WithDefaults() *PostAPIKeyCompetitionParams
WithDefaults hydrates default values in the post API key competition params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionParams) WithHTTPClient ¶
func (o *PostAPIKeyCompetitionParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionParams
WithHTTPClient adds the HTTPClient to the post API key competition params
func (*PostAPIKeyCompetitionParams) WithInput ¶
func (o *PostAPIKeyCompetitionParams) WithInput(input *models.RequestCreateCompetitionRequest) *PostAPIKeyCompetitionParams
WithInput adds the input to the post API key competition params
func (*PostAPIKeyCompetitionParams) WithTimeout ¶
func (o *PostAPIKeyCompetitionParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionParams
WithTimeout adds the timeout to the post API key competition params
func (*PostAPIKeyCompetitionParams) WriteToRequest ¶
func (o *PostAPIKeyCompetitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyCompetitionPreSubmitBadRequest ¶
type PostAPIKeyCompetitionPreSubmitBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyCompetitionPreSubmitBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyCompetitionPreSubmitBadRequest ¶
func NewPostAPIKeyCompetitionPreSubmitBadRequest() *PostAPIKeyCompetitionPreSubmitBadRequest
NewPostAPIKeyCompetitionPreSubmitBadRequest creates a PostAPIKeyCompetitionPreSubmitBadRequest with default headers values
func (*PostAPIKeyCompetitionPreSubmitBadRequest) Code ¶
func (o *PostAPIKeyCompetitionPreSubmitBadRequest) Code() int
Code gets the status code for the post Api key competition pre submit bad request response
func (*PostAPIKeyCompetitionPreSubmitBadRequest) Error ¶
func (o *PostAPIKeyCompetitionPreSubmitBadRequest) Error() string
func (*PostAPIKeyCompetitionPreSubmitBadRequest) GetPayload ¶
func (o *PostAPIKeyCompetitionPreSubmitBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyCompetitionPreSubmitBadRequest) IsClientError ¶
func (o *PostAPIKeyCompetitionPreSubmitBadRequest) IsClientError() bool
IsClientError returns true when this post Api key competition pre submit bad request response has a 4xx status code
func (*PostAPIKeyCompetitionPreSubmitBadRequest) IsCode ¶
func (o *PostAPIKeyCompetitionPreSubmitBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key competition pre submit bad request response a status code equal to that given
func (*PostAPIKeyCompetitionPreSubmitBadRequest) IsRedirect ¶
func (o *PostAPIKeyCompetitionPreSubmitBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key competition pre submit bad request response has a 3xx status code
func (*PostAPIKeyCompetitionPreSubmitBadRequest) IsServerError ¶
func (o *PostAPIKeyCompetitionPreSubmitBadRequest) IsServerError() bool
IsServerError returns true when this post Api key competition pre submit bad request response has a 5xx status code
func (*PostAPIKeyCompetitionPreSubmitBadRequest) IsSuccess ¶
func (o *PostAPIKeyCompetitionPreSubmitBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key competition pre submit bad request response has a 2xx status code
func (*PostAPIKeyCompetitionPreSubmitBadRequest) String ¶
func (o *PostAPIKeyCompetitionPreSubmitBadRequest) String() string
type PostAPIKeyCompetitionPreSubmitInternalServerError ¶
type PostAPIKeyCompetitionPreSubmitInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyCompetitionPreSubmitInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyCompetitionPreSubmitInternalServerError ¶
func NewPostAPIKeyCompetitionPreSubmitInternalServerError() *PostAPIKeyCompetitionPreSubmitInternalServerError
NewPostAPIKeyCompetitionPreSubmitInternalServerError creates a PostAPIKeyCompetitionPreSubmitInternalServerError with default headers values
func (*PostAPIKeyCompetitionPreSubmitInternalServerError) Code ¶
func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) Code() int
Code gets the status code for the post Api key competition pre submit internal server error response
func (*PostAPIKeyCompetitionPreSubmitInternalServerError) Error ¶
func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) Error() string
func (*PostAPIKeyCompetitionPreSubmitInternalServerError) GetPayload ¶
func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyCompetitionPreSubmitInternalServerError) IsClientError ¶
func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key competition pre submit internal server error response has a 4xx status code
func (*PostAPIKeyCompetitionPreSubmitInternalServerError) IsCode ¶
func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key competition pre submit internal server error response a status code equal to that given
func (*PostAPIKeyCompetitionPreSubmitInternalServerError) IsRedirect ¶
func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key competition pre submit internal server error response has a 3xx status code
func (*PostAPIKeyCompetitionPreSubmitInternalServerError) IsServerError ¶
func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key competition pre submit internal server error response has a 5xx status code
func (*PostAPIKeyCompetitionPreSubmitInternalServerError) IsSuccess ¶
func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key competition pre submit internal server error response has a 2xx status code
func (*PostAPIKeyCompetitionPreSubmitInternalServerError) String ¶
func (o *PostAPIKeyCompetitionPreSubmitInternalServerError) String() string
type PostAPIKeyCompetitionPreSubmitOK ¶
type PostAPIKeyCompetitionPreSubmitOK struct {
Payload *models.ResponseSuccessResponse
}
PostAPIKeyCompetitionPreSubmitOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyCompetitionPreSubmitOK ¶
func NewPostAPIKeyCompetitionPreSubmitOK() *PostAPIKeyCompetitionPreSubmitOK
NewPostAPIKeyCompetitionPreSubmitOK creates a PostAPIKeyCompetitionPreSubmitOK with default headers values
func (*PostAPIKeyCompetitionPreSubmitOK) Code ¶
func (o *PostAPIKeyCompetitionPreSubmitOK) Code() int
Code gets the status code for the post Api key competition pre submit o k response
func (*PostAPIKeyCompetitionPreSubmitOK) Error ¶
func (o *PostAPIKeyCompetitionPreSubmitOK) Error() string
func (*PostAPIKeyCompetitionPreSubmitOK) GetPayload ¶
func (o *PostAPIKeyCompetitionPreSubmitOK) GetPayload() *models.ResponseSuccessResponse
func (*PostAPIKeyCompetitionPreSubmitOK) IsClientError ¶
func (o *PostAPIKeyCompetitionPreSubmitOK) IsClientError() bool
IsClientError returns true when this post Api key competition pre submit o k response has a 4xx status code
func (*PostAPIKeyCompetitionPreSubmitOK) IsCode ¶
func (o *PostAPIKeyCompetitionPreSubmitOK) IsCode(code int) bool
IsCode returns true when this post Api key competition pre submit o k response a status code equal to that given
func (*PostAPIKeyCompetitionPreSubmitOK) IsRedirect ¶
func (o *PostAPIKeyCompetitionPreSubmitOK) IsRedirect() bool
IsRedirect returns true when this post Api key competition pre submit o k response has a 3xx status code
func (*PostAPIKeyCompetitionPreSubmitOK) IsServerError ¶
func (o *PostAPIKeyCompetitionPreSubmitOK) IsServerError() bool
IsServerError returns true when this post Api key competition pre submit o k response has a 5xx status code
func (*PostAPIKeyCompetitionPreSubmitOK) IsSuccess ¶
func (o *PostAPIKeyCompetitionPreSubmitOK) IsSuccess() bool
IsSuccess returns true when this post Api key competition pre submit o k response has a 2xx status code
func (*PostAPIKeyCompetitionPreSubmitOK) String ¶
func (o *PostAPIKeyCompetitionPreSubmitOK) String() string
type PostAPIKeyCompetitionPreSubmitParams ¶
type PostAPIKeyCompetitionPreSubmitParams struct {
/* Input.
Check Valid Repo To Submit Data Request
*/
Input *models.RequestCheckValidRepoToEvaluateModelRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyCompetitionPreSubmitParams contains all the parameters to send to the API endpoint
for the post API key competition pre submit operation. Typically these are written to a http.Request.
func NewPostAPIKeyCompetitionPreSubmitParams ¶
func NewPostAPIKeyCompetitionPreSubmitParams() *PostAPIKeyCompetitionPreSubmitParams
NewPostAPIKeyCompetitionPreSubmitParams creates a new PostAPIKeyCompetitionPreSubmitParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIKeyCompetitionPreSubmitParamsWithContext ¶
func NewPostAPIKeyCompetitionPreSubmitParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionPreSubmitParams
NewPostAPIKeyCompetitionPreSubmitParamsWithContext creates a new PostAPIKeyCompetitionPreSubmitParams object with the ability to set a context for a request.
func NewPostAPIKeyCompetitionPreSubmitParamsWithHTTPClient ¶
func NewPostAPIKeyCompetitionPreSubmitParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionPreSubmitParams
NewPostAPIKeyCompetitionPreSubmitParamsWithHTTPClient creates a new PostAPIKeyCompetitionPreSubmitParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyCompetitionPreSubmitParamsWithTimeout ¶
func NewPostAPIKeyCompetitionPreSubmitParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionPreSubmitParams
NewPostAPIKeyCompetitionPreSubmitParamsWithTimeout creates a new PostAPIKeyCompetitionPreSubmitParams object with the ability to set a timeout on a request.
func (*PostAPIKeyCompetitionPreSubmitParams) SetContext ¶
func (o *PostAPIKeyCompetitionPreSubmitParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key competition pre submit params
func (*PostAPIKeyCompetitionPreSubmitParams) SetDefaults ¶
func (o *PostAPIKeyCompetitionPreSubmitParams) SetDefaults()
SetDefaults hydrates default values in the post API key competition pre submit params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionPreSubmitParams) SetHTTPClient ¶
func (o *PostAPIKeyCompetitionPreSubmitParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key competition pre submit params
func (*PostAPIKeyCompetitionPreSubmitParams) SetInput ¶
func (o *PostAPIKeyCompetitionPreSubmitParams) SetInput(input *models.RequestCheckValidRepoToEvaluateModelRequest)
SetInput adds the input to the post API key competition pre submit params
func (*PostAPIKeyCompetitionPreSubmitParams) SetTimeout ¶
func (o *PostAPIKeyCompetitionPreSubmitParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key competition pre submit params
func (*PostAPIKeyCompetitionPreSubmitParams) WithContext ¶
func (o *PostAPIKeyCompetitionPreSubmitParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionPreSubmitParams
WithContext adds the context to the post API key competition pre submit params
func (*PostAPIKeyCompetitionPreSubmitParams) WithDefaults ¶
func (o *PostAPIKeyCompetitionPreSubmitParams) WithDefaults() *PostAPIKeyCompetitionPreSubmitParams
WithDefaults hydrates default values in the post API key competition pre submit params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionPreSubmitParams) WithHTTPClient ¶
func (o *PostAPIKeyCompetitionPreSubmitParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionPreSubmitParams
WithHTTPClient adds the HTTPClient to the post API key competition pre submit params
func (*PostAPIKeyCompetitionPreSubmitParams) WithInput ¶
func (o *PostAPIKeyCompetitionPreSubmitParams) WithInput(input *models.RequestCheckValidRepoToEvaluateModelRequest) *PostAPIKeyCompetitionPreSubmitParams
WithInput adds the input to the post API key competition pre submit params
func (*PostAPIKeyCompetitionPreSubmitParams) WithTimeout ¶
func (o *PostAPIKeyCompetitionPreSubmitParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionPreSubmitParams
WithTimeout adds the timeout to the post API key competition pre submit params
func (*PostAPIKeyCompetitionPreSubmitParams) WriteToRequest ¶
func (o *PostAPIKeyCompetitionPreSubmitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyCompetitionPreSubmitReader ¶
type PostAPIKeyCompetitionPreSubmitReader struct {
// contains filtered or unexported fields
}
PostAPIKeyCompetitionPreSubmitReader is a Reader for the PostAPIKeyCompetitionPreSubmit structure.
func (*PostAPIKeyCompetitionPreSubmitReader) ReadResponse ¶
func (o *PostAPIKeyCompetitionPreSubmitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyCompetitionReader ¶
type PostAPIKeyCompetitionReader struct {
// contains filtered or unexported fields
}
PostAPIKeyCompetitionReader is a Reader for the PostAPIKeyCompetition structure.
func (*PostAPIKeyCompetitionReader) ReadResponse ¶
func (o *PostAPIKeyCompetitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyCompetitionSubmitBadRequest ¶
type PostAPIKeyCompetitionSubmitBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyCompetitionSubmitBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyCompetitionSubmitBadRequest ¶
func NewPostAPIKeyCompetitionSubmitBadRequest() *PostAPIKeyCompetitionSubmitBadRequest
NewPostAPIKeyCompetitionSubmitBadRequest creates a PostAPIKeyCompetitionSubmitBadRequest with default headers values
func (*PostAPIKeyCompetitionSubmitBadRequest) Code ¶
func (o *PostAPIKeyCompetitionSubmitBadRequest) Code() int
Code gets the status code for the post Api key competition submit bad request response
func (*PostAPIKeyCompetitionSubmitBadRequest) Error ¶
func (o *PostAPIKeyCompetitionSubmitBadRequest) Error() string
func (*PostAPIKeyCompetitionSubmitBadRequest) GetPayload ¶
func (o *PostAPIKeyCompetitionSubmitBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyCompetitionSubmitBadRequest) IsClientError ¶
func (o *PostAPIKeyCompetitionSubmitBadRequest) IsClientError() bool
IsClientError returns true when this post Api key competition submit bad request response has a 4xx status code
func (*PostAPIKeyCompetitionSubmitBadRequest) IsCode ¶
func (o *PostAPIKeyCompetitionSubmitBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key competition submit bad request response a status code equal to that given
func (*PostAPIKeyCompetitionSubmitBadRequest) IsRedirect ¶
func (o *PostAPIKeyCompetitionSubmitBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key competition submit bad request response has a 3xx status code
func (*PostAPIKeyCompetitionSubmitBadRequest) IsServerError ¶
func (o *PostAPIKeyCompetitionSubmitBadRequest) IsServerError() bool
IsServerError returns true when this post Api key competition submit bad request response has a 5xx status code
func (*PostAPIKeyCompetitionSubmitBadRequest) IsSuccess ¶
func (o *PostAPIKeyCompetitionSubmitBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key competition submit bad request response has a 2xx status code
func (*PostAPIKeyCompetitionSubmitBadRequest) String ¶
func (o *PostAPIKeyCompetitionSubmitBadRequest) String() string
type PostAPIKeyCompetitionSubmitCostBadRequest ¶
type PostAPIKeyCompetitionSubmitCostBadRequest struct {
Payload *models.ResponseFailResponse
}
PostAPIKeyCompetitionSubmitCostBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIKeyCompetitionSubmitCostBadRequest ¶
func NewPostAPIKeyCompetitionSubmitCostBadRequest() *PostAPIKeyCompetitionSubmitCostBadRequest
NewPostAPIKeyCompetitionSubmitCostBadRequest creates a PostAPIKeyCompetitionSubmitCostBadRequest with default headers values
func (*PostAPIKeyCompetitionSubmitCostBadRequest) Code ¶
func (o *PostAPIKeyCompetitionSubmitCostBadRequest) Code() int
Code gets the status code for the post Api key competition submit cost bad request response
func (*PostAPIKeyCompetitionSubmitCostBadRequest) Error ¶
func (o *PostAPIKeyCompetitionSubmitCostBadRequest) Error() string
func (*PostAPIKeyCompetitionSubmitCostBadRequest) GetPayload ¶
func (o *PostAPIKeyCompetitionSubmitCostBadRequest) GetPayload() *models.ResponseFailResponse
func (*PostAPIKeyCompetitionSubmitCostBadRequest) IsClientError ¶
func (o *PostAPIKeyCompetitionSubmitCostBadRequest) IsClientError() bool
IsClientError returns true when this post Api key competition submit cost bad request response has a 4xx status code
func (*PostAPIKeyCompetitionSubmitCostBadRequest) IsCode ¶
func (o *PostAPIKeyCompetitionSubmitCostBadRequest) IsCode(code int) bool
IsCode returns true when this post Api key competition submit cost bad request response a status code equal to that given
func (*PostAPIKeyCompetitionSubmitCostBadRequest) IsRedirect ¶
func (o *PostAPIKeyCompetitionSubmitCostBadRequest) IsRedirect() bool
IsRedirect returns true when this post Api key competition submit cost bad request response has a 3xx status code
func (*PostAPIKeyCompetitionSubmitCostBadRequest) IsServerError ¶
func (o *PostAPIKeyCompetitionSubmitCostBadRequest) IsServerError() bool
IsServerError returns true when this post Api key competition submit cost bad request response has a 5xx status code
func (*PostAPIKeyCompetitionSubmitCostBadRequest) IsSuccess ¶
func (o *PostAPIKeyCompetitionSubmitCostBadRequest) IsSuccess() bool
IsSuccess returns true when this post Api key competition submit cost bad request response has a 2xx status code
func (*PostAPIKeyCompetitionSubmitCostBadRequest) String ¶
func (o *PostAPIKeyCompetitionSubmitCostBadRequest) String() string
type PostAPIKeyCompetitionSubmitCostInternalServerError ¶
type PostAPIKeyCompetitionSubmitCostInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyCompetitionSubmitCostInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyCompetitionSubmitCostInternalServerError ¶
func NewPostAPIKeyCompetitionSubmitCostInternalServerError() *PostAPIKeyCompetitionSubmitCostInternalServerError
NewPostAPIKeyCompetitionSubmitCostInternalServerError creates a PostAPIKeyCompetitionSubmitCostInternalServerError with default headers values
func (*PostAPIKeyCompetitionSubmitCostInternalServerError) Code ¶
func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) Code() int
Code gets the status code for the post Api key competition submit cost internal server error response
func (*PostAPIKeyCompetitionSubmitCostInternalServerError) Error ¶
func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) Error() string
func (*PostAPIKeyCompetitionSubmitCostInternalServerError) GetPayload ¶
func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyCompetitionSubmitCostInternalServerError) IsClientError ¶
func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key competition submit cost internal server error response has a 4xx status code
func (*PostAPIKeyCompetitionSubmitCostInternalServerError) IsCode ¶
func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key competition submit cost internal server error response a status code equal to that given
func (*PostAPIKeyCompetitionSubmitCostInternalServerError) IsRedirect ¶
func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key competition submit cost internal server error response has a 3xx status code
func (*PostAPIKeyCompetitionSubmitCostInternalServerError) IsServerError ¶
func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key competition submit cost internal server error response has a 5xx status code
func (*PostAPIKeyCompetitionSubmitCostInternalServerError) IsSuccess ¶
func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key competition submit cost internal server error response has a 2xx status code
func (*PostAPIKeyCompetitionSubmitCostInternalServerError) String ¶
func (o *PostAPIKeyCompetitionSubmitCostInternalServerError) String() string
type PostAPIKeyCompetitionSubmitCostOK ¶
type PostAPIKeyCompetitionSubmitCostOK struct {
Payload *models.ResponseEstimateCostResponse
}
PostAPIKeyCompetitionSubmitCostOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyCompetitionSubmitCostOK ¶
func NewPostAPIKeyCompetitionSubmitCostOK() *PostAPIKeyCompetitionSubmitCostOK
NewPostAPIKeyCompetitionSubmitCostOK creates a PostAPIKeyCompetitionSubmitCostOK with default headers values
func (*PostAPIKeyCompetitionSubmitCostOK) Code ¶
func (o *PostAPIKeyCompetitionSubmitCostOK) Code() int
Code gets the status code for the post Api key competition submit cost o k response
func (*PostAPIKeyCompetitionSubmitCostOK) Error ¶
func (o *PostAPIKeyCompetitionSubmitCostOK) Error() string
func (*PostAPIKeyCompetitionSubmitCostOK) GetPayload ¶
func (o *PostAPIKeyCompetitionSubmitCostOK) GetPayload() *models.ResponseEstimateCostResponse
func (*PostAPIKeyCompetitionSubmitCostOK) IsClientError ¶
func (o *PostAPIKeyCompetitionSubmitCostOK) IsClientError() bool
IsClientError returns true when this post Api key competition submit cost o k response has a 4xx status code
func (*PostAPIKeyCompetitionSubmitCostOK) IsCode ¶
func (o *PostAPIKeyCompetitionSubmitCostOK) IsCode(code int) bool
IsCode returns true when this post Api key competition submit cost o k response a status code equal to that given
func (*PostAPIKeyCompetitionSubmitCostOK) IsRedirect ¶
func (o *PostAPIKeyCompetitionSubmitCostOK) IsRedirect() bool
IsRedirect returns true when this post Api key competition submit cost o k response has a 3xx status code
func (*PostAPIKeyCompetitionSubmitCostOK) IsServerError ¶
func (o *PostAPIKeyCompetitionSubmitCostOK) IsServerError() bool
IsServerError returns true when this post Api key competition submit cost o k response has a 5xx status code
func (*PostAPIKeyCompetitionSubmitCostOK) IsSuccess ¶
func (o *PostAPIKeyCompetitionSubmitCostOK) IsSuccess() bool
IsSuccess returns true when this post Api key competition submit cost o k response has a 2xx status code
func (*PostAPIKeyCompetitionSubmitCostOK) String ¶
func (o *PostAPIKeyCompetitionSubmitCostOK) String() string
type PostAPIKeyCompetitionSubmitCostParams ¶
type PostAPIKeyCompetitionSubmitCostParams struct {
/* Input.
Estimate Cost To Submit Data Request
*/
Input *models.RequestEstimateCostToEvaluateModelRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyCompetitionSubmitCostParams contains all the parameters to send to the API endpoint
for the post API key competition submit cost operation. Typically these are written to a http.Request.
func NewPostAPIKeyCompetitionSubmitCostParams ¶
func NewPostAPIKeyCompetitionSubmitCostParams() *PostAPIKeyCompetitionSubmitCostParams
NewPostAPIKeyCompetitionSubmitCostParams creates a new PostAPIKeyCompetitionSubmitCostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIKeyCompetitionSubmitCostParamsWithContext ¶
func NewPostAPIKeyCompetitionSubmitCostParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionSubmitCostParams
NewPostAPIKeyCompetitionSubmitCostParamsWithContext creates a new PostAPIKeyCompetitionSubmitCostParams object with the ability to set a context for a request.
func NewPostAPIKeyCompetitionSubmitCostParamsWithHTTPClient ¶
func NewPostAPIKeyCompetitionSubmitCostParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionSubmitCostParams
NewPostAPIKeyCompetitionSubmitCostParamsWithHTTPClient creates a new PostAPIKeyCompetitionSubmitCostParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyCompetitionSubmitCostParamsWithTimeout ¶
func NewPostAPIKeyCompetitionSubmitCostParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionSubmitCostParams
NewPostAPIKeyCompetitionSubmitCostParamsWithTimeout creates a new PostAPIKeyCompetitionSubmitCostParams object with the ability to set a timeout on a request.
func (*PostAPIKeyCompetitionSubmitCostParams) SetContext ¶
func (o *PostAPIKeyCompetitionSubmitCostParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key competition submit cost params
func (*PostAPIKeyCompetitionSubmitCostParams) SetDefaults ¶
func (o *PostAPIKeyCompetitionSubmitCostParams) SetDefaults()
SetDefaults hydrates default values in the post API key competition submit cost params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionSubmitCostParams) SetHTTPClient ¶
func (o *PostAPIKeyCompetitionSubmitCostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key competition submit cost params
func (*PostAPIKeyCompetitionSubmitCostParams) SetInput ¶
func (o *PostAPIKeyCompetitionSubmitCostParams) SetInput(input *models.RequestEstimateCostToEvaluateModelRequest)
SetInput adds the input to the post API key competition submit cost params
func (*PostAPIKeyCompetitionSubmitCostParams) SetTimeout ¶
func (o *PostAPIKeyCompetitionSubmitCostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key competition submit cost params
func (*PostAPIKeyCompetitionSubmitCostParams) WithContext ¶
func (o *PostAPIKeyCompetitionSubmitCostParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionSubmitCostParams
WithContext adds the context to the post API key competition submit cost params
func (*PostAPIKeyCompetitionSubmitCostParams) WithDefaults ¶
func (o *PostAPIKeyCompetitionSubmitCostParams) WithDefaults() *PostAPIKeyCompetitionSubmitCostParams
WithDefaults hydrates default values in the post API key competition submit cost params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionSubmitCostParams) WithHTTPClient ¶
func (o *PostAPIKeyCompetitionSubmitCostParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionSubmitCostParams
WithHTTPClient adds the HTTPClient to the post API key competition submit cost params
func (*PostAPIKeyCompetitionSubmitCostParams) WithInput ¶
func (o *PostAPIKeyCompetitionSubmitCostParams) WithInput(input *models.RequestEstimateCostToEvaluateModelRequest) *PostAPIKeyCompetitionSubmitCostParams
WithInput adds the input to the post API key competition submit cost params
func (*PostAPIKeyCompetitionSubmitCostParams) WithTimeout ¶
func (o *PostAPIKeyCompetitionSubmitCostParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionSubmitCostParams
WithTimeout adds the timeout to the post API key competition submit cost params
func (*PostAPIKeyCompetitionSubmitCostParams) WriteToRequest ¶
func (o *PostAPIKeyCompetitionSubmitCostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyCompetitionSubmitCostReader ¶
type PostAPIKeyCompetitionSubmitCostReader struct {
// contains filtered or unexported fields
}
PostAPIKeyCompetitionSubmitCostReader is a Reader for the PostAPIKeyCompetitionSubmitCost structure.
func (*PostAPIKeyCompetitionSubmitCostReader) ReadResponse ¶
func (o *PostAPIKeyCompetitionSubmitCostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PostAPIKeyCompetitionSubmitInternalServerError ¶
type PostAPIKeyCompetitionSubmitInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PostAPIKeyCompetitionSubmitInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIKeyCompetitionSubmitInternalServerError ¶
func NewPostAPIKeyCompetitionSubmitInternalServerError() *PostAPIKeyCompetitionSubmitInternalServerError
NewPostAPIKeyCompetitionSubmitInternalServerError creates a PostAPIKeyCompetitionSubmitInternalServerError with default headers values
func (*PostAPIKeyCompetitionSubmitInternalServerError) Code ¶
func (o *PostAPIKeyCompetitionSubmitInternalServerError) Code() int
Code gets the status code for the post Api key competition submit internal server error response
func (*PostAPIKeyCompetitionSubmitInternalServerError) Error ¶
func (o *PostAPIKeyCompetitionSubmitInternalServerError) Error() string
func (*PostAPIKeyCompetitionSubmitInternalServerError) GetPayload ¶
func (o *PostAPIKeyCompetitionSubmitInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PostAPIKeyCompetitionSubmitInternalServerError) IsClientError ¶
func (o *PostAPIKeyCompetitionSubmitInternalServerError) IsClientError() bool
IsClientError returns true when this post Api key competition submit internal server error response has a 4xx status code
func (*PostAPIKeyCompetitionSubmitInternalServerError) IsCode ¶
func (o *PostAPIKeyCompetitionSubmitInternalServerError) IsCode(code int) bool
IsCode returns true when this post Api key competition submit internal server error response a status code equal to that given
func (*PostAPIKeyCompetitionSubmitInternalServerError) IsRedirect ¶
func (o *PostAPIKeyCompetitionSubmitInternalServerError) IsRedirect() bool
IsRedirect returns true when this post Api key competition submit internal server error response has a 3xx status code
func (*PostAPIKeyCompetitionSubmitInternalServerError) IsServerError ¶
func (o *PostAPIKeyCompetitionSubmitInternalServerError) IsServerError() bool
IsServerError returns true when this post Api key competition submit internal server error response has a 5xx status code
func (*PostAPIKeyCompetitionSubmitInternalServerError) IsSuccess ¶
func (o *PostAPIKeyCompetitionSubmitInternalServerError) IsSuccess() bool
IsSuccess returns true when this post Api key competition submit internal server error response has a 2xx status code
func (*PostAPIKeyCompetitionSubmitInternalServerError) String ¶
func (o *PostAPIKeyCompetitionSubmitInternalServerError) String() string
type PostAPIKeyCompetitionSubmitOK ¶
type PostAPIKeyCompetitionSubmitOK struct {
Payload *models.ResponseSubmitHistoryResponse
}
PostAPIKeyCompetitionSubmitOK describes a response with status code 200, with default header values.
OK
func NewPostAPIKeyCompetitionSubmitOK ¶
func NewPostAPIKeyCompetitionSubmitOK() *PostAPIKeyCompetitionSubmitOK
NewPostAPIKeyCompetitionSubmitOK creates a PostAPIKeyCompetitionSubmitOK with default headers values
func (*PostAPIKeyCompetitionSubmitOK) Code ¶
func (o *PostAPIKeyCompetitionSubmitOK) Code() int
Code gets the status code for the post Api key competition submit o k response
func (*PostAPIKeyCompetitionSubmitOK) Error ¶
func (o *PostAPIKeyCompetitionSubmitOK) Error() string
func (*PostAPIKeyCompetitionSubmitOK) GetPayload ¶
func (o *PostAPIKeyCompetitionSubmitOK) GetPayload() *models.ResponseSubmitHistoryResponse
func (*PostAPIKeyCompetitionSubmitOK) IsClientError ¶
func (o *PostAPIKeyCompetitionSubmitOK) IsClientError() bool
IsClientError returns true when this post Api key competition submit o k response has a 4xx status code
func (*PostAPIKeyCompetitionSubmitOK) IsCode ¶
func (o *PostAPIKeyCompetitionSubmitOK) IsCode(code int) bool
IsCode returns true when this post Api key competition submit o k response a status code equal to that given
func (*PostAPIKeyCompetitionSubmitOK) IsRedirect ¶
func (o *PostAPIKeyCompetitionSubmitOK) IsRedirect() bool
IsRedirect returns true when this post Api key competition submit o k response has a 3xx status code
func (*PostAPIKeyCompetitionSubmitOK) IsServerError ¶
func (o *PostAPIKeyCompetitionSubmitOK) IsServerError() bool
IsServerError returns true when this post Api key competition submit o k response has a 5xx status code
func (*PostAPIKeyCompetitionSubmitOK) IsSuccess ¶
func (o *PostAPIKeyCompetitionSubmitOK) IsSuccess() bool
IsSuccess returns true when this post Api key competition submit o k response has a 2xx status code
func (*PostAPIKeyCompetitionSubmitOK) String ¶
func (o *PostAPIKeyCompetitionSubmitOK) String() string
type PostAPIKeyCompetitionSubmitParams ¶
type PostAPIKeyCompetitionSubmitParams struct {
/* CommitHash.
Commit Hash
*/
CommitHash *string
/* CompetitionID.
Competition ID
*/
CompetitionID string
/* Description.
Description
*/
Description *string
/* File.
CSV File
*/
File runtime.NamedReadCloser
/* ModelID.
Model ID
*/
ModelID *string
/* SubmissionType.
Submission Type (public/private)
*/
SubmissionType string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostAPIKeyCompetitionSubmitParams contains all the parameters to send to the API endpoint
for the post API key competition submit operation. Typically these are written to a http.Request.
func NewPostAPIKeyCompetitionSubmitParams ¶
func NewPostAPIKeyCompetitionSubmitParams() *PostAPIKeyCompetitionSubmitParams
NewPostAPIKeyCompetitionSubmitParams creates a new PostAPIKeyCompetitionSubmitParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIKeyCompetitionSubmitParamsWithContext ¶
func NewPostAPIKeyCompetitionSubmitParamsWithContext(ctx context.Context) *PostAPIKeyCompetitionSubmitParams
NewPostAPIKeyCompetitionSubmitParamsWithContext creates a new PostAPIKeyCompetitionSubmitParams object with the ability to set a context for a request.
func NewPostAPIKeyCompetitionSubmitParamsWithHTTPClient ¶
func NewPostAPIKeyCompetitionSubmitParamsWithHTTPClient(client *http.Client) *PostAPIKeyCompetitionSubmitParams
NewPostAPIKeyCompetitionSubmitParamsWithHTTPClient creates a new PostAPIKeyCompetitionSubmitParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIKeyCompetitionSubmitParamsWithTimeout ¶
func NewPostAPIKeyCompetitionSubmitParamsWithTimeout(timeout time.Duration) *PostAPIKeyCompetitionSubmitParams
NewPostAPIKeyCompetitionSubmitParamsWithTimeout creates a new PostAPIKeyCompetitionSubmitParams object with the ability to set a timeout on a request.
func (*PostAPIKeyCompetitionSubmitParams) SetCommitHash ¶
func (o *PostAPIKeyCompetitionSubmitParams) SetCommitHash(commitHash *string)
SetCommitHash adds the commitHash to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) SetCompetitionID ¶
func (o *PostAPIKeyCompetitionSubmitParams) SetCompetitionID(competitionID string)
SetCompetitionID adds the competitionId to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) SetContext ¶
func (o *PostAPIKeyCompetitionSubmitParams) SetContext(ctx context.Context)
SetContext adds the context to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) SetDefaults ¶
func (o *PostAPIKeyCompetitionSubmitParams) SetDefaults()
SetDefaults hydrates default values in the post API key competition submit params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionSubmitParams) SetDescription ¶
func (o *PostAPIKeyCompetitionSubmitParams) SetDescription(description *string)
SetDescription adds the description to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) SetFile ¶
func (o *PostAPIKeyCompetitionSubmitParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) SetHTTPClient ¶
func (o *PostAPIKeyCompetitionSubmitParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) SetModelID ¶
func (o *PostAPIKeyCompetitionSubmitParams) SetModelID(modelID *string)
SetModelID adds the modelId to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) SetSubmissionType ¶
func (o *PostAPIKeyCompetitionSubmitParams) SetSubmissionType(submissionType string)
SetSubmissionType adds the submissionType to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) SetTimeout ¶
func (o *PostAPIKeyCompetitionSubmitParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) WithCommitHash ¶
func (o *PostAPIKeyCompetitionSubmitParams) WithCommitHash(commitHash *string) *PostAPIKeyCompetitionSubmitParams
WithCommitHash adds the commitHash to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) WithCompetitionID ¶
func (o *PostAPIKeyCompetitionSubmitParams) WithCompetitionID(competitionID string) *PostAPIKeyCompetitionSubmitParams
WithCompetitionID adds the competitionID to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) WithContext ¶
func (o *PostAPIKeyCompetitionSubmitParams) WithContext(ctx context.Context) *PostAPIKeyCompetitionSubmitParams
WithContext adds the context to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) WithDefaults ¶
func (o *PostAPIKeyCompetitionSubmitParams) WithDefaults() *PostAPIKeyCompetitionSubmitParams
WithDefaults hydrates default values in the post API key competition submit params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIKeyCompetitionSubmitParams) WithDescription ¶
func (o *PostAPIKeyCompetitionSubmitParams) WithDescription(description *string) *PostAPIKeyCompetitionSubmitParams
WithDescription adds the description to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) WithFile ¶
func (o *PostAPIKeyCompetitionSubmitParams) WithFile(file runtime.NamedReadCloser) *PostAPIKeyCompetitionSubmitParams
WithFile adds the file to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) WithHTTPClient ¶
func (o *PostAPIKeyCompetitionSubmitParams) WithHTTPClient(client *http.Client) *PostAPIKeyCompetitionSubmitParams
WithHTTPClient adds the HTTPClient to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) WithModelID ¶
func (o *PostAPIKeyCompetitionSubmitParams) WithModelID(modelID *string) *PostAPIKeyCompetitionSubmitParams
WithModelID adds the modelID to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) WithSubmissionType ¶
func (o *PostAPIKeyCompetitionSubmitParams) WithSubmissionType(submissionType string) *PostAPIKeyCompetitionSubmitParams
WithSubmissionType adds the submissionType to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) WithTimeout ¶
func (o *PostAPIKeyCompetitionSubmitParams) WithTimeout(timeout time.Duration) *PostAPIKeyCompetitionSubmitParams
WithTimeout adds the timeout to the post API key competition submit params
func (*PostAPIKeyCompetitionSubmitParams) WriteToRequest ¶
func (o *PostAPIKeyCompetitionSubmitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIKeyCompetitionSubmitReader ¶
type PostAPIKeyCompetitionSubmitReader struct {
// contains filtered or unexported fields
}
PostAPIKeyCompetitionSubmitReader is a Reader for the PostAPIKeyCompetitionSubmit structure.
func (*PostAPIKeyCompetitionSubmitReader) ReadResponse ¶
func (o *PostAPIKeyCompetitionSubmitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PutAPIKeyCompetitionIDBadRequest ¶
type PutAPIKeyCompetitionIDBadRequest struct {
Payload *models.ResponseFailResponse
}
PutAPIKeyCompetitionIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutAPIKeyCompetitionIDBadRequest ¶
func NewPutAPIKeyCompetitionIDBadRequest() *PutAPIKeyCompetitionIDBadRequest
NewPutAPIKeyCompetitionIDBadRequest creates a PutAPIKeyCompetitionIDBadRequest with default headers values
func (*PutAPIKeyCompetitionIDBadRequest) Code ¶
func (o *PutAPIKeyCompetitionIDBadRequest) Code() int
Code gets the status code for the put Api key competition Id bad request response
func (*PutAPIKeyCompetitionIDBadRequest) Error ¶
func (o *PutAPIKeyCompetitionIDBadRequest) Error() string
func (*PutAPIKeyCompetitionIDBadRequest) GetPayload ¶
func (o *PutAPIKeyCompetitionIDBadRequest) GetPayload() *models.ResponseFailResponse
func (*PutAPIKeyCompetitionIDBadRequest) IsClientError ¶
func (o *PutAPIKeyCompetitionIDBadRequest) IsClientError() bool
IsClientError returns true when this put Api key competition Id bad request response has a 4xx status code
func (*PutAPIKeyCompetitionIDBadRequest) IsCode ¶
func (o *PutAPIKeyCompetitionIDBadRequest) IsCode(code int) bool
IsCode returns true when this put Api key competition Id bad request response a status code equal to that given
func (*PutAPIKeyCompetitionIDBadRequest) IsRedirect ¶
func (o *PutAPIKeyCompetitionIDBadRequest) IsRedirect() bool
IsRedirect returns true when this put Api key competition Id bad request response has a 3xx status code
func (*PutAPIKeyCompetitionIDBadRequest) IsServerError ¶
func (o *PutAPIKeyCompetitionIDBadRequest) IsServerError() bool
IsServerError returns true when this put Api key competition Id bad request response has a 5xx status code
func (*PutAPIKeyCompetitionIDBadRequest) IsSuccess ¶
func (o *PutAPIKeyCompetitionIDBadRequest) IsSuccess() bool
IsSuccess returns true when this put Api key competition Id bad request response has a 2xx status code
func (*PutAPIKeyCompetitionIDBadRequest) String ¶
func (o *PutAPIKeyCompetitionIDBadRequest) String() string
type PutAPIKeyCompetitionIDInternalServerError ¶
type PutAPIKeyCompetitionIDInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PutAPIKeyCompetitionIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutAPIKeyCompetitionIDInternalServerError ¶
func NewPutAPIKeyCompetitionIDInternalServerError() *PutAPIKeyCompetitionIDInternalServerError
NewPutAPIKeyCompetitionIDInternalServerError creates a PutAPIKeyCompetitionIDInternalServerError with default headers values
func (*PutAPIKeyCompetitionIDInternalServerError) Code ¶
func (o *PutAPIKeyCompetitionIDInternalServerError) Code() int
Code gets the status code for the put Api key competition Id internal server error response
func (*PutAPIKeyCompetitionIDInternalServerError) Error ¶
func (o *PutAPIKeyCompetitionIDInternalServerError) Error() string
func (*PutAPIKeyCompetitionIDInternalServerError) GetPayload ¶
func (o *PutAPIKeyCompetitionIDInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PutAPIKeyCompetitionIDInternalServerError) IsClientError ¶
func (o *PutAPIKeyCompetitionIDInternalServerError) IsClientError() bool
IsClientError returns true when this put Api key competition Id internal server error response has a 4xx status code
func (*PutAPIKeyCompetitionIDInternalServerError) IsCode ¶
func (o *PutAPIKeyCompetitionIDInternalServerError) IsCode(code int) bool
IsCode returns true when this put Api key competition Id internal server error response a status code equal to that given
func (*PutAPIKeyCompetitionIDInternalServerError) IsRedirect ¶
func (o *PutAPIKeyCompetitionIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this put Api key competition Id internal server error response has a 3xx status code
func (*PutAPIKeyCompetitionIDInternalServerError) IsServerError ¶
func (o *PutAPIKeyCompetitionIDInternalServerError) IsServerError() bool
IsServerError returns true when this put Api key competition Id internal server error response has a 5xx status code
func (*PutAPIKeyCompetitionIDInternalServerError) IsSuccess ¶
func (o *PutAPIKeyCompetitionIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this put Api key competition Id internal server error response has a 2xx status code
func (*PutAPIKeyCompetitionIDInternalServerError) String ¶
func (o *PutAPIKeyCompetitionIDInternalServerError) String() string
type PutAPIKeyCompetitionIDOK ¶
type PutAPIKeyCompetitionIDOK struct {
Payload *models.ResponseCompetitionResponse
}
PutAPIKeyCompetitionIDOK describes a response with status code 200, with default header values.
OK
func NewPutAPIKeyCompetitionIDOK ¶
func NewPutAPIKeyCompetitionIDOK() *PutAPIKeyCompetitionIDOK
NewPutAPIKeyCompetitionIDOK creates a PutAPIKeyCompetitionIDOK with default headers values
func (*PutAPIKeyCompetitionIDOK) Code ¶
func (o *PutAPIKeyCompetitionIDOK) Code() int
Code gets the status code for the put Api key competition Id o k response
func (*PutAPIKeyCompetitionIDOK) Error ¶
func (o *PutAPIKeyCompetitionIDOK) Error() string
func (*PutAPIKeyCompetitionIDOK) GetPayload ¶
func (o *PutAPIKeyCompetitionIDOK) GetPayload() *models.ResponseCompetitionResponse
func (*PutAPIKeyCompetitionIDOK) IsClientError ¶
func (o *PutAPIKeyCompetitionIDOK) IsClientError() bool
IsClientError returns true when this put Api key competition Id o k response has a 4xx status code
func (*PutAPIKeyCompetitionIDOK) IsCode ¶
func (o *PutAPIKeyCompetitionIDOK) IsCode(code int) bool
IsCode returns true when this put Api key competition Id o k response a status code equal to that given
func (*PutAPIKeyCompetitionIDOK) IsRedirect ¶
func (o *PutAPIKeyCompetitionIDOK) IsRedirect() bool
IsRedirect returns true when this put Api key competition Id o k response has a 3xx status code
func (*PutAPIKeyCompetitionIDOK) IsServerError ¶
func (o *PutAPIKeyCompetitionIDOK) IsServerError() bool
IsServerError returns true when this put Api key competition Id o k response has a 5xx status code
func (*PutAPIKeyCompetitionIDOK) IsSuccess ¶
func (o *PutAPIKeyCompetitionIDOK) IsSuccess() bool
IsSuccess returns true when this put Api key competition Id o k response has a 2xx status code
func (*PutAPIKeyCompetitionIDOK) String ¶
func (o *PutAPIKeyCompetitionIDOK) String() string
type PutAPIKeyCompetitionIDParams ¶
type PutAPIKeyCompetitionIDParams struct {
/* ID.
Competition Id
*/
ID string
/* Input.
Update Competition Request
*/
Input *models.RequestUpdateCompetitionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutAPIKeyCompetitionIDParams contains all the parameters to send to the API endpoint
for the put API key competition ID operation. Typically these are written to a http.Request.
func NewPutAPIKeyCompetitionIDParams ¶
func NewPutAPIKeyCompetitionIDParams() *PutAPIKeyCompetitionIDParams
NewPutAPIKeyCompetitionIDParams creates a new PutAPIKeyCompetitionIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutAPIKeyCompetitionIDParamsWithContext ¶
func NewPutAPIKeyCompetitionIDParamsWithContext(ctx context.Context) *PutAPIKeyCompetitionIDParams
NewPutAPIKeyCompetitionIDParamsWithContext creates a new PutAPIKeyCompetitionIDParams object with the ability to set a context for a request.
func NewPutAPIKeyCompetitionIDParamsWithHTTPClient ¶
func NewPutAPIKeyCompetitionIDParamsWithHTTPClient(client *http.Client) *PutAPIKeyCompetitionIDParams
NewPutAPIKeyCompetitionIDParamsWithHTTPClient creates a new PutAPIKeyCompetitionIDParams object with the ability to set a custom HTTPClient for a request.
func NewPutAPIKeyCompetitionIDParamsWithTimeout ¶
func NewPutAPIKeyCompetitionIDParamsWithTimeout(timeout time.Duration) *PutAPIKeyCompetitionIDParams
NewPutAPIKeyCompetitionIDParamsWithTimeout creates a new PutAPIKeyCompetitionIDParams object with the ability to set a timeout on a request.
func (*PutAPIKeyCompetitionIDParams) SetContext ¶
func (o *PutAPIKeyCompetitionIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put API key competition ID params
func (*PutAPIKeyCompetitionIDParams) SetDefaults ¶
func (o *PutAPIKeyCompetitionIDParams) SetDefaults()
SetDefaults hydrates default values in the put API key competition ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyCompetitionIDParams) SetHTTPClient ¶
func (o *PutAPIKeyCompetitionIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put API key competition ID params
func (*PutAPIKeyCompetitionIDParams) SetID ¶
func (o *PutAPIKeyCompetitionIDParams) SetID(id string)
SetID adds the id to the put API key competition ID params
func (*PutAPIKeyCompetitionIDParams) SetInput ¶
func (o *PutAPIKeyCompetitionIDParams) SetInput(input *models.RequestUpdateCompetitionRequest)
SetInput adds the input to the put API key competition ID params
func (*PutAPIKeyCompetitionIDParams) SetTimeout ¶
func (o *PutAPIKeyCompetitionIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put API key competition ID params
func (*PutAPIKeyCompetitionIDParams) WithContext ¶
func (o *PutAPIKeyCompetitionIDParams) WithContext(ctx context.Context) *PutAPIKeyCompetitionIDParams
WithContext adds the context to the put API key competition ID params
func (*PutAPIKeyCompetitionIDParams) WithDefaults ¶
func (o *PutAPIKeyCompetitionIDParams) WithDefaults() *PutAPIKeyCompetitionIDParams
WithDefaults hydrates default values in the put API key competition ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyCompetitionIDParams) WithHTTPClient ¶
func (o *PutAPIKeyCompetitionIDParams) WithHTTPClient(client *http.Client) *PutAPIKeyCompetitionIDParams
WithHTTPClient adds the HTTPClient to the put API key competition ID params
func (*PutAPIKeyCompetitionIDParams) WithID ¶
func (o *PutAPIKeyCompetitionIDParams) WithID(id string) *PutAPIKeyCompetitionIDParams
WithID adds the id to the put API key competition ID params
func (*PutAPIKeyCompetitionIDParams) WithInput ¶
func (o *PutAPIKeyCompetitionIDParams) WithInput(input *models.RequestUpdateCompetitionRequest) *PutAPIKeyCompetitionIDParams
WithInput adds the input to the put API key competition ID params
func (*PutAPIKeyCompetitionIDParams) WithTimeout ¶
func (o *PutAPIKeyCompetitionIDParams) WithTimeout(timeout time.Duration) *PutAPIKeyCompetitionIDParams
WithTimeout adds the timeout to the put API key competition ID params
func (*PutAPIKeyCompetitionIDParams) WriteToRequest ¶
func (o *PutAPIKeyCompetitionIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAPIKeyCompetitionIDReader ¶
type PutAPIKeyCompetitionIDReader struct {
// contains filtered or unexported fields
}
PutAPIKeyCompetitionIDReader is a Reader for the PutAPIKeyCompetitionID structure.
func (*PutAPIKeyCompetitionIDReader) ReadResponse ¶
func (o *PutAPIKeyCompetitionIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- api_key_competition_client.go
- delete_api_key_competition_id_parameters.go
- delete_api_key_competition_id_responses.go
- get_api_key_competition_id_parameters.go
- get_api_key_competition_id_responses.go
- get_api_key_competition_path_path_parameters.go
- get_api_key_competition_path_path_responses.go
- get_api_key_competition_submit_history_id_parameters.go
- get_api_key_competition_submit_history_id_responses.go
- post_api_key_competition_id_join_parameters.go
- post_api_key_competition_id_join_responses.go
- post_api_key_competition_id_launch_parameters.go
- post_api_key_competition_id_launch_responses.go
- post_api_key_competition_id_leave_parameters.go
- post_api_key_competition_id_leave_responses.go
- post_api_key_competition_list_parameters.go
- post_api_key_competition_list_responses.go
- post_api_key_competition_parameters.go
- post_api_key_competition_pre_submit_parameters.go
- post_api_key_competition_pre_submit_responses.go
- post_api_key_competition_responses.go
- post_api_key_competition_submit_cost_parameters.go
- post_api_key_competition_submit_cost_responses.go
- post_api_key_competition_submit_parameters.go
- post_api_key_competition_submit_responses.go
- put_api_key_competition_id_parameters.go
- put_api_key_competition_id_responses.go