Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSecurityPolicy(params *CreateSecurityPolicyParams, opts ...ClientOption) (*CreateSecurityPolicyOK, error)
- func (a *Client) DeleteSecurityPolicy(params *DeleteSecurityPolicyParams, opts ...ClientOption) (*DeleteSecurityPolicyOK, error)
- func (a *Client) GetSecurityPolicies(params *GetSecurityPoliciesParams, opts ...ClientOption) (*GetSecurityPoliciesOK, error)
- func (a *Client) GetSecurityPoliciesConnection(params *GetSecurityPoliciesConnectionParams, opts ...ClientOption) (*GetSecurityPoliciesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSecurityPolicy(params *UpdateSecurityPolicyParams, opts ...ClientOption) (*UpdateSecurityPolicyOK, error)
- type ClientOption
- type ClientService
- type CreateSecurityPolicyBadRequest
- type CreateSecurityPolicyInternalServerError
- type CreateSecurityPolicyNotFound
- type CreateSecurityPolicyOK
- type CreateSecurityPolicyParams
- func NewCreateSecurityPolicyParams() *CreateSecurityPolicyParams
- func NewCreateSecurityPolicyParamsWithContext(ctx context.Context) *CreateSecurityPolicyParams
- func NewCreateSecurityPolicyParamsWithHTTPClient(client *http.Client) *CreateSecurityPolicyParams
- func NewCreateSecurityPolicyParamsWithTimeout(timeout time.Duration) *CreateSecurityPolicyParams
- func (o *CreateSecurityPolicyParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateSecurityPolicyParams) SetContext(ctx context.Context)
- func (o *CreateSecurityPolicyParams) SetDefaults()
- func (o *CreateSecurityPolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreateSecurityPolicyParams) SetRequestBody(requestBody *models.SecurityPolicyCreateParams)
- func (o *CreateSecurityPolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreateSecurityPolicyParams) WithContentLanguage(contentLanguage *string) *CreateSecurityPolicyParams
- func (o *CreateSecurityPolicyParams) WithContext(ctx context.Context) *CreateSecurityPolicyParams
- func (o *CreateSecurityPolicyParams) WithDefaults() *CreateSecurityPolicyParams
- func (o *CreateSecurityPolicyParams) WithHTTPClient(client *http.Client) *CreateSecurityPolicyParams
- func (o *CreateSecurityPolicyParams) WithRequestBody(requestBody *models.SecurityPolicyCreateParams) *CreateSecurityPolicyParams
- func (o *CreateSecurityPolicyParams) WithTimeout(timeout time.Duration) *CreateSecurityPolicyParams
- func (o *CreateSecurityPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSecurityPolicyReader
- type DeleteSecurityPolicyBadRequest
- type DeleteSecurityPolicyInternalServerError
- type DeleteSecurityPolicyNotFound
- type DeleteSecurityPolicyOK
- type DeleteSecurityPolicyParams
- func NewDeleteSecurityPolicyParams() *DeleteSecurityPolicyParams
- func NewDeleteSecurityPolicyParamsWithContext(ctx context.Context) *DeleteSecurityPolicyParams
- func NewDeleteSecurityPolicyParamsWithHTTPClient(client *http.Client) *DeleteSecurityPolicyParams
- func NewDeleteSecurityPolicyParamsWithTimeout(timeout time.Duration) *DeleteSecurityPolicyParams
- func (o *DeleteSecurityPolicyParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteSecurityPolicyParams) SetContext(ctx context.Context)
- func (o *DeleteSecurityPolicyParams) SetDefaults()
- func (o *DeleteSecurityPolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSecurityPolicyParams) SetRequestBody(requestBody *models.SecurityPolicyDeleteParams)
- func (o *DeleteSecurityPolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSecurityPolicyParams) WithContentLanguage(contentLanguage *string) *DeleteSecurityPolicyParams
- func (o *DeleteSecurityPolicyParams) WithContext(ctx context.Context) *DeleteSecurityPolicyParams
- func (o *DeleteSecurityPolicyParams) WithDefaults() *DeleteSecurityPolicyParams
- func (o *DeleteSecurityPolicyParams) WithHTTPClient(client *http.Client) *DeleteSecurityPolicyParams
- func (o *DeleteSecurityPolicyParams) WithRequestBody(requestBody *models.SecurityPolicyDeleteParams) *DeleteSecurityPolicyParams
- func (o *DeleteSecurityPolicyParams) WithTimeout(timeout time.Duration) *DeleteSecurityPolicyParams
- func (o *DeleteSecurityPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSecurityPolicyReader
- type GetSecurityPoliciesBadRequest
- type GetSecurityPoliciesConnectionBadRequest
- type GetSecurityPoliciesConnectionInternalServerError
- type GetSecurityPoliciesConnectionNotFound
- type GetSecurityPoliciesConnectionOK
- type GetSecurityPoliciesConnectionParams
- func NewGetSecurityPoliciesConnectionParams() *GetSecurityPoliciesConnectionParams
- func NewGetSecurityPoliciesConnectionParamsWithContext(ctx context.Context) *GetSecurityPoliciesConnectionParams
- func NewGetSecurityPoliciesConnectionParamsWithHTTPClient(client *http.Client) *GetSecurityPoliciesConnectionParams
- func NewGetSecurityPoliciesConnectionParamsWithTimeout(timeout time.Duration) *GetSecurityPoliciesConnectionParams
- func (o *GetSecurityPoliciesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSecurityPoliciesConnectionParams) SetContext(ctx context.Context)
- func (o *GetSecurityPoliciesConnectionParams) SetDefaults()
- func (o *GetSecurityPoliciesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetSecurityPoliciesConnectionParams) SetRequestBody(requestBody *models.GetSecurityPoliciesConnectionRequestBody)
- func (o *GetSecurityPoliciesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetSecurityPoliciesConnectionParams) WithContentLanguage(contentLanguage *string) *GetSecurityPoliciesConnectionParams
- func (o *GetSecurityPoliciesConnectionParams) WithContext(ctx context.Context) *GetSecurityPoliciesConnectionParams
- func (o *GetSecurityPoliciesConnectionParams) WithDefaults() *GetSecurityPoliciesConnectionParams
- func (o *GetSecurityPoliciesConnectionParams) WithHTTPClient(client *http.Client) *GetSecurityPoliciesConnectionParams
- func (o *GetSecurityPoliciesConnectionParams) WithRequestBody(requestBody *models.GetSecurityPoliciesConnectionRequestBody) *GetSecurityPoliciesConnectionParams
- func (o *GetSecurityPoliciesConnectionParams) WithTimeout(timeout time.Duration) *GetSecurityPoliciesConnectionParams
- func (o *GetSecurityPoliciesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecurityPoliciesConnectionReader
- type GetSecurityPoliciesInternalServerError
- type GetSecurityPoliciesNotFound
- type GetSecurityPoliciesOK
- type GetSecurityPoliciesParams
- func NewGetSecurityPoliciesParams() *GetSecurityPoliciesParams
- func NewGetSecurityPoliciesParamsWithContext(ctx context.Context) *GetSecurityPoliciesParams
- func NewGetSecurityPoliciesParamsWithHTTPClient(client *http.Client) *GetSecurityPoliciesParams
- func NewGetSecurityPoliciesParamsWithTimeout(timeout time.Duration) *GetSecurityPoliciesParams
- func (o *GetSecurityPoliciesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSecurityPoliciesParams) SetContext(ctx context.Context)
- func (o *GetSecurityPoliciesParams) SetDefaults()
- func (o *GetSecurityPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *GetSecurityPoliciesParams) SetRequestBody(requestBody *models.GetSecurityPoliciesRequestBody)
- func (o *GetSecurityPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *GetSecurityPoliciesParams) WithContentLanguage(contentLanguage *string) *GetSecurityPoliciesParams
- func (o *GetSecurityPoliciesParams) WithContext(ctx context.Context) *GetSecurityPoliciesParams
- func (o *GetSecurityPoliciesParams) WithDefaults() *GetSecurityPoliciesParams
- func (o *GetSecurityPoliciesParams) WithHTTPClient(client *http.Client) *GetSecurityPoliciesParams
- func (o *GetSecurityPoliciesParams) WithRequestBody(requestBody *models.GetSecurityPoliciesRequestBody) *GetSecurityPoliciesParams
- func (o *GetSecurityPoliciesParams) WithTimeout(timeout time.Duration) *GetSecurityPoliciesParams
- func (o *GetSecurityPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSecurityPoliciesReader
- type UpdateSecurityPolicyBadRequest
- type UpdateSecurityPolicyInternalServerError
- type UpdateSecurityPolicyNotFound
- type UpdateSecurityPolicyOK
- type UpdateSecurityPolicyParams
- func NewUpdateSecurityPolicyParams() *UpdateSecurityPolicyParams
- func NewUpdateSecurityPolicyParamsWithContext(ctx context.Context) *UpdateSecurityPolicyParams
- func NewUpdateSecurityPolicyParamsWithHTTPClient(client *http.Client) *UpdateSecurityPolicyParams
- func NewUpdateSecurityPolicyParamsWithTimeout(timeout time.Duration) *UpdateSecurityPolicyParams
- func (o *UpdateSecurityPolicyParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateSecurityPolicyParams) SetContext(ctx context.Context)
- func (o *UpdateSecurityPolicyParams) SetDefaults()
- func (o *UpdateSecurityPolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSecurityPolicyParams) SetRequestBody(requestBody *models.SecurityPolicyUpdateBody)
- func (o *UpdateSecurityPolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSecurityPolicyParams) WithContentLanguage(contentLanguage *string) *UpdateSecurityPolicyParams
- func (o *UpdateSecurityPolicyParams) WithContext(ctx context.Context) *UpdateSecurityPolicyParams
- func (o *UpdateSecurityPolicyParams) WithDefaults() *UpdateSecurityPolicyParams
- func (o *UpdateSecurityPolicyParams) WithHTTPClient(client *http.Client) *UpdateSecurityPolicyParams
- func (o *UpdateSecurityPolicyParams) WithRequestBody(requestBody *models.SecurityPolicyUpdateBody) *UpdateSecurityPolicyParams
- func (o *UpdateSecurityPolicyParams) WithTimeout(timeout time.Duration) *UpdateSecurityPolicyParams
- func (o *UpdateSecurityPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSecurityPolicyReader
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 policy API
func (*Client) CreateSecurityPolicy ¶ added in v2.9.0
func (a *Client) CreateSecurityPolicy(params *CreateSecurityPolicyParams, opts ...ClientOption) (*CreateSecurityPolicyOK, error)
CreateSecurityPolicy create security policy API
func (*Client) DeleteSecurityPolicy ¶ added in v2.9.0
func (a *Client) DeleteSecurityPolicy(params *DeleteSecurityPolicyParams, opts ...ClientOption) (*DeleteSecurityPolicyOK, error)
DeleteSecurityPolicy delete security policy API
func (*Client) GetSecurityPolicies ¶
func (a *Client) GetSecurityPolicies(params *GetSecurityPoliciesParams, opts ...ClientOption) (*GetSecurityPoliciesOK, error)
GetSecurityPolicies get security policies API
func (*Client) GetSecurityPoliciesConnection ¶
func (a *Client) GetSecurityPoliciesConnection(params *GetSecurityPoliciesConnectionParams, opts ...ClientOption) (*GetSecurityPoliciesConnectionOK, error)
GetSecurityPoliciesConnection get security policies connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSecurityPolicy ¶ added in v2.9.0
func (a *Client) UpdateSecurityPolicy(params *UpdateSecurityPolicyParams, opts ...ClientOption) (*UpdateSecurityPolicyOK, error)
UpdateSecurityPolicy update security policy API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateSecurityPolicy(params *CreateSecurityPolicyParams, opts ...ClientOption) (*CreateSecurityPolicyOK, error) DeleteSecurityPolicy(params *DeleteSecurityPolicyParams, opts ...ClientOption) (*DeleteSecurityPolicyOK, error) GetSecurityPolicies(params *GetSecurityPoliciesParams, opts ...ClientOption) (*GetSecurityPoliciesOK, error) GetSecurityPoliciesConnection(params *GetSecurityPoliciesConnectionParams, opts ...ClientOption) (*GetSecurityPoliciesConnectionOK, error) UpdateSecurityPolicy(params *UpdateSecurityPolicyParams, opts ...ClientOption) (*UpdateSecurityPolicyOK, 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 policy API client.
type CreateSecurityPolicyBadRequest ¶ added in v2.9.0
CreateSecurityPolicyBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateSecurityPolicyBadRequest ¶ added in v2.9.0
func NewCreateSecurityPolicyBadRequest() *CreateSecurityPolicyBadRequest
NewCreateSecurityPolicyBadRequest creates a CreateSecurityPolicyBadRequest with default headers values
func (*CreateSecurityPolicyBadRequest) Error ¶ added in v2.9.0
func (o *CreateSecurityPolicyBadRequest) Error() string
func (*CreateSecurityPolicyBadRequest) GetPayload ¶ added in v2.9.0
func (o *CreateSecurityPolicyBadRequest) GetPayload() *models.ErrorBody
type CreateSecurityPolicyInternalServerError ¶ added in v2.9.0
type CreateSecurityPolicyInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateSecurityPolicyInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateSecurityPolicyInternalServerError ¶ added in v2.9.0
func NewCreateSecurityPolicyInternalServerError() *CreateSecurityPolicyInternalServerError
NewCreateSecurityPolicyInternalServerError creates a CreateSecurityPolicyInternalServerError with default headers values
func (*CreateSecurityPolicyInternalServerError) Error ¶ added in v2.9.0
func (o *CreateSecurityPolicyInternalServerError) Error() string
func (*CreateSecurityPolicyInternalServerError) GetPayload ¶ added in v2.9.0
func (o *CreateSecurityPolicyInternalServerError) GetPayload() *models.ErrorBody
type CreateSecurityPolicyNotFound ¶ added in v2.9.0
CreateSecurityPolicyNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateSecurityPolicyNotFound ¶ added in v2.9.0
func NewCreateSecurityPolicyNotFound() *CreateSecurityPolicyNotFound
NewCreateSecurityPolicyNotFound creates a CreateSecurityPolicyNotFound with default headers values
func (*CreateSecurityPolicyNotFound) Error ¶ added in v2.9.0
func (o *CreateSecurityPolicyNotFound) Error() string
func (*CreateSecurityPolicyNotFound) GetPayload ¶ added in v2.9.0
func (o *CreateSecurityPolicyNotFound) GetPayload() *models.ErrorBody
type CreateSecurityPolicyOK ¶ added in v2.9.0
type CreateSecurityPolicyOK struct { XTowerRequestID string Payload *models.WithTaskSecurityPolicy }
CreateSecurityPolicyOK describes a response with status code 200, with default header values.
CreateSecurityPolicyOK create security policy o k
func NewCreateSecurityPolicyOK ¶ added in v2.9.0
func NewCreateSecurityPolicyOK() *CreateSecurityPolicyOK
NewCreateSecurityPolicyOK creates a CreateSecurityPolicyOK with default headers values
func (*CreateSecurityPolicyOK) Error ¶ added in v2.9.0
func (o *CreateSecurityPolicyOK) Error() string
func (*CreateSecurityPolicyOK) GetPayload ¶ added in v2.9.0
func (o *CreateSecurityPolicyOK) GetPayload() *models.WithTaskSecurityPolicy
type CreateSecurityPolicyParams ¶ added in v2.9.0
type CreateSecurityPolicyParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SecurityPolicyCreateParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSecurityPolicyParams contains all the parameters to send to the API endpoint
for the create security policy operation. Typically these are written to a http.Request.
func NewCreateSecurityPolicyParams ¶ added in v2.9.0
func NewCreateSecurityPolicyParams() *CreateSecurityPolicyParams
NewCreateSecurityPolicyParams creates a new CreateSecurityPolicyParams 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 NewCreateSecurityPolicyParamsWithContext ¶ added in v2.9.0
func NewCreateSecurityPolicyParamsWithContext(ctx context.Context) *CreateSecurityPolicyParams
NewCreateSecurityPolicyParamsWithContext creates a new CreateSecurityPolicyParams object with the ability to set a context for a request.
func NewCreateSecurityPolicyParamsWithHTTPClient ¶ added in v2.9.0
func NewCreateSecurityPolicyParamsWithHTTPClient(client *http.Client) *CreateSecurityPolicyParams
NewCreateSecurityPolicyParamsWithHTTPClient creates a new CreateSecurityPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSecurityPolicyParamsWithTimeout ¶ added in v2.9.0
func NewCreateSecurityPolicyParamsWithTimeout(timeout time.Duration) *CreateSecurityPolicyParams
NewCreateSecurityPolicyParamsWithTimeout creates a new CreateSecurityPolicyParams object with the ability to set a timeout on a request.
func (*CreateSecurityPolicyParams) SetContentLanguage ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create security policy params
func (*CreateSecurityPolicyParams) SetContext ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the create security policy params
func (*CreateSecurityPolicyParams) SetDefaults ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) SetDefaults()
SetDefaults hydrates default values in the create security policy params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSecurityPolicyParams) SetHTTPClient ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create security policy params
func (*CreateSecurityPolicyParams) SetRequestBody ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) SetRequestBody(requestBody *models.SecurityPolicyCreateParams)
SetRequestBody adds the requestBody to the create security policy params
func (*CreateSecurityPolicyParams) SetTimeout ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create security policy params
func (*CreateSecurityPolicyParams) WithContentLanguage ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) WithContentLanguage(contentLanguage *string) *CreateSecurityPolicyParams
WithContentLanguage adds the contentLanguage to the create security policy params
func (*CreateSecurityPolicyParams) WithContext ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) WithContext(ctx context.Context) *CreateSecurityPolicyParams
WithContext adds the context to the create security policy params
func (*CreateSecurityPolicyParams) WithDefaults ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) WithDefaults() *CreateSecurityPolicyParams
WithDefaults hydrates default values in the create security policy params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSecurityPolicyParams) WithHTTPClient ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) WithHTTPClient(client *http.Client) *CreateSecurityPolicyParams
WithHTTPClient adds the HTTPClient to the create security policy params
func (*CreateSecurityPolicyParams) WithRequestBody ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) WithRequestBody(requestBody *models.SecurityPolicyCreateParams) *CreateSecurityPolicyParams
WithRequestBody adds the requestBody to the create security policy params
func (*CreateSecurityPolicyParams) WithTimeout ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) WithTimeout(timeout time.Duration) *CreateSecurityPolicyParams
WithTimeout adds the timeout to the create security policy params
func (*CreateSecurityPolicyParams) WriteToRequest ¶ added in v2.9.0
func (o *CreateSecurityPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSecurityPolicyReader ¶ added in v2.9.0
type CreateSecurityPolicyReader struct {
// contains filtered or unexported fields
}
CreateSecurityPolicyReader is a Reader for the CreateSecurityPolicy structure.
func (*CreateSecurityPolicyReader) ReadResponse ¶ added in v2.9.0
func (o *CreateSecurityPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSecurityPolicyBadRequest ¶ added in v2.9.0
DeleteSecurityPolicyBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteSecurityPolicyBadRequest ¶ added in v2.9.0
func NewDeleteSecurityPolicyBadRequest() *DeleteSecurityPolicyBadRequest
NewDeleteSecurityPolicyBadRequest creates a DeleteSecurityPolicyBadRequest with default headers values
func (*DeleteSecurityPolicyBadRequest) Error ¶ added in v2.9.0
func (o *DeleteSecurityPolicyBadRequest) Error() string
func (*DeleteSecurityPolicyBadRequest) GetPayload ¶ added in v2.9.0
func (o *DeleteSecurityPolicyBadRequest) GetPayload() *models.ErrorBody
type DeleteSecurityPolicyInternalServerError ¶ added in v2.9.0
type DeleteSecurityPolicyInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteSecurityPolicyInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteSecurityPolicyInternalServerError ¶ added in v2.9.0
func NewDeleteSecurityPolicyInternalServerError() *DeleteSecurityPolicyInternalServerError
NewDeleteSecurityPolicyInternalServerError creates a DeleteSecurityPolicyInternalServerError with default headers values
func (*DeleteSecurityPolicyInternalServerError) Error ¶ added in v2.9.0
func (o *DeleteSecurityPolicyInternalServerError) Error() string
func (*DeleteSecurityPolicyInternalServerError) GetPayload ¶ added in v2.9.0
func (o *DeleteSecurityPolicyInternalServerError) GetPayload() *models.ErrorBody
type DeleteSecurityPolicyNotFound ¶ added in v2.9.0
DeleteSecurityPolicyNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteSecurityPolicyNotFound ¶ added in v2.9.0
func NewDeleteSecurityPolicyNotFound() *DeleteSecurityPolicyNotFound
NewDeleteSecurityPolicyNotFound creates a DeleteSecurityPolicyNotFound with default headers values
func (*DeleteSecurityPolicyNotFound) Error ¶ added in v2.9.0
func (o *DeleteSecurityPolicyNotFound) Error() string
func (*DeleteSecurityPolicyNotFound) GetPayload ¶ added in v2.9.0
func (o *DeleteSecurityPolicyNotFound) GetPayload() *models.ErrorBody
type DeleteSecurityPolicyOK ¶ added in v2.9.0
type DeleteSecurityPolicyOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteSecurityPolicy }
DeleteSecurityPolicyOK describes a response with status code 200, with default header values.
DeleteSecurityPolicyOK delete security policy o k
func NewDeleteSecurityPolicyOK ¶ added in v2.9.0
func NewDeleteSecurityPolicyOK() *DeleteSecurityPolicyOK
NewDeleteSecurityPolicyOK creates a DeleteSecurityPolicyOK with default headers values
func (*DeleteSecurityPolicyOK) Error ¶ added in v2.9.0
func (o *DeleteSecurityPolicyOK) Error() string
func (*DeleteSecurityPolicyOK) GetPayload ¶ added in v2.9.0
func (o *DeleteSecurityPolicyOK) GetPayload() []*models.WithTaskDeleteSecurityPolicy
type DeleteSecurityPolicyParams ¶ added in v2.9.0
type DeleteSecurityPolicyParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SecurityPolicyDeleteParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSecurityPolicyParams contains all the parameters to send to the API endpoint
for the delete security policy operation. Typically these are written to a http.Request.
func NewDeleteSecurityPolicyParams ¶ added in v2.9.0
func NewDeleteSecurityPolicyParams() *DeleteSecurityPolicyParams
NewDeleteSecurityPolicyParams creates a new DeleteSecurityPolicyParams 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 NewDeleteSecurityPolicyParamsWithContext ¶ added in v2.9.0
func NewDeleteSecurityPolicyParamsWithContext(ctx context.Context) *DeleteSecurityPolicyParams
NewDeleteSecurityPolicyParamsWithContext creates a new DeleteSecurityPolicyParams object with the ability to set a context for a request.
func NewDeleteSecurityPolicyParamsWithHTTPClient ¶ added in v2.9.0
func NewDeleteSecurityPolicyParamsWithHTTPClient(client *http.Client) *DeleteSecurityPolicyParams
NewDeleteSecurityPolicyParamsWithHTTPClient creates a new DeleteSecurityPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSecurityPolicyParamsWithTimeout ¶ added in v2.9.0
func NewDeleteSecurityPolicyParamsWithTimeout(timeout time.Duration) *DeleteSecurityPolicyParams
NewDeleteSecurityPolicyParamsWithTimeout creates a new DeleteSecurityPolicyParams object with the ability to set a timeout on a request.
func (*DeleteSecurityPolicyParams) SetContentLanguage ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete security policy params
func (*DeleteSecurityPolicyParams) SetContext ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete security policy params
func (*DeleteSecurityPolicyParams) SetDefaults ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) SetDefaults()
SetDefaults hydrates default values in the delete security policy params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSecurityPolicyParams) SetHTTPClient ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete security policy params
func (*DeleteSecurityPolicyParams) SetRequestBody ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) SetRequestBody(requestBody *models.SecurityPolicyDeleteParams)
SetRequestBody adds the requestBody to the delete security policy params
func (*DeleteSecurityPolicyParams) SetTimeout ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete security policy params
func (*DeleteSecurityPolicyParams) WithContentLanguage ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) WithContentLanguage(contentLanguage *string) *DeleteSecurityPolicyParams
WithContentLanguage adds the contentLanguage to the delete security policy params
func (*DeleteSecurityPolicyParams) WithContext ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) WithContext(ctx context.Context) *DeleteSecurityPolicyParams
WithContext adds the context to the delete security policy params
func (*DeleteSecurityPolicyParams) WithDefaults ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) WithDefaults() *DeleteSecurityPolicyParams
WithDefaults hydrates default values in the delete security policy params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSecurityPolicyParams) WithHTTPClient ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) WithHTTPClient(client *http.Client) *DeleteSecurityPolicyParams
WithHTTPClient adds the HTTPClient to the delete security policy params
func (*DeleteSecurityPolicyParams) WithRequestBody ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) WithRequestBody(requestBody *models.SecurityPolicyDeleteParams) *DeleteSecurityPolicyParams
WithRequestBody adds the requestBody to the delete security policy params
func (*DeleteSecurityPolicyParams) WithTimeout ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) WithTimeout(timeout time.Duration) *DeleteSecurityPolicyParams
WithTimeout adds the timeout to the delete security policy params
func (*DeleteSecurityPolicyParams) WriteToRequest ¶ added in v2.9.0
func (o *DeleteSecurityPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSecurityPolicyReader ¶ added in v2.9.0
type DeleteSecurityPolicyReader struct {
// contains filtered or unexported fields
}
DeleteSecurityPolicyReader is a Reader for the DeleteSecurityPolicy structure.
func (*DeleteSecurityPolicyReader) ReadResponse ¶ added in v2.9.0
func (o *DeleteSecurityPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSecurityPoliciesBadRequest ¶
GetSecurityPoliciesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetSecurityPoliciesBadRequest ¶
func NewGetSecurityPoliciesBadRequest() *GetSecurityPoliciesBadRequest
NewGetSecurityPoliciesBadRequest creates a GetSecurityPoliciesBadRequest with default headers values
func (*GetSecurityPoliciesBadRequest) Error ¶
func (o *GetSecurityPoliciesBadRequest) Error() string
func (*GetSecurityPoliciesBadRequest) GetPayload ¶
func (o *GetSecurityPoliciesBadRequest) GetPayload() *models.ErrorBody
type GetSecurityPoliciesConnectionBadRequest ¶
type GetSecurityPoliciesConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetSecurityPoliciesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetSecurityPoliciesConnectionBadRequest ¶
func NewGetSecurityPoliciesConnectionBadRequest() *GetSecurityPoliciesConnectionBadRequest
NewGetSecurityPoliciesConnectionBadRequest creates a GetSecurityPoliciesConnectionBadRequest with default headers values
func (*GetSecurityPoliciesConnectionBadRequest) Error ¶
func (o *GetSecurityPoliciesConnectionBadRequest) Error() string
func (*GetSecurityPoliciesConnectionBadRequest) GetPayload ¶
func (o *GetSecurityPoliciesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetSecurityPoliciesConnectionInternalServerError ¶
type GetSecurityPoliciesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetSecurityPoliciesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetSecurityPoliciesConnectionInternalServerError ¶
func NewGetSecurityPoliciesConnectionInternalServerError() *GetSecurityPoliciesConnectionInternalServerError
NewGetSecurityPoliciesConnectionInternalServerError creates a GetSecurityPoliciesConnectionInternalServerError with default headers values
func (*GetSecurityPoliciesConnectionInternalServerError) Error ¶
func (o *GetSecurityPoliciesConnectionInternalServerError) Error() string
func (*GetSecurityPoliciesConnectionInternalServerError) GetPayload ¶
func (o *GetSecurityPoliciesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetSecurityPoliciesConnectionNotFound ¶
type GetSecurityPoliciesConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetSecurityPoliciesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSecurityPoliciesConnectionNotFound ¶
func NewGetSecurityPoliciesConnectionNotFound() *GetSecurityPoliciesConnectionNotFound
NewGetSecurityPoliciesConnectionNotFound creates a GetSecurityPoliciesConnectionNotFound with default headers values
func (*GetSecurityPoliciesConnectionNotFound) Error ¶
func (o *GetSecurityPoliciesConnectionNotFound) Error() string
func (*GetSecurityPoliciesConnectionNotFound) GetPayload ¶
func (o *GetSecurityPoliciesConnectionNotFound) GetPayload() *models.ErrorBody
type GetSecurityPoliciesConnectionOK ¶
type GetSecurityPoliciesConnectionOK struct { XTowerRequestID string Payload *models.SecurityPolicyConnection }
GetSecurityPoliciesConnectionOK describes a response with status code 200, with default header values.
GetSecurityPoliciesConnectionOK get security policies connection o k
func NewGetSecurityPoliciesConnectionOK ¶
func NewGetSecurityPoliciesConnectionOK() *GetSecurityPoliciesConnectionOK
NewGetSecurityPoliciesConnectionOK creates a GetSecurityPoliciesConnectionOK with default headers values
func (*GetSecurityPoliciesConnectionOK) Error ¶
func (o *GetSecurityPoliciesConnectionOK) Error() string
func (*GetSecurityPoliciesConnectionOK) GetPayload ¶
func (o *GetSecurityPoliciesConnectionOK) GetPayload() *models.SecurityPolicyConnection
type GetSecurityPoliciesConnectionParams ¶
type GetSecurityPoliciesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSecurityPoliciesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecurityPoliciesConnectionParams contains all the parameters to send to the API endpoint
for the get security policies connection operation. Typically these are written to a http.Request.
func NewGetSecurityPoliciesConnectionParams ¶
func NewGetSecurityPoliciesConnectionParams() *GetSecurityPoliciesConnectionParams
NewGetSecurityPoliciesConnectionParams creates a new GetSecurityPoliciesConnectionParams 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 NewGetSecurityPoliciesConnectionParamsWithContext ¶
func NewGetSecurityPoliciesConnectionParamsWithContext(ctx context.Context) *GetSecurityPoliciesConnectionParams
NewGetSecurityPoliciesConnectionParamsWithContext creates a new GetSecurityPoliciesConnectionParams object with the ability to set a context for a request.
func NewGetSecurityPoliciesConnectionParamsWithHTTPClient ¶
func NewGetSecurityPoliciesConnectionParamsWithHTTPClient(client *http.Client) *GetSecurityPoliciesConnectionParams
NewGetSecurityPoliciesConnectionParamsWithHTTPClient creates a new GetSecurityPoliciesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetSecurityPoliciesConnectionParamsWithTimeout ¶
func NewGetSecurityPoliciesConnectionParamsWithTimeout(timeout time.Duration) *GetSecurityPoliciesConnectionParams
NewGetSecurityPoliciesConnectionParamsWithTimeout creates a new GetSecurityPoliciesConnectionParams object with the ability to set a timeout on a request.
func (*GetSecurityPoliciesConnectionParams) SetContentLanguage ¶
func (o *GetSecurityPoliciesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get security policies connection params
func (*GetSecurityPoliciesConnectionParams) SetContext ¶
func (o *GetSecurityPoliciesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get security policies connection params
func (*GetSecurityPoliciesConnectionParams) SetDefaults ¶
func (o *GetSecurityPoliciesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get security policies connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityPoliciesConnectionParams) SetHTTPClient ¶
func (o *GetSecurityPoliciesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get security policies connection params
func (*GetSecurityPoliciesConnectionParams) SetRequestBody ¶
func (o *GetSecurityPoliciesConnectionParams) SetRequestBody(requestBody *models.GetSecurityPoliciesConnectionRequestBody)
SetRequestBody adds the requestBody to the get security policies connection params
func (*GetSecurityPoliciesConnectionParams) SetTimeout ¶
func (o *GetSecurityPoliciesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get security policies connection params
func (*GetSecurityPoliciesConnectionParams) WithContentLanguage ¶
func (o *GetSecurityPoliciesConnectionParams) WithContentLanguage(contentLanguage *string) *GetSecurityPoliciesConnectionParams
WithContentLanguage adds the contentLanguage to the get security policies connection params
func (*GetSecurityPoliciesConnectionParams) WithContext ¶
func (o *GetSecurityPoliciesConnectionParams) WithContext(ctx context.Context) *GetSecurityPoliciesConnectionParams
WithContext adds the context to the get security policies connection params
func (*GetSecurityPoliciesConnectionParams) WithDefaults ¶
func (o *GetSecurityPoliciesConnectionParams) WithDefaults() *GetSecurityPoliciesConnectionParams
WithDefaults hydrates default values in the get security policies connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityPoliciesConnectionParams) WithHTTPClient ¶
func (o *GetSecurityPoliciesConnectionParams) WithHTTPClient(client *http.Client) *GetSecurityPoliciesConnectionParams
WithHTTPClient adds the HTTPClient to the get security policies connection params
func (*GetSecurityPoliciesConnectionParams) WithRequestBody ¶
func (o *GetSecurityPoliciesConnectionParams) WithRequestBody(requestBody *models.GetSecurityPoliciesConnectionRequestBody) *GetSecurityPoliciesConnectionParams
WithRequestBody adds the requestBody to the get security policies connection params
func (*GetSecurityPoliciesConnectionParams) WithTimeout ¶
func (o *GetSecurityPoliciesConnectionParams) WithTimeout(timeout time.Duration) *GetSecurityPoliciesConnectionParams
WithTimeout adds the timeout to the get security policies connection params
func (*GetSecurityPoliciesConnectionParams) WriteToRequest ¶
func (o *GetSecurityPoliciesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecurityPoliciesConnectionReader ¶
type GetSecurityPoliciesConnectionReader struct {
// contains filtered or unexported fields
}
GetSecurityPoliciesConnectionReader is a Reader for the GetSecurityPoliciesConnection structure.
func (*GetSecurityPoliciesConnectionReader) ReadResponse ¶
func (o *GetSecurityPoliciesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSecurityPoliciesInternalServerError ¶
type GetSecurityPoliciesInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetSecurityPoliciesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetSecurityPoliciesInternalServerError ¶
func NewGetSecurityPoliciesInternalServerError() *GetSecurityPoliciesInternalServerError
NewGetSecurityPoliciesInternalServerError creates a GetSecurityPoliciesInternalServerError with default headers values
func (*GetSecurityPoliciesInternalServerError) Error ¶
func (o *GetSecurityPoliciesInternalServerError) Error() string
func (*GetSecurityPoliciesInternalServerError) GetPayload ¶
func (o *GetSecurityPoliciesInternalServerError) GetPayload() *models.ErrorBody
type GetSecurityPoliciesNotFound ¶
GetSecurityPoliciesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSecurityPoliciesNotFound ¶
func NewGetSecurityPoliciesNotFound() *GetSecurityPoliciesNotFound
NewGetSecurityPoliciesNotFound creates a GetSecurityPoliciesNotFound with default headers values
func (*GetSecurityPoliciesNotFound) Error ¶
func (o *GetSecurityPoliciesNotFound) Error() string
func (*GetSecurityPoliciesNotFound) GetPayload ¶
func (o *GetSecurityPoliciesNotFound) GetPayload() *models.ErrorBody
type GetSecurityPoliciesOK ¶
type GetSecurityPoliciesOK struct { XTowerRequestID string Payload []*models.SecurityPolicy }
GetSecurityPoliciesOK describes a response with status code 200, with default header values.
GetSecurityPoliciesOK get security policies o k
func NewGetSecurityPoliciesOK ¶
func NewGetSecurityPoliciesOK() *GetSecurityPoliciesOK
NewGetSecurityPoliciesOK creates a GetSecurityPoliciesOK with default headers values
func (*GetSecurityPoliciesOK) Error ¶
func (o *GetSecurityPoliciesOK) Error() string
func (*GetSecurityPoliciesOK) GetPayload ¶
func (o *GetSecurityPoliciesOK) GetPayload() []*models.SecurityPolicy
type GetSecurityPoliciesParams ¶
type GetSecurityPoliciesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSecurityPoliciesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSecurityPoliciesParams contains all the parameters to send to the API endpoint
for the get security policies operation. Typically these are written to a http.Request.
func NewGetSecurityPoliciesParams ¶
func NewGetSecurityPoliciesParams() *GetSecurityPoliciesParams
NewGetSecurityPoliciesParams creates a new GetSecurityPoliciesParams 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 NewGetSecurityPoliciesParamsWithContext ¶
func NewGetSecurityPoliciesParamsWithContext(ctx context.Context) *GetSecurityPoliciesParams
NewGetSecurityPoliciesParamsWithContext creates a new GetSecurityPoliciesParams object with the ability to set a context for a request.
func NewGetSecurityPoliciesParamsWithHTTPClient ¶
func NewGetSecurityPoliciesParamsWithHTTPClient(client *http.Client) *GetSecurityPoliciesParams
NewGetSecurityPoliciesParamsWithHTTPClient creates a new GetSecurityPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewGetSecurityPoliciesParamsWithTimeout ¶
func NewGetSecurityPoliciesParamsWithTimeout(timeout time.Duration) *GetSecurityPoliciesParams
NewGetSecurityPoliciesParamsWithTimeout creates a new GetSecurityPoliciesParams object with the ability to set a timeout on a request.
func (*GetSecurityPoliciesParams) SetContentLanguage ¶
func (o *GetSecurityPoliciesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get security policies params
func (*GetSecurityPoliciesParams) SetContext ¶
func (o *GetSecurityPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the get security policies params
func (*GetSecurityPoliciesParams) SetDefaults ¶
func (o *GetSecurityPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the get security policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityPoliciesParams) SetHTTPClient ¶
func (o *GetSecurityPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get security policies params
func (*GetSecurityPoliciesParams) SetRequestBody ¶
func (o *GetSecurityPoliciesParams) SetRequestBody(requestBody *models.GetSecurityPoliciesRequestBody)
SetRequestBody adds the requestBody to the get security policies params
func (*GetSecurityPoliciesParams) SetTimeout ¶
func (o *GetSecurityPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get security policies params
func (*GetSecurityPoliciesParams) WithContentLanguage ¶
func (o *GetSecurityPoliciesParams) WithContentLanguage(contentLanguage *string) *GetSecurityPoliciesParams
WithContentLanguage adds the contentLanguage to the get security policies params
func (*GetSecurityPoliciesParams) WithContext ¶
func (o *GetSecurityPoliciesParams) WithContext(ctx context.Context) *GetSecurityPoliciesParams
WithContext adds the context to the get security policies params
func (*GetSecurityPoliciesParams) WithDefaults ¶
func (o *GetSecurityPoliciesParams) WithDefaults() *GetSecurityPoliciesParams
WithDefaults hydrates default values in the get security policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetSecurityPoliciesParams) WithHTTPClient ¶
func (o *GetSecurityPoliciesParams) WithHTTPClient(client *http.Client) *GetSecurityPoliciesParams
WithHTTPClient adds the HTTPClient to the get security policies params
func (*GetSecurityPoliciesParams) WithRequestBody ¶
func (o *GetSecurityPoliciesParams) WithRequestBody(requestBody *models.GetSecurityPoliciesRequestBody) *GetSecurityPoliciesParams
WithRequestBody adds the requestBody to the get security policies params
func (*GetSecurityPoliciesParams) WithTimeout ¶
func (o *GetSecurityPoliciesParams) WithTimeout(timeout time.Duration) *GetSecurityPoliciesParams
WithTimeout adds the timeout to the get security policies params
func (*GetSecurityPoliciesParams) WriteToRequest ¶
func (o *GetSecurityPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSecurityPoliciesReader ¶
type GetSecurityPoliciesReader struct {
// contains filtered or unexported fields
}
GetSecurityPoliciesReader is a Reader for the GetSecurityPolicies structure.
func (*GetSecurityPoliciesReader) ReadResponse ¶
func (o *GetSecurityPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSecurityPolicyBadRequest ¶ added in v2.9.0
UpdateSecurityPolicyBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateSecurityPolicyBadRequest ¶ added in v2.9.0
func NewUpdateSecurityPolicyBadRequest() *UpdateSecurityPolicyBadRequest
NewUpdateSecurityPolicyBadRequest creates a UpdateSecurityPolicyBadRequest with default headers values
func (*UpdateSecurityPolicyBadRequest) Error ¶ added in v2.9.0
func (o *UpdateSecurityPolicyBadRequest) Error() string
func (*UpdateSecurityPolicyBadRequest) GetPayload ¶ added in v2.9.0
func (o *UpdateSecurityPolicyBadRequest) GetPayload() *models.ErrorBody
type UpdateSecurityPolicyInternalServerError ¶ added in v2.9.0
type UpdateSecurityPolicyInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateSecurityPolicyInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateSecurityPolicyInternalServerError ¶ added in v2.9.0
func NewUpdateSecurityPolicyInternalServerError() *UpdateSecurityPolicyInternalServerError
NewUpdateSecurityPolicyInternalServerError creates a UpdateSecurityPolicyInternalServerError with default headers values
func (*UpdateSecurityPolicyInternalServerError) Error ¶ added in v2.9.0
func (o *UpdateSecurityPolicyInternalServerError) Error() string
func (*UpdateSecurityPolicyInternalServerError) GetPayload ¶ added in v2.9.0
func (o *UpdateSecurityPolicyInternalServerError) GetPayload() *models.ErrorBody
type UpdateSecurityPolicyNotFound ¶ added in v2.9.0
UpdateSecurityPolicyNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateSecurityPolicyNotFound ¶ added in v2.9.0
func NewUpdateSecurityPolicyNotFound() *UpdateSecurityPolicyNotFound
NewUpdateSecurityPolicyNotFound creates a UpdateSecurityPolicyNotFound with default headers values
func (*UpdateSecurityPolicyNotFound) Error ¶ added in v2.9.0
func (o *UpdateSecurityPolicyNotFound) Error() string
func (*UpdateSecurityPolicyNotFound) GetPayload ¶ added in v2.9.0
func (o *UpdateSecurityPolicyNotFound) GetPayload() *models.ErrorBody
type UpdateSecurityPolicyOK ¶ added in v2.9.0
type UpdateSecurityPolicyOK struct { XTowerRequestID string Payload []*models.WithTaskSecurityPolicy }
UpdateSecurityPolicyOK describes a response with status code 200, with default header values.
UpdateSecurityPolicyOK update security policy o k
func NewUpdateSecurityPolicyOK ¶ added in v2.9.0
func NewUpdateSecurityPolicyOK() *UpdateSecurityPolicyOK
NewUpdateSecurityPolicyOK creates a UpdateSecurityPolicyOK with default headers values
func (*UpdateSecurityPolicyOK) Error ¶ added in v2.9.0
func (o *UpdateSecurityPolicyOK) Error() string
func (*UpdateSecurityPolicyOK) GetPayload ¶ added in v2.9.0
func (o *UpdateSecurityPolicyOK) GetPayload() []*models.WithTaskSecurityPolicy
type UpdateSecurityPolicyParams ¶ added in v2.9.0
type UpdateSecurityPolicyParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.SecurityPolicyUpdateBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSecurityPolicyParams contains all the parameters to send to the API endpoint
for the update security policy operation. Typically these are written to a http.Request.
func NewUpdateSecurityPolicyParams ¶ added in v2.9.0
func NewUpdateSecurityPolicyParams() *UpdateSecurityPolicyParams
NewUpdateSecurityPolicyParams creates a new UpdateSecurityPolicyParams 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 NewUpdateSecurityPolicyParamsWithContext ¶ added in v2.9.0
func NewUpdateSecurityPolicyParamsWithContext(ctx context.Context) *UpdateSecurityPolicyParams
NewUpdateSecurityPolicyParamsWithContext creates a new UpdateSecurityPolicyParams object with the ability to set a context for a request.
func NewUpdateSecurityPolicyParamsWithHTTPClient ¶ added in v2.9.0
func NewUpdateSecurityPolicyParamsWithHTTPClient(client *http.Client) *UpdateSecurityPolicyParams
NewUpdateSecurityPolicyParamsWithHTTPClient creates a new UpdateSecurityPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSecurityPolicyParamsWithTimeout ¶ added in v2.9.0
func NewUpdateSecurityPolicyParamsWithTimeout(timeout time.Duration) *UpdateSecurityPolicyParams
NewUpdateSecurityPolicyParamsWithTimeout creates a new UpdateSecurityPolicyParams object with the ability to set a timeout on a request.
func (*UpdateSecurityPolicyParams) SetContentLanguage ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update security policy params
func (*UpdateSecurityPolicyParams) SetContext ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the update security policy params
func (*UpdateSecurityPolicyParams) SetDefaults ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) SetDefaults()
SetDefaults hydrates default values in the update security policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSecurityPolicyParams) SetHTTPClient ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update security policy params
func (*UpdateSecurityPolicyParams) SetRequestBody ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) SetRequestBody(requestBody *models.SecurityPolicyUpdateBody)
SetRequestBody adds the requestBody to the update security policy params
func (*UpdateSecurityPolicyParams) SetTimeout ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update security policy params
func (*UpdateSecurityPolicyParams) WithContentLanguage ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) WithContentLanguage(contentLanguage *string) *UpdateSecurityPolicyParams
WithContentLanguage adds the contentLanguage to the update security policy params
func (*UpdateSecurityPolicyParams) WithContext ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) WithContext(ctx context.Context) *UpdateSecurityPolicyParams
WithContext adds the context to the update security policy params
func (*UpdateSecurityPolicyParams) WithDefaults ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) WithDefaults() *UpdateSecurityPolicyParams
WithDefaults hydrates default values in the update security policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSecurityPolicyParams) WithHTTPClient ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) WithHTTPClient(client *http.Client) *UpdateSecurityPolicyParams
WithHTTPClient adds the HTTPClient to the update security policy params
func (*UpdateSecurityPolicyParams) WithRequestBody ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) WithRequestBody(requestBody *models.SecurityPolicyUpdateBody) *UpdateSecurityPolicyParams
WithRequestBody adds the requestBody to the update security policy params
func (*UpdateSecurityPolicyParams) WithTimeout ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) WithTimeout(timeout time.Duration) *UpdateSecurityPolicyParams
WithTimeout adds the timeout to the update security policy params
func (*UpdateSecurityPolicyParams) WriteToRequest ¶ added in v2.9.0
func (o *UpdateSecurityPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSecurityPolicyReader ¶ added in v2.9.0
type UpdateSecurityPolicyReader struct {
// contains filtered or unexported fields
}
UpdateSecurityPolicyReader is a Reader for the UpdateSecurityPolicy structure.
func (*UpdateSecurityPolicyReader) ReadResponse ¶ added in v2.9.0
func (o *UpdateSecurityPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_security_policy_parameters.go
- create_security_policy_responses.go
- delete_security_policy_parameters.go
- delete_security_policy_responses.go
- get_security_policies_connection_parameters.go
- get_security_policies_connection_responses.go
- get_security_policies_parameters.go
- get_security_policies_responses.go
- security_policy_client.go
- update_security_policy_parameters.go
- update_security_policy_responses.go