api_key_dependency

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 13 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 WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

Types

type Client

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

Client for api key dependency API

func (*Client) GetAPIKeyDependencyID

func (a *Client) GetAPIKeyDependencyID(params *GetAPIKeyDependencyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyDependencyIDOK, error)

GetAPIKeyDependencyID gets dependency by Api key

func (*Client) PostAPIKeyDependencyLibRequest

func (a *Client) PostAPIKeyDependencyLibRequest(params *PostAPIKeyDependencyLibRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyDependencyLibRequestOK, error)

PostAPIKeyDependencyLibRequest creates dependency package request by Api key

func (*Client) PostAPIKeyDependencyList

func (a *Client) PostAPIKeyDependencyList(params *PostAPIKeyDependencyListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyDependencyListOK, error)

PostAPIKeyDependencyList gets dependency list by Api key

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 {
	GetAPIKeyDependencyID(params *GetAPIKeyDependencyIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyDependencyIDOK, error)

	PostAPIKeyDependencyLibRequest(params *PostAPIKeyDependencyLibRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyDependencyLibRequestOK, error)

	PostAPIKeyDependencyList(params *PostAPIKeyDependencyListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIKeyDependencyListOK, 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 dependency API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new api key dependency 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 dependency 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 GetAPIKeyDependencyIDBadRequest

type GetAPIKeyDependencyIDBadRequest struct {
	Payload *models.ResponseFailResponse
}

GetAPIKeyDependencyIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIKeyDependencyIDBadRequest

func NewGetAPIKeyDependencyIDBadRequest() *GetAPIKeyDependencyIDBadRequest

NewGetAPIKeyDependencyIDBadRequest creates a GetAPIKeyDependencyIDBadRequest with default headers values

func (*GetAPIKeyDependencyIDBadRequest) Code

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

func (*GetAPIKeyDependencyIDBadRequest) Error

func (*GetAPIKeyDependencyIDBadRequest) GetPayload

func (*GetAPIKeyDependencyIDBadRequest) IsClientError

func (o *GetAPIKeyDependencyIDBadRequest) IsClientError() bool

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

func (*GetAPIKeyDependencyIDBadRequest) IsCode

func (o *GetAPIKeyDependencyIDBadRequest) IsCode(code int) bool

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

func (*GetAPIKeyDependencyIDBadRequest) IsRedirect

func (o *GetAPIKeyDependencyIDBadRequest) IsRedirect() bool

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

func (*GetAPIKeyDependencyIDBadRequest) IsServerError

func (o *GetAPIKeyDependencyIDBadRequest) IsServerError() bool

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

func (*GetAPIKeyDependencyIDBadRequest) IsSuccess

func (o *GetAPIKeyDependencyIDBadRequest) IsSuccess() bool

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

func (*GetAPIKeyDependencyIDBadRequest) String

type GetAPIKeyDependencyIDInternalServerError

type GetAPIKeyDependencyIDInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

GetAPIKeyDependencyIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIKeyDependencyIDInternalServerError

func NewGetAPIKeyDependencyIDInternalServerError() *GetAPIKeyDependencyIDInternalServerError

NewGetAPIKeyDependencyIDInternalServerError creates a GetAPIKeyDependencyIDInternalServerError with default headers values

func (*GetAPIKeyDependencyIDInternalServerError) Code

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

func (*GetAPIKeyDependencyIDInternalServerError) Error

func (*GetAPIKeyDependencyIDInternalServerError) GetPayload

func (*GetAPIKeyDependencyIDInternalServerError) IsClientError

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

func (*GetAPIKeyDependencyIDInternalServerError) IsCode

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

func (*GetAPIKeyDependencyIDInternalServerError) IsRedirect

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

func (*GetAPIKeyDependencyIDInternalServerError) IsServerError

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

func (*GetAPIKeyDependencyIDInternalServerError) IsSuccess

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

func (*GetAPIKeyDependencyIDInternalServerError) String

type GetAPIKeyDependencyIDOK

type GetAPIKeyDependencyIDOK struct {
	Payload *models.ResponseDependencyResponse
}

GetAPIKeyDependencyIDOK describes a response with status code 200, with default header values.

OK

func NewGetAPIKeyDependencyIDOK

func NewGetAPIKeyDependencyIDOK() *GetAPIKeyDependencyIDOK

NewGetAPIKeyDependencyIDOK creates a GetAPIKeyDependencyIDOK with default headers values

func (*GetAPIKeyDependencyIDOK) Code

func (o *GetAPIKeyDependencyIDOK) Code() int

Code gets the status code for the get Api key dependency Id o k response

func (*GetAPIKeyDependencyIDOK) Error

func (o *GetAPIKeyDependencyIDOK) Error() string

func (*GetAPIKeyDependencyIDOK) GetPayload

func (*GetAPIKeyDependencyIDOK) IsClientError

func (o *GetAPIKeyDependencyIDOK) IsClientError() bool

IsClientError returns true when this get Api key dependency Id o k response has a 4xx status code

func (*GetAPIKeyDependencyIDOK) IsCode

func (o *GetAPIKeyDependencyIDOK) IsCode(code int) bool

IsCode returns true when this get Api key dependency Id o k response a status code equal to that given

func (*GetAPIKeyDependencyIDOK) IsRedirect

func (o *GetAPIKeyDependencyIDOK) IsRedirect() bool

IsRedirect returns true when this get Api key dependency Id o k response has a 3xx status code

func (*GetAPIKeyDependencyIDOK) IsServerError

func (o *GetAPIKeyDependencyIDOK) IsServerError() bool

IsServerError returns true when this get Api key dependency Id o k response has a 5xx status code

func (*GetAPIKeyDependencyIDOK) IsSuccess

func (o *GetAPIKeyDependencyIDOK) IsSuccess() bool

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

func (*GetAPIKeyDependencyIDOK) String

func (o *GetAPIKeyDependencyIDOK) String() string

type GetAPIKeyDependencyIDParams

type GetAPIKeyDependencyIDParams struct {

	/* ID.

	   Dependency's id
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAPIKeyDependencyIDParams contains all the parameters to send to the API endpoint

for the get API key dependency ID operation.

Typically these are written to a http.Request.

func NewGetAPIKeyDependencyIDParams

func NewGetAPIKeyDependencyIDParams() *GetAPIKeyDependencyIDParams

NewGetAPIKeyDependencyIDParams creates a new GetAPIKeyDependencyIDParams 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 NewGetAPIKeyDependencyIDParamsWithContext

func NewGetAPIKeyDependencyIDParamsWithContext(ctx context.Context) *GetAPIKeyDependencyIDParams

NewGetAPIKeyDependencyIDParamsWithContext creates a new GetAPIKeyDependencyIDParams object with the ability to set a context for a request.

func NewGetAPIKeyDependencyIDParamsWithHTTPClient

func NewGetAPIKeyDependencyIDParamsWithHTTPClient(client *http.Client) *GetAPIKeyDependencyIDParams

NewGetAPIKeyDependencyIDParamsWithHTTPClient creates a new GetAPIKeyDependencyIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyDependencyIDParamsWithTimeout

func NewGetAPIKeyDependencyIDParamsWithTimeout(timeout time.Duration) *GetAPIKeyDependencyIDParams

NewGetAPIKeyDependencyIDParamsWithTimeout creates a new GetAPIKeyDependencyIDParams object with the ability to set a timeout on a request.

func (*GetAPIKeyDependencyIDParams) SetContext

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

SetContext adds the context to the get API key dependency ID params

func (*GetAPIKeyDependencyIDParams) SetDefaults

func (o *GetAPIKeyDependencyIDParams) SetDefaults()

SetDefaults hydrates default values in the get API key dependency ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIKeyDependencyIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API key dependency ID params

func (*GetAPIKeyDependencyIDParams) SetID

func (o *GetAPIKeyDependencyIDParams) SetID(id string)

SetID adds the id to the get API key dependency ID params

func (*GetAPIKeyDependencyIDParams) SetTimeout

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

SetTimeout adds the timeout to the get API key dependency ID params

func (*GetAPIKeyDependencyIDParams) WithContext

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

func (*GetAPIKeyDependencyIDParams) WithDefaults

WithDefaults hydrates default values in the get API key dependency ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIKeyDependencyIDParams) WithHTTPClient

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

func (*GetAPIKeyDependencyIDParams) WithID

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

func (*GetAPIKeyDependencyIDParams) WithTimeout

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

func (*GetAPIKeyDependencyIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIKeyDependencyIDReader

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

GetAPIKeyDependencyIDReader is a Reader for the GetAPIKeyDependencyID structure.

func (*GetAPIKeyDependencyIDReader) ReadResponse

func (o *GetAPIKeyDependencyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostAPIKeyDependencyLibRequestBadRequest

type PostAPIKeyDependencyLibRequestBadRequest struct {
	Payload *models.ResponseFailResponse
}

PostAPIKeyDependencyLibRequestBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIKeyDependencyLibRequestBadRequest

func NewPostAPIKeyDependencyLibRequestBadRequest() *PostAPIKeyDependencyLibRequestBadRequest

NewPostAPIKeyDependencyLibRequestBadRequest creates a PostAPIKeyDependencyLibRequestBadRequest with default headers values

func (*PostAPIKeyDependencyLibRequestBadRequest) Code

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

func (*PostAPIKeyDependencyLibRequestBadRequest) Error

func (*PostAPIKeyDependencyLibRequestBadRequest) GetPayload

func (*PostAPIKeyDependencyLibRequestBadRequest) IsClientError

IsClientError returns true when this post Api key dependency lib request bad request response has a 4xx status code

func (*PostAPIKeyDependencyLibRequestBadRequest) IsCode

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

func (*PostAPIKeyDependencyLibRequestBadRequest) IsRedirect

IsRedirect returns true when this post Api key dependency lib request bad request response has a 3xx status code

func (*PostAPIKeyDependencyLibRequestBadRequest) IsServerError

IsServerError returns true when this post Api key dependency lib request bad request response has a 5xx status code

func (*PostAPIKeyDependencyLibRequestBadRequest) IsSuccess

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

func (*PostAPIKeyDependencyLibRequestBadRequest) String

type PostAPIKeyDependencyLibRequestInternalServerError

type PostAPIKeyDependencyLibRequestInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

PostAPIKeyDependencyLibRequestInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAPIKeyDependencyLibRequestInternalServerError

func NewPostAPIKeyDependencyLibRequestInternalServerError() *PostAPIKeyDependencyLibRequestInternalServerError

NewPostAPIKeyDependencyLibRequestInternalServerError creates a PostAPIKeyDependencyLibRequestInternalServerError with default headers values

func (*PostAPIKeyDependencyLibRequestInternalServerError) Code

Code gets the status code for the post Api key dependency lib request internal server error response

func (*PostAPIKeyDependencyLibRequestInternalServerError) Error

func (*PostAPIKeyDependencyLibRequestInternalServerError) GetPayload

func (*PostAPIKeyDependencyLibRequestInternalServerError) IsClientError

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

func (*PostAPIKeyDependencyLibRequestInternalServerError) IsCode

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

func (*PostAPIKeyDependencyLibRequestInternalServerError) IsRedirect

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

func (*PostAPIKeyDependencyLibRequestInternalServerError) IsServerError

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

func (*PostAPIKeyDependencyLibRequestInternalServerError) IsSuccess

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

func (*PostAPIKeyDependencyLibRequestInternalServerError) String

type PostAPIKeyDependencyLibRequestOK

type PostAPIKeyDependencyLibRequestOK struct {
	Payload *models.ResponseSuccessResponse
}

PostAPIKeyDependencyLibRequestOK describes a response with status code 200, with default header values.

OK

func NewPostAPIKeyDependencyLibRequestOK

func NewPostAPIKeyDependencyLibRequestOK() *PostAPIKeyDependencyLibRequestOK

NewPostAPIKeyDependencyLibRequestOK creates a PostAPIKeyDependencyLibRequestOK with default headers values

func (*PostAPIKeyDependencyLibRequestOK) Code

Code gets the status code for the post Api key dependency lib request o k response

func (*PostAPIKeyDependencyLibRequestOK) Error

func (*PostAPIKeyDependencyLibRequestOK) GetPayload

func (*PostAPIKeyDependencyLibRequestOK) IsClientError

func (o *PostAPIKeyDependencyLibRequestOK) IsClientError() bool

IsClientError returns true when this post Api key dependency lib request o k response has a 4xx status code

func (*PostAPIKeyDependencyLibRequestOK) IsCode

func (o *PostAPIKeyDependencyLibRequestOK) IsCode(code int) bool

IsCode returns true when this post Api key dependency lib request o k response a status code equal to that given

func (*PostAPIKeyDependencyLibRequestOK) IsRedirect

func (o *PostAPIKeyDependencyLibRequestOK) IsRedirect() bool

IsRedirect returns true when this post Api key dependency lib request o k response has a 3xx status code

func (*PostAPIKeyDependencyLibRequestOK) IsServerError

func (o *PostAPIKeyDependencyLibRequestOK) IsServerError() bool

IsServerError returns true when this post Api key dependency lib request o k response has a 5xx status code

func (*PostAPIKeyDependencyLibRequestOK) IsSuccess

func (o *PostAPIKeyDependencyLibRequestOK) IsSuccess() bool

IsSuccess returns true when this post Api key dependency lib request o k response has a 2xx status code

func (*PostAPIKeyDependencyLibRequestOK) String

type PostAPIKeyDependencyLibRequestParams

type PostAPIKeyDependencyLibRequestParams struct {

	/* Input.

	   Create Dependency Lib Request
	*/
	Input *models.RequestCreateDependencyLibRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAPIKeyDependencyLibRequestParams contains all the parameters to send to the API endpoint

for the post API key dependency lib request operation.

Typically these are written to a http.Request.

func NewPostAPIKeyDependencyLibRequestParams

func NewPostAPIKeyDependencyLibRequestParams() *PostAPIKeyDependencyLibRequestParams

NewPostAPIKeyDependencyLibRequestParams creates a new PostAPIKeyDependencyLibRequestParams 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 NewPostAPIKeyDependencyLibRequestParamsWithContext

func NewPostAPIKeyDependencyLibRequestParamsWithContext(ctx context.Context) *PostAPIKeyDependencyLibRequestParams

NewPostAPIKeyDependencyLibRequestParamsWithContext creates a new PostAPIKeyDependencyLibRequestParams object with the ability to set a context for a request.

func NewPostAPIKeyDependencyLibRequestParamsWithHTTPClient

func NewPostAPIKeyDependencyLibRequestParamsWithHTTPClient(client *http.Client) *PostAPIKeyDependencyLibRequestParams

NewPostAPIKeyDependencyLibRequestParamsWithHTTPClient creates a new PostAPIKeyDependencyLibRequestParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyDependencyLibRequestParamsWithTimeout

func NewPostAPIKeyDependencyLibRequestParamsWithTimeout(timeout time.Duration) *PostAPIKeyDependencyLibRequestParams

NewPostAPIKeyDependencyLibRequestParamsWithTimeout creates a new PostAPIKeyDependencyLibRequestParams object with the ability to set a timeout on a request.

func (*PostAPIKeyDependencyLibRequestParams) SetContext

SetContext adds the context to the post API key dependency lib request params

func (*PostAPIKeyDependencyLibRequestParams) SetDefaults

func (o *PostAPIKeyDependencyLibRequestParams) SetDefaults()

SetDefaults hydrates default values in the post API key dependency lib request params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyDependencyLibRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key dependency lib request params

func (*PostAPIKeyDependencyLibRequestParams) SetInput

SetInput adds the input to the post API key dependency lib request params

func (*PostAPIKeyDependencyLibRequestParams) SetTimeout

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

SetTimeout adds the timeout to the post API key dependency lib request params

func (*PostAPIKeyDependencyLibRequestParams) WithContext

WithContext adds the context to the post API key dependency lib request params

func (*PostAPIKeyDependencyLibRequestParams) WithDefaults

WithDefaults hydrates default values in the post API key dependency lib request params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyDependencyLibRequestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API key dependency lib request params

func (*PostAPIKeyDependencyLibRequestParams) WithInput

WithInput adds the input to the post API key dependency lib request params

func (*PostAPIKeyDependencyLibRequestParams) WithTimeout

WithTimeout adds the timeout to the post API key dependency lib request params

func (*PostAPIKeyDependencyLibRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyDependencyLibRequestReader

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

PostAPIKeyDependencyLibRequestReader is a Reader for the PostAPIKeyDependencyLibRequest structure.

func (*PostAPIKeyDependencyLibRequestReader) ReadResponse

func (o *PostAPIKeyDependencyLibRequestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type PostAPIKeyDependencyListBadRequest

type PostAPIKeyDependencyListBadRequest struct {
	Payload *models.ResponseFailResponse
}

PostAPIKeyDependencyListBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIKeyDependencyListBadRequest

func NewPostAPIKeyDependencyListBadRequest() *PostAPIKeyDependencyListBadRequest

NewPostAPIKeyDependencyListBadRequest creates a PostAPIKeyDependencyListBadRequest with default headers values

func (*PostAPIKeyDependencyListBadRequest) Code

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

func (*PostAPIKeyDependencyListBadRequest) Error

func (*PostAPIKeyDependencyListBadRequest) GetPayload

func (*PostAPIKeyDependencyListBadRequest) IsClientError

func (o *PostAPIKeyDependencyListBadRequest) IsClientError() bool

IsClientError returns true when this post Api key dependency list bad request response has a 4xx status code

func (*PostAPIKeyDependencyListBadRequest) IsCode

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

func (*PostAPIKeyDependencyListBadRequest) IsRedirect

func (o *PostAPIKeyDependencyListBadRequest) IsRedirect() bool

IsRedirect returns true when this post Api key dependency list bad request response has a 3xx status code

func (*PostAPIKeyDependencyListBadRequest) IsServerError

func (o *PostAPIKeyDependencyListBadRequest) IsServerError() bool

IsServerError returns true when this post Api key dependency list bad request response has a 5xx status code

func (*PostAPIKeyDependencyListBadRequest) IsSuccess

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

func (*PostAPIKeyDependencyListBadRequest) String

type PostAPIKeyDependencyListInternalServerError

type PostAPIKeyDependencyListInternalServerError struct {
	Payload *models.ResponseErrorResponse
}

PostAPIKeyDependencyListInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAPIKeyDependencyListInternalServerError

func NewPostAPIKeyDependencyListInternalServerError() *PostAPIKeyDependencyListInternalServerError

NewPostAPIKeyDependencyListInternalServerError creates a PostAPIKeyDependencyListInternalServerError with default headers values

func (*PostAPIKeyDependencyListInternalServerError) Code

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

func (*PostAPIKeyDependencyListInternalServerError) Error

func (*PostAPIKeyDependencyListInternalServerError) GetPayload

func (*PostAPIKeyDependencyListInternalServerError) IsClientError

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

func (*PostAPIKeyDependencyListInternalServerError) IsCode

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

func (*PostAPIKeyDependencyListInternalServerError) IsRedirect

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

func (*PostAPIKeyDependencyListInternalServerError) IsServerError

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

func (*PostAPIKeyDependencyListInternalServerError) IsSuccess

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

func (*PostAPIKeyDependencyListInternalServerError) String

type PostAPIKeyDependencyListOK

type PostAPIKeyDependencyListOK struct {
	Payload *models.ResponseDependencyListResponse
}

PostAPIKeyDependencyListOK describes a response with status code 200, with default header values.

OK

func NewPostAPIKeyDependencyListOK

func NewPostAPIKeyDependencyListOK() *PostAPIKeyDependencyListOK

NewPostAPIKeyDependencyListOK creates a PostAPIKeyDependencyListOK with default headers values

func (*PostAPIKeyDependencyListOK) Code

func (o *PostAPIKeyDependencyListOK) Code() int

Code gets the status code for the post Api key dependency list o k response

func (*PostAPIKeyDependencyListOK) Error

func (*PostAPIKeyDependencyListOK) GetPayload

func (*PostAPIKeyDependencyListOK) IsClientError

func (o *PostAPIKeyDependencyListOK) IsClientError() bool

IsClientError returns true when this post Api key dependency list o k response has a 4xx status code

func (*PostAPIKeyDependencyListOK) IsCode

func (o *PostAPIKeyDependencyListOK) IsCode(code int) bool

IsCode returns true when this post Api key dependency list o k response a status code equal to that given

func (*PostAPIKeyDependencyListOK) IsRedirect

func (o *PostAPIKeyDependencyListOK) IsRedirect() bool

IsRedirect returns true when this post Api key dependency list o k response has a 3xx status code

func (*PostAPIKeyDependencyListOK) IsServerError

func (o *PostAPIKeyDependencyListOK) IsServerError() bool

IsServerError returns true when this post Api key dependency list o k response has a 5xx status code

func (*PostAPIKeyDependencyListOK) IsSuccess

func (o *PostAPIKeyDependencyListOK) IsSuccess() bool

IsSuccess returns true when this post Api key dependency list o k response has a 2xx status code

func (*PostAPIKeyDependencyListOK) String

func (o *PostAPIKeyDependencyListOK) String() string

type PostAPIKeyDependencyListParams

type PostAPIKeyDependencyListParams struct {

	// Limit.
	//
	// Default: 10
	Limit *int64

	// Offset.
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostAPIKeyDependencyListParams contains all the parameters to send to the API endpoint

for the post API key dependency list operation.

Typically these are written to a http.Request.

func NewPostAPIKeyDependencyListParams

func NewPostAPIKeyDependencyListParams() *PostAPIKeyDependencyListParams

NewPostAPIKeyDependencyListParams creates a new PostAPIKeyDependencyListParams 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 NewPostAPIKeyDependencyListParamsWithContext

func NewPostAPIKeyDependencyListParamsWithContext(ctx context.Context) *PostAPIKeyDependencyListParams

NewPostAPIKeyDependencyListParamsWithContext creates a new PostAPIKeyDependencyListParams object with the ability to set a context for a request.

func NewPostAPIKeyDependencyListParamsWithHTTPClient

func NewPostAPIKeyDependencyListParamsWithHTTPClient(client *http.Client) *PostAPIKeyDependencyListParams

NewPostAPIKeyDependencyListParamsWithHTTPClient creates a new PostAPIKeyDependencyListParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIKeyDependencyListParamsWithTimeout

func NewPostAPIKeyDependencyListParamsWithTimeout(timeout time.Duration) *PostAPIKeyDependencyListParams

NewPostAPIKeyDependencyListParamsWithTimeout creates a new PostAPIKeyDependencyListParams object with the ability to set a timeout on a request.

func (*PostAPIKeyDependencyListParams) SetContext

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

SetContext adds the context to the post API key dependency list params

func (*PostAPIKeyDependencyListParams) SetDefaults

func (o *PostAPIKeyDependencyListParams) SetDefaults()

SetDefaults hydrates default values in the post API key dependency list params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyDependencyListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API key dependency list params

func (*PostAPIKeyDependencyListParams) SetLimit

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

SetLimit adds the limit to the post API key dependency list params

func (*PostAPIKeyDependencyListParams) SetOffset

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

SetOffset adds the offset to the post API key dependency list params

func (*PostAPIKeyDependencyListParams) SetTimeout

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

SetTimeout adds the timeout to the post API key dependency list params

func (*PostAPIKeyDependencyListParams) WithContext

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

func (*PostAPIKeyDependencyListParams) WithDefaults

WithDefaults hydrates default values in the post API key dependency list params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIKeyDependencyListParams) WithHTTPClient

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

func (*PostAPIKeyDependencyListParams) WithLimit

WithLimit adds the limit to the post API key dependency list params

func (*PostAPIKeyDependencyListParams) WithOffset

WithOffset adds the offset to the post API key dependency list params

func (*PostAPIKeyDependencyListParams) WithTimeout

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

func (*PostAPIKeyDependencyListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPIKeyDependencyListReader

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

PostAPIKeyDependencyListReader is a Reader for the PostAPIKeyDependencyList structure.

func (*PostAPIKeyDependencyListReader) ReadResponse

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