features

package
v0.0.0-...-6316459 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for features API

func (*Client) GetBetaFeatures

func (a *Client) GetBetaFeatures(params *GetBetaFeaturesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBetaFeaturesOK, error)

GetBetaFeatures gets beta features

func (*Client) SetBetaFeature

func (a *Client) SetBetaFeature(params *SetBetaFeatureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetBetaFeatureNoContent, error)

SetBetaFeature sets beta feature

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.

type ClientService

type ClientService interface {
	GetBetaFeatures(params *GetBetaFeaturesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBetaFeaturesOK, error)

	SetBetaFeature(params *SetBetaFeatureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetBetaFeatureNoContent, 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 features API client.

func NewClientWithBasicAuth

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

New creates a new features 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 features 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 GetBetaFeaturesForbidden

type GetBetaFeaturesForbidden struct {
	Payload *models.Error
}

GetBetaFeaturesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetBetaFeaturesForbidden

func NewGetBetaFeaturesForbidden() *GetBetaFeaturesForbidden

NewGetBetaFeaturesForbidden creates a GetBetaFeaturesForbidden with default headers values

func (*GetBetaFeaturesForbidden) Code

func (o *GetBetaFeaturesForbidden) Code() int

Code gets the status code for the get beta features forbidden response

func (*GetBetaFeaturesForbidden) Error

func (o *GetBetaFeaturesForbidden) Error() string

func (*GetBetaFeaturesForbidden) GetPayload

func (o *GetBetaFeaturesForbidden) GetPayload() *models.Error

func (*GetBetaFeaturesForbidden) IsClientError

func (o *GetBetaFeaturesForbidden) IsClientError() bool

IsClientError returns true when this get beta features forbidden response has a 4xx status code

func (*GetBetaFeaturesForbidden) IsCode

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

IsCode returns true when this get beta features forbidden response a status code equal to that given

func (*GetBetaFeaturesForbidden) IsRedirect

func (o *GetBetaFeaturesForbidden) IsRedirect() bool

IsRedirect returns true when this get beta features forbidden response has a 3xx status code

func (*GetBetaFeaturesForbidden) IsServerError

func (o *GetBetaFeaturesForbidden) IsServerError() bool

IsServerError returns true when this get beta features forbidden response has a 5xx status code

func (*GetBetaFeaturesForbidden) IsSuccess

func (o *GetBetaFeaturesForbidden) IsSuccess() bool

IsSuccess returns true when this get beta features forbidden response has a 2xx status code

func (*GetBetaFeaturesForbidden) String

func (o *GetBetaFeaturesForbidden) String() string

type GetBetaFeaturesNotFound

type GetBetaFeaturesNotFound struct {
	Payload *models.Error
}

GetBetaFeaturesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetBetaFeaturesNotFound

func NewGetBetaFeaturesNotFound() *GetBetaFeaturesNotFound

NewGetBetaFeaturesNotFound creates a GetBetaFeaturesNotFound with default headers values

func (*GetBetaFeaturesNotFound) Code

func (o *GetBetaFeaturesNotFound) Code() int

Code gets the status code for the get beta features not found response

func (*GetBetaFeaturesNotFound) Error

func (o *GetBetaFeaturesNotFound) Error() string

func (*GetBetaFeaturesNotFound) GetPayload

func (o *GetBetaFeaturesNotFound) GetPayload() *models.Error

func (*GetBetaFeaturesNotFound) IsClientError

func (o *GetBetaFeaturesNotFound) IsClientError() bool

IsClientError returns true when this get beta features not found response has a 4xx status code

func (*GetBetaFeaturesNotFound) IsCode

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

IsCode returns true when this get beta features not found response a status code equal to that given

func (*GetBetaFeaturesNotFound) IsRedirect

func (o *GetBetaFeaturesNotFound) IsRedirect() bool

IsRedirect returns true when this get beta features not found response has a 3xx status code

func (*GetBetaFeaturesNotFound) IsServerError

func (o *GetBetaFeaturesNotFound) IsServerError() bool

IsServerError returns true when this get beta features not found response has a 5xx status code

func (*GetBetaFeaturesNotFound) IsSuccess

func (o *GetBetaFeaturesNotFound) IsSuccess() bool

IsSuccess returns true when this get beta features not found response has a 2xx status code

func (*GetBetaFeaturesNotFound) String

func (o *GetBetaFeaturesNotFound) String() string

type GetBetaFeaturesOK

type GetBetaFeaturesOK struct {
	Payload *models.FeaturesResponse
}

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

Beta features

func NewGetBetaFeaturesOK

func NewGetBetaFeaturesOK() *GetBetaFeaturesOK

NewGetBetaFeaturesOK creates a GetBetaFeaturesOK with default headers values

func (*GetBetaFeaturesOK) Code

func (o *GetBetaFeaturesOK) Code() int

Code gets the status code for the get beta features o k response

func (*GetBetaFeaturesOK) Error

func (o *GetBetaFeaturesOK) Error() string

func (*GetBetaFeaturesOK) GetPayload

func (o *GetBetaFeaturesOK) GetPayload() *models.FeaturesResponse

func (*GetBetaFeaturesOK) IsClientError

func (o *GetBetaFeaturesOK) IsClientError() bool

IsClientError returns true when this get beta features o k response has a 4xx status code

func (*GetBetaFeaturesOK) IsCode

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

IsCode returns true when this get beta features o k response a status code equal to that given

func (*GetBetaFeaturesOK) IsRedirect

func (o *GetBetaFeaturesOK) IsRedirect() bool

IsRedirect returns true when this get beta features o k response has a 3xx status code

func (*GetBetaFeaturesOK) IsServerError

func (o *GetBetaFeaturesOK) IsServerError() bool

IsServerError returns true when this get beta features o k response has a 5xx status code

func (*GetBetaFeaturesOK) IsSuccess

func (o *GetBetaFeaturesOK) IsSuccess() bool

IsSuccess returns true when this get beta features o k response has a 2xx status code

func (*GetBetaFeaturesOK) String

func (o *GetBetaFeaturesOK) String() string

type GetBetaFeaturesParams

type GetBetaFeaturesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetBetaFeaturesParams contains all the parameters to send to the API endpoint

for the get beta features operation.

Typically these are written to a http.Request.

func NewGetBetaFeaturesParams

func NewGetBetaFeaturesParams() *GetBetaFeaturesParams

NewGetBetaFeaturesParams creates a new GetBetaFeaturesParams 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 NewGetBetaFeaturesParamsWithContext

func NewGetBetaFeaturesParamsWithContext(ctx context.Context) *GetBetaFeaturesParams

NewGetBetaFeaturesParamsWithContext creates a new GetBetaFeaturesParams object with the ability to set a context for a request.

func NewGetBetaFeaturesParamsWithHTTPClient

func NewGetBetaFeaturesParamsWithHTTPClient(client *http.Client) *GetBetaFeaturesParams

NewGetBetaFeaturesParamsWithHTTPClient creates a new GetBetaFeaturesParams object with the ability to set a custom HTTPClient for a request.

func NewGetBetaFeaturesParamsWithTimeout

func NewGetBetaFeaturesParamsWithTimeout(timeout time.Duration) *GetBetaFeaturesParams

NewGetBetaFeaturesParamsWithTimeout creates a new GetBetaFeaturesParams object with the ability to set a timeout on a request.

func (*GetBetaFeaturesParams) SetContext

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

SetContext adds the context to the get beta features params

func (*GetBetaFeaturesParams) SetDefaults

func (o *GetBetaFeaturesParams) SetDefaults()

SetDefaults hydrates default values in the get beta features params (not the query body).

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

func (*GetBetaFeaturesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get beta features params

func (*GetBetaFeaturesParams) SetTimeout

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

SetTimeout adds the timeout to the get beta features params

func (*GetBetaFeaturesParams) WithContext

WithContext adds the context to the get beta features params

func (*GetBetaFeaturesParams) WithDefaults

func (o *GetBetaFeaturesParams) WithDefaults() *GetBetaFeaturesParams

WithDefaults hydrates default values in the get beta features params (not the query body).

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

func (*GetBetaFeaturesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get beta features params

func (*GetBetaFeaturesParams) WithTimeout

func (o *GetBetaFeaturesParams) WithTimeout(timeout time.Duration) *GetBetaFeaturesParams

WithTimeout adds the timeout to the get beta features params

func (*GetBetaFeaturesParams) WriteToRequest

func (o *GetBetaFeaturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetBetaFeaturesReader

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

GetBetaFeaturesReader is a Reader for the GetBetaFeatures structure.

func (*GetBetaFeaturesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBetaFeaturesTooManyRequests

type GetBetaFeaturesTooManyRequests struct {
	Payload *models.Error
}

GetBetaFeaturesTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewGetBetaFeaturesTooManyRequests

func NewGetBetaFeaturesTooManyRequests() *GetBetaFeaturesTooManyRequests

NewGetBetaFeaturesTooManyRequests creates a GetBetaFeaturesTooManyRequests with default headers values

func (*GetBetaFeaturesTooManyRequests) Code

Code gets the status code for the get beta features too many requests response

func (*GetBetaFeaturesTooManyRequests) Error

func (*GetBetaFeaturesTooManyRequests) GetPayload

func (o *GetBetaFeaturesTooManyRequests) GetPayload() *models.Error

func (*GetBetaFeaturesTooManyRequests) IsClientError

func (o *GetBetaFeaturesTooManyRequests) IsClientError() bool

IsClientError returns true when this get beta features too many requests response has a 4xx status code

func (*GetBetaFeaturesTooManyRequests) IsCode

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

IsCode returns true when this get beta features too many requests response a status code equal to that given

func (*GetBetaFeaturesTooManyRequests) IsRedirect

func (o *GetBetaFeaturesTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get beta features too many requests response has a 3xx status code

func (*GetBetaFeaturesTooManyRequests) IsServerError

func (o *GetBetaFeaturesTooManyRequests) IsServerError() bool

IsServerError returns true when this get beta features too many requests response has a 5xx status code

func (*GetBetaFeaturesTooManyRequests) IsSuccess

func (o *GetBetaFeaturesTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get beta features too many requests response has a 2xx status code

func (*GetBetaFeaturesTooManyRequests) String

type GetBetaFeaturesUnauthorized

type GetBetaFeaturesUnauthorized struct {
	Payload *models.Error
}

GetBetaFeaturesUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetBetaFeaturesUnauthorized

func NewGetBetaFeaturesUnauthorized() *GetBetaFeaturesUnauthorized

NewGetBetaFeaturesUnauthorized creates a GetBetaFeaturesUnauthorized with default headers values

func (*GetBetaFeaturesUnauthorized) Code

func (o *GetBetaFeaturesUnauthorized) Code() int

Code gets the status code for the get beta features unauthorized response

func (*GetBetaFeaturesUnauthorized) Error

func (*GetBetaFeaturesUnauthorized) GetPayload

func (o *GetBetaFeaturesUnauthorized) GetPayload() *models.Error

func (*GetBetaFeaturesUnauthorized) IsClientError

func (o *GetBetaFeaturesUnauthorized) IsClientError() bool

IsClientError returns true when this get beta features unauthorized response has a 4xx status code

func (*GetBetaFeaturesUnauthorized) IsCode

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

IsCode returns true when this get beta features unauthorized response a status code equal to that given

func (*GetBetaFeaturesUnauthorized) IsRedirect

func (o *GetBetaFeaturesUnauthorized) IsRedirect() bool

IsRedirect returns true when this get beta features unauthorized response has a 3xx status code

func (*GetBetaFeaturesUnauthorized) IsServerError

func (o *GetBetaFeaturesUnauthorized) IsServerError() bool

IsServerError returns true when this get beta features unauthorized response has a 5xx status code

func (*GetBetaFeaturesUnauthorized) IsSuccess

func (o *GetBetaFeaturesUnauthorized) IsSuccess() bool

IsSuccess returns true when this get beta features unauthorized response has a 2xx status code

func (*GetBetaFeaturesUnauthorized) String

func (o *GetBetaFeaturesUnauthorized) String() string

type SetBetaFeatureBadRequest

type SetBetaFeatureBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewSetBetaFeatureBadRequest

func NewSetBetaFeatureBadRequest() *SetBetaFeatureBadRequest

NewSetBetaFeatureBadRequest creates a SetBetaFeatureBadRequest with default headers values

func (*SetBetaFeatureBadRequest) Code

func (o *SetBetaFeatureBadRequest) Code() int

Code gets the status code for the set beta feature bad request response

func (*SetBetaFeatureBadRequest) Error

func (o *SetBetaFeatureBadRequest) Error() string

func (*SetBetaFeatureBadRequest) GetPayload

func (o *SetBetaFeatureBadRequest) GetPayload() *models.Error

func (*SetBetaFeatureBadRequest) IsClientError

func (o *SetBetaFeatureBadRequest) IsClientError() bool

IsClientError returns true when this set beta feature bad request response has a 4xx status code

func (*SetBetaFeatureBadRequest) IsCode

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

IsCode returns true when this set beta feature bad request response a status code equal to that given

func (*SetBetaFeatureBadRequest) IsRedirect

func (o *SetBetaFeatureBadRequest) IsRedirect() bool

IsRedirect returns true when this set beta feature bad request response has a 3xx status code

func (*SetBetaFeatureBadRequest) IsServerError

func (o *SetBetaFeatureBadRequest) IsServerError() bool

IsServerError returns true when this set beta feature bad request response has a 5xx status code

func (*SetBetaFeatureBadRequest) IsSuccess

func (o *SetBetaFeatureBadRequest) IsSuccess() bool

IsSuccess returns true when this set beta feature bad request response has a 2xx status code

func (*SetBetaFeatureBadRequest) String

func (o *SetBetaFeatureBadRequest) String() string

type SetBetaFeatureForbidden

type SetBetaFeatureForbidden struct {
	Payload *models.Error
}

SetBetaFeatureForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSetBetaFeatureForbidden

func NewSetBetaFeatureForbidden() *SetBetaFeatureForbidden

NewSetBetaFeatureForbidden creates a SetBetaFeatureForbidden with default headers values

func (*SetBetaFeatureForbidden) Code

func (o *SetBetaFeatureForbidden) Code() int

Code gets the status code for the set beta feature forbidden response

func (*SetBetaFeatureForbidden) Error

func (o *SetBetaFeatureForbidden) Error() string

func (*SetBetaFeatureForbidden) GetPayload

func (o *SetBetaFeatureForbidden) GetPayload() *models.Error

func (*SetBetaFeatureForbidden) IsClientError

func (o *SetBetaFeatureForbidden) IsClientError() bool

IsClientError returns true when this set beta feature forbidden response has a 4xx status code

func (*SetBetaFeatureForbidden) IsCode

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

IsCode returns true when this set beta feature forbidden response a status code equal to that given

func (*SetBetaFeatureForbidden) IsRedirect

func (o *SetBetaFeatureForbidden) IsRedirect() bool

IsRedirect returns true when this set beta feature forbidden response has a 3xx status code

func (*SetBetaFeatureForbidden) IsServerError

func (o *SetBetaFeatureForbidden) IsServerError() bool

IsServerError returns true when this set beta feature forbidden response has a 5xx status code

func (*SetBetaFeatureForbidden) IsSuccess

func (o *SetBetaFeatureForbidden) IsSuccess() bool

IsSuccess returns true when this set beta feature forbidden response has a 2xx status code

func (*SetBetaFeatureForbidden) String

func (o *SetBetaFeatureForbidden) String() string

type SetBetaFeatureNoContent

type SetBetaFeatureNoContent struct {
}

SetBetaFeatureNoContent describes a response with status code 204, with default header values.

beta feature set

func NewSetBetaFeatureNoContent

func NewSetBetaFeatureNoContent() *SetBetaFeatureNoContent

NewSetBetaFeatureNoContent creates a SetBetaFeatureNoContent with default headers values

func (*SetBetaFeatureNoContent) Code

func (o *SetBetaFeatureNoContent) Code() int

Code gets the status code for the set beta feature no content response

func (*SetBetaFeatureNoContent) Error

func (o *SetBetaFeatureNoContent) Error() string

func (*SetBetaFeatureNoContent) IsClientError

func (o *SetBetaFeatureNoContent) IsClientError() bool

IsClientError returns true when this set beta feature no content response has a 4xx status code

func (*SetBetaFeatureNoContent) IsCode

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

IsCode returns true when this set beta feature no content response a status code equal to that given

func (*SetBetaFeatureNoContent) IsRedirect

func (o *SetBetaFeatureNoContent) IsRedirect() bool

IsRedirect returns true when this set beta feature no content response has a 3xx status code

func (*SetBetaFeatureNoContent) IsServerError

func (o *SetBetaFeatureNoContent) IsServerError() bool

IsServerError returns true when this set beta feature no content response has a 5xx status code

func (*SetBetaFeatureNoContent) IsSuccess

func (o *SetBetaFeatureNoContent) IsSuccess() bool

IsSuccess returns true when this set beta feature no content response has a 2xx status code

func (*SetBetaFeatureNoContent) String

func (o *SetBetaFeatureNoContent) String() string

type SetBetaFeatureNotFound

type SetBetaFeatureNotFound struct {
	Payload *models.Error
}

SetBetaFeatureNotFound describes a response with status code 404, with default header values.

Not found

func NewSetBetaFeatureNotFound

func NewSetBetaFeatureNotFound() *SetBetaFeatureNotFound

NewSetBetaFeatureNotFound creates a SetBetaFeatureNotFound with default headers values

func (*SetBetaFeatureNotFound) Code

func (o *SetBetaFeatureNotFound) Code() int

Code gets the status code for the set beta feature not found response

func (*SetBetaFeatureNotFound) Error

func (o *SetBetaFeatureNotFound) Error() string

func (*SetBetaFeatureNotFound) GetPayload

func (o *SetBetaFeatureNotFound) GetPayload() *models.Error

func (*SetBetaFeatureNotFound) IsClientError

func (o *SetBetaFeatureNotFound) IsClientError() bool

IsClientError returns true when this set beta feature not found response has a 4xx status code

func (*SetBetaFeatureNotFound) IsCode

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

IsCode returns true when this set beta feature not found response a status code equal to that given

func (*SetBetaFeatureNotFound) IsRedirect

func (o *SetBetaFeatureNotFound) IsRedirect() bool

IsRedirect returns true when this set beta feature not found response has a 3xx status code

func (*SetBetaFeatureNotFound) IsServerError

func (o *SetBetaFeatureNotFound) IsServerError() bool

IsServerError returns true when this set beta feature not found response has a 5xx status code

func (*SetBetaFeatureNotFound) IsSuccess

func (o *SetBetaFeatureNotFound) IsSuccess() bool

IsSuccess returns true when this set beta feature not found response has a 2xx status code

func (*SetBetaFeatureNotFound) String

func (o *SetBetaFeatureNotFound) String() string

type SetBetaFeatureParams

type SetBetaFeatureParams struct {

	// SetTenantFeature.
	SetTenantFeature *models.SetBetaFeature

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

SetBetaFeatureParams contains all the parameters to send to the API endpoint

for the set beta feature operation.

Typically these are written to a http.Request.

func NewSetBetaFeatureParams

func NewSetBetaFeatureParams() *SetBetaFeatureParams

NewSetBetaFeatureParams creates a new SetBetaFeatureParams 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 NewSetBetaFeatureParamsWithContext

func NewSetBetaFeatureParamsWithContext(ctx context.Context) *SetBetaFeatureParams

NewSetBetaFeatureParamsWithContext creates a new SetBetaFeatureParams object with the ability to set a context for a request.

func NewSetBetaFeatureParamsWithHTTPClient

func NewSetBetaFeatureParamsWithHTTPClient(client *http.Client) *SetBetaFeatureParams

NewSetBetaFeatureParamsWithHTTPClient creates a new SetBetaFeatureParams object with the ability to set a custom HTTPClient for a request.

func NewSetBetaFeatureParamsWithTimeout

func NewSetBetaFeatureParamsWithTimeout(timeout time.Duration) *SetBetaFeatureParams

NewSetBetaFeatureParamsWithTimeout creates a new SetBetaFeatureParams object with the ability to set a timeout on a request.

func (*SetBetaFeatureParams) SetContext

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

SetContext adds the context to the set beta feature params

func (*SetBetaFeatureParams) SetDefaults

func (o *SetBetaFeatureParams) SetDefaults()

SetDefaults hydrates default values in the set beta feature params (not the query body).

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

func (*SetBetaFeatureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set beta feature params

func (*SetBetaFeatureParams) SetSetTenantFeature

func (o *SetBetaFeatureParams) SetSetTenantFeature(setTenantFeature *models.SetBetaFeature)

SetSetTenantFeature adds the setTenantFeature to the set beta feature params

func (*SetBetaFeatureParams) SetTimeout

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

SetTimeout adds the timeout to the set beta feature params

func (*SetBetaFeatureParams) WithContext

WithContext adds the context to the set beta feature params

func (*SetBetaFeatureParams) WithDefaults

func (o *SetBetaFeatureParams) WithDefaults() *SetBetaFeatureParams

WithDefaults hydrates default values in the set beta feature params (not the query body).

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

func (*SetBetaFeatureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set beta feature params

func (*SetBetaFeatureParams) WithSetTenantFeature

func (o *SetBetaFeatureParams) WithSetTenantFeature(setTenantFeature *models.SetBetaFeature) *SetBetaFeatureParams

WithSetTenantFeature adds the setTenantFeature to the set beta feature params

func (*SetBetaFeatureParams) WithTimeout

func (o *SetBetaFeatureParams) WithTimeout(timeout time.Duration) *SetBetaFeatureParams

WithTimeout adds the timeout to the set beta feature params

func (*SetBetaFeatureParams) WriteToRequest

func (o *SetBetaFeatureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SetBetaFeatureReader

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

SetBetaFeatureReader is a Reader for the SetBetaFeature structure.

func (*SetBetaFeatureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetBetaFeatureTooManyRequests

type SetBetaFeatureTooManyRequests struct {
	Payload *models.Error
}

SetBetaFeatureTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewSetBetaFeatureTooManyRequests

func NewSetBetaFeatureTooManyRequests() *SetBetaFeatureTooManyRequests

NewSetBetaFeatureTooManyRequests creates a SetBetaFeatureTooManyRequests with default headers values

func (*SetBetaFeatureTooManyRequests) Code

Code gets the status code for the set beta feature too many requests response

func (*SetBetaFeatureTooManyRequests) Error

func (*SetBetaFeatureTooManyRequests) GetPayload

func (o *SetBetaFeatureTooManyRequests) GetPayload() *models.Error

func (*SetBetaFeatureTooManyRequests) IsClientError

func (o *SetBetaFeatureTooManyRequests) IsClientError() bool

IsClientError returns true when this set beta feature too many requests response has a 4xx status code

func (*SetBetaFeatureTooManyRequests) IsCode

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

IsCode returns true when this set beta feature too many requests response a status code equal to that given

func (*SetBetaFeatureTooManyRequests) IsRedirect

func (o *SetBetaFeatureTooManyRequests) IsRedirect() bool

IsRedirect returns true when this set beta feature too many requests response has a 3xx status code

func (*SetBetaFeatureTooManyRequests) IsServerError

func (o *SetBetaFeatureTooManyRequests) IsServerError() bool

IsServerError returns true when this set beta feature too many requests response has a 5xx status code

func (*SetBetaFeatureTooManyRequests) IsSuccess

func (o *SetBetaFeatureTooManyRequests) IsSuccess() bool

IsSuccess returns true when this set beta feature too many requests response has a 2xx status code

func (*SetBetaFeatureTooManyRequests) String

type SetBetaFeatureUnauthorized

type SetBetaFeatureUnauthorized struct {
	Payload *models.Error
}

SetBetaFeatureUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewSetBetaFeatureUnauthorized

func NewSetBetaFeatureUnauthorized() *SetBetaFeatureUnauthorized

NewSetBetaFeatureUnauthorized creates a SetBetaFeatureUnauthorized with default headers values

func (*SetBetaFeatureUnauthorized) Code

func (o *SetBetaFeatureUnauthorized) Code() int

Code gets the status code for the set beta feature unauthorized response

func (*SetBetaFeatureUnauthorized) Error

func (*SetBetaFeatureUnauthorized) GetPayload

func (o *SetBetaFeatureUnauthorized) GetPayload() *models.Error

func (*SetBetaFeatureUnauthorized) IsClientError

func (o *SetBetaFeatureUnauthorized) IsClientError() bool

IsClientError returns true when this set beta feature unauthorized response has a 4xx status code

func (*SetBetaFeatureUnauthorized) IsCode

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

IsCode returns true when this set beta feature unauthorized response a status code equal to that given

func (*SetBetaFeatureUnauthorized) IsRedirect

func (o *SetBetaFeatureUnauthorized) IsRedirect() bool

IsRedirect returns true when this set beta feature unauthorized response has a 3xx status code

func (*SetBetaFeatureUnauthorized) IsServerError

func (o *SetBetaFeatureUnauthorized) IsServerError() bool

IsServerError returns true when this set beta feature unauthorized response has a 5xx status code

func (*SetBetaFeatureUnauthorized) IsSuccess

func (o *SetBetaFeatureUnauthorized) IsSuccess() bool

IsSuccess returns true when this set beta feature unauthorized response has a 2xx status code

func (*SetBetaFeatureUnauthorized) String

func (o *SetBetaFeatureUnauthorized) String() string

type SetBetaFeatureUnprocessableEntity

type SetBetaFeatureUnprocessableEntity struct {
	Payload *models.Error
}

SetBetaFeatureUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewSetBetaFeatureUnprocessableEntity

func NewSetBetaFeatureUnprocessableEntity() *SetBetaFeatureUnprocessableEntity

NewSetBetaFeatureUnprocessableEntity creates a SetBetaFeatureUnprocessableEntity with default headers values

func (*SetBetaFeatureUnprocessableEntity) Code

Code gets the status code for the set beta feature unprocessable entity response

func (*SetBetaFeatureUnprocessableEntity) Error

func (*SetBetaFeatureUnprocessableEntity) GetPayload

func (*SetBetaFeatureUnprocessableEntity) IsClientError

func (o *SetBetaFeatureUnprocessableEntity) IsClientError() bool

IsClientError returns true when this set beta feature unprocessable entity response has a 4xx status code

func (*SetBetaFeatureUnprocessableEntity) IsCode

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

IsCode returns true when this set beta feature unprocessable entity response a status code equal to that given

func (*SetBetaFeatureUnprocessableEntity) IsRedirect

func (o *SetBetaFeatureUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this set beta feature unprocessable entity response has a 3xx status code

func (*SetBetaFeatureUnprocessableEntity) IsServerError

func (o *SetBetaFeatureUnprocessableEntity) IsServerError() bool

IsServerError returns true when this set beta feature unprocessable entity response has a 5xx status code

func (*SetBetaFeatureUnprocessableEntity) IsSuccess

func (o *SetBetaFeatureUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this set beta feature unprocessable entity response has a 2xx status code

func (*SetBetaFeatureUnprocessableEntity) String

Jump to

Keyboard shortcuts

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