Documentation
¶
Index ¶
- type Client
- func (a *Client) GetSecurity(params *GetSecurityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSecurityOK, error)
- func (a *Client) GetTenantSecurity(params *GetTenantSecurityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTenantSecurityOK, error)
- func (a *Client) SetTenantSecurity(params *SetTenantSecurityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetTenantSecurityNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetSecurityForbidden
- func (o *GetSecurityForbidden) Code() int
- func (o *GetSecurityForbidden) Error() string
- func (o *GetSecurityForbidden) GetPayload() *models.Error
- func (o *GetSecurityForbidden) IsClientError() bool
- func (o *GetSecurityForbidden) IsCode(code int) bool
- func (o *GetSecurityForbidden) IsRedirect() bool
- func (o *GetSecurityForbidden) IsServerError() bool
- func (o *GetSecurityForbidden) IsSuccess() bool
- func (o *GetSecurityForbidden) String() string
- type GetSecurityNotFound
- func (o *GetSecurityNotFound) Code() int
- func (o *GetSecurityNotFound) Error() string
- func (o *GetSecurityNotFound) GetPayload() *models.Error
- func (o *GetSecurityNotFound) IsClientError() bool
- func (o *GetSecurityNotFound) IsCode(code int) bool
- func (o *GetSecurityNotFound) IsRedirect() bool
- func (o *GetSecurityNotFound) IsServerError() bool
- func (o *GetSecurityNotFound) IsSuccess() bool
- func (o *GetSecurityNotFound) String() string
- type GetSecurityOK
- func (o *GetSecurityOK) Code() int
- func (o *GetSecurityOK) Error() string
- func (o *GetSecurityOK) GetPayload() *models.SecureOptions
- func (o *GetSecurityOK) IsClientError() bool
- func (o *GetSecurityOK) IsCode(code int) bool
- func (o *GetSecurityOK) IsRedirect() bool
- func (o *GetSecurityOK) IsServerError() bool
- func (o *GetSecurityOK) IsSuccess() bool
- func (o *GetSecurityOK) String() string
- type GetSecurityParams
- func (o *GetSecurityParams) SetContext(ctx context.Context)
- func (o *GetSecurityParams) SetDefaults()
- func (o *GetSecurityParams) SetHTTPClient(client *http.Client)
- func (o *GetSecurityParams) SetTimeout(timeout time.Duration)
- func (o *GetSecurityParams) WithContext(ctx context.Context) *GetSecurityParams
- func (o *GetSecurityParams) WithDefaults() *GetSecurityParams
- func (o *GetSecurityParams) WithHTTPClient(client *http.Client) *GetSecurityParams
- func (o *GetSecurityParams) WithTimeout(timeout time.Duration) *GetSecurityParams
- func (o *GetSecurityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecurityReader
- type GetSecurityTooManyRequests
- func (o *GetSecurityTooManyRequests) Code() int
- func (o *GetSecurityTooManyRequests) Error() string
- func (o *GetSecurityTooManyRequests) GetPayload() *models.Error
- func (o *GetSecurityTooManyRequests) IsClientError() bool
- func (o *GetSecurityTooManyRequests) IsCode(code int) bool
- func (o *GetSecurityTooManyRequests) IsRedirect() bool
- func (o *GetSecurityTooManyRequests) IsServerError() bool
- func (o *GetSecurityTooManyRequests) IsSuccess() bool
- func (o *GetSecurityTooManyRequests) String() string
- type GetSecurityUnauthorized
- func (o *GetSecurityUnauthorized) Code() int
- func (o *GetSecurityUnauthorized) Error() string
- func (o *GetSecurityUnauthorized) GetPayload() *models.Error
- func (o *GetSecurityUnauthorized) IsClientError() bool
- func (o *GetSecurityUnauthorized) IsCode(code int) bool
- func (o *GetSecurityUnauthorized) IsRedirect() bool
- func (o *GetSecurityUnauthorized) IsServerError() bool
- func (o *GetSecurityUnauthorized) IsSuccess() bool
- func (o *GetSecurityUnauthorized) String() string
- type GetTenantSecurityForbidden
- func (o *GetTenantSecurityForbidden) Code() int
- func (o *GetTenantSecurityForbidden) Error() string
- func (o *GetTenantSecurityForbidden) GetPayload() *models.Error
- func (o *GetTenantSecurityForbidden) IsClientError() bool
- func (o *GetTenantSecurityForbidden) IsCode(code int) bool
- func (o *GetTenantSecurityForbidden) IsRedirect() bool
- func (o *GetTenantSecurityForbidden) IsServerError() bool
- func (o *GetTenantSecurityForbidden) IsSuccess() bool
- func (o *GetTenantSecurityForbidden) String() string
- type GetTenantSecurityNotFound
- func (o *GetTenantSecurityNotFound) Code() int
- func (o *GetTenantSecurityNotFound) Error() string
- func (o *GetTenantSecurityNotFound) GetPayload() *models.Error
- func (o *GetTenantSecurityNotFound) IsClientError() bool
- func (o *GetTenantSecurityNotFound) IsCode(code int) bool
- func (o *GetTenantSecurityNotFound) IsRedirect() bool
- func (o *GetTenantSecurityNotFound) IsServerError() bool
- func (o *GetTenantSecurityNotFound) IsSuccess() bool
- func (o *GetTenantSecurityNotFound) String() string
- type GetTenantSecurityOK
- func (o *GetTenantSecurityOK) Code() int
- func (o *GetTenantSecurityOK) Error() string
- func (o *GetTenantSecurityOK) GetPayload() *models.SecureOptions
- func (o *GetTenantSecurityOK) IsClientError() bool
- func (o *GetTenantSecurityOK) IsCode(code int) bool
- func (o *GetTenantSecurityOK) IsRedirect() bool
- func (o *GetTenantSecurityOK) IsServerError() bool
- func (o *GetTenantSecurityOK) IsSuccess() bool
- func (o *GetTenantSecurityOK) String() string
- type GetTenantSecurityParams
- func NewGetTenantSecurityParams() *GetTenantSecurityParams
- func NewGetTenantSecurityParamsWithContext(ctx context.Context) *GetTenantSecurityParams
- func NewGetTenantSecurityParamsWithHTTPClient(client *http.Client) *GetTenantSecurityParams
- func NewGetTenantSecurityParamsWithTimeout(timeout time.Duration) *GetTenantSecurityParams
- func (o *GetTenantSecurityParams) SetContext(ctx context.Context)
- func (o *GetTenantSecurityParams) SetDefaults()
- func (o *GetTenantSecurityParams) SetHTTPClient(client *http.Client)
- func (o *GetTenantSecurityParams) SetTid(tid string)
- func (o *GetTenantSecurityParams) SetTimeout(timeout time.Duration)
- func (o *GetTenantSecurityParams) WithContext(ctx context.Context) *GetTenantSecurityParams
- func (o *GetTenantSecurityParams) WithDefaults() *GetTenantSecurityParams
- func (o *GetTenantSecurityParams) WithHTTPClient(client *http.Client) *GetTenantSecurityParams
- func (o *GetTenantSecurityParams) WithTid(tid string) *GetTenantSecurityParams
- func (o *GetTenantSecurityParams) WithTimeout(timeout time.Duration) *GetTenantSecurityParams
- func (o *GetTenantSecurityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTenantSecurityReader
- type GetTenantSecurityTooManyRequests
- func (o *GetTenantSecurityTooManyRequests) Code() int
- func (o *GetTenantSecurityTooManyRequests) Error() string
- func (o *GetTenantSecurityTooManyRequests) GetPayload() *models.Error
- func (o *GetTenantSecurityTooManyRequests) IsClientError() bool
- func (o *GetTenantSecurityTooManyRequests) IsCode(code int) bool
- func (o *GetTenantSecurityTooManyRequests) IsRedirect() bool
- func (o *GetTenantSecurityTooManyRequests) IsServerError() bool
- func (o *GetTenantSecurityTooManyRequests) IsSuccess() bool
- func (o *GetTenantSecurityTooManyRequests) String() string
- type GetTenantSecurityUnauthorized
- func (o *GetTenantSecurityUnauthorized) Code() int
- func (o *GetTenantSecurityUnauthorized) Error() string
- func (o *GetTenantSecurityUnauthorized) GetPayload() *models.Error
- func (o *GetTenantSecurityUnauthorized) IsClientError() bool
- func (o *GetTenantSecurityUnauthorized) IsCode(code int) bool
- func (o *GetTenantSecurityUnauthorized) IsRedirect() bool
- func (o *GetTenantSecurityUnauthorized) IsServerError() bool
- func (o *GetTenantSecurityUnauthorized) IsSuccess() bool
- func (o *GetTenantSecurityUnauthorized) String() string
- type SetTenantSecurityBadRequest
- func (o *SetTenantSecurityBadRequest) Code() int
- func (o *SetTenantSecurityBadRequest) Error() string
- func (o *SetTenantSecurityBadRequest) GetPayload() *models.Error
- func (o *SetTenantSecurityBadRequest) IsClientError() bool
- func (o *SetTenantSecurityBadRequest) IsCode(code int) bool
- func (o *SetTenantSecurityBadRequest) IsRedirect() bool
- func (o *SetTenantSecurityBadRequest) IsServerError() bool
- func (o *SetTenantSecurityBadRequest) IsSuccess() bool
- func (o *SetTenantSecurityBadRequest) String() string
- type SetTenantSecurityForbidden
- func (o *SetTenantSecurityForbidden) Code() int
- func (o *SetTenantSecurityForbidden) Error() string
- func (o *SetTenantSecurityForbidden) GetPayload() *models.Error
- func (o *SetTenantSecurityForbidden) IsClientError() bool
- func (o *SetTenantSecurityForbidden) IsCode(code int) bool
- func (o *SetTenantSecurityForbidden) IsRedirect() bool
- func (o *SetTenantSecurityForbidden) IsServerError() bool
- func (o *SetTenantSecurityForbidden) IsSuccess() bool
- func (o *SetTenantSecurityForbidden) String() string
- type SetTenantSecurityNoContent
- func (o *SetTenantSecurityNoContent) Code() int
- func (o *SetTenantSecurityNoContent) Error() string
- func (o *SetTenantSecurityNoContent) IsClientError() bool
- func (o *SetTenantSecurityNoContent) IsCode(code int) bool
- func (o *SetTenantSecurityNoContent) IsRedirect() bool
- func (o *SetTenantSecurityNoContent) IsServerError() bool
- func (o *SetTenantSecurityNoContent) IsSuccess() bool
- func (o *SetTenantSecurityNoContent) String() string
- type SetTenantSecurityNotFound
- func (o *SetTenantSecurityNotFound) Code() int
- func (o *SetTenantSecurityNotFound) Error() string
- func (o *SetTenantSecurityNotFound) GetPayload() *models.Error
- func (o *SetTenantSecurityNotFound) IsClientError() bool
- func (o *SetTenantSecurityNotFound) IsCode(code int) bool
- func (o *SetTenantSecurityNotFound) IsRedirect() bool
- func (o *SetTenantSecurityNotFound) IsServerError() bool
- func (o *SetTenantSecurityNotFound) IsSuccess() bool
- func (o *SetTenantSecurityNotFound) String() string
- type SetTenantSecurityParams
- func NewSetTenantSecurityParams() *SetTenantSecurityParams
- func NewSetTenantSecurityParamsWithContext(ctx context.Context) *SetTenantSecurityParams
- func NewSetTenantSecurityParamsWithHTTPClient(client *http.Client) *SetTenantSecurityParams
- func NewSetTenantSecurityParamsWithTimeout(timeout time.Duration) *SetTenantSecurityParams
- func (o *SetTenantSecurityParams) SetContext(ctx context.Context)
- func (o *SetTenantSecurityParams) SetDefaults()
- func (o *SetTenantSecurityParams) SetHTTPClient(client *http.Client)
- func (o *SetTenantSecurityParams) SetSetTenantSecurity(setTenantSecurity *models.SecureOptions)
- func (o *SetTenantSecurityParams) SetTid(tid string)
- func (o *SetTenantSecurityParams) SetTimeout(timeout time.Duration)
- func (o *SetTenantSecurityParams) WithContext(ctx context.Context) *SetTenantSecurityParams
- func (o *SetTenantSecurityParams) WithDefaults() *SetTenantSecurityParams
- func (o *SetTenantSecurityParams) WithHTTPClient(client *http.Client) *SetTenantSecurityParams
- func (o *SetTenantSecurityParams) WithSetTenantSecurity(setTenantSecurity *models.SecureOptions) *SetTenantSecurityParams
- func (o *SetTenantSecurityParams) WithTid(tid string) *SetTenantSecurityParams
- func (o *SetTenantSecurityParams) WithTimeout(timeout time.Duration) *SetTenantSecurityParams
- func (o *SetTenantSecurityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetTenantSecurityReader
- type SetTenantSecurityTooManyRequests
- func (o *SetTenantSecurityTooManyRequests) Code() int
- func (o *SetTenantSecurityTooManyRequests) Error() string
- func (o *SetTenantSecurityTooManyRequests) GetPayload() *models.Error
- func (o *SetTenantSecurityTooManyRequests) IsClientError() bool
- func (o *SetTenantSecurityTooManyRequests) IsCode(code int) bool
- func (o *SetTenantSecurityTooManyRequests) IsRedirect() bool
- func (o *SetTenantSecurityTooManyRequests) IsServerError() bool
- func (o *SetTenantSecurityTooManyRequests) IsSuccess() bool
- func (o *SetTenantSecurityTooManyRequests) String() string
- type SetTenantSecurityUnauthorized
- func (o *SetTenantSecurityUnauthorized) Code() int
- func (o *SetTenantSecurityUnauthorized) Error() string
- func (o *SetTenantSecurityUnauthorized) GetPayload() *models.Error
- func (o *SetTenantSecurityUnauthorized) IsClientError() bool
- func (o *SetTenantSecurityUnauthorized) IsCode(code int) bool
- func (o *SetTenantSecurityUnauthorized) IsRedirect() bool
- func (o *SetTenantSecurityUnauthorized) IsServerError() bool
- func (o *SetTenantSecurityUnauthorized) IsSuccess() bool
- func (o *SetTenantSecurityUnauthorized) String() string
- type SetTenantSecurityUnprocessableEntity
- func (o *SetTenantSecurityUnprocessableEntity) Code() int
- func (o *SetTenantSecurityUnprocessableEntity) Error() string
- func (o *SetTenantSecurityUnprocessableEntity) GetPayload() *models.Error
- func (o *SetTenantSecurityUnprocessableEntity) IsClientError() bool
- func (o *SetTenantSecurityUnprocessableEntity) IsCode(code int) bool
- func (o *SetTenantSecurityUnprocessableEntity) IsRedirect() bool
- func (o *SetTenantSecurityUnprocessableEntity) IsServerError() bool
- func (o *SetTenantSecurityUnprocessableEntity) IsSuccess() bool
- func (o *SetTenantSecurityUnprocessableEntity) 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 security API
func (*Client) GetSecurity ¶
func (a *Client) GetSecurity(params *GetSecurityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecurityOK, error)
GetSecurity gets security
Returns default security configuration
func (*Client) GetTenantSecurity ¶
func (a *Client) GetTenantSecurity(params *GetTenantSecurityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTenantSecurityOK, error)
GetTenantSecurity gets tenant security
func (*Client) SetTenantSecurity ¶
func (a *Client) SetTenantSecurity(params *SetTenantSecurityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetTenantSecurityNoContent, error)
SetTenantSecurity sets tenant security
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 { GetSecurity(params *GetSecurityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecurityOK, error) GetTenantSecurity(params *GetTenantSecurityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTenantSecurityOK, error) SetTenantSecurity(params *SetTenantSecurityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetTenantSecurityNoContent, 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 security API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new security 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 security 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 GetSecurityForbidden ¶
GetSecurityForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetSecurityForbidden ¶
func NewGetSecurityForbidden() *GetSecurityForbidden
NewGetSecurityForbidden creates a GetSecurityForbidden with default headers values
func (*GetSecurityForbidden) Code ¶
func (o *GetSecurityForbidden) Code() int
Code gets the status code for the get security forbidden response
func (*GetSecurityForbidden) Error ¶
func (o *GetSecurityForbidden) Error() string
func (*GetSecurityForbidden) GetPayload ¶
func (o *GetSecurityForbidden) GetPayload() *models.Error
func (*GetSecurityForbidden) IsClientError ¶
func (o *GetSecurityForbidden) IsClientError() bool
IsClientError returns true when this get security forbidden response has a 4xx status code
func (*GetSecurityForbidden) IsCode ¶
func (o *GetSecurityForbidden) IsCode(code int) bool
IsCode returns true when this get security forbidden response a status code equal to that given
func (*GetSecurityForbidden) IsRedirect ¶
func (o *GetSecurityForbidden) IsRedirect() bool
IsRedirect returns true when this get security forbidden response has a 3xx status code
func (*GetSecurityForbidden) IsServerError ¶
func (o *GetSecurityForbidden) IsServerError() bool
IsServerError returns true when this get security forbidden response has a 5xx status code
func (*GetSecurityForbidden) IsSuccess ¶
func (o *GetSecurityForbidden) IsSuccess() bool
IsSuccess returns true when this get security forbidden response has a 2xx status code
func (*GetSecurityForbidden) String ¶
func (o *GetSecurityForbidden) String() string
type GetSecurityNotFound ¶
GetSecurityNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSecurityNotFound ¶
func NewGetSecurityNotFound() *GetSecurityNotFound
NewGetSecurityNotFound creates a GetSecurityNotFound with default headers values
func (*GetSecurityNotFound) Code ¶
func (o *GetSecurityNotFound) Code() int
Code gets the status code for the get security not found response
func (*GetSecurityNotFound) Error ¶
func (o *GetSecurityNotFound) Error() string
func (*GetSecurityNotFound) GetPayload ¶
func (o *GetSecurityNotFound) GetPayload() *models.Error
func (*GetSecurityNotFound) IsClientError ¶
func (o *GetSecurityNotFound) IsClientError() bool
IsClientError returns true when this get security not found response has a 4xx status code
func (*GetSecurityNotFound) IsCode ¶
func (o *GetSecurityNotFound) IsCode(code int) bool
IsCode returns true when this get security not found response a status code equal to that given
func (*GetSecurityNotFound) IsRedirect ¶
func (o *GetSecurityNotFound) IsRedirect() bool
IsRedirect returns true when this get security not found response has a 3xx status code
func (*GetSecurityNotFound) IsServerError ¶
func (o *GetSecurityNotFound) IsServerError() bool
IsServerError returns true when this get security not found response has a 5xx status code
func (*GetSecurityNotFound) IsSuccess ¶
func (o *GetSecurityNotFound) IsSuccess() bool
IsSuccess returns true when this get security not found response has a 2xx status code
func (*GetSecurityNotFound) String ¶
func (o *GetSecurityNotFound) String() string
type GetSecurityOK ¶
type GetSecurityOK struct {
Payload *models.SecureOptions
}
GetSecurityOK describes a response with status code 200, with default header values.
Get security
func NewGetSecurityOK ¶
func NewGetSecurityOK() *GetSecurityOK
NewGetSecurityOK creates a GetSecurityOK with default headers values
func (*GetSecurityOK) Code ¶
func (o *GetSecurityOK) Code() int
Code gets the status code for the get security o k response
func (*GetSecurityOK) Error ¶
func (o *GetSecurityOK) Error() string
func (*GetSecurityOK) GetPayload ¶
func (o *GetSecurityOK) GetPayload() *models.SecureOptions
func (*GetSecurityOK) IsClientError ¶
func (o *GetSecurityOK) IsClientError() bool
IsClientError returns true when this get security o k response has a 4xx status code
func (*GetSecurityOK) IsCode ¶
func (o *GetSecurityOK) IsCode(code int) bool
IsCode returns true when this get security o k response a status code equal to that given
func (*GetSecurityOK) IsRedirect ¶
func (o *GetSecurityOK) IsRedirect() bool
IsRedirect returns true when this get security o k response has a 3xx status code
func (*GetSecurityOK) IsServerError ¶
func (o *GetSecurityOK) IsServerError() bool
IsServerError returns true when this get security o k response has a 5xx status code
func (*GetSecurityOK) IsSuccess ¶
func (o *GetSecurityOK) IsSuccess() bool
IsSuccess returns true when this get security o k response has a 2xx status code
func (*GetSecurityOK) String ¶
func (o *GetSecurityOK) String() string
type GetSecurityParams ¶
type GetSecurityParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecurityParams contains all the parameters to send to the API endpoint
for the get security operation. Typically these are written to a http.Request.
func NewGetSecurityParams ¶
func NewGetSecurityParams() *GetSecurityParams
NewGetSecurityParams creates a new GetSecurityParams 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 NewGetSecurityParamsWithContext ¶
func NewGetSecurityParamsWithContext(ctx context.Context) *GetSecurityParams
NewGetSecurityParamsWithContext creates a new GetSecurityParams object with the ability to set a context for a request.
func NewGetSecurityParamsWithHTTPClient ¶
func NewGetSecurityParamsWithHTTPClient(client *http.Client) *GetSecurityParams
NewGetSecurityParamsWithHTTPClient creates a new GetSecurityParams object with the ability to set a custom HTTPClient for a request.
func NewGetSecurityParamsWithTimeout ¶
func NewGetSecurityParamsWithTimeout(timeout time.Duration) *GetSecurityParams
NewGetSecurityParamsWithTimeout creates a new GetSecurityParams object with the ability to set a timeout on a request.
func (*GetSecurityParams) SetContext ¶
func (o *GetSecurityParams) SetContext(ctx context.Context)
SetContext adds the context to the get security params
func (*GetSecurityParams) SetDefaults ¶
func (o *GetSecurityParams) SetDefaults()
SetDefaults hydrates default values in the get security params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityParams) SetHTTPClient ¶
func (o *GetSecurityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get security params
func (*GetSecurityParams) SetTimeout ¶
func (o *GetSecurityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get security params
func (*GetSecurityParams) WithContext ¶
func (o *GetSecurityParams) WithContext(ctx context.Context) *GetSecurityParams
WithContext adds the context to the get security params
func (*GetSecurityParams) WithDefaults ¶
func (o *GetSecurityParams) WithDefaults() *GetSecurityParams
WithDefaults hydrates default values in the get security params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityParams) WithHTTPClient ¶
func (o *GetSecurityParams) WithHTTPClient(client *http.Client) *GetSecurityParams
WithHTTPClient adds the HTTPClient to the get security params
func (*GetSecurityParams) WithTimeout ¶
func (o *GetSecurityParams) WithTimeout(timeout time.Duration) *GetSecurityParams
WithTimeout adds the timeout to the get security params
func (*GetSecurityParams) WriteToRequest ¶
func (o *GetSecurityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecurityReader ¶
type GetSecurityReader struct {
// contains filtered or unexported fields
}
GetSecurityReader is a Reader for the GetSecurity structure.
func (*GetSecurityReader) ReadResponse ¶
func (o *GetSecurityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSecurityTooManyRequests ¶
GetSecurityTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetSecurityTooManyRequests ¶
func NewGetSecurityTooManyRequests() *GetSecurityTooManyRequests
NewGetSecurityTooManyRequests creates a GetSecurityTooManyRequests with default headers values
func (*GetSecurityTooManyRequests) Code ¶
func (o *GetSecurityTooManyRequests) Code() int
Code gets the status code for the get security too many requests response
func (*GetSecurityTooManyRequests) Error ¶
func (o *GetSecurityTooManyRequests) Error() string
func (*GetSecurityTooManyRequests) GetPayload ¶
func (o *GetSecurityTooManyRequests) GetPayload() *models.Error
func (*GetSecurityTooManyRequests) IsClientError ¶
func (o *GetSecurityTooManyRequests) IsClientError() bool
IsClientError returns true when this get security too many requests response has a 4xx status code
func (*GetSecurityTooManyRequests) IsCode ¶
func (o *GetSecurityTooManyRequests) IsCode(code int) bool
IsCode returns true when this get security too many requests response a status code equal to that given
func (*GetSecurityTooManyRequests) IsRedirect ¶
func (o *GetSecurityTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get security too many requests response has a 3xx status code
func (*GetSecurityTooManyRequests) IsServerError ¶
func (o *GetSecurityTooManyRequests) IsServerError() bool
IsServerError returns true when this get security too many requests response has a 5xx status code
func (*GetSecurityTooManyRequests) IsSuccess ¶
func (o *GetSecurityTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get security too many requests response has a 2xx status code
func (*GetSecurityTooManyRequests) String ¶
func (o *GetSecurityTooManyRequests) String() string
type GetSecurityUnauthorized ¶
type GetSecurityUnauthorized struct {
}GetSecurityUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetSecurityUnauthorized ¶
func NewGetSecurityUnauthorized() *GetSecurityUnauthorized
NewGetSecurityUnauthorized creates a GetSecurityUnauthorized with default headers values
func (*GetSecurityUnauthorized) Code ¶
func (o *GetSecurityUnauthorized) Code() int
Code gets the status code for the get security unauthorized response
func (*GetSecurityUnauthorized) Error ¶
func (o *GetSecurityUnauthorized) Error() string
func (*GetSecurityUnauthorized) GetPayload ¶
func (o *GetSecurityUnauthorized) GetPayload() *models.Error
func (*GetSecurityUnauthorized) IsClientError ¶
func (o *GetSecurityUnauthorized) IsClientError() bool
IsClientError returns true when this get security unauthorized response has a 4xx status code
func (*GetSecurityUnauthorized) IsCode ¶
func (o *GetSecurityUnauthorized) IsCode(code int) bool
IsCode returns true when this get security unauthorized response a status code equal to that given
func (*GetSecurityUnauthorized) IsRedirect ¶
func (o *GetSecurityUnauthorized) IsRedirect() bool
IsRedirect returns true when this get security unauthorized response has a 3xx status code
func (*GetSecurityUnauthorized) IsServerError ¶
func (o *GetSecurityUnauthorized) IsServerError() bool
IsServerError returns true when this get security unauthorized response has a 5xx status code
func (*GetSecurityUnauthorized) IsSuccess ¶
func (o *GetSecurityUnauthorized) IsSuccess() bool
IsSuccess returns true when this get security unauthorized response has a 2xx status code
func (*GetSecurityUnauthorized) String ¶
func (o *GetSecurityUnauthorized) String() string
type GetTenantSecurityForbidden ¶
GetTenantSecurityForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetTenantSecurityForbidden ¶
func NewGetTenantSecurityForbidden() *GetTenantSecurityForbidden
NewGetTenantSecurityForbidden creates a GetTenantSecurityForbidden with default headers values
func (*GetTenantSecurityForbidden) Code ¶
func (o *GetTenantSecurityForbidden) Code() int
Code gets the status code for the get tenant security forbidden response
func (*GetTenantSecurityForbidden) Error ¶
func (o *GetTenantSecurityForbidden) Error() string
func (*GetTenantSecurityForbidden) GetPayload ¶
func (o *GetTenantSecurityForbidden) GetPayload() *models.Error
func (*GetTenantSecurityForbidden) IsClientError ¶
func (o *GetTenantSecurityForbidden) IsClientError() bool
IsClientError returns true when this get tenant security forbidden response has a 4xx status code
func (*GetTenantSecurityForbidden) IsCode ¶
func (o *GetTenantSecurityForbidden) IsCode(code int) bool
IsCode returns true when this get tenant security forbidden response a status code equal to that given
func (*GetTenantSecurityForbidden) IsRedirect ¶
func (o *GetTenantSecurityForbidden) IsRedirect() bool
IsRedirect returns true when this get tenant security forbidden response has a 3xx status code
func (*GetTenantSecurityForbidden) IsServerError ¶
func (o *GetTenantSecurityForbidden) IsServerError() bool
IsServerError returns true when this get tenant security forbidden response has a 5xx status code
func (*GetTenantSecurityForbidden) IsSuccess ¶
func (o *GetTenantSecurityForbidden) IsSuccess() bool
IsSuccess returns true when this get tenant security forbidden response has a 2xx status code
func (*GetTenantSecurityForbidden) String ¶
func (o *GetTenantSecurityForbidden) String() string
type GetTenantSecurityNotFound ¶
GetTenantSecurityNotFound describes a response with status code 404, with default header values.
Not found
func NewGetTenantSecurityNotFound ¶
func NewGetTenantSecurityNotFound() *GetTenantSecurityNotFound
NewGetTenantSecurityNotFound creates a GetTenantSecurityNotFound with default headers values
func (*GetTenantSecurityNotFound) Code ¶
func (o *GetTenantSecurityNotFound) Code() int
Code gets the status code for the get tenant security not found response
func (*GetTenantSecurityNotFound) Error ¶
func (o *GetTenantSecurityNotFound) Error() string
func (*GetTenantSecurityNotFound) GetPayload ¶
func (o *GetTenantSecurityNotFound) GetPayload() *models.Error
func (*GetTenantSecurityNotFound) IsClientError ¶
func (o *GetTenantSecurityNotFound) IsClientError() bool
IsClientError returns true when this get tenant security not found response has a 4xx status code
func (*GetTenantSecurityNotFound) IsCode ¶
func (o *GetTenantSecurityNotFound) IsCode(code int) bool
IsCode returns true when this get tenant security not found response a status code equal to that given
func (*GetTenantSecurityNotFound) IsRedirect ¶
func (o *GetTenantSecurityNotFound) IsRedirect() bool
IsRedirect returns true when this get tenant security not found response has a 3xx status code
func (*GetTenantSecurityNotFound) IsServerError ¶
func (o *GetTenantSecurityNotFound) IsServerError() bool
IsServerError returns true when this get tenant security not found response has a 5xx status code
func (*GetTenantSecurityNotFound) IsSuccess ¶
func (o *GetTenantSecurityNotFound) IsSuccess() bool
IsSuccess returns true when this get tenant security not found response has a 2xx status code
func (*GetTenantSecurityNotFound) String ¶
func (o *GetTenantSecurityNotFound) String() string
type GetTenantSecurityOK ¶
type GetTenantSecurityOK struct {
Payload *models.SecureOptions
}
GetTenantSecurityOK describes a response with status code 200, with default header values.
Get tenant security
func NewGetTenantSecurityOK ¶
func NewGetTenantSecurityOK() *GetTenantSecurityOK
NewGetTenantSecurityOK creates a GetTenantSecurityOK with default headers values
func (*GetTenantSecurityOK) Code ¶
func (o *GetTenantSecurityOK) Code() int
Code gets the status code for the get tenant security o k response
func (*GetTenantSecurityOK) Error ¶
func (o *GetTenantSecurityOK) Error() string
func (*GetTenantSecurityOK) GetPayload ¶
func (o *GetTenantSecurityOK) GetPayload() *models.SecureOptions
func (*GetTenantSecurityOK) IsClientError ¶
func (o *GetTenantSecurityOK) IsClientError() bool
IsClientError returns true when this get tenant security o k response has a 4xx status code
func (*GetTenantSecurityOK) IsCode ¶
func (o *GetTenantSecurityOK) IsCode(code int) bool
IsCode returns true when this get tenant security o k response a status code equal to that given
func (*GetTenantSecurityOK) IsRedirect ¶
func (o *GetTenantSecurityOK) IsRedirect() bool
IsRedirect returns true when this get tenant security o k response has a 3xx status code
func (*GetTenantSecurityOK) IsServerError ¶
func (o *GetTenantSecurityOK) IsServerError() bool
IsServerError returns true when this get tenant security o k response has a 5xx status code
func (*GetTenantSecurityOK) IsSuccess ¶
func (o *GetTenantSecurityOK) IsSuccess() bool
IsSuccess returns true when this get tenant security o k response has a 2xx status code
func (*GetTenantSecurityOK) String ¶
func (o *GetTenantSecurityOK) String() string
type GetTenantSecurityParams ¶
type GetTenantSecurityParams struct { /* Tid. Tenant id Default: "default" */ Tid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTenantSecurityParams contains all the parameters to send to the API endpoint
for the get tenant security operation. Typically these are written to a http.Request.
func NewGetTenantSecurityParams ¶
func NewGetTenantSecurityParams() *GetTenantSecurityParams
NewGetTenantSecurityParams creates a new GetTenantSecurityParams 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 NewGetTenantSecurityParamsWithContext ¶
func NewGetTenantSecurityParamsWithContext(ctx context.Context) *GetTenantSecurityParams
NewGetTenantSecurityParamsWithContext creates a new GetTenantSecurityParams object with the ability to set a context for a request.
func NewGetTenantSecurityParamsWithHTTPClient ¶
func NewGetTenantSecurityParamsWithHTTPClient(client *http.Client) *GetTenantSecurityParams
NewGetTenantSecurityParamsWithHTTPClient creates a new GetTenantSecurityParams object with the ability to set a custom HTTPClient for a request.
func NewGetTenantSecurityParamsWithTimeout ¶
func NewGetTenantSecurityParamsWithTimeout(timeout time.Duration) *GetTenantSecurityParams
NewGetTenantSecurityParamsWithTimeout creates a new GetTenantSecurityParams object with the ability to set a timeout on a request.
func (*GetTenantSecurityParams) SetContext ¶
func (o *GetTenantSecurityParams) SetContext(ctx context.Context)
SetContext adds the context to the get tenant security params
func (*GetTenantSecurityParams) SetDefaults ¶
func (o *GetTenantSecurityParams) SetDefaults()
SetDefaults hydrates default values in the get tenant security params (not the query body).
All values with no default are reset to their zero value.
func (*GetTenantSecurityParams) SetHTTPClient ¶
func (o *GetTenantSecurityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tenant security params
func (*GetTenantSecurityParams) SetTid ¶
func (o *GetTenantSecurityParams) SetTid(tid string)
SetTid adds the tid to the get tenant security params
func (*GetTenantSecurityParams) SetTimeout ¶
func (o *GetTenantSecurityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tenant security params
func (*GetTenantSecurityParams) WithContext ¶
func (o *GetTenantSecurityParams) WithContext(ctx context.Context) *GetTenantSecurityParams
WithContext adds the context to the get tenant security params
func (*GetTenantSecurityParams) WithDefaults ¶
func (o *GetTenantSecurityParams) WithDefaults() *GetTenantSecurityParams
WithDefaults hydrates default values in the get tenant security params (not the query body).
All values with no default are reset to their zero value.
func (*GetTenantSecurityParams) WithHTTPClient ¶
func (o *GetTenantSecurityParams) WithHTTPClient(client *http.Client) *GetTenantSecurityParams
WithHTTPClient adds the HTTPClient to the get tenant security params
func (*GetTenantSecurityParams) WithTid ¶
func (o *GetTenantSecurityParams) WithTid(tid string) *GetTenantSecurityParams
WithTid adds the tid to the get tenant security params
func (*GetTenantSecurityParams) WithTimeout ¶
func (o *GetTenantSecurityParams) WithTimeout(timeout time.Duration) *GetTenantSecurityParams
WithTimeout adds the timeout to the get tenant security params
func (*GetTenantSecurityParams) WriteToRequest ¶
func (o *GetTenantSecurityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTenantSecurityReader ¶
type GetTenantSecurityReader struct {
// contains filtered or unexported fields
}
GetTenantSecurityReader is a Reader for the GetTenantSecurity structure.
func (*GetTenantSecurityReader) ReadResponse ¶
func (o *GetTenantSecurityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTenantSecurityTooManyRequests ¶
GetTenantSecurityTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetTenantSecurityTooManyRequests ¶
func NewGetTenantSecurityTooManyRequests() *GetTenantSecurityTooManyRequests
NewGetTenantSecurityTooManyRequests creates a GetTenantSecurityTooManyRequests with default headers values
func (*GetTenantSecurityTooManyRequests) Code ¶
func (o *GetTenantSecurityTooManyRequests) Code() int
Code gets the status code for the get tenant security too many requests response
func (*GetTenantSecurityTooManyRequests) Error ¶
func (o *GetTenantSecurityTooManyRequests) Error() string
func (*GetTenantSecurityTooManyRequests) GetPayload ¶
func (o *GetTenantSecurityTooManyRequests) GetPayload() *models.Error
func (*GetTenantSecurityTooManyRequests) IsClientError ¶
func (o *GetTenantSecurityTooManyRequests) IsClientError() bool
IsClientError returns true when this get tenant security too many requests response has a 4xx status code
func (*GetTenantSecurityTooManyRequests) IsCode ¶
func (o *GetTenantSecurityTooManyRequests) IsCode(code int) bool
IsCode returns true when this get tenant security too many requests response a status code equal to that given
func (*GetTenantSecurityTooManyRequests) IsRedirect ¶
func (o *GetTenantSecurityTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get tenant security too many requests response has a 3xx status code
func (*GetTenantSecurityTooManyRequests) IsServerError ¶
func (o *GetTenantSecurityTooManyRequests) IsServerError() bool
IsServerError returns true when this get tenant security too many requests response has a 5xx status code
func (*GetTenantSecurityTooManyRequests) IsSuccess ¶
func (o *GetTenantSecurityTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get tenant security too many requests response has a 2xx status code
func (*GetTenantSecurityTooManyRequests) String ¶
func (o *GetTenantSecurityTooManyRequests) String() string
type GetTenantSecurityUnauthorized ¶
type GetTenantSecurityUnauthorized struct {
}GetTenantSecurityUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetTenantSecurityUnauthorized ¶
func NewGetTenantSecurityUnauthorized() *GetTenantSecurityUnauthorized
NewGetTenantSecurityUnauthorized creates a GetTenantSecurityUnauthorized with default headers values
func (*GetTenantSecurityUnauthorized) Code ¶
func (o *GetTenantSecurityUnauthorized) Code() int
Code gets the status code for the get tenant security unauthorized response
func (*GetTenantSecurityUnauthorized) Error ¶
func (o *GetTenantSecurityUnauthorized) Error() string
func (*GetTenantSecurityUnauthorized) GetPayload ¶
func (o *GetTenantSecurityUnauthorized) GetPayload() *models.Error
func (*GetTenantSecurityUnauthorized) IsClientError ¶
func (o *GetTenantSecurityUnauthorized) IsClientError() bool
IsClientError returns true when this get tenant security unauthorized response has a 4xx status code
func (*GetTenantSecurityUnauthorized) IsCode ¶
func (o *GetTenantSecurityUnauthorized) IsCode(code int) bool
IsCode returns true when this get tenant security unauthorized response a status code equal to that given
func (*GetTenantSecurityUnauthorized) IsRedirect ¶
func (o *GetTenantSecurityUnauthorized) IsRedirect() bool
IsRedirect returns true when this get tenant security unauthorized response has a 3xx status code
func (*GetTenantSecurityUnauthorized) IsServerError ¶
func (o *GetTenantSecurityUnauthorized) IsServerError() bool
IsServerError returns true when this get tenant security unauthorized response has a 5xx status code
func (*GetTenantSecurityUnauthorized) IsSuccess ¶
func (o *GetTenantSecurityUnauthorized) IsSuccess() bool
IsSuccess returns true when this get tenant security unauthorized response has a 2xx status code
func (*GetTenantSecurityUnauthorized) String ¶
func (o *GetTenantSecurityUnauthorized) String() string
type SetTenantSecurityBadRequest ¶
SetTenantSecurityBadRequest describes a response with status code 400, with default header values.
Bad request
func NewSetTenantSecurityBadRequest ¶
func NewSetTenantSecurityBadRequest() *SetTenantSecurityBadRequest
NewSetTenantSecurityBadRequest creates a SetTenantSecurityBadRequest with default headers values
func (*SetTenantSecurityBadRequest) Code ¶
func (o *SetTenantSecurityBadRequest) Code() int
Code gets the status code for the set tenant security bad request response
func (*SetTenantSecurityBadRequest) Error ¶
func (o *SetTenantSecurityBadRequest) Error() string
func (*SetTenantSecurityBadRequest) GetPayload ¶
func (o *SetTenantSecurityBadRequest) GetPayload() *models.Error
func (*SetTenantSecurityBadRequest) IsClientError ¶
func (o *SetTenantSecurityBadRequest) IsClientError() bool
IsClientError returns true when this set tenant security bad request response has a 4xx status code
func (*SetTenantSecurityBadRequest) IsCode ¶
func (o *SetTenantSecurityBadRequest) IsCode(code int) bool
IsCode returns true when this set tenant security bad request response a status code equal to that given
func (*SetTenantSecurityBadRequest) IsRedirect ¶
func (o *SetTenantSecurityBadRequest) IsRedirect() bool
IsRedirect returns true when this set tenant security bad request response has a 3xx status code
func (*SetTenantSecurityBadRequest) IsServerError ¶
func (o *SetTenantSecurityBadRequest) IsServerError() bool
IsServerError returns true when this set tenant security bad request response has a 5xx status code
func (*SetTenantSecurityBadRequest) IsSuccess ¶
func (o *SetTenantSecurityBadRequest) IsSuccess() bool
IsSuccess returns true when this set tenant security bad request response has a 2xx status code
func (*SetTenantSecurityBadRequest) String ¶
func (o *SetTenantSecurityBadRequest) String() string
type SetTenantSecurityForbidden ¶
SetTenantSecurityForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSetTenantSecurityForbidden ¶
func NewSetTenantSecurityForbidden() *SetTenantSecurityForbidden
NewSetTenantSecurityForbidden creates a SetTenantSecurityForbidden with default headers values
func (*SetTenantSecurityForbidden) Code ¶
func (o *SetTenantSecurityForbidden) Code() int
Code gets the status code for the set tenant security forbidden response
func (*SetTenantSecurityForbidden) Error ¶
func (o *SetTenantSecurityForbidden) Error() string
func (*SetTenantSecurityForbidden) GetPayload ¶
func (o *SetTenantSecurityForbidden) GetPayload() *models.Error
func (*SetTenantSecurityForbidden) IsClientError ¶
func (o *SetTenantSecurityForbidden) IsClientError() bool
IsClientError returns true when this set tenant security forbidden response has a 4xx status code
func (*SetTenantSecurityForbidden) IsCode ¶
func (o *SetTenantSecurityForbidden) IsCode(code int) bool
IsCode returns true when this set tenant security forbidden response a status code equal to that given
func (*SetTenantSecurityForbidden) IsRedirect ¶
func (o *SetTenantSecurityForbidden) IsRedirect() bool
IsRedirect returns true when this set tenant security forbidden response has a 3xx status code
func (*SetTenantSecurityForbidden) IsServerError ¶
func (o *SetTenantSecurityForbidden) IsServerError() bool
IsServerError returns true when this set tenant security forbidden response has a 5xx status code
func (*SetTenantSecurityForbidden) IsSuccess ¶
func (o *SetTenantSecurityForbidden) IsSuccess() bool
IsSuccess returns true when this set tenant security forbidden response has a 2xx status code
func (*SetTenantSecurityForbidden) String ¶
func (o *SetTenantSecurityForbidden) String() string
type SetTenantSecurityNoContent ¶
type SetTenantSecurityNoContent struct { }
SetTenantSecurityNoContent describes a response with status code 204, with default header values.
tenant feature set
func NewSetTenantSecurityNoContent ¶
func NewSetTenantSecurityNoContent() *SetTenantSecurityNoContent
NewSetTenantSecurityNoContent creates a SetTenantSecurityNoContent with default headers values
func (*SetTenantSecurityNoContent) Code ¶
func (o *SetTenantSecurityNoContent) Code() int
Code gets the status code for the set tenant security no content response
func (*SetTenantSecurityNoContent) Error ¶
func (o *SetTenantSecurityNoContent) Error() string
func (*SetTenantSecurityNoContent) IsClientError ¶
func (o *SetTenantSecurityNoContent) IsClientError() bool
IsClientError returns true when this set tenant security no content response has a 4xx status code
func (*SetTenantSecurityNoContent) IsCode ¶
func (o *SetTenantSecurityNoContent) IsCode(code int) bool
IsCode returns true when this set tenant security no content response a status code equal to that given
func (*SetTenantSecurityNoContent) IsRedirect ¶
func (o *SetTenantSecurityNoContent) IsRedirect() bool
IsRedirect returns true when this set tenant security no content response has a 3xx status code
func (*SetTenantSecurityNoContent) IsServerError ¶
func (o *SetTenantSecurityNoContent) IsServerError() bool
IsServerError returns true when this set tenant security no content response has a 5xx status code
func (*SetTenantSecurityNoContent) IsSuccess ¶
func (o *SetTenantSecurityNoContent) IsSuccess() bool
IsSuccess returns true when this set tenant security no content response has a 2xx status code
func (*SetTenantSecurityNoContent) String ¶
func (o *SetTenantSecurityNoContent) String() string
type SetTenantSecurityNotFound ¶
SetTenantSecurityNotFound describes a response with status code 404, with default header values.
Not found
func NewSetTenantSecurityNotFound ¶
func NewSetTenantSecurityNotFound() *SetTenantSecurityNotFound
NewSetTenantSecurityNotFound creates a SetTenantSecurityNotFound with default headers values
func (*SetTenantSecurityNotFound) Code ¶
func (o *SetTenantSecurityNotFound) Code() int
Code gets the status code for the set tenant security not found response
func (*SetTenantSecurityNotFound) Error ¶
func (o *SetTenantSecurityNotFound) Error() string
func (*SetTenantSecurityNotFound) GetPayload ¶
func (o *SetTenantSecurityNotFound) GetPayload() *models.Error
func (*SetTenantSecurityNotFound) IsClientError ¶
func (o *SetTenantSecurityNotFound) IsClientError() bool
IsClientError returns true when this set tenant security not found response has a 4xx status code
func (*SetTenantSecurityNotFound) IsCode ¶
func (o *SetTenantSecurityNotFound) IsCode(code int) bool
IsCode returns true when this set tenant security not found response a status code equal to that given
func (*SetTenantSecurityNotFound) IsRedirect ¶
func (o *SetTenantSecurityNotFound) IsRedirect() bool
IsRedirect returns true when this set tenant security not found response has a 3xx status code
func (*SetTenantSecurityNotFound) IsServerError ¶
func (o *SetTenantSecurityNotFound) IsServerError() bool
IsServerError returns true when this set tenant security not found response has a 5xx status code
func (*SetTenantSecurityNotFound) IsSuccess ¶
func (o *SetTenantSecurityNotFound) IsSuccess() bool
IsSuccess returns true when this set tenant security not found response has a 2xx status code
func (*SetTenantSecurityNotFound) String ¶
func (o *SetTenantSecurityNotFound) String() string
type SetTenantSecurityParams ¶
type SetTenantSecurityParams struct { // SetTenantSecurity. SetTenantSecurity *models.SecureOptions /* Tid. Tenant id Default: "default" */ Tid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetTenantSecurityParams contains all the parameters to send to the API endpoint
for the set tenant security operation. Typically these are written to a http.Request.
func NewSetTenantSecurityParams ¶
func NewSetTenantSecurityParams() *SetTenantSecurityParams
NewSetTenantSecurityParams creates a new SetTenantSecurityParams 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 NewSetTenantSecurityParamsWithContext ¶
func NewSetTenantSecurityParamsWithContext(ctx context.Context) *SetTenantSecurityParams
NewSetTenantSecurityParamsWithContext creates a new SetTenantSecurityParams object with the ability to set a context for a request.
func NewSetTenantSecurityParamsWithHTTPClient ¶
func NewSetTenantSecurityParamsWithHTTPClient(client *http.Client) *SetTenantSecurityParams
NewSetTenantSecurityParamsWithHTTPClient creates a new SetTenantSecurityParams object with the ability to set a custom HTTPClient for a request.
func NewSetTenantSecurityParamsWithTimeout ¶
func NewSetTenantSecurityParamsWithTimeout(timeout time.Duration) *SetTenantSecurityParams
NewSetTenantSecurityParamsWithTimeout creates a new SetTenantSecurityParams object with the ability to set a timeout on a request.
func (*SetTenantSecurityParams) SetContext ¶
func (o *SetTenantSecurityParams) SetContext(ctx context.Context)
SetContext adds the context to the set tenant security params
func (*SetTenantSecurityParams) SetDefaults ¶
func (o *SetTenantSecurityParams) SetDefaults()
SetDefaults hydrates default values in the set tenant security params (not the query body).
All values with no default are reset to their zero value.
func (*SetTenantSecurityParams) SetHTTPClient ¶
func (o *SetTenantSecurityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set tenant security params
func (*SetTenantSecurityParams) SetSetTenantSecurity ¶
func (o *SetTenantSecurityParams) SetSetTenantSecurity(setTenantSecurity *models.SecureOptions)
SetSetTenantSecurity adds the setTenantSecurity to the set tenant security params
func (*SetTenantSecurityParams) SetTid ¶
func (o *SetTenantSecurityParams) SetTid(tid string)
SetTid adds the tid to the set tenant security params
func (*SetTenantSecurityParams) SetTimeout ¶
func (o *SetTenantSecurityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set tenant security params
func (*SetTenantSecurityParams) WithContext ¶
func (o *SetTenantSecurityParams) WithContext(ctx context.Context) *SetTenantSecurityParams
WithContext adds the context to the set tenant security params
func (*SetTenantSecurityParams) WithDefaults ¶
func (o *SetTenantSecurityParams) WithDefaults() *SetTenantSecurityParams
WithDefaults hydrates default values in the set tenant security params (not the query body).
All values with no default are reset to their zero value.
func (*SetTenantSecurityParams) WithHTTPClient ¶
func (o *SetTenantSecurityParams) WithHTTPClient(client *http.Client) *SetTenantSecurityParams
WithHTTPClient adds the HTTPClient to the set tenant security params
func (*SetTenantSecurityParams) WithSetTenantSecurity ¶
func (o *SetTenantSecurityParams) WithSetTenantSecurity(setTenantSecurity *models.SecureOptions) *SetTenantSecurityParams
WithSetTenantSecurity adds the setTenantSecurity to the set tenant security params
func (*SetTenantSecurityParams) WithTid ¶
func (o *SetTenantSecurityParams) WithTid(tid string) *SetTenantSecurityParams
WithTid adds the tid to the set tenant security params
func (*SetTenantSecurityParams) WithTimeout ¶
func (o *SetTenantSecurityParams) WithTimeout(timeout time.Duration) *SetTenantSecurityParams
WithTimeout adds the timeout to the set tenant security params
func (*SetTenantSecurityParams) WriteToRequest ¶
func (o *SetTenantSecurityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetTenantSecurityReader ¶
type SetTenantSecurityReader struct {
// contains filtered or unexported fields
}
SetTenantSecurityReader is a Reader for the SetTenantSecurity structure.
func (*SetTenantSecurityReader) ReadResponse ¶
func (o *SetTenantSecurityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetTenantSecurityTooManyRequests ¶
SetTenantSecurityTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewSetTenantSecurityTooManyRequests ¶
func NewSetTenantSecurityTooManyRequests() *SetTenantSecurityTooManyRequests
NewSetTenantSecurityTooManyRequests creates a SetTenantSecurityTooManyRequests with default headers values
func (*SetTenantSecurityTooManyRequests) Code ¶
func (o *SetTenantSecurityTooManyRequests) Code() int
Code gets the status code for the set tenant security too many requests response
func (*SetTenantSecurityTooManyRequests) Error ¶
func (o *SetTenantSecurityTooManyRequests) Error() string
func (*SetTenantSecurityTooManyRequests) GetPayload ¶
func (o *SetTenantSecurityTooManyRequests) GetPayload() *models.Error
func (*SetTenantSecurityTooManyRequests) IsClientError ¶
func (o *SetTenantSecurityTooManyRequests) IsClientError() bool
IsClientError returns true when this set tenant security too many requests response has a 4xx status code
func (*SetTenantSecurityTooManyRequests) IsCode ¶
func (o *SetTenantSecurityTooManyRequests) IsCode(code int) bool
IsCode returns true when this set tenant security too many requests response a status code equal to that given
func (*SetTenantSecurityTooManyRequests) IsRedirect ¶
func (o *SetTenantSecurityTooManyRequests) IsRedirect() bool
IsRedirect returns true when this set tenant security too many requests response has a 3xx status code
func (*SetTenantSecurityTooManyRequests) IsServerError ¶
func (o *SetTenantSecurityTooManyRequests) IsServerError() bool
IsServerError returns true when this set tenant security too many requests response has a 5xx status code
func (*SetTenantSecurityTooManyRequests) IsSuccess ¶
func (o *SetTenantSecurityTooManyRequests) IsSuccess() bool
IsSuccess returns true when this set tenant security too many requests response has a 2xx status code
func (*SetTenantSecurityTooManyRequests) String ¶
func (o *SetTenantSecurityTooManyRequests) String() string
type SetTenantSecurityUnauthorized ¶
type SetTenantSecurityUnauthorized struct {
}SetTenantSecurityUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSetTenantSecurityUnauthorized ¶
func NewSetTenantSecurityUnauthorized() *SetTenantSecurityUnauthorized
NewSetTenantSecurityUnauthorized creates a SetTenantSecurityUnauthorized with default headers values
func (*SetTenantSecurityUnauthorized) Code ¶
func (o *SetTenantSecurityUnauthorized) Code() int
Code gets the status code for the set tenant security unauthorized response
func (*SetTenantSecurityUnauthorized) Error ¶
func (o *SetTenantSecurityUnauthorized) Error() string
func (*SetTenantSecurityUnauthorized) GetPayload ¶
func (o *SetTenantSecurityUnauthorized) GetPayload() *models.Error
func (*SetTenantSecurityUnauthorized) IsClientError ¶
func (o *SetTenantSecurityUnauthorized) IsClientError() bool
IsClientError returns true when this set tenant security unauthorized response has a 4xx status code
func (*SetTenantSecurityUnauthorized) IsCode ¶
func (o *SetTenantSecurityUnauthorized) IsCode(code int) bool
IsCode returns true when this set tenant security unauthorized response a status code equal to that given
func (*SetTenantSecurityUnauthorized) IsRedirect ¶
func (o *SetTenantSecurityUnauthorized) IsRedirect() bool
IsRedirect returns true when this set tenant security unauthorized response has a 3xx status code
func (*SetTenantSecurityUnauthorized) IsServerError ¶
func (o *SetTenantSecurityUnauthorized) IsServerError() bool
IsServerError returns true when this set tenant security unauthorized response has a 5xx status code
func (*SetTenantSecurityUnauthorized) IsSuccess ¶
func (o *SetTenantSecurityUnauthorized) IsSuccess() bool
IsSuccess returns true when this set tenant security unauthorized response has a 2xx status code
func (*SetTenantSecurityUnauthorized) String ¶
func (o *SetTenantSecurityUnauthorized) String() string
type SetTenantSecurityUnprocessableEntity ¶
SetTenantSecurityUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewSetTenantSecurityUnprocessableEntity ¶
func NewSetTenantSecurityUnprocessableEntity() *SetTenantSecurityUnprocessableEntity
NewSetTenantSecurityUnprocessableEntity creates a SetTenantSecurityUnprocessableEntity with default headers values
func (*SetTenantSecurityUnprocessableEntity) Code ¶
func (o *SetTenantSecurityUnprocessableEntity) Code() int
Code gets the status code for the set tenant security unprocessable entity response
func (*SetTenantSecurityUnprocessableEntity) Error ¶
func (o *SetTenantSecurityUnprocessableEntity) Error() string
func (*SetTenantSecurityUnprocessableEntity) GetPayload ¶
func (o *SetTenantSecurityUnprocessableEntity) GetPayload() *models.Error
func (*SetTenantSecurityUnprocessableEntity) IsClientError ¶
func (o *SetTenantSecurityUnprocessableEntity) IsClientError() bool
IsClientError returns true when this set tenant security unprocessable entity response has a 4xx status code
func (*SetTenantSecurityUnprocessableEntity) IsCode ¶
func (o *SetTenantSecurityUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this set tenant security unprocessable entity response a status code equal to that given
func (*SetTenantSecurityUnprocessableEntity) IsRedirect ¶
func (o *SetTenantSecurityUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this set tenant security unprocessable entity response has a 3xx status code
func (*SetTenantSecurityUnprocessableEntity) IsServerError ¶
func (o *SetTenantSecurityUnprocessableEntity) IsServerError() bool
IsServerError returns true when this set tenant security unprocessable entity response has a 5xx status code
func (*SetTenantSecurityUnprocessableEntity) IsSuccess ¶
func (o *SetTenantSecurityUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this set tenant security unprocessable entity response has a 2xx status code
func (*SetTenantSecurityUnprocessableEntity) String ¶
func (o *SetTenantSecurityUnprocessableEntity) String() string