api_key_competition

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

Code gets the status code for the delete Api key competition Id bad request response

func (*DeleteAPIKeyCompetitionIDBadRequest) Error

func (*DeleteAPIKeyCompetitionIDBadRequest) GetPayload

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

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

IsSuccess returns true when this delete Api key competition Id bad request response has a 2xx status code

func (*DeleteAPIKeyCompetitionIDBadRequest) 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

Code gets the status code for the delete Api key competition Id internal server error response

func (*DeleteAPIKeyCompetitionIDInternalServerError) Error

func (*DeleteAPIKeyCompetitionIDInternalServerError) GetPayload

func (*DeleteAPIKeyCompetitionIDInternalServerError) IsClientError

IsClientError returns true when this delete Api key competition Id internal server error response has a 4xx status code

func (*DeleteAPIKeyCompetitionIDInternalServerError) IsCode

IsCode returns true when this delete Api key competition Id internal server error response a status code equal to that given

func (*DeleteAPIKeyCompetitionIDInternalServerError) IsRedirect

IsRedirect returns true when this delete Api key competition Id internal server error response has a 3xx status code

func (*DeleteAPIKeyCompetitionIDInternalServerError) IsServerError

IsServerError returns true when this delete Api key competition Id internal server error response has a 5xx status code

func (*DeleteAPIKeyCompetitionIDInternalServerError) IsSuccess

IsSuccess returns true when this delete Api key competition Id internal server error response has a 2xx status code

func (*DeleteAPIKeyCompetitionIDInternalServerError) 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 (*DeleteAPIKeyCompetitionIDOK) GetPayload

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

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

WithContext adds the context to the delete API key competition ID params

func (*DeleteAPIKeyCompetitionIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete API key competition ID params

func (*DeleteAPIKeyCompetitionIDParams) WithID

WithID adds the id to the delete API key competition ID params

func (*DeleteAPIKeyCompetitionIDParams) WithTimeout

WithTimeout adds the timeout to the delete API key competition ID params

func (*DeleteAPIKeyCompetitionIDParams) WriteToRequest

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

Code gets the status code for the get Api key competition Id bad request response

func (*GetAPIKeyCompetitionIDBadRequest) Error

func (*GetAPIKeyCompetitionIDBadRequest) GetPayload

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

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

Code gets the status code for the get Api key competition Id internal server error response

func (*GetAPIKeyCompetitionIDInternalServerError) Error

func (*GetAPIKeyCompetitionIDInternalServerError) GetPayload

func (*GetAPIKeyCompetitionIDInternalServerError) IsClientError

IsClientError returns true when this get Api key competition Id internal server error response has a 4xx status code

func (*GetAPIKeyCompetitionIDInternalServerError) IsCode

IsCode returns true when this get Api key competition Id internal server error response a status code equal to that given

func (*GetAPIKeyCompetitionIDInternalServerError) IsRedirect

IsRedirect returns true when this get Api key competition Id internal server error response has a 3xx status code

func (*GetAPIKeyCompetitionIDInternalServerError) IsServerError

IsServerError returns true when this get Api key competition Id internal server error response has a 5xx status code

func (*GetAPIKeyCompetitionIDInternalServerError) IsSuccess

IsSuccess returns true when this get Api key competition Id internal server error response has a 2xx status code

func (*GetAPIKeyCompetitionIDInternalServerError) 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 (*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

WithContext adds the context to the get API key competition ID params

func (*GetAPIKeyCompetitionIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get API key competition ID params

func (*GetAPIKeyCompetitionIDParams) WithID

WithID adds the id to the get API key competition ID params

func (*GetAPIKeyCompetitionIDParams) WithTimeout

WithTimeout adds the timeout to the get API key competition ID params

func (*GetAPIKeyCompetitionIDParams) WriteToRequest

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

Code gets the status code for the get Api key competition path path bad request response

func (*GetAPIKeyCompetitionPathPathBadRequest) Error

func (*GetAPIKeyCompetitionPathPathBadRequest) GetPayload

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

IsCode returns true when this get Api key competition path path bad request response a status code equal to that given

func (*GetAPIKeyCompetitionPathPathBadRequest) IsRedirect

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

IsSuccess returns true when this get Api key competition path path bad request response has a 2xx status code

func (*GetAPIKeyCompetitionPathPathBadRequest) 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

Code gets the status code for the get Api key competition path path internal server error response

func (*GetAPIKeyCompetitionPathPathInternalServerError) Error

func (*GetAPIKeyCompetitionPathPathInternalServerError) GetPayload

func (*GetAPIKeyCompetitionPathPathInternalServerError) IsClientError

IsClientError returns true when this get Api key competition path path internal server error response has a 4xx status code

func (*GetAPIKeyCompetitionPathPathInternalServerError) IsCode

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

IsRedirect returns true when this get Api key competition path path internal server error response has a 3xx status code

func (*GetAPIKeyCompetitionPathPathInternalServerError) IsServerError

IsServerError returns true when this get Api key competition path path internal server error response has a 5xx status code

func (*GetAPIKeyCompetitionPathPathInternalServerError) IsSuccess

IsSuccess returns true when this get Api key competition path path internal server error response has a 2xx status code

func (*GetAPIKeyCompetitionPathPathInternalServerError) 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

Code gets the status code for the get Api key competition path path o k response

func (*GetAPIKeyCompetitionPathPathOK) Error

func (*GetAPIKeyCompetitionPathPathOK) GetPayload

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

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

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

WithContext adds the context to the get API key competition path path params

func (*GetAPIKeyCompetitionPathPathParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get API key competition path path params

func (*GetAPIKeyCompetitionPathPathParams) WithPath

WithPath adds the path to the get API key competition path path params

func (*GetAPIKeyCompetitionPathPathParams) WithTimeout

WithTimeout adds the timeout to the get API key competition path path params

func (*GetAPIKeyCompetitionPathPathParams) WriteToRequest

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

Code gets the status code for the get Api key competition submit history Id bad request response

func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) Error

func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) GetPayload

func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsClientError

IsClientError returns true when this get Api key competition submit history Id bad request response has a 4xx status code

func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsCode

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

IsRedirect returns true when this get Api key competition submit history Id bad request response has a 3xx status code

func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsServerError

IsServerError returns true when this get Api key competition submit history Id bad request response has a 5xx status code

func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) IsSuccess

IsSuccess returns true when this get Api key competition submit history Id bad request response has a 2xx status code

func (*GetAPIKeyCompetitionSubmitHistoryIDBadRequest) 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

Code gets the status code for the get Api key competition submit history Id internal server error response

func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) Error

func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) GetPayload

func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsClientError

IsClientError returns true when this get Api key competition submit history Id internal server error response has a 4xx status code

func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsCode

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

IsRedirect returns true when this get Api key competition submit history Id internal server error response has a 3xx status code

func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsServerError

IsServerError returns true when this get Api key competition submit history Id internal server error response has a 5xx status code

func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) IsSuccess

IsSuccess returns true when this get Api key competition submit history Id internal server error response has a 2xx status code

func (*GetAPIKeyCompetitionSubmitHistoryIDInternalServerError) 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

Code gets the status code for the get Api key competition submit history Id o k response

func (*GetAPIKeyCompetitionSubmitHistoryIDOK) Error

func (*GetAPIKeyCompetitionSubmitHistoryIDOK) GetPayload

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

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

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

IsSuccess returns true when this get Api key competition submit history Id o k response has a 2xx status code

func (*GetAPIKeyCompetitionSubmitHistoryIDOK) 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

SetContext adds the context to the get API key competition submit history ID params

func (*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

SetID adds the id to the get API key competition submit history ID params

func (*GetAPIKeyCompetitionSubmitHistoryIDParams) SetTimeout

SetTimeout adds the timeout to the get API key competition submit history ID params

func (*GetAPIKeyCompetitionSubmitHistoryIDParams) WithContext

WithContext adds the context to the get API key competition submit history ID params

func (*GetAPIKeyCompetitionSubmitHistoryIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get API key competition submit history ID params

func (*GetAPIKeyCompetitionSubmitHistoryIDParams) WithID

WithID adds the id to the get API key competition submit history ID params

func (*GetAPIKeyCompetitionSubmitHistoryIDParams) WithTimeout

WithTimeout adds the timeout to the get API key competition submit history ID params

func (*GetAPIKeyCompetitionSubmitHistoryIDParams) WriteToRequest

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

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

Code gets the status code for the post Api key competition bad request response

func (*PostAPIKeyCompetitionBadRequest) Error

func (*PostAPIKeyCompetitionBadRequest) GetPayload

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

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

Code gets the status code for the post Api key competition Id join bad request response

func (*PostAPIKeyCompetitionIDJoinBadRequest) Error

func (*PostAPIKeyCompetitionIDJoinBadRequest) GetPayload

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

IsCode returns true when this post Api key competition Id join bad request response a status code equal to that given

func (*PostAPIKeyCompetitionIDJoinBadRequest) IsRedirect

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

IsSuccess returns true when this post Api key competition Id join bad request response has a 2xx status code

func (*PostAPIKeyCompetitionIDJoinBadRequest) 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

Code gets the status code for the post Api key competition Id join internal server error response

func (*PostAPIKeyCompetitionIDJoinInternalServerError) Error

func (*PostAPIKeyCompetitionIDJoinInternalServerError) GetPayload

func (*PostAPIKeyCompetitionIDJoinInternalServerError) IsClientError

IsClientError returns true when this post Api key competition Id join internal server error response has a 4xx status code

func (*PostAPIKeyCompetitionIDJoinInternalServerError) IsCode

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

IsRedirect returns true when this post Api key competition Id join internal server error response has a 3xx status code

func (*PostAPIKeyCompetitionIDJoinInternalServerError) IsServerError

IsServerError returns true when this post Api key competition Id join internal server error response has a 5xx status code

func (*PostAPIKeyCompetitionIDJoinInternalServerError) IsSuccess

IsSuccess returns true when this post Api key competition Id join internal server error response has a 2xx status code

func (*PostAPIKeyCompetitionIDJoinInternalServerError) 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

Code gets the status code for the post Api key competition Id join o k response

func (*PostAPIKeyCompetitionIDJoinOK) Error

func (*PostAPIKeyCompetitionIDJoinOK) GetPayload

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

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

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

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

WithContext adds the context to the post API key competition ID join params

func (*PostAPIKeyCompetitionIDJoinParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post API key competition ID join params

func (*PostAPIKeyCompetitionIDJoinParams) WithID

WithID adds the id to the post API key competition ID join params

func (*PostAPIKeyCompetitionIDJoinParams) WithTimeout

WithTimeout adds the timeout to the post API key competition ID join params

func (*PostAPIKeyCompetitionIDJoinParams) WriteToRequest

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

Code gets the status code for the post Api key competition Id launch bad request response

func (*PostAPIKeyCompetitionIDLaunchBadRequest) Error

func (*PostAPIKeyCompetitionIDLaunchBadRequest) GetPayload

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

IsCode returns true when this post Api key competition Id launch bad request response a status code equal to that given

func (*PostAPIKeyCompetitionIDLaunchBadRequest) IsRedirect

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

IsSuccess returns true when this post Api key competition Id launch bad request response has a 2xx status code

func (*PostAPIKeyCompetitionIDLaunchBadRequest) 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

Code gets the status code for the post Api key competition Id launch internal server error response

func (*PostAPIKeyCompetitionIDLaunchInternalServerError) Error

func (*PostAPIKeyCompetitionIDLaunchInternalServerError) GetPayload

func (*PostAPIKeyCompetitionIDLaunchInternalServerError) IsClientError

IsClientError returns true when this post Api key competition Id launch internal server error response has a 4xx status code

func (*PostAPIKeyCompetitionIDLaunchInternalServerError) IsCode

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

IsRedirect returns true when this post Api key competition Id launch internal server error response has a 3xx status code

func (*PostAPIKeyCompetitionIDLaunchInternalServerError) IsServerError

IsServerError returns true when this post Api key competition Id launch internal server error response has a 5xx status code

func (*PostAPIKeyCompetitionIDLaunchInternalServerError) IsSuccess

IsSuccess returns true when this post Api key competition Id launch internal server error response has a 2xx status code

func (*PostAPIKeyCompetitionIDLaunchInternalServerError) 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

Code gets the status code for the post Api key competition Id launch o k response

func (*PostAPIKeyCompetitionIDLaunchOK) Error

func (*PostAPIKeyCompetitionIDLaunchOK) GetPayload

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

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

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

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

WithContext adds the context to the post API key competition ID launch params

func (*PostAPIKeyCompetitionIDLaunchParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post API key competition ID launch params

func (*PostAPIKeyCompetitionIDLaunchParams) WithID

WithID adds the id to the post API key competition ID launch params

func (*PostAPIKeyCompetitionIDLaunchParams) WithTimeout

WithTimeout adds the timeout to the post API key competition ID launch params

func (*PostAPIKeyCompetitionIDLaunchParams) WriteToRequest

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

Code gets the status code for the post Api key competition Id leave bad request response

func (*PostAPIKeyCompetitionIDLeaveBadRequest) Error

func (*PostAPIKeyCompetitionIDLeaveBadRequest) GetPayload

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

IsCode returns true when this post Api key competition Id leave bad request response a status code equal to that given

func (*PostAPIKeyCompetitionIDLeaveBadRequest) IsRedirect

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

IsSuccess returns true when this post Api key competition Id leave bad request response has a 2xx status code

func (*PostAPIKeyCompetitionIDLeaveBadRequest) 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

Code gets the status code for the post Api key competition Id leave internal server error response

func (*PostAPIKeyCompetitionIDLeaveInternalServerError) Error

func (*PostAPIKeyCompetitionIDLeaveInternalServerError) GetPayload

func (*PostAPIKeyCompetitionIDLeaveInternalServerError) IsClientError

IsClientError returns true when this post Api key competition Id leave internal server error response has a 4xx status code

func (*PostAPIKeyCompetitionIDLeaveInternalServerError) IsCode

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

IsRedirect returns true when this post Api key competition Id leave internal server error response has a 3xx status code

func (*PostAPIKeyCompetitionIDLeaveInternalServerError) IsServerError

IsServerError returns true when this post Api key competition Id leave internal server error response has a 5xx status code

func (*PostAPIKeyCompetitionIDLeaveInternalServerError) IsSuccess

IsSuccess returns true when this post Api key competition Id leave internal server error response has a 2xx status code

func (*PostAPIKeyCompetitionIDLeaveInternalServerError) 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

Code gets the status code for the post Api key competition Id leave o k response

func (*PostAPIKeyCompetitionIDLeaveOK) Error

func (*PostAPIKeyCompetitionIDLeaveOK) GetPayload

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

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

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

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

WithContext adds the context to the post API key competition ID leave params

func (*PostAPIKeyCompetitionIDLeaveParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post API key competition ID leave params

func (*PostAPIKeyCompetitionIDLeaveParams) WithID

WithID adds the id to the post API key competition ID leave params

func (*PostAPIKeyCompetitionIDLeaveParams) WithTimeout

WithTimeout adds the timeout to the post API key competition ID leave params

func (*PostAPIKeyCompetitionIDLeaveParams) WriteToRequest

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

Code gets the status code for the post Api key competition internal server error response

func (*PostAPIKeyCompetitionInternalServerError) Error

func (*PostAPIKeyCompetitionInternalServerError) GetPayload

func (*PostAPIKeyCompetitionInternalServerError) IsClientError

IsClientError returns true when this post Api key competition internal server error response has a 4xx status code

func (*PostAPIKeyCompetitionInternalServerError) IsCode

IsCode returns true when this post Api key competition internal server error response a status code equal to that given

func (*PostAPIKeyCompetitionInternalServerError) IsRedirect

IsRedirect returns true when this post Api key competition internal server error response has a 3xx status code

func (*PostAPIKeyCompetitionInternalServerError) IsServerError

IsServerError returns true when this post Api key competition internal server error response has a 5xx status code

func (*PostAPIKeyCompetitionInternalServerError) IsSuccess

IsSuccess returns true when this post Api key competition internal server error response has a 2xx status code

func (*PostAPIKeyCompetitionInternalServerError) 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

Code gets the status code for the post Api key competition list bad request response

func (*PostAPIKeyCompetitionListBadRequest) Error

func (*PostAPIKeyCompetitionListBadRequest) GetPayload

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

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

IsSuccess returns true when this post Api key competition list bad request response has a 2xx status code

func (*PostAPIKeyCompetitionListBadRequest) 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

Code gets the status code for the post Api key competition list internal server error response

func (*PostAPIKeyCompetitionListInternalServerError) Error

func (*PostAPIKeyCompetitionListInternalServerError) GetPayload

func (*PostAPIKeyCompetitionListInternalServerError) IsClientError

IsClientError returns true when this post Api key competition list internal server error response has a 4xx status code

func (*PostAPIKeyCompetitionListInternalServerError) IsCode

IsCode returns true when this post Api key competition list internal server error response a status code equal to that given

func (*PostAPIKeyCompetitionListInternalServerError) IsRedirect

IsRedirect returns true when this post Api key competition list internal server error response has a 3xx status code

func (*PostAPIKeyCompetitionListInternalServerError) IsServerError

IsServerError returns true when this post Api key competition list internal server error response has a 5xx status code

func (*PostAPIKeyCompetitionListInternalServerError) IsSuccess

IsSuccess returns true when this post Api key competition list internal server error response has a 2xx status code

func (*PostAPIKeyCompetitionListInternalServerError) 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 (*PostAPIKeyCompetitionListOK) GetPayload

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

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

WithContext adds the context to the post API key competition list params

func (*PostAPIKeyCompetitionListParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post API key competition list params

func (*PostAPIKeyCompetitionListParams) WithInput

WithInput adds the input to the post API key competition list params

func (*PostAPIKeyCompetitionListParams) WithTimeout

WithTimeout adds the timeout to the post API key competition list params

func (*PostAPIKeyCompetitionListParams) WriteToRequest

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 (*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

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

WithContext adds the context to the post API key competition params

func (*PostAPIKeyCompetitionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post API key competition params

func (*PostAPIKeyCompetitionParams) WithInput

WithInput adds the input to the post API key competition params

func (*PostAPIKeyCompetitionParams) WithTimeout

WithTimeout adds the timeout to the post API key competition params

func (*PostAPIKeyCompetitionParams) WriteToRequest

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

Code gets the status code for the post Api key competition pre submit bad request response

func (*PostAPIKeyCompetitionPreSubmitBadRequest) Error

func (*PostAPIKeyCompetitionPreSubmitBadRequest) GetPayload

func (*PostAPIKeyCompetitionPreSubmitBadRequest) IsClientError

IsClientError returns true when this post Api key competition pre submit bad request response has a 4xx status code

func (*PostAPIKeyCompetitionPreSubmitBadRequest) IsCode

IsCode returns true when this post Api key competition pre submit bad request response a status code equal to that given

func (*PostAPIKeyCompetitionPreSubmitBadRequest) IsRedirect

IsRedirect returns true when this post Api key competition pre submit bad request response has a 3xx status code

func (*PostAPIKeyCompetitionPreSubmitBadRequest) IsServerError

IsServerError returns true when this post Api key competition pre submit bad request response has a 5xx status code

func (*PostAPIKeyCompetitionPreSubmitBadRequest) IsSuccess

IsSuccess returns true when this post Api key competition pre submit bad request response has a 2xx status code

func (*PostAPIKeyCompetitionPreSubmitBadRequest) 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

Code gets the status code for the post Api key competition pre submit internal server error response

func (*PostAPIKeyCompetitionPreSubmitInternalServerError) Error

func (*PostAPIKeyCompetitionPreSubmitInternalServerError) GetPayload

func (*PostAPIKeyCompetitionPreSubmitInternalServerError) IsClientError

IsClientError returns true when this post Api key competition pre submit internal server error response has a 4xx status code

func (*PostAPIKeyCompetitionPreSubmitInternalServerError) IsCode

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

IsRedirect returns true when this post Api key competition pre submit internal server error response has a 3xx status code

func (*PostAPIKeyCompetitionPreSubmitInternalServerError) IsServerError

IsServerError returns true when this post Api key competition pre submit internal server error response has a 5xx status code

func (*PostAPIKeyCompetitionPreSubmitInternalServerError) IsSuccess

IsSuccess returns true when this post Api key competition pre submit internal server error response has a 2xx status code

func (*PostAPIKeyCompetitionPreSubmitInternalServerError) 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

Code gets the status code for the post Api key competition pre submit o k response

func (*PostAPIKeyCompetitionPreSubmitOK) Error

func (*PostAPIKeyCompetitionPreSubmitOK) GetPayload

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

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

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

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

WithContext adds the context to the post API key competition pre submit params

func (*PostAPIKeyCompetitionPreSubmitParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post API key competition pre submit params

func (*PostAPIKeyCompetitionPreSubmitParams) WithInput

WithInput adds the input to the post API key competition pre submit params

func (*PostAPIKeyCompetitionPreSubmitParams) WithTimeout

WithTimeout adds the timeout to the post API key competition pre submit params

func (*PostAPIKeyCompetitionPreSubmitParams) WriteToRequest

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

Code gets the status code for the post Api key competition submit bad request response

func (*PostAPIKeyCompetitionSubmitBadRequest) Error

func (*PostAPIKeyCompetitionSubmitBadRequest) GetPayload

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

IsCode returns true when this post Api key competition submit bad request response a status code equal to that given

func (*PostAPIKeyCompetitionSubmitBadRequest) IsRedirect

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

IsSuccess returns true when this post Api key competition submit bad request response has a 2xx status code

func (*PostAPIKeyCompetitionSubmitBadRequest) 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

Code gets the status code for the post Api key competition submit cost bad request response

func (*PostAPIKeyCompetitionSubmitCostBadRequest) Error

func (*PostAPIKeyCompetitionSubmitCostBadRequest) GetPayload

func (*PostAPIKeyCompetitionSubmitCostBadRequest) IsClientError

IsClientError returns true when this post Api key competition submit cost bad request response has a 4xx status code

func (*PostAPIKeyCompetitionSubmitCostBadRequest) IsCode

IsCode returns true when this post Api key competition submit cost bad request response a status code equal to that given

func (*PostAPIKeyCompetitionSubmitCostBadRequest) IsRedirect

IsRedirect returns true when this post Api key competition submit cost bad request response has a 3xx status code

func (*PostAPIKeyCompetitionSubmitCostBadRequest) IsServerError

IsServerError returns true when this post Api key competition submit cost bad request response has a 5xx status code

func (*PostAPIKeyCompetitionSubmitCostBadRequest) IsSuccess

IsSuccess returns true when this post Api key competition submit cost bad request response has a 2xx status code

func (*PostAPIKeyCompetitionSubmitCostBadRequest) 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

Code gets the status code for the post Api key competition submit cost internal server error response

func (*PostAPIKeyCompetitionSubmitCostInternalServerError) Error

func (*PostAPIKeyCompetitionSubmitCostInternalServerError) GetPayload

func (*PostAPIKeyCompetitionSubmitCostInternalServerError) IsClientError

IsClientError returns true when this post Api key competition submit cost internal server error response has a 4xx status code

func (*PostAPIKeyCompetitionSubmitCostInternalServerError) IsCode

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

IsRedirect returns true when this post Api key competition submit cost internal server error response has a 3xx status code

func (*PostAPIKeyCompetitionSubmitCostInternalServerError) IsServerError

IsServerError returns true when this post Api key competition submit cost internal server error response has a 5xx status code

func (*PostAPIKeyCompetitionSubmitCostInternalServerError) IsSuccess

IsSuccess returns true when this post Api key competition submit cost internal server error response has a 2xx status code

func (*PostAPIKeyCompetitionSubmitCostInternalServerError) 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

Code gets the status code for the post Api key competition submit cost o k response

func (*PostAPIKeyCompetitionSubmitCostOK) Error

func (*PostAPIKeyCompetitionSubmitCostOK) GetPayload

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

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

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

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

WithContext adds the context to the post API key competition submit cost params

func (*PostAPIKeyCompetitionSubmitCostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post API key competition submit cost params

func (*PostAPIKeyCompetitionSubmitCostParams) WithInput

WithInput adds the input to the post API key competition submit cost params

func (*PostAPIKeyCompetitionSubmitCostParams) WithTimeout

WithTimeout adds the timeout to the post API key competition submit cost params

func (*PostAPIKeyCompetitionSubmitCostParams) WriteToRequest

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

Code gets the status code for the post Api key competition submit internal server error response

func (*PostAPIKeyCompetitionSubmitInternalServerError) Error

func (*PostAPIKeyCompetitionSubmitInternalServerError) GetPayload

func (*PostAPIKeyCompetitionSubmitInternalServerError) IsClientError

IsClientError returns true when this post Api key competition submit internal server error response has a 4xx status code

func (*PostAPIKeyCompetitionSubmitInternalServerError) IsCode

IsCode returns true when this post Api key competition submit internal server error response a status code equal to that given

func (*PostAPIKeyCompetitionSubmitInternalServerError) IsRedirect

IsRedirect returns true when this post Api key competition submit internal server error response has a 3xx status code

func (*PostAPIKeyCompetitionSubmitInternalServerError) IsServerError

IsServerError returns true when this post Api key competition submit internal server error response has a 5xx status code

func (*PostAPIKeyCompetitionSubmitInternalServerError) IsSuccess

IsSuccess returns true when this post Api key competition submit internal server error response has a 2xx status code

func (*PostAPIKeyCompetitionSubmitInternalServerError) 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

Code gets the status code for the post Api key competition submit o k response

func (*PostAPIKeyCompetitionSubmitOK) Error

func (*PostAPIKeyCompetitionSubmitOK) GetPayload

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

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

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

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

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

WithContext adds the context to the post API key competition submit params

func (*PostAPIKeyCompetitionSubmitParams) WithDefaults

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

WithDescription adds the description to the post API key competition submit params

func (*PostAPIKeyCompetitionSubmitParams) WithFile

WithFile adds the file to the post API key competition submit params

func (*PostAPIKeyCompetitionSubmitParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key competition submit params

func (*PostAPIKeyCompetitionSubmitParams) WithModelID

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

WithTimeout adds the timeout to the post API key competition submit params

func (*PostAPIKeyCompetitionSubmitParams) WriteToRequest

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

Code gets the status code for the put Api key competition Id bad request response

func (*PutAPIKeyCompetitionIDBadRequest) Error

func (*PutAPIKeyCompetitionIDBadRequest) GetPayload

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

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

Code gets the status code for the put Api key competition Id internal server error response

func (*PutAPIKeyCompetitionIDInternalServerError) Error

func (*PutAPIKeyCompetitionIDInternalServerError) GetPayload

func (*PutAPIKeyCompetitionIDInternalServerError) IsClientError

IsClientError returns true when this put Api key competition Id internal server error response has a 4xx status code

func (*PutAPIKeyCompetitionIDInternalServerError) IsCode

IsCode returns true when this put Api key competition Id internal server error response a status code equal to that given

func (*PutAPIKeyCompetitionIDInternalServerError) IsRedirect

IsRedirect returns true when this put Api key competition Id internal server error response has a 3xx status code

func (*PutAPIKeyCompetitionIDInternalServerError) IsServerError

IsServerError returns true when this put Api key competition Id internal server error response has a 5xx status code

func (*PutAPIKeyCompetitionIDInternalServerError) IsSuccess

IsSuccess returns true when this put Api key competition Id internal server error response has a 2xx status code

func (*PutAPIKeyCompetitionIDInternalServerError) 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 (*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

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

WithContext adds the context to the put API key competition ID params

func (*PutAPIKeyCompetitionIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the put API key competition ID params

func (*PutAPIKeyCompetitionIDParams) WithID

WithID adds the id to the put API key competition ID params

func (*PutAPIKeyCompetitionIDParams) WithInput

WithInput adds the input to the put API key competition ID params

func (*PutAPIKeyCompetitionIDParams) WithTimeout

WithTimeout adds the timeout to the put API key competition ID params

func (*PutAPIKeyCompetitionIDParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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