Documentation ¶
Index ¶
- type Client
- func (a *Client) GetTenantFeatures(params *GetTenantFeaturesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTenantFeaturesOK, error)
- func (a *Client) SetTenantFeature(params *SetTenantFeatureParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetTenantFeatureNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetTenantFeaturesForbidden
- func (o *GetTenantFeaturesForbidden) Code() int
- func (o *GetTenantFeaturesForbidden) Error() string
- func (o *GetTenantFeaturesForbidden) GetPayload() *models.Error
- func (o *GetTenantFeaturesForbidden) IsClientError() bool
- func (o *GetTenantFeaturesForbidden) IsCode(code int) bool
- func (o *GetTenantFeaturesForbidden) IsRedirect() bool
- func (o *GetTenantFeaturesForbidden) IsServerError() bool
- func (o *GetTenantFeaturesForbidden) IsSuccess() bool
- func (o *GetTenantFeaturesForbidden) String() string
- type GetTenantFeaturesNotFound
- func (o *GetTenantFeaturesNotFound) Code() int
- func (o *GetTenantFeaturesNotFound) Error() string
- func (o *GetTenantFeaturesNotFound) GetPayload() *models.Error
- func (o *GetTenantFeaturesNotFound) IsClientError() bool
- func (o *GetTenantFeaturesNotFound) IsCode(code int) bool
- func (o *GetTenantFeaturesNotFound) IsRedirect() bool
- func (o *GetTenantFeaturesNotFound) IsServerError() bool
- func (o *GetTenantFeaturesNotFound) IsSuccess() bool
- func (o *GetTenantFeaturesNotFound) String() string
- type GetTenantFeaturesOK
- func (o *GetTenantFeaturesOK) Code() int
- func (o *GetTenantFeaturesOK) Error() string
- func (o *GetTenantFeaturesOK) GetPayload() *models.FeaturesResponse
- func (o *GetTenantFeaturesOK) IsClientError() bool
- func (o *GetTenantFeaturesOK) IsCode(code int) bool
- func (o *GetTenantFeaturesOK) IsRedirect() bool
- func (o *GetTenantFeaturesOK) IsServerError() bool
- func (o *GetTenantFeaturesOK) IsSuccess() bool
- func (o *GetTenantFeaturesOK) String() string
- type GetTenantFeaturesParams
- func NewGetTenantFeaturesParams() *GetTenantFeaturesParams
- func NewGetTenantFeaturesParamsWithContext(ctx context.Context) *GetTenantFeaturesParams
- func NewGetTenantFeaturesParamsWithHTTPClient(client *http.Client) *GetTenantFeaturesParams
- func NewGetTenantFeaturesParamsWithTimeout(timeout time.Duration) *GetTenantFeaturesParams
- func (o *GetTenantFeaturesParams) SetContext(ctx context.Context)
- func (o *GetTenantFeaturesParams) SetDefaults()
- func (o *GetTenantFeaturesParams) SetHTTPClient(client *http.Client)
- func (o *GetTenantFeaturesParams) SetTid(tid string)
- func (o *GetTenantFeaturesParams) SetTimeout(timeout time.Duration)
- func (o *GetTenantFeaturesParams) WithContext(ctx context.Context) *GetTenantFeaturesParams
- func (o *GetTenantFeaturesParams) WithDefaults() *GetTenantFeaturesParams
- func (o *GetTenantFeaturesParams) WithHTTPClient(client *http.Client) *GetTenantFeaturesParams
- func (o *GetTenantFeaturesParams) WithTid(tid string) *GetTenantFeaturesParams
- func (o *GetTenantFeaturesParams) WithTimeout(timeout time.Duration) *GetTenantFeaturesParams
- func (o *GetTenantFeaturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTenantFeaturesReader
- type GetTenantFeaturesTooManyRequests
- func (o *GetTenantFeaturesTooManyRequests) Code() int
- func (o *GetTenantFeaturesTooManyRequests) Error() string
- func (o *GetTenantFeaturesTooManyRequests) GetPayload() *models.Error
- func (o *GetTenantFeaturesTooManyRequests) IsClientError() bool
- func (o *GetTenantFeaturesTooManyRequests) IsCode(code int) bool
- func (o *GetTenantFeaturesTooManyRequests) IsRedirect() bool
- func (o *GetTenantFeaturesTooManyRequests) IsServerError() bool
- func (o *GetTenantFeaturesTooManyRequests) IsSuccess() bool
- func (o *GetTenantFeaturesTooManyRequests) String() string
- type GetTenantFeaturesUnauthorized
- func (o *GetTenantFeaturesUnauthorized) Code() int
- func (o *GetTenantFeaturesUnauthorized) Error() string
- func (o *GetTenantFeaturesUnauthorized) GetPayload() *models.Error
- func (o *GetTenantFeaturesUnauthorized) IsClientError() bool
- func (o *GetTenantFeaturesUnauthorized) IsCode(code int) bool
- func (o *GetTenantFeaturesUnauthorized) IsRedirect() bool
- func (o *GetTenantFeaturesUnauthorized) IsServerError() bool
- func (o *GetTenantFeaturesUnauthorized) IsSuccess() bool
- func (o *GetTenantFeaturesUnauthorized) String() string
- type SetTenantFeatureBadRequest
- func (o *SetTenantFeatureBadRequest) Code() int
- func (o *SetTenantFeatureBadRequest) Error() string
- func (o *SetTenantFeatureBadRequest) GetPayload() *models.Error
- func (o *SetTenantFeatureBadRequest) IsClientError() bool
- func (o *SetTenantFeatureBadRequest) IsCode(code int) bool
- func (o *SetTenantFeatureBadRequest) IsRedirect() bool
- func (o *SetTenantFeatureBadRequest) IsServerError() bool
- func (o *SetTenantFeatureBadRequest) IsSuccess() bool
- func (o *SetTenantFeatureBadRequest) String() string
- type SetTenantFeatureForbidden
- func (o *SetTenantFeatureForbidden) Code() int
- func (o *SetTenantFeatureForbidden) Error() string
- func (o *SetTenantFeatureForbidden) GetPayload() *models.Error
- func (o *SetTenantFeatureForbidden) IsClientError() bool
- func (o *SetTenantFeatureForbidden) IsCode(code int) bool
- func (o *SetTenantFeatureForbidden) IsRedirect() bool
- func (o *SetTenantFeatureForbidden) IsServerError() bool
- func (o *SetTenantFeatureForbidden) IsSuccess() bool
- func (o *SetTenantFeatureForbidden) String() string
- type SetTenantFeatureNoContent
- func (o *SetTenantFeatureNoContent) Code() int
- func (o *SetTenantFeatureNoContent) Error() string
- func (o *SetTenantFeatureNoContent) IsClientError() bool
- func (o *SetTenantFeatureNoContent) IsCode(code int) bool
- func (o *SetTenantFeatureNoContent) IsRedirect() bool
- func (o *SetTenantFeatureNoContent) IsServerError() bool
- func (o *SetTenantFeatureNoContent) IsSuccess() bool
- func (o *SetTenantFeatureNoContent) String() string
- type SetTenantFeatureNotFound
- func (o *SetTenantFeatureNotFound) Code() int
- func (o *SetTenantFeatureNotFound) Error() string
- func (o *SetTenantFeatureNotFound) GetPayload() *models.Error
- func (o *SetTenantFeatureNotFound) IsClientError() bool
- func (o *SetTenantFeatureNotFound) IsCode(code int) bool
- func (o *SetTenantFeatureNotFound) IsRedirect() bool
- func (o *SetTenantFeatureNotFound) IsServerError() bool
- func (o *SetTenantFeatureNotFound) IsSuccess() bool
- func (o *SetTenantFeatureNotFound) String() string
- type SetTenantFeatureParams
- func NewSetTenantFeatureParams() *SetTenantFeatureParams
- func NewSetTenantFeatureParamsWithContext(ctx context.Context) *SetTenantFeatureParams
- func NewSetTenantFeatureParamsWithHTTPClient(client *http.Client) *SetTenantFeatureParams
- func NewSetTenantFeatureParamsWithTimeout(timeout time.Duration) *SetTenantFeatureParams
- func (o *SetTenantFeatureParams) SetContext(ctx context.Context)
- func (o *SetTenantFeatureParams) SetDefaults()
- func (o *SetTenantFeatureParams) SetHTTPClient(client *http.Client)
- func (o *SetTenantFeatureParams) SetSetTenantFeature(setTenantFeature *models.SetTenantFeature)
- func (o *SetTenantFeatureParams) SetTid(tid string)
- func (o *SetTenantFeatureParams) SetTimeout(timeout time.Duration)
- func (o *SetTenantFeatureParams) WithContext(ctx context.Context) *SetTenantFeatureParams
- func (o *SetTenantFeatureParams) WithDefaults() *SetTenantFeatureParams
- func (o *SetTenantFeatureParams) WithHTTPClient(client *http.Client) *SetTenantFeatureParams
- func (o *SetTenantFeatureParams) WithSetTenantFeature(setTenantFeature *models.SetTenantFeature) *SetTenantFeatureParams
- func (o *SetTenantFeatureParams) WithTid(tid string) *SetTenantFeatureParams
- func (o *SetTenantFeatureParams) WithTimeout(timeout time.Duration) *SetTenantFeatureParams
- func (o *SetTenantFeatureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetTenantFeatureReader
- type SetTenantFeatureTooManyRequests
- func (o *SetTenantFeatureTooManyRequests) Code() int
- func (o *SetTenantFeatureTooManyRequests) Error() string
- func (o *SetTenantFeatureTooManyRequests) GetPayload() *models.Error
- func (o *SetTenantFeatureTooManyRequests) IsClientError() bool
- func (o *SetTenantFeatureTooManyRequests) IsCode(code int) bool
- func (o *SetTenantFeatureTooManyRequests) IsRedirect() bool
- func (o *SetTenantFeatureTooManyRequests) IsServerError() bool
- func (o *SetTenantFeatureTooManyRequests) IsSuccess() bool
- func (o *SetTenantFeatureTooManyRequests) String() string
- type SetTenantFeatureUnauthorized
- func (o *SetTenantFeatureUnauthorized) Code() int
- func (o *SetTenantFeatureUnauthorized) Error() string
- func (o *SetTenantFeatureUnauthorized) GetPayload() *models.Error
- func (o *SetTenantFeatureUnauthorized) IsClientError() bool
- func (o *SetTenantFeatureUnauthorized) IsCode(code int) bool
- func (o *SetTenantFeatureUnauthorized) IsRedirect() bool
- func (o *SetTenantFeatureUnauthorized) IsServerError() bool
- func (o *SetTenantFeatureUnauthorized) IsSuccess() bool
- func (o *SetTenantFeatureUnauthorized) String() string
- type SetTenantFeatureUnprocessableEntity
- func (o *SetTenantFeatureUnprocessableEntity) Code() int
- func (o *SetTenantFeatureUnprocessableEntity) Error() string
- func (o *SetTenantFeatureUnprocessableEntity) GetPayload() *models.Error
- func (o *SetTenantFeatureUnprocessableEntity) IsClientError() bool
- func (o *SetTenantFeatureUnprocessableEntity) IsCode(code int) bool
- func (o *SetTenantFeatureUnprocessableEntity) IsRedirect() bool
- func (o *SetTenantFeatureUnprocessableEntity) IsServerError() bool
- func (o *SetTenantFeatureUnprocessableEntity) IsSuccess() bool
- func (o *SetTenantFeatureUnprocessableEntity) 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) GetTenantFeatures ¶
func (a *Client) GetTenantFeatures(params *GetTenantFeaturesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTenantFeaturesOK, error)
GetTenantFeatures gets tenant features Returns a map of all feature flags and their values.
To be able to set a tenant feature flag, you need to use an access token issued for a system tenant and admin workspace.
func (*Client) SetTenantFeature ¶
func (a *Client) SetTenantFeature(params *SetTenantFeatureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetTenantFeatureNoContent, error)
SetTenantFeature sets tenant feature Enable or disable one of the tenant's features.
To be able to set a tenant feature flag, you need to use an access token issued for a system tenant and admin workspace.
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 is the option for Client methods
type ClientService ¶
type ClientService interface { GetTenantFeatures(params *GetTenantFeaturesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTenantFeaturesOK, error) SetTenantFeature(params *SetTenantFeatureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetTenantFeatureNoContent, 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.
type GetTenantFeaturesForbidden ¶
GetTenantFeaturesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetTenantFeaturesForbidden ¶
func NewGetTenantFeaturesForbidden() *GetTenantFeaturesForbidden
NewGetTenantFeaturesForbidden creates a GetTenantFeaturesForbidden with default headers values
func (*GetTenantFeaturesForbidden) Code ¶
func (o *GetTenantFeaturesForbidden) Code() int
Code gets the status code for the get tenant features forbidden response
func (*GetTenantFeaturesForbidden) Error ¶
func (o *GetTenantFeaturesForbidden) Error() string
func (*GetTenantFeaturesForbidden) GetPayload ¶
func (o *GetTenantFeaturesForbidden) GetPayload() *models.Error
func (*GetTenantFeaturesForbidden) IsClientError ¶
func (o *GetTenantFeaturesForbidden) IsClientError() bool
IsClientError returns true when this get tenant features forbidden response has a 4xx status code
func (*GetTenantFeaturesForbidden) IsCode ¶
func (o *GetTenantFeaturesForbidden) IsCode(code int) bool
IsCode returns true when this get tenant features forbidden response a status code equal to that given
func (*GetTenantFeaturesForbidden) IsRedirect ¶
func (o *GetTenantFeaturesForbidden) IsRedirect() bool
IsRedirect returns true when this get tenant features forbidden response has a 3xx status code
func (*GetTenantFeaturesForbidden) IsServerError ¶
func (o *GetTenantFeaturesForbidden) IsServerError() bool
IsServerError returns true when this get tenant features forbidden response has a 5xx status code
func (*GetTenantFeaturesForbidden) IsSuccess ¶
func (o *GetTenantFeaturesForbidden) IsSuccess() bool
IsSuccess returns true when this get tenant features forbidden response has a 2xx status code
func (*GetTenantFeaturesForbidden) String ¶
func (o *GetTenantFeaturesForbidden) String() string
type GetTenantFeaturesNotFound ¶
GetTenantFeaturesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetTenantFeaturesNotFound ¶
func NewGetTenantFeaturesNotFound() *GetTenantFeaturesNotFound
NewGetTenantFeaturesNotFound creates a GetTenantFeaturesNotFound with default headers values
func (*GetTenantFeaturesNotFound) Code ¶
func (o *GetTenantFeaturesNotFound) Code() int
Code gets the status code for the get tenant features not found response
func (*GetTenantFeaturesNotFound) Error ¶
func (o *GetTenantFeaturesNotFound) Error() string
func (*GetTenantFeaturesNotFound) GetPayload ¶
func (o *GetTenantFeaturesNotFound) GetPayload() *models.Error
func (*GetTenantFeaturesNotFound) IsClientError ¶
func (o *GetTenantFeaturesNotFound) IsClientError() bool
IsClientError returns true when this get tenant features not found response has a 4xx status code
func (*GetTenantFeaturesNotFound) IsCode ¶
func (o *GetTenantFeaturesNotFound) IsCode(code int) bool
IsCode returns true when this get tenant features not found response a status code equal to that given
func (*GetTenantFeaturesNotFound) IsRedirect ¶
func (o *GetTenantFeaturesNotFound) IsRedirect() bool
IsRedirect returns true when this get tenant features not found response has a 3xx status code
func (*GetTenantFeaturesNotFound) IsServerError ¶
func (o *GetTenantFeaturesNotFound) IsServerError() bool
IsServerError returns true when this get tenant features not found response has a 5xx status code
func (*GetTenantFeaturesNotFound) IsSuccess ¶
func (o *GetTenantFeaturesNotFound) IsSuccess() bool
IsSuccess returns true when this get tenant features not found response has a 2xx status code
func (*GetTenantFeaturesNotFound) String ¶
func (o *GetTenantFeaturesNotFound) String() string
type GetTenantFeaturesOK ¶
type GetTenantFeaturesOK struct {
Payload *models.FeaturesResponse
}
GetTenantFeaturesOK describes a response with status code 200, with default header values.
Get tenant features
func NewGetTenantFeaturesOK ¶
func NewGetTenantFeaturesOK() *GetTenantFeaturesOK
NewGetTenantFeaturesOK creates a GetTenantFeaturesOK with default headers values
func (*GetTenantFeaturesOK) Code ¶
func (o *GetTenantFeaturesOK) Code() int
Code gets the status code for the get tenant features o k response
func (*GetTenantFeaturesOK) Error ¶
func (o *GetTenantFeaturesOK) Error() string
func (*GetTenantFeaturesOK) GetPayload ¶
func (o *GetTenantFeaturesOK) GetPayload() *models.FeaturesResponse
func (*GetTenantFeaturesOK) IsClientError ¶
func (o *GetTenantFeaturesOK) IsClientError() bool
IsClientError returns true when this get tenant features o k response has a 4xx status code
func (*GetTenantFeaturesOK) IsCode ¶
func (o *GetTenantFeaturesOK) IsCode(code int) bool
IsCode returns true when this get tenant features o k response a status code equal to that given
func (*GetTenantFeaturesOK) IsRedirect ¶
func (o *GetTenantFeaturesOK) IsRedirect() bool
IsRedirect returns true when this get tenant features o k response has a 3xx status code
func (*GetTenantFeaturesOK) IsServerError ¶
func (o *GetTenantFeaturesOK) IsServerError() bool
IsServerError returns true when this get tenant features o k response has a 5xx status code
func (*GetTenantFeaturesOK) IsSuccess ¶
func (o *GetTenantFeaturesOK) IsSuccess() bool
IsSuccess returns true when this get tenant features o k response has a 2xx status code
func (*GetTenantFeaturesOK) String ¶
func (o *GetTenantFeaturesOK) String() string
type GetTenantFeaturesParams ¶
type GetTenantFeaturesParams struct { /* Tid. Tenant id Default: "default" */ Tid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTenantFeaturesParams contains all the parameters to send to the API endpoint
for the get tenant features operation. Typically these are written to a http.Request.
func NewGetTenantFeaturesParams ¶
func NewGetTenantFeaturesParams() *GetTenantFeaturesParams
NewGetTenantFeaturesParams creates a new GetTenantFeaturesParams 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 NewGetTenantFeaturesParamsWithContext ¶
func NewGetTenantFeaturesParamsWithContext(ctx context.Context) *GetTenantFeaturesParams
NewGetTenantFeaturesParamsWithContext creates a new GetTenantFeaturesParams object with the ability to set a context for a request.
func NewGetTenantFeaturesParamsWithHTTPClient ¶
func NewGetTenantFeaturesParamsWithHTTPClient(client *http.Client) *GetTenantFeaturesParams
NewGetTenantFeaturesParamsWithHTTPClient creates a new GetTenantFeaturesParams object with the ability to set a custom HTTPClient for a request.
func NewGetTenantFeaturesParamsWithTimeout ¶
func NewGetTenantFeaturesParamsWithTimeout(timeout time.Duration) *GetTenantFeaturesParams
NewGetTenantFeaturesParamsWithTimeout creates a new GetTenantFeaturesParams object with the ability to set a timeout on a request.
func (*GetTenantFeaturesParams) SetContext ¶
func (o *GetTenantFeaturesParams) SetContext(ctx context.Context)
SetContext adds the context to the get tenant features params
func (*GetTenantFeaturesParams) SetDefaults ¶
func (o *GetTenantFeaturesParams) SetDefaults()
SetDefaults hydrates default values in the get tenant features params (not the query body).
All values with no default are reset to their zero value.
func (*GetTenantFeaturesParams) SetHTTPClient ¶
func (o *GetTenantFeaturesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tenant features params
func (*GetTenantFeaturesParams) SetTid ¶
func (o *GetTenantFeaturesParams) SetTid(tid string)
SetTid adds the tid to the get tenant features params
func (*GetTenantFeaturesParams) SetTimeout ¶
func (o *GetTenantFeaturesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tenant features params
func (*GetTenantFeaturesParams) WithContext ¶
func (o *GetTenantFeaturesParams) WithContext(ctx context.Context) *GetTenantFeaturesParams
WithContext adds the context to the get tenant features params
func (*GetTenantFeaturesParams) WithDefaults ¶
func (o *GetTenantFeaturesParams) WithDefaults() *GetTenantFeaturesParams
WithDefaults hydrates default values in the get tenant features params (not the query body).
All values with no default are reset to their zero value.
func (*GetTenantFeaturesParams) WithHTTPClient ¶
func (o *GetTenantFeaturesParams) WithHTTPClient(client *http.Client) *GetTenantFeaturesParams
WithHTTPClient adds the HTTPClient to the get tenant features params
func (*GetTenantFeaturesParams) WithTid ¶
func (o *GetTenantFeaturesParams) WithTid(tid string) *GetTenantFeaturesParams
WithTid adds the tid to the get tenant features params
func (*GetTenantFeaturesParams) WithTimeout ¶
func (o *GetTenantFeaturesParams) WithTimeout(timeout time.Duration) *GetTenantFeaturesParams
WithTimeout adds the timeout to the get tenant features params
func (*GetTenantFeaturesParams) WriteToRequest ¶
func (o *GetTenantFeaturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTenantFeaturesReader ¶
type GetTenantFeaturesReader struct {
// contains filtered or unexported fields
}
GetTenantFeaturesReader is a Reader for the GetTenantFeatures structure.
func (*GetTenantFeaturesReader) ReadResponse ¶
func (o *GetTenantFeaturesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTenantFeaturesTooManyRequests ¶
GetTenantFeaturesTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetTenantFeaturesTooManyRequests ¶
func NewGetTenantFeaturesTooManyRequests() *GetTenantFeaturesTooManyRequests
NewGetTenantFeaturesTooManyRequests creates a GetTenantFeaturesTooManyRequests with default headers values
func (*GetTenantFeaturesTooManyRequests) Code ¶
func (o *GetTenantFeaturesTooManyRequests) Code() int
Code gets the status code for the get tenant features too many requests response
func (*GetTenantFeaturesTooManyRequests) Error ¶
func (o *GetTenantFeaturesTooManyRequests) Error() string
func (*GetTenantFeaturesTooManyRequests) GetPayload ¶
func (o *GetTenantFeaturesTooManyRequests) GetPayload() *models.Error
func (*GetTenantFeaturesTooManyRequests) IsClientError ¶
func (o *GetTenantFeaturesTooManyRequests) IsClientError() bool
IsClientError returns true when this get tenant features too many requests response has a 4xx status code
func (*GetTenantFeaturesTooManyRequests) IsCode ¶
func (o *GetTenantFeaturesTooManyRequests) IsCode(code int) bool
IsCode returns true when this get tenant features too many requests response a status code equal to that given
func (*GetTenantFeaturesTooManyRequests) IsRedirect ¶
func (o *GetTenantFeaturesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get tenant features too many requests response has a 3xx status code
func (*GetTenantFeaturesTooManyRequests) IsServerError ¶
func (o *GetTenantFeaturesTooManyRequests) IsServerError() bool
IsServerError returns true when this get tenant features too many requests response has a 5xx status code
func (*GetTenantFeaturesTooManyRequests) IsSuccess ¶
func (o *GetTenantFeaturesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get tenant features too many requests response has a 2xx status code
func (*GetTenantFeaturesTooManyRequests) String ¶
func (o *GetTenantFeaturesTooManyRequests) String() string
type GetTenantFeaturesUnauthorized ¶
type GetTenantFeaturesUnauthorized struct {
}GetTenantFeaturesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetTenantFeaturesUnauthorized ¶
func NewGetTenantFeaturesUnauthorized() *GetTenantFeaturesUnauthorized
NewGetTenantFeaturesUnauthorized creates a GetTenantFeaturesUnauthorized with default headers values
func (*GetTenantFeaturesUnauthorized) Code ¶
func (o *GetTenantFeaturesUnauthorized) Code() int
Code gets the status code for the get tenant features unauthorized response
func (*GetTenantFeaturesUnauthorized) Error ¶
func (o *GetTenantFeaturesUnauthorized) Error() string
func (*GetTenantFeaturesUnauthorized) GetPayload ¶
func (o *GetTenantFeaturesUnauthorized) GetPayload() *models.Error
func (*GetTenantFeaturesUnauthorized) IsClientError ¶
func (o *GetTenantFeaturesUnauthorized) IsClientError() bool
IsClientError returns true when this get tenant features unauthorized response has a 4xx status code
func (*GetTenantFeaturesUnauthorized) IsCode ¶
func (o *GetTenantFeaturesUnauthorized) IsCode(code int) bool
IsCode returns true when this get tenant features unauthorized response a status code equal to that given
func (*GetTenantFeaturesUnauthorized) IsRedirect ¶
func (o *GetTenantFeaturesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get tenant features unauthorized response has a 3xx status code
func (*GetTenantFeaturesUnauthorized) IsServerError ¶
func (o *GetTenantFeaturesUnauthorized) IsServerError() bool
IsServerError returns true when this get tenant features unauthorized response has a 5xx status code
func (*GetTenantFeaturesUnauthorized) IsSuccess ¶
func (o *GetTenantFeaturesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get tenant features unauthorized response has a 2xx status code
func (*GetTenantFeaturesUnauthorized) String ¶
func (o *GetTenantFeaturesUnauthorized) String() string
type SetTenantFeatureBadRequest ¶
SetTenantFeatureBadRequest describes a response with status code 400, with default header values.
Bad request
func NewSetTenantFeatureBadRequest ¶
func NewSetTenantFeatureBadRequest() *SetTenantFeatureBadRequest
NewSetTenantFeatureBadRequest creates a SetTenantFeatureBadRequest with default headers values
func (*SetTenantFeatureBadRequest) Code ¶
func (o *SetTenantFeatureBadRequest) Code() int
Code gets the status code for the set tenant feature bad request response
func (*SetTenantFeatureBadRequest) Error ¶
func (o *SetTenantFeatureBadRequest) Error() string
func (*SetTenantFeatureBadRequest) GetPayload ¶
func (o *SetTenantFeatureBadRequest) GetPayload() *models.Error
func (*SetTenantFeatureBadRequest) IsClientError ¶
func (o *SetTenantFeatureBadRequest) IsClientError() bool
IsClientError returns true when this set tenant feature bad request response has a 4xx status code
func (*SetTenantFeatureBadRequest) IsCode ¶
func (o *SetTenantFeatureBadRequest) IsCode(code int) bool
IsCode returns true when this set tenant feature bad request response a status code equal to that given
func (*SetTenantFeatureBadRequest) IsRedirect ¶
func (o *SetTenantFeatureBadRequest) IsRedirect() bool
IsRedirect returns true when this set tenant feature bad request response has a 3xx status code
func (*SetTenantFeatureBadRequest) IsServerError ¶
func (o *SetTenantFeatureBadRequest) IsServerError() bool
IsServerError returns true when this set tenant feature bad request response has a 5xx status code
func (*SetTenantFeatureBadRequest) IsSuccess ¶
func (o *SetTenantFeatureBadRequest) IsSuccess() bool
IsSuccess returns true when this set tenant feature bad request response has a 2xx status code
func (*SetTenantFeatureBadRequest) String ¶
func (o *SetTenantFeatureBadRequest) String() string
type SetTenantFeatureForbidden ¶
SetTenantFeatureForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSetTenantFeatureForbidden ¶
func NewSetTenantFeatureForbidden() *SetTenantFeatureForbidden
NewSetTenantFeatureForbidden creates a SetTenantFeatureForbidden with default headers values
func (*SetTenantFeatureForbidden) Code ¶
func (o *SetTenantFeatureForbidden) Code() int
Code gets the status code for the set tenant feature forbidden response
func (*SetTenantFeatureForbidden) Error ¶
func (o *SetTenantFeatureForbidden) Error() string
func (*SetTenantFeatureForbidden) GetPayload ¶
func (o *SetTenantFeatureForbidden) GetPayload() *models.Error
func (*SetTenantFeatureForbidden) IsClientError ¶
func (o *SetTenantFeatureForbidden) IsClientError() bool
IsClientError returns true when this set tenant feature forbidden response has a 4xx status code
func (*SetTenantFeatureForbidden) IsCode ¶
func (o *SetTenantFeatureForbidden) IsCode(code int) bool
IsCode returns true when this set tenant feature forbidden response a status code equal to that given
func (*SetTenantFeatureForbidden) IsRedirect ¶
func (o *SetTenantFeatureForbidden) IsRedirect() bool
IsRedirect returns true when this set tenant feature forbidden response has a 3xx status code
func (*SetTenantFeatureForbidden) IsServerError ¶
func (o *SetTenantFeatureForbidden) IsServerError() bool
IsServerError returns true when this set tenant feature forbidden response has a 5xx status code
func (*SetTenantFeatureForbidden) IsSuccess ¶
func (o *SetTenantFeatureForbidden) IsSuccess() bool
IsSuccess returns true when this set tenant feature forbidden response has a 2xx status code
func (*SetTenantFeatureForbidden) String ¶
func (o *SetTenantFeatureForbidden) String() string
type SetTenantFeatureNoContent ¶
type SetTenantFeatureNoContent struct { }
SetTenantFeatureNoContent describes a response with status code 204, with default header values.
tenant feature set
func NewSetTenantFeatureNoContent ¶
func NewSetTenantFeatureNoContent() *SetTenantFeatureNoContent
NewSetTenantFeatureNoContent creates a SetTenantFeatureNoContent with default headers values
func (*SetTenantFeatureNoContent) Code ¶
func (o *SetTenantFeatureNoContent) Code() int
Code gets the status code for the set tenant feature no content response
func (*SetTenantFeatureNoContent) Error ¶
func (o *SetTenantFeatureNoContent) Error() string
func (*SetTenantFeatureNoContent) IsClientError ¶
func (o *SetTenantFeatureNoContent) IsClientError() bool
IsClientError returns true when this set tenant feature no content response has a 4xx status code
func (*SetTenantFeatureNoContent) IsCode ¶
func (o *SetTenantFeatureNoContent) IsCode(code int) bool
IsCode returns true when this set tenant feature no content response a status code equal to that given
func (*SetTenantFeatureNoContent) IsRedirect ¶
func (o *SetTenantFeatureNoContent) IsRedirect() bool
IsRedirect returns true when this set tenant feature no content response has a 3xx status code
func (*SetTenantFeatureNoContent) IsServerError ¶
func (o *SetTenantFeatureNoContent) IsServerError() bool
IsServerError returns true when this set tenant feature no content response has a 5xx status code
func (*SetTenantFeatureNoContent) IsSuccess ¶
func (o *SetTenantFeatureNoContent) IsSuccess() bool
IsSuccess returns true when this set tenant feature no content response has a 2xx status code
func (*SetTenantFeatureNoContent) String ¶
func (o *SetTenantFeatureNoContent) String() string
type SetTenantFeatureNotFound ¶
SetTenantFeatureNotFound describes a response with status code 404, with default header values.
Not found
func NewSetTenantFeatureNotFound ¶
func NewSetTenantFeatureNotFound() *SetTenantFeatureNotFound
NewSetTenantFeatureNotFound creates a SetTenantFeatureNotFound with default headers values
func (*SetTenantFeatureNotFound) Code ¶
func (o *SetTenantFeatureNotFound) Code() int
Code gets the status code for the set tenant feature not found response
func (*SetTenantFeatureNotFound) Error ¶
func (o *SetTenantFeatureNotFound) Error() string
func (*SetTenantFeatureNotFound) GetPayload ¶
func (o *SetTenantFeatureNotFound) GetPayload() *models.Error
func (*SetTenantFeatureNotFound) IsClientError ¶
func (o *SetTenantFeatureNotFound) IsClientError() bool
IsClientError returns true when this set tenant feature not found response has a 4xx status code
func (*SetTenantFeatureNotFound) IsCode ¶
func (o *SetTenantFeatureNotFound) IsCode(code int) bool
IsCode returns true when this set tenant feature not found response a status code equal to that given
func (*SetTenantFeatureNotFound) IsRedirect ¶
func (o *SetTenantFeatureNotFound) IsRedirect() bool
IsRedirect returns true when this set tenant feature not found response has a 3xx status code
func (*SetTenantFeatureNotFound) IsServerError ¶
func (o *SetTenantFeatureNotFound) IsServerError() bool
IsServerError returns true when this set tenant feature not found response has a 5xx status code
func (*SetTenantFeatureNotFound) IsSuccess ¶
func (o *SetTenantFeatureNotFound) IsSuccess() bool
IsSuccess returns true when this set tenant feature not found response has a 2xx status code
func (*SetTenantFeatureNotFound) String ¶
func (o *SetTenantFeatureNotFound) String() string
type SetTenantFeatureParams ¶
type SetTenantFeatureParams struct { // SetTenantFeature. SetTenantFeature *models.SetTenantFeature /* Tid. Tenant id Default: "default" */ Tid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetTenantFeatureParams contains all the parameters to send to the API endpoint
for the set tenant feature operation. Typically these are written to a http.Request.
func NewSetTenantFeatureParams ¶
func NewSetTenantFeatureParams() *SetTenantFeatureParams
NewSetTenantFeatureParams creates a new SetTenantFeatureParams 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 NewSetTenantFeatureParamsWithContext ¶
func NewSetTenantFeatureParamsWithContext(ctx context.Context) *SetTenantFeatureParams
NewSetTenantFeatureParamsWithContext creates a new SetTenantFeatureParams object with the ability to set a context for a request.
func NewSetTenantFeatureParamsWithHTTPClient ¶
func NewSetTenantFeatureParamsWithHTTPClient(client *http.Client) *SetTenantFeatureParams
NewSetTenantFeatureParamsWithHTTPClient creates a new SetTenantFeatureParams object with the ability to set a custom HTTPClient for a request.
func NewSetTenantFeatureParamsWithTimeout ¶
func NewSetTenantFeatureParamsWithTimeout(timeout time.Duration) *SetTenantFeatureParams
NewSetTenantFeatureParamsWithTimeout creates a new SetTenantFeatureParams object with the ability to set a timeout on a request.
func (*SetTenantFeatureParams) SetContext ¶
func (o *SetTenantFeatureParams) SetContext(ctx context.Context)
SetContext adds the context to the set tenant feature params
func (*SetTenantFeatureParams) SetDefaults ¶
func (o *SetTenantFeatureParams) SetDefaults()
SetDefaults hydrates default values in the set tenant feature params (not the query body).
All values with no default are reset to their zero value.
func (*SetTenantFeatureParams) SetHTTPClient ¶
func (o *SetTenantFeatureParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set tenant feature params
func (*SetTenantFeatureParams) SetSetTenantFeature ¶
func (o *SetTenantFeatureParams) SetSetTenantFeature(setTenantFeature *models.SetTenantFeature)
SetSetTenantFeature adds the setTenantFeature to the set tenant feature params
func (*SetTenantFeatureParams) SetTid ¶
func (o *SetTenantFeatureParams) SetTid(tid string)
SetTid adds the tid to the set tenant feature params
func (*SetTenantFeatureParams) SetTimeout ¶
func (o *SetTenantFeatureParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set tenant feature params
func (*SetTenantFeatureParams) WithContext ¶
func (o *SetTenantFeatureParams) WithContext(ctx context.Context) *SetTenantFeatureParams
WithContext adds the context to the set tenant feature params
func (*SetTenantFeatureParams) WithDefaults ¶
func (o *SetTenantFeatureParams) WithDefaults() *SetTenantFeatureParams
WithDefaults hydrates default values in the set tenant feature params (not the query body).
All values with no default are reset to their zero value.
func (*SetTenantFeatureParams) WithHTTPClient ¶
func (o *SetTenantFeatureParams) WithHTTPClient(client *http.Client) *SetTenantFeatureParams
WithHTTPClient adds the HTTPClient to the set tenant feature params
func (*SetTenantFeatureParams) WithSetTenantFeature ¶
func (o *SetTenantFeatureParams) WithSetTenantFeature(setTenantFeature *models.SetTenantFeature) *SetTenantFeatureParams
WithSetTenantFeature adds the setTenantFeature to the set tenant feature params
func (*SetTenantFeatureParams) WithTid ¶
func (o *SetTenantFeatureParams) WithTid(tid string) *SetTenantFeatureParams
WithTid adds the tid to the set tenant feature params
func (*SetTenantFeatureParams) WithTimeout ¶
func (o *SetTenantFeatureParams) WithTimeout(timeout time.Duration) *SetTenantFeatureParams
WithTimeout adds the timeout to the set tenant feature params
func (*SetTenantFeatureParams) WriteToRequest ¶
func (o *SetTenantFeatureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetTenantFeatureReader ¶
type SetTenantFeatureReader struct {
// contains filtered or unexported fields
}
SetTenantFeatureReader is a Reader for the SetTenantFeature structure.
func (*SetTenantFeatureReader) ReadResponse ¶
func (o *SetTenantFeatureReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetTenantFeatureTooManyRequests ¶
SetTenantFeatureTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewSetTenantFeatureTooManyRequests ¶
func NewSetTenantFeatureTooManyRequests() *SetTenantFeatureTooManyRequests
NewSetTenantFeatureTooManyRequests creates a SetTenantFeatureTooManyRequests with default headers values
func (*SetTenantFeatureTooManyRequests) Code ¶
func (o *SetTenantFeatureTooManyRequests) Code() int
Code gets the status code for the set tenant feature too many requests response
func (*SetTenantFeatureTooManyRequests) Error ¶
func (o *SetTenantFeatureTooManyRequests) Error() string
func (*SetTenantFeatureTooManyRequests) GetPayload ¶
func (o *SetTenantFeatureTooManyRequests) GetPayload() *models.Error
func (*SetTenantFeatureTooManyRequests) IsClientError ¶
func (o *SetTenantFeatureTooManyRequests) IsClientError() bool
IsClientError returns true when this set tenant feature too many requests response has a 4xx status code
func (*SetTenantFeatureTooManyRequests) IsCode ¶
func (o *SetTenantFeatureTooManyRequests) IsCode(code int) bool
IsCode returns true when this set tenant feature too many requests response a status code equal to that given
func (*SetTenantFeatureTooManyRequests) IsRedirect ¶
func (o *SetTenantFeatureTooManyRequests) IsRedirect() bool
IsRedirect returns true when this set tenant feature too many requests response has a 3xx status code
func (*SetTenantFeatureTooManyRequests) IsServerError ¶
func (o *SetTenantFeatureTooManyRequests) IsServerError() bool
IsServerError returns true when this set tenant feature too many requests response has a 5xx status code
func (*SetTenantFeatureTooManyRequests) IsSuccess ¶
func (o *SetTenantFeatureTooManyRequests) IsSuccess() bool
IsSuccess returns true when this set tenant feature too many requests response has a 2xx status code
func (*SetTenantFeatureTooManyRequests) String ¶
func (o *SetTenantFeatureTooManyRequests) String() string
type SetTenantFeatureUnauthorized ¶
type SetTenantFeatureUnauthorized struct {
}SetTenantFeatureUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSetTenantFeatureUnauthorized ¶
func NewSetTenantFeatureUnauthorized() *SetTenantFeatureUnauthorized
NewSetTenantFeatureUnauthorized creates a SetTenantFeatureUnauthorized with default headers values
func (*SetTenantFeatureUnauthorized) Code ¶
func (o *SetTenantFeatureUnauthorized) Code() int
Code gets the status code for the set tenant feature unauthorized response
func (*SetTenantFeatureUnauthorized) Error ¶
func (o *SetTenantFeatureUnauthorized) Error() string
func (*SetTenantFeatureUnauthorized) GetPayload ¶
func (o *SetTenantFeatureUnauthorized) GetPayload() *models.Error
func (*SetTenantFeatureUnauthorized) IsClientError ¶
func (o *SetTenantFeatureUnauthorized) IsClientError() bool
IsClientError returns true when this set tenant feature unauthorized response has a 4xx status code
func (*SetTenantFeatureUnauthorized) IsCode ¶
func (o *SetTenantFeatureUnauthorized) IsCode(code int) bool
IsCode returns true when this set tenant feature unauthorized response a status code equal to that given
func (*SetTenantFeatureUnauthorized) IsRedirect ¶
func (o *SetTenantFeatureUnauthorized) IsRedirect() bool
IsRedirect returns true when this set tenant feature unauthorized response has a 3xx status code
func (*SetTenantFeatureUnauthorized) IsServerError ¶
func (o *SetTenantFeatureUnauthorized) IsServerError() bool
IsServerError returns true when this set tenant feature unauthorized response has a 5xx status code
func (*SetTenantFeatureUnauthorized) IsSuccess ¶
func (o *SetTenantFeatureUnauthorized) IsSuccess() bool
IsSuccess returns true when this set tenant feature unauthorized response has a 2xx status code
func (*SetTenantFeatureUnauthorized) String ¶
func (o *SetTenantFeatureUnauthorized) String() string
type SetTenantFeatureUnprocessableEntity ¶
SetTenantFeatureUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewSetTenantFeatureUnprocessableEntity ¶
func NewSetTenantFeatureUnprocessableEntity() *SetTenantFeatureUnprocessableEntity
NewSetTenantFeatureUnprocessableEntity creates a SetTenantFeatureUnprocessableEntity with default headers values
func (*SetTenantFeatureUnprocessableEntity) Code ¶
func (o *SetTenantFeatureUnprocessableEntity) Code() int
Code gets the status code for the set tenant feature unprocessable entity response
func (*SetTenantFeatureUnprocessableEntity) Error ¶
func (o *SetTenantFeatureUnprocessableEntity) Error() string
func (*SetTenantFeatureUnprocessableEntity) GetPayload ¶
func (o *SetTenantFeatureUnprocessableEntity) GetPayload() *models.Error
func (*SetTenantFeatureUnprocessableEntity) IsClientError ¶
func (o *SetTenantFeatureUnprocessableEntity) IsClientError() bool
IsClientError returns true when this set tenant feature unprocessable entity response has a 4xx status code
func (*SetTenantFeatureUnprocessableEntity) IsCode ¶
func (o *SetTenantFeatureUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this set tenant feature unprocessable entity response a status code equal to that given
func (*SetTenantFeatureUnprocessableEntity) IsRedirect ¶
func (o *SetTenantFeatureUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this set tenant feature unprocessable entity response has a 3xx status code
func (*SetTenantFeatureUnprocessableEntity) IsServerError ¶
func (o *SetTenantFeatureUnprocessableEntity) IsServerError() bool
IsServerError returns true when this set tenant feature unprocessable entity response has a 5xx status code
func (*SetTenantFeatureUnprocessableEntity) IsSuccess ¶
func (o *SetTenantFeatureUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this set tenant feature unprocessable entity response has a 2xx status code
func (*SetTenantFeatureUnprocessableEntity) String ¶
func (o *SetTenantFeatureUnprocessableEntity) String() string