Documentation ¶
Index ¶
- type Client
- func (a *Client) GetBetaFeatures(params *GetBetaFeaturesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBetaFeaturesOK, error)
- func (a *Client) SetBetaFeature(params *SetBetaFeatureParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetBetaFeatureNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetBetaFeaturesForbidden
- func (o *GetBetaFeaturesForbidden) Code() int
- func (o *GetBetaFeaturesForbidden) Error() string
- func (o *GetBetaFeaturesForbidden) GetPayload() *models.Error
- func (o *GetBetaFeaturesForbidden) IsClientError() bool
- func (o *GetBetaFeaturesForbidden) IsCode(code int) bool
- func (o *GetBetaFeaturesForbidden) IsRedirect() bool
- func (o *GetBetaFeaturesForbidden) IsServerError() bool
- func (o *GetBetaFeaturesForbidden) IsSuccess() bool
- func (o *GetBetaFeaturesForbidden) String() string
- type GetBetaFeaturesNotFound
- func (o *GetBetaFeaturesNotFound) Code() int
- func (o *GetBetaFeaturesNotFound) Error() string
- func (o *GetBetaFeaturesNotFound) GetPayload() *models.Error
- func (o *GetBetaFeaturesNotFound) IsClientError() bool
- func (o *GetBetaFeaturesNotFound) IsCode(code int) bool
- func (o *GetBetaFeaturesNotFound) IsRedirect() bool
- func (o *GetBetaFeaturesNotFound) IsServerError() bool
- func (o *GetBetaFeaturesNotFound) IsSuccess() bool
- func (o *GetBetaFeaturesNotFound) String() string
- type GetBetaFeaturesOK
- func (o *GetBetaFeaturesOK) Code() int
- func (o *GetBetaFeaturesOK) Error() string
- func (o *GetBetaFeaturesOK) GetPayload() *models.FeaturesResponse
- func (o *GetBetaFeaturesOK) IsClientError() bool
- func (o *GetBetaFeaturesOK) IsCode(code int) bool
- func (o *GetBetaFeaturesOK) IsRedirect() bool
- func (o *GetBetaFeaturesOK) IsServerError() bool
- func (o *GetBetaFeaturesOK) IsSuccess() bool
- func (o *GetBetaFeaturesOK) String() string
- type GetBetaFeaturesParams
- func NewGetBetaFeaturesParams() *GetBetaFeaturesParams
- func NewGetBetaFeaturesParamsWithContext(ctx context.Context) *GetBetaFeaturesParams
- func NewGetBetaFeaturesParamsWithHTTPClient(client *http.Client) *GetBetaFeaturesParams
- func NewGetBetaFeaturesParamsWithTimeout(timeout time.Duration) *GetBetaFeaturesParams
- func (o *GetBetaFeaturesParams) SetContext(ctx context.Context)
- func (o *GetBetaFeaturesParams) SetDefaults()
- func (o *GetBetaFeaturesParams) SetHTTPClient(client *http.Client)
- func (o *GetBetaFeaturesParams) SetTimeout(timeout time.Duration)
- func (o *GetBetaFeaturesParams) WithContext(ctx context.Context) *GetBetaFeaturesParams
- func (o *GetBetaFeaturesParams) WithDefaults() *GetBetaFeaturesParams
- func (o *GetBetaFeaturesParams) WithHTTPClient(client *http.Client) *GetBetaFeaturesParams
- func (o *GetBetaFeaturesParams) WithTimeout(timeout time.Duration) *GetBetaFeaturesParams
- func (o *GetBetaFeaturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBetaFeaturesReader
- type GetBetaFeaturesTooManyRequests
- func (o *GetBetaFeaturesTooManyRequests) Code() int
- func (o *GetBetaFeaturesTooManyRequests) Error() string
- func (o *GetBetaFeaturesTooManyRequests) GetPayload() *models.Error
- func (o *GetBetaFeaturesTooManyRequests) IsClientError() bool
- func (o *GetBetaFeaturesTooManyRequests) IsCode(code int) bool
- func (o *GetBetaFeaturesTooManyRequests) IsRedirect() bool
- func (o *GetBetaFeaturesTooManyRequests) IsServerError() bool
- func (o *GetBetaFeaturesTooManyRequests) IsSuccess() bool
- func (o *GetBetaFeaturesTooManyRequests) String() string
- type GetBetaFeaturesUnauthorized
- func (o *GetBetaFeaturesUnauthorized) Code() int
- func (o *GetBetaFeaturesUnauthorized) Error() string
- func (o *GetBetaFeaturesUnauthorized) GetPayload() *models.Error
- func (o *GetBetaFeaturesUnauthorized) IsClientError() bool
- func (o *GetBetaFeaturesUnauthorized) IsCode(code int) bool
- func (o *GetBetaFeaturesUnauthorized) IsRedirect() bool
- func (o *GetBetaFeaturesUnauthorized) IsServerError() bool
- func (o *GetBetaFeaturesUnauthorized) IsSuccess() bool
- func (o *GetBetaFeaturesUnauthorized) String() string
- type SetBetaFeatureBadRequest
- func (o *SetBetaFeatureBadRequest) Code() int
- func (o *SetBetaFeatureBadRequest) Error() string
- func (o *SetBetaFeatureBadRequest) GetPayload() *models.Error
- func (o *SetBetaFeatureBadRequest) IsClientError() bool
- func (o *SetBetaFeatureBadRequest) IsCode(code int) bool
- func (o *SetBetaFeatureBadRequest) IsRedirect() bool
- func (o *SetBetaFeatureBadRequest) IsServerError() bool
- func (o *SetBetaFeatureBadRequest) IsSuccess() bool
- func (o *SetBetaFeatureBadRequest) String() string
- type SetBetaFeatureForbidden
- func (o *SetBetaFeatureForbidden) Code() int
- func (o *SetBetaFeatureForbidden) Error() string
- func (o *SetBetaFeatureForbidden) GetPayload() *models.Error
- func (o *SetBetaFeatureForbidden) IsClientError() bool
- func (o *SetBetaFeatureForbidden) IsCode(code int) bool
- func (o *SetBetaFeatureForbidden) IsRedirect() bool
- func (o *SetBetaFeatureForbidden) IsServerError() bool
- func (o *SetBetaFeatureForbidden) IsSuccess() bool
- func (o *SetBetaFeatureForbidden) String() string
- type SetBetaFeatureNoContent
- func (o *SetBetaFeatureNoContent) Code() int
- func (o *SetBetaFeatureNoContent) Error() string
- func (o *SetBetaFeatureNoContent) IsClientError() bool
- func (o *SetBetaFeatureNoContent) IsCode(code int) bool
- func (o *SetBetaFeatureNoContent) IsRedirect() bool
- func (o *SetBetaFeatureNoContent) IsServerError() bool
- func (o *SetBetaFeatureNoContent) IsSuccess() bool
- func (o *SetBetaFeatureNoContent) String() string
- type SetBetaFeatureNotFound
- func (o *SetBetaFeatureNotFound) Code() int
- func (o *SetBetaFeatureNotFound) Error() string
- func (o *SetBetaFeatureNotFound) GetPayload() *models.Error
- func (o *SetBetaFeatureNotFound) IsClientError() bool
- func (o *SetBetaFeatureNotFound) IsCode(code int) bool
- func (o *SetBetaFeatureNotFound) IsRedirect() bool
- func (o *SetBetaFeatureNotFound) IsServerError() bool
- func (o *SetBetaFeatureNotFound) IsSuccess() bool
- func (o *SetBetaFeatureNotFound) String() string
- type SetBetaFeatureParams
- func NewSetBetaFeatureParams() *SetBetaFeatureParams
- func NewSetBetaFeatureParamsWithContext(ctx context.Context) *SetBetaFeatureParams
- func NewSetBetaFeatureParamsWithHTTPClient(client *http.Client) *SetBetaFeatureParams
- func NewSetBetaFeatureParamsWithTimeout(timeout time.Duration) *SetBetaFeatureParams
- func (o *SetBetaFeatureParams) SetContext(ctx context.Context)
- func (o *SetBetaFeatureParams) SetDefaults()
- func (o *SetBetaFeatureParams) SetHTTPClient(client *http.Client)
- func (o *SetBetaFeatureParams) SetSetTenantFeature(setTenantFeature *models.SetBetaFeature)
- func (o *SetBetaFeatureParams) SetTimeout(timeout time.Duration)
- func (o *SetBetaFeatureParams) WithContext(ctx context.Context) *SetBetaFeatureParams
- func (o *SetBetaFeatureParams) WithDefaults() *SetBetaFeatureParams
- func (o *SetBetaFeatureParams) WithHTTPClient(client *http.Client) *SetBetaFeatureParams
- func (o *SetBetaFeatureParams) WithSetTenantFeature(setTenantFeature *models.SetBetaFeature) *SetBetaFeatureParams
- func (o *SetBetaFeatureParams) WithTimeout(timeout time.Duration) *SetBetaFeatureParams
- func (o *SetBetaFeatureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetBetaFeatureReader
- type SetBetaFeatureTooManyRequests
- func (o *SetBetaFeatureTooManyRequests) Code() int
- func (o *SetBetaFeatureTooManyRequests) Error() string
- func (o *SetBetaFeatureTooManyRequests) GetPayload() *models.Error
- func (o *SetBetaFeatureTooManyRequests) IsClientError() bool
- func (o *SetBetaFeatureTooManyRequests) IsCode(code int) bool
- func (o *SetBetaFeatureTooManyRequests) IsRedirect() bool
- func (o *SetBetaFeatureTooManyRequests) IsServerError() bool
- func (o *SetBetaFeatureTooManyRequests) IsSuccess() bool
- func (o *SetBetaFeatureTooManyRequests) String() string
- type SetBetaFeatureUnauthorized
- func (o *SetBetaFeatureUnauthorized) Code() int
- func (o *SetBetaFeatureUnauthorized) Error() string
- func (o *SetBetaFeatureUnauthorized) GetPayload() *models.Error
- func (o *SetBetaFeatureUnauthorized) IsClientError() bool
- func (o *SetBetaFeatureUnauthorized) IsCode(code int) bool
- func (o *SetBetaFeatureUnauthorized) IsRedirect() bool
- func (o *SetBetaFeatureUnauthorized) IsServerError() bool
- func (o *SetBetaFeatureUnauthorized) IsSuccess() bool
- func (o *SetBetaFeatureUnauthorized) String() string
- type SetBetaFeatureUnprocessableEntity
- func (o *SetBetaFeatureUnprocessableEntity) Code() int
- func (o *SetBetaFeatureUnprocessableEntity) Error() string
- func (o *SetBetaFeatureUnprocessableEntity) GetPayload() *models.Error
- func (o *SetBetaFeatureUnprocessableEntity) IsClientError() bool
- func (o *SetBetaFeatureUnprocessableEntity) IsCode(code int) bool
- func (o *SetBetaFeatureUnprocessableEntity) IsRedirect() bool
- func (o *SetBetaFeatureUnprocessableEntity) IsServerError() bool
- func (o *SetBetaFeatureUnprocessableEntity) IsSuccess() bool
- func (o *SetBetaFeatureUnprocessableEntity) String() string
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 ¶
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 ¶
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 ¶
func (o *GetBetaFeaturesParams) WithContext(ctx context.Context) *GetBetaFeaturesParams
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 ¶
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 ¶
func (o *GetBetaFeaturesTooManyRequests) Code() int
Code gets the status code for the get beta features too many requests response
func (*GetBetaFeaturesTooManyRequests) Error ¶
func (o *GetBetaFeaturesTooManyRequests) Error() string
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 ¶
func (o *GetBetaFeaturesTooManyRequests) String() string
type GetBetaFeaturesUnauthorized ¶
type GetBetaFeaturesUnauthorized struct {
}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 (o *GetBetaFeaturesUnauthorized) Error() string
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 ¶
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 ¶
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 ¶
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 ¶
func (o *SetBetaFeatureParams) WithContext(ctx context.Context) *SetBetaFeatureParams
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 ¶
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 ¶
func (o *SetBetaFeatureTooManyRequests) Code() int
Code gets the status code for the set beta feature too many requests response
func (*SetBetaFeatureTooManyRequests) Error ¶
func (o *SetBetaFeatureTooManyRequests) Error() string
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 ¶
func (o *SetBetaFeatureTooManyRequests) String() string
type SetBetaFeatureUnauthorized ¶
type SetBetaFeatureUnauthorized struct {
}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 (o *SetBetaFeatureUnauthorized) Error() string
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 ¶
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 ¶
func (o *SetBetaFeatureUnprocessableEntity) Code() int
Code gets the status code for the set beta feature unprocessable entity response
func (*SetBetaFeatureUnprocessableEntity) Error ¶
func (o *SetBetaFeatureUnprocessableEntity) Error() string
func (*SetBetaFeatureUnprocessableEntity) GetPayload ¶
func (o *SetBetaFeatureUnprocessableEntity) GetPayload() *models.Error
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 ¶
func (o *SetBetaFeatureUnprocessableEntity) String() string