Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateServicePolicy(params *CreateServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateServicePolicyCreated, error)
- func (a *Client) DeleteServicePolicy(params *DeleteServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServicePolicyOK, error)
- func (a *Client) DetailServicePolicy(params *DetailServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DetailServicePolicyOK, error)
- func (a *Client) ListServicePolicies(params *ListServicePoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServicePoliciesOK, error)
- func (a *Client) ListServicePolicyIdentities(params *ListServicePolicyIdentitiesParams, ...) (*ListServicePolicyIdentitiesOK, error)
- func (a *Client) ListServicePolicyPostureChecks(params *ListServicePolicyPostureChecksParams, ...) (*ListServicePolicyPostureChecksOK, error)
- func (a *Client) ListServicePolicyServices(params *ListServicePolicyServicesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServicePolicyServicesOK, error)
- func (a *Client) PatchServicePolicy(params *PatchServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PatchServicePolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateServicePolicy(params *UpdateServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServicePolicyOK, error)
- type ClientService
- type CreateServicePolicyBadRequest
- type CreateServicePolicyCreated
- type CreateServicePolicyParams
- func NewCreateServicePolicyParams() *CreateServicePolicyParams
- func NewCreateServicePolicyParamsWithContext(ctx context.Context) *CreateServicePolicyParams
- func NewCreateServicePolicyParamsWithHTTPClient(client *http.Client) *CreateServicePolicyParams
- func NewCreateServicePolicyParamsWithTimeout(timeout time.Duration) *CreateServicePolicyParams
- func (o *CreateServicePolicyParams) SetBody(body *rest_model.ServicePolicyCreate)
- func (o *CreateServicePolicyParams) SetContext(ctx context.Context)
- func (o *CreateServicePolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreateServicePolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreateServicePolicyParams) WithBody(body *rest_model.ServicePolicyCreate) *CreateServicePolicyParams
- func (o *CreateServicePolicyParams) WithContext(ctx context.Context) *CreateServicePolicyParams
- func (o *CreateServicePolicyParams) WithHTTPClient(client *http.Client) *CreateServicePolicyParams
- func (o *CreateServicePolicyParams) WithTimeout(timeout time.Duration) *CreateServicePolicyParams
- func (o *CreateServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateServicePolicyReader
- type CreateServicePolicyUnauthorized
- type DeleteServicePolicyBadRequest
- type DeleteServicePolicyConflict
- type DeleteServicePolicyOK
- type DeleteServicePolicyParams
- func NewDeleteServicePolicyParams() *DeleteServicePolicyParams
- func NewDeleteServicePolicyParamsWithContext(ctx context.Context) *DeleteServicePolicyParams
- func NewDeleteServicePolicyParamsWithHTTPClient(client *http.Client) *DeleteServicePolicyParams
- func NewDeleteServicePolicyParamsWithTimeout(timeout time.Duration) *DeleteServicePolicyParams
- func (o *DeleteServicePolicyParams) SetContext(ctx context.Context)
- func (o *DeleteServicePolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServicePolicyParams) SetID(id string)
- func (o *DeleteServicePolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServicePolicyParams) WithContext(ctx context.Context) *DeleteServicePolicyParams
- func (o *DeleteServicePolicyParams) WithHTTPClient(client *http.Client) *DeleteServicePolicyParams
- func (o *DeleteServicePolicyParams) WithID(id string) *DeleteServicePolicyParams
- func (o *DeleteServicePolicyParams) WithTimeout(timeout time.Duration) *DeleteServicePolicyParams
- func (o *DeleteServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServicePolicyReader
- type DeleteServicePolicyUnauthorized
- type DetailServicePolicyNotFound
- type DetailServicePolicyOK
- type DetailServicePolicyParams
- func NewDetailServicePolicyParams() *DetailServicePolicyParams
- func NewDetailServicePolicyParamsWithContext(ctx context.Context) *DetailServicePolicyParams
- func NewDetailServicePolicyParamsWithHTTPClient(client *http.Client) *DetailServicePolicyParams
- func NewDetailServicePolicyParamsWithTimeout(timeout time.Duration) *DetailServicePolicyParams
- func (o *DetailServicePolicyParams) SetContext(ctx context.Context)
- func (o *DetailServicePolicyParams) SetHTTPClient(client *http.Client)
- func (o *DetailServicePolicyParams) SetID(id string)
- func (o *DetailServicePolicyParams) SetTimeout(timeout time.Duration)
- func (o *DetailServicePolicyParams) WithContext(ctx context.Context) *DetailServicePolicyParams
- func (o *DetailServicePolicyParams) WithHTTPClient(client *http.Client) *DetailServicePolicyParams
- func (o *DetailServicePolicyParams) WithID(id string) *DetailServicePolicyParams
- func (o *DetailServicePolicyParams) WithTimeout(timeout time.Duration) *DetailServicePolicyParams
- func (o *DetailServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailServicePolicyReader
- type DetailServicePolicyUnauthorized
- type ListServicePoliciesOK
- type ListServicePoliciesParams
- func NewListServicePoliciesParams() *ListServicePoliciesParams
- func NewListServicePoliciesParamsWithContext(ctx context.Context) *ListServicePoliciesParams
- func NewListServicePoliciesParamsWithHTTPClient(client *http.Client) *ListServicePoliciesParams
- func NewListServicePoliciesParamsWithTimeout(timeout time.Duration) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) SetContext(ctx context.Context)
- func (o *ListServicePoliciesParams) SetFilter(filter *string)
- func (o *ListServicePoliciesParams) SetHTTPClient(client *http.Client)
- func (o *ListServicePoliciesParams) SetLimit(limit *int64)
- func (o *ListServicePoliciesParams) SetOffset(offset *int64)
- func (o *ListServicePoliciesParams) SetTimeout(timeout time.Duration)
- func (o *ListServicePoliciesParams) WithContext(ctx context.Context) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WithFilter(filter *string) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WithHTTPClient(client *http.Client) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WithLimit(limit *int64) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WithOffset(offset *int64) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WithTimeout(timeout time.Duration) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicePoliciesReader
- type ListServicePoliciesUnauthorized
- type ListServicePolicyIdentitiesBadRequest
- type ListServicePolicyIdentitiesOK
- type ListServicePolicyIdentitiesParams
- func NewListServicePolicyIdentitiesParams() *ListServicePolicyIdentitiesParams
- func NewListServicePolicyIdentitiesParamsWithContext(ctx context.Context) *ListServicePolicyIdentitiesParams
- func NewListServicePolicyIdentitiesParamsWithHTTPClient(client *http.Client) *ListServicePolicyIdentitiesParams
- func NewListServicePolicyIdentitiesParamsWithTimeout(timeout time.Duration) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) SetContext(ctx context.Context)
- func (o *ListServicePolicyIdentitiesParams) SetFilter(filter *string)
- func (o *ListServicePolicyIdentitiesParams) SetHTTPClient(client *http.Client)
- func (o *ListServicePolicyIdentitiesParams) SetID(id string)
- func (o *ListServicePolicyIdentitiesParams) SetLimit(limit *int64)
- func (o *ListServicePolicyIdentitiesParams) SetOffset(offset *int64)
- func (o *ListServicePolicyIdentitiesParams) SetTimeout(timeout time.Duration)
- func (o *ListServicePolicyIdentitiesParams) WithContext(ctx context.Context) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithFilter(filter *string) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithHTTPClient(client *http.Client) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithID(id string) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithLimit(limit *int64) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithOffset(offset *int64) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithTimeout(timeout time.Duration) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicePolicyIdentitiesReader
- type ListServicePolicyIdentitiesUnauthorized
- type ListServicePolicyPostureChecksBadRequest
- type ListServicePolicyPostureChecksOK
- type ListServicePolicyPostureChecksParams
- func NewListServicePolicyPostureChecksParams() *ListServicePolicyPostureChecksParams
- func NewListServicePolicyPostureChecksParamsWithContext(ctx context.Context) *ListServicePolicyPostureChecksParams
- func NewListServicePolicyPostureChecksParamsWithHTTPClient(client *http.Client) *ListServicePolicyPostureChecksParams
- func NewListServicePolicyPostureChecksParamsWithTimeout(timeout time.Duration) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) SetContext(ctx context.Context)
- func (o *ListServicePolicyPostureChecksParams) SetFilter(filter *string)
- func (o *ListServicePolicyPostureChecksParams) SetHTTPClient(client *http.Client)
- func (o *ListServicePolicyPostureChecksParams) SetID(id string)
- func (o *ListServicePolicyPostureChecksParams) SetLimit(limit *int64)
- func (o *ListServicePolicyPostureChecksParams) SetOffset(offset *int64)
- func (o *ListServicePolicyPostureChecksParams) SetTimeout(timeout time.Duration)
- func (o *ListServicePolicyPostureChecksParams) WithContext(ctx context.Context) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithFilter(filter *string) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithHTTPClient(client *http.Client) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithID(id string) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithLimit(limit *int64) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithOffset(offset *int64) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithTimeout(timeout time.Duration) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicePolicyPostureChecksReader
- type ListServicePolicyPostureChecksUnauthorized
- type ListServicePolicyServicesBadRequest
- type ListServicePolicyServicesOK
- type ListServicePolicyServicesParams
- func NewListServicePolicyServicesParams() *ListServicePolicyServicesParams
- func NewListServicePolicyServicesParamsWithContext(ctx context.Context) *ListServicePolicyServicesParams
- func NewListServicePolicyServicesParamsWithHTTPClient(client *http.Client) *ListServicePolicyServicesParams
- func NewListServicePolicyServicesParamsWithTimeout(timeout time.Duration) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) SetContext(ctx context.Context)
- func (o *ListServicePolicyServicesParams) SetFilter(filter *string)
- func (o *ListServicePolicyServicesParams) SetHTTPClient(client *http.Client)
- func (o *ListServicePolicyServicesParams) SetID(id string)
- func (o *ListServicePolicyServicesParams) SetLimit(limit *int64)
- func (o *ListServicePolicyServicesParams) SetOffset(offset *int64)
- func (o *ListServicePolicyServicesParams) SetTimeout(timeout time.Duration)
- func (o *ListServicePolicyServicesParams) WithContext(ctx context.Context) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithFilter(filter *string) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithHTTPClient(client *http.Client) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithID(id string) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithLimit(limit *int64) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithOffset(offset *int64) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithTimeout(timeout time.Duration) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicePolicyServicesReader
- type ListServicePolicyServicesUnauthorized
- type PatchServicePolicyBadRequest
- type PatchServicePolicyNotFound
- type PatchServicePolicyOK
- type PatchServicePolicyParams
- func NewPatchServicePolicyParams() *PatchServicePolicyParams
- func NewPatchServicePolicyParamsWithContext(ctx context.Context) *PatchServicePolicyParams
- func NewPatchServicePolicyParamsWithHTTPClient(client *http.Client) *PatchServicePolicyParams
- func NewPatchServicePolicyParamsWithTimeout(timeout time.Duration) *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) SetBody(body *rest_model.ServicePolicyPatch)
- func (o *PatchServicePolicyParams) SetContext(ctx context.Context)
- func (o *PatchServicePolicyParams) SetHTTPClient(client *http.Client)
- func (o *PatchServicePolicyParams) SetID(id string)
- func (o *PatchServicePolicyParams) SetTimeout(timeout time.Duration)
- func (o *PatchServicePolicyParams) WithBody(body *rest_model.ServicePolicyPatch) *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) WithContext(ctx context.Context) *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) WithHTTPClient(client *http.Client) *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) WithID(id string) *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) WithTimeout(timeout time.Duration) *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchServicePolicyReader
- type PatchServicePolicyUnauthorized
- type UpdateServicePolicyBadRequest
- type UpdateServicePolicyNotFound
- type UpdateServicePolicyOK
- type UpdateServicePolicyParams
- func NewUpdateServicePolicyParams() *UpdateServicePolicyParams
- func NewUpdateServicePolicyParamsWithContext(ctx context.Context) *UpdateServicePolicyParams
- func NewUpdateServicePolicyParamsWithHTTPClient(client *http.Client) *UpdateServicePolicyParams
- func NewUpdateServicePolicyParamsWithTimeout(timeout time.Duration) *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) SetBody(body *rest_model.ServicePolicyUpdate)
- func (o *UpdateServicePolicyParams) SetContext(ctx context.Context)
- func (o *UpdateServicePolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServicePolicyParams) SetID(id string)
- func (o *UpdateServicePolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServicePolicyParams) WithBody(body *rest_model.ServicePolicyUpdate) *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) WithContext(ctx context.Context) *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) WithHTTPClient(client *http.Client) *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) WithID(id string) *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) WithTimeout(timeout time.Duration) *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServicePolicyReader
- type UpdateServicePolicyUnauthorized
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 service policy API
func (*Client) CreateServicePolicy ¶
func (a *Client) CreateServicePolicy(params *CreateServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateServicePolicyCreated, error)
CreateServicePolicy creates a service policy resource
Create a service policy resource. Requires admin access.
func (*Client) DeleteServicePolicy ¶
func (a *Client) DeleteServicePolicy(params *DeleteServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServicePolicyOK, error)
DeleteServicePolicy deletes a service policy
Delete a service policy by id. Requires admin access.
func (*Client) DetailServicePolicy ¶
func (a *Client) DetailServicePolicy(params *DetailServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DetailServicePolicyOK, error)
DetailServicePolicy retrieves a single service policy
Retrieves a single service policy by id. Requires admin access.
func (*Client) ListServicePolicies ¶
func (a *Client) ListServicePolicies(params *ListServicePoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServicePoliciesOK, error)
ListServicePolicies lists service policies
Retrieves a list of service policy resources; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) ListServicePolicyIdentities ¶
func (a *Client) ListServicePolicyIdentities(params *ListServicePolicyIdentitiesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServicePolicyIdentitiesOK, error)
ListServicePolicyIdentities lists identities a service policy affects
Retrieves a list of identity resources that are affected by a service policy; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) ListServicePolicyPostureChecks ¶ added in v0.17.5
func (a *Client) ListServicePolicyPostureChecks(params *ListServicePolicyPostureChecksParams, authInfo runtime.ClientAuthInfoWriter) (*ListServicePolicyPostureChecksOK, error)
ListServicePolicyPostureChecks lists posture check a service policy includes
Retrieves a list of posture check resources that are affected by a service policy; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) ListServicePolicyServices ¶
func (a *Client) ListServicePolicyServices(params *ListServicePolicyServicesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServicePolicyServicesOK, error)
ListServicePolicyServices lists services a service policy affects
Retrieves a list of service resources that are affected by a service policy; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) PatchServicePolicy ¶
func (a *Client) PatchServicePolicy(params *PatchServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PatchServicePolicyOK, error)
PatchServicePolicy updates the supplied fields on a service policy
Update the supplied fields on a service policy. Requires admin access.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateServicePolicy ¶
func (a *Client) UpdateServicePolicy(params *UpdateServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServicePolicyOK, error)
UpdateServicePolicy updates all fields on a service policy
Update all fields on a service policy by id. Requires admin access.
type ClientService ¶
type ClientService interface { CreateServicePolicy(params *CreateServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateServicePolicyCreated, error) DeleteServicePolicy(params *DeleteServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServicePolicyOK, error) DetailServicePolicy(params *DetailServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DetailServicePolicyOK, error) ListServicePolicies(params *ListServicePoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServicePoliciesOK, error) ListServicePolicyIdentities(params *ListServicePolicyIdentitiesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServicePolicyIdentitiesOK, error) ListServicePolicyPostureChecks(params *ListServicePolicyPostureChecksParams, authInfo runtime.ClientAuthInfoWriter) (*ListServicePolicyPostureChecksOK, error) ListServicePolicyServices(params *ListServicePolicyServicesParams, authInfo runtime.ClientAuthInfoWriter) (*ListServicePolicyServicesOK, error) PatchServicePolicy(params *PatchServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*PatchServicePolicyOK, error) UpdateServicePolicy(params *UpdateServicePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServicePolicyOK, 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 service policy API client.
type CreateServicePolicyBadRequest ¶
type CreateServicePolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreateServicePolicyBadRequest handles this case with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreateServicePolicyBadRequest ¶
func NewCreateServicePolicyBadRequest() *CreateServicePolicyBadRequest
NewCreateServicePolicyBadRequest creates a CreateServicePolicyBadRequest with default headers values
func (*CreateServicePolicyBadRequest) Error ¶
func (o *CreateServicePolicyBadRequest) Error() string
func (*CreateServicePolicyBadRequest) GetPayload ¶
func (o *CreateServicePolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreateServicePolicyCreated ¶ added in v0.17.52
type CreateServicePolicyCreated struct {
Payload *rest_model.CreateEnvelope
}
CreateServicePolicyCreated handles this case with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateServicePolicyCreated ¶ added in v0.17.52
func NewCreateServicePolicyCreated() *CreateServicePolicyCreated
NewCreateServicePolicyCreated creates a CreateServicePolicyCreated with default headers values
func (*CreateServicePolicyCreated) Error ¶ added in v0.17.52
func (o *CreateServicePolicyCreated) Error() string
func (*CreateServicePolicyCreated) GetPayload ¶ added in v0.17.52
func (o *CreateServicePolicyCreated) GetPayload() *rest_model.CreateEnvelope
type CreateServicePolicyParams ¶
type CreateServicePolicyParams struct { /*Body A service policy to create */ Body *rest_model.ServicePolicyCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateServicePolicyParams contains all the parameters to send to the API endpoint for the create service policy operation typically these are written to a http.Request
func NewCreateServicePolicyParams ¶
func NewCreateServicePolicyParams() *CreateServicePolicyParams
NewCreateServicePolicyParams creates a new CreateServicePolicyParams object with the default values initialized.
func NewCreateServicePolicyParamsWithContext ¶
func NewCreateServicePolicyParamsWithContext(ctx context.Context) *CreateServicePolicyParams
NewCreateServicePolicyParamsWithContext creates a new CreateServicePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewCreateServicePolicyParamsWithHTTPClient ¶
func NewCreateServicePolicyParamsWithHTTPClient(client *http.Client) *CreateServicePolicyParams
NewCreateServicePolicyParamsWithHTTPClient creates a new CreateServicePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateServicePolicyParamsWithTimeout ¶
func NewCreateServicePolicyParamsWithTimeout(timeout time.Duration) *CreateServicePolicyParams
NewCreateServicePolicyParamsWithTimeout creates a new CreateServicePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateServicePolicyParams) SetBody ¶
func (o *CreateServicePolicyParams) SetBody(body *rest_model.ServicePolicyCreate)
SetBody adds the body to the create service policy params
func (*CreateServicePolicyParams) SetContext ¶
func (o *CreateServicePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the create service policy params
func (*CreateServicePolicyParams) SetHTTPClient ¶
func (o *CreateServicePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create service policy params
func (*CreateServicePolicyParams) SetTimeout ¶
func (o *CreateServicePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create service policy params
func (*CreateServicePolicyParams) WithBody ¶
func (o *CreateServicePolicyParams) WithBody(body *rest_model.ServicePolicyCreate) *CreateServicePolicyParams
WithBody adds the body to the create service policy params
func (*CreateServicePolicyParams) WithContext ¶
func (o *CreateServicePolicyParams) WithContext(ctx context.Context) *CreateServicePolicyParams
WithContext adds the context to the create service policy params
func (*CreateServicePolicyParams) WithHTTPClient ¶
func (o *CreateServicePolicyParams) WithHTTPClient(client *http.Client) *CreateServicePolicyParams
WithHTTPClient adds the HTTPClient to the create service policy params
func (*CreateServicePolicyParams) WithTimeout ¶
func (o *CreateServicePolicyParams) WithTimeout(timeout time.Duration) *CreateServicePolicyParams
WithTimeout adds the timeout to the create service policy params
func (*CreateServicePolicyParams) WriteToRequest ¶
func (o *CreateServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateServicePolicyReader ¶
type CreateServicePolicyReader struct {
// contains filtered or unexported fields
}
CreateServicePolicyReader is a Reader for the CreateServicePolicy structure.
func (*CreateServicePolicyReader) ReadResponse ¶
func (o *CreateServicePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateServicePolicyUnauthorized ¶
type CreateServicePolicyUnauthorized struct {
}CreateServicePolicyUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCreateServicePolicyUnauthorized ¶
func NewCreateServicePolicyUnauthorized() *CreateServicePolicyUnauthorized
NewCreateServicePolicyUnauthorized creates a CreateServicePolicyUnauthorized with default headers values
func (*CreateServicePolicyUnauthorized) Error ¶
func (o *CreateServicePolicyUnauthorized) Error() string
func (*CreateServicePolicyUnauthorized) GetPayload ¶
func (o *CreateServicePolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeleteServicePolicyBadRequest ¶
type DeleteServicePolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteServicePolicyBadRequest handles this case with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewDeleteServicePolicyBadRequest ¶
func NewDeleteServicePolicyBadRequest() *DeleteServicePolicyBadRequest
NewDeleteServicePolicyBadRequest creates a DeleteServicePolicyBadRequest with default headers values
func (*DeleteServicePolicyBadRequest) Error ¶
func (o *DeleteServicePolicyBadRequest) Error() string
func (*DeleteServicePolicyBadRequest) GetPayload ¶
func (o *DeleteServicePolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type DeleteServicePolicyConflict ¶
type DeleteServicePolicyConflict struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteServicePolicyConflict handles this case with default header values.
The resource requested to be removed/altered cannot be as it is referenced by another object.
func NewDeleteServicePolicyConflict ¶
func NewDeleteServicePolicyConflict() *DeleteServicePolicyConflict
NewDeleteServicePolicyConflict creates a DeleteServicePolicyConflict with default headers values
func (*DeleteServicePolicyConflict) Error ¶
func (o *DeleteServicePolicyConflict) Error() string
func (*DeleteServicePolicyConflict) GetPayload ¶
func (o *DeleteServicePolicyConflict) GetPayload() *rest_model.APIErrorEnvelope
type DeleteServicePolicyOK ¶
type DeleteServicePolicyOK struct {
Payload *rest_model.Empty
}
DeleteServicePolicyOK handles this case with default header values.
The delete request was successful and the resource has been removed
func NewDeleteServicePolicyOK ¶
func NewDeleteServicePolicyOK() *DeleteServicePolicyOK
NewDeleteServicePolicyOK creates a DeleteServicePolicyOK with default headers values
func (*DeleteServicePolicyOK) Error ¶
func (o *DeleteServicePolicyOK) Error() string
func (*DeleteServicePolicyOK) GetPayload ¶
func (o *DeleteServicePolicyOK) GetPayload() *rest_model.Empty
type DeleteServicePolicyParams ¶
type DeleteServicePolicyParams struct { /*ID The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteServicePolicyParams contains all the parameters to send to the API endpoint for the delete service policy operation typically these are written to a http.Request
func NewDeleteServicePolicyParams ¶
func NewDeleteServicePolicyParams() *DeleteServicePolicyParams
NewDeleteServicePolicyParams creates a new DeleteServicePolicyParams object with the default values initialized.
func NewDeleteServicePolicyParamsWithContext ¶
func NewDeleteServicePolicyParamsWithContext(ctx context.Context) *DeleteServicePolicyParams
NewDeleteServicePolicyParamsWithContext creates a new DeleteServicePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteServicePolicyParamsWithHTTPClient ¶
func NewDeleteServicePolicyParamsWithHTTPClient(client *http.Client) *DeleteServicePolicyParams
NewDeleteServicePolicyParamsWithHTTPClient creates a new DeleteServicePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteServicePolicyParamsWithTimeout ¶
func NewDeleteServicePolicyParamsWithTimeout(timeout time.Duration) *DeleteServicePolicyParams
NewDeleteServicePolicyParamsWithTimeout creates a new DeleteServicePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteServicePolicyParams) SetContext ¶
func (o *DeleteServicePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete service policy params
func (*DeleteServicePolicyParams) SetHTTPClient ¶
func (o *DeleteServicePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete service policy params
func (*DeleteServicePolicyParams) SetID ¶
func (o *DeleteServicePolicyParams) SetID(id string)
SetID adds the id to the delete service policy params
func (*DeleteServicePolicyParams) SetTimeout ¶
func (o *DeleteServicePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete service policy params
func (*DeleteServicePolicyParams) WithContext ¶
func (o *DeleteServicePolicyParams) WithContext(ctx context.Context) *DeleteServicePolicyParams
WithContext adds the context to the delete service policy params
func (*DeleteServicePolicyParams) WithHTTPClient ¶
func (o *DeleteServicePolicyParams) WithHTTPClient(client *http.Client) *DeleteServicePolicyParams
WithHTTPClient adds the HTTPClient to the delete service policy params
func (*DeleteServicePolicyParams) WithID ¶
func (o *DeleteServicePolicyParams) WithID(id string) *DeleteServicePolicyParams
WithID adds the id to the delete service policy params
func (*DeleteServicePolicyParams) WithTimeout ¶
func (o *DeleteServicePolicyParams) WithTimeout(timeout time.Duration) *DeleteServicePolicyParams
WithTimeout adds the timeout to the delete service policy params
func (*DeleteServicePolicyParams) WriteToRequest ¶
func (o *DeleteServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteServicePolicyReader ¶
type DeleteServicePolicyReader struct {
// contains filtered or unexported fields
}
DeleteServicePolicyReader is a Reader for the DeleteServicePolicy structure.
func (*DeleteServicePolicyReader) ReadResponse ¶
func (o *DeleteServicePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteServicePolicyUnauthorized ¶
type DeleteServicePolicyUnauthorized struct {
}DeleteServicePolicyUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDeleteServicePolicyUnauthorized ¶
func NewDeleteServicePolicyUnauthorized() *DeleteServicePolicyUnauthorized
NewDeleteServicePolicyUnauthorized creates a DeleteServicePolicyUnauthorized with default headers values
func (*DeleteServicePolicyUnauthorized) Error ¶
func (o *DeleteServicePolicyUnauthorized) Error() string
func (*DeleteServicePolicyUnauthorized) GetPayload ¶
func (o *DeleteServicePolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailServicePolicyNotFound ¶
type DetailServicePolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailServicePolicyNotFound handles this case with default header values.
The requested resource does not exist
func NewDetailServicePolicyNotFound ¶
func NewDetailServicePolicyNotFound() *DetailServicePolicyNotFound
NewDetailServicePolicyNotFound creates a DetailServicePolicyNotFound with default headers values
func (*DetailServicePolicyNotFound) Error ¶
func (o *DetailServicePolicyNotFound) Error() string
func (*DetailServicePolicyNotFound) GetPayload ¶
func (o *DetailServicePolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailServicePolicyOK ¶
type DetailServicePolicyOK struct {
Payload *rest_model.DetailServicePolicyEnvelop
}
DetailServicePolicyOK handles this case with default header values.
A single service policy
func NewDetailServicePolicyOK ¶
func NewDetailServicePolicyOK() *DetailServicePolicyOK
NewDetailServicePolicyOK creates a DetailServicePolicyOK with default headers values
func (*DetailServicePolicyOK) Error ¶
func (o *DetailServicePolicyOK) Error() string
func (*DetailServicePolicyOK) GetPayload ¶
func (o *DetailServicePolicyOK) GetPayload() *rest_model.DetailServicePolicyEnvelop
type DetailServicePolicyParams ¶
type DetailServicePolicyParams struct { /*ID The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailServicePolicyParams contains all the parameters to send to the API endpoint for the detail service policy operation typically these are written to a http.Request
func NewDetailServicePolicyParams ¶
func NewDetailServicePolicyParams() *DetailServicePolicyParams
NewDetailServicePolicyParams creates a new DetailServicePolicyParams object with the default values initialized.
func NewDetailServicePolicyParamsWithContext ¶
func NewDetailServicePolicyParamsWithContext(ctx context.Context) *DetailServicePolicyParams
NewDetailServicePolicyParamsWithContext creates a new DetailServicePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewDetailServicePolicyParamsWithHTTPClient ¶
func NewDetailServicePolicyParamsWithHTTPClient(client *http.Client) *DetailServicePolicyParams
NewDetailServicePolicyParamsWithHTTPClient creates a new DetailServicePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDetailServicePolicyParamsWithTimeout ¶
func NewDetailServicePolicyParamsWithTimeout(timeout time.Duration) *DetailServicePolicyParams
NewDetailServicePolicyParamsWithTimeout creates a new DetailServicePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*DetailServicePolicyParams) SetContext ¶
func (o *DetailServicePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the detail service policy params
func (*DetailServicePolicyParams) SetHTTPClient ¶
func (o *DetailServicePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail service policy params
func (*DetailServicePolicyParams) SetID ¶
func (o *DetailServicePolicyParams) SetID(id string)
SetID adds the id to the detail service policy params
func (*DetailServicePolicyParams) SetTimeout ¶
func (o *DetailServicePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail service policy params
func (*DetailServicePolicyParams) WithContext ¶
func (o *DetailServicePolicyParams) WithContext(ctx context.Context) *DetailServicePolicyParams
WithContext adds the context to the detail service policy params
func (*DetailServicePolicyParams) WithHTTPClient ¶
func (o *DetailServicePolicyParams) WithHTTPClient(client *http.Client) *DetailServicePolicyParams
WithHTTPClient adds the HTTPClient to the detail service policy params
func (*DetailServicePolicyParams) WithID ¶
func (o *DetailServicePolicyParams) WithID(id string) *DetailServicePolicyParams
WithID adds the id to the detail service policy params
func (*DetailServicePolicyParams) WithTimeout ¶
func (o *DetailServicePolicyParams) WithTimeout(timeout time.Duration) *DetailServicePolicyParams
WithTimeout adds the timeout to the detail service policy params
func (*DetailServicePolicyParams) WriteToRequest ¶
func (o *DetailServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailServicePolicyReader ¶
type DetailServicePolicyReader struct {
// contains filtered or unexported fields
}
DetailServicePolicyReader is a Reader for the DetailServicePolicy structure.
func (*DetailServicePolicyReader) ReadResponse ¶
func (o *DetailServicePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailServicePolicyUnauthorized ¶
type DetailServicePolicyUnauthorized struct {
}DetailServicePolicyUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailServicePolicyUnauthorized ¶
func NewDetailServicePolicyUnauthorized() *DetailServicePolicyUnauthorized
NewDetailServicePolicyUnauthorized creates a DetailServicePolicyUnauthorized with default headers values
func (*DetailServicePolicyUnauthorized) Error ¶
func (o *DetailServicePolicyUnauthorized) Error() string
func (*DetailServicePolicyUnauthorized) GetPayload ¶
func (o *DetailServicePolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePoliciesOK ¶
type ListServicePoliciesOK struct {
Payload *rest_model.ListServicePoliciesEnvelope
}
ListServicePoliciesOK handles this case with default header values.
A list of service policies
func NewListServicePoliciesOK ¶
func NewListServicePoliciesOK() *ListServicePoliciesOK
NewListServicePoliciesOK creates a ListServicePoliciesOK with default headers values
func (*ListServicePoliciesOK) Error ¶
func (o *ListServicePoliciesOK) Error() string
func (*ListServicePoliciesOK) GetPayload ¶
func (o *ListServicePoliciesOK) GetPayload() *rest_model.ListServicePoliciesEnvelope
type ListServicePoliciesParams ¶
type ListServicePoliciesParams struct { /*Filter*/ Filter *string /*Limit*/ Limit *int64 /*Offset*/ Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicePoliciesParams contains all the parameters to send to the API endpoint for the list service policies operation typically these are written to a http.Request
func NewListServicePoliciesParams ¶
func NewListServicePoliciesParams() *ListServicePoliciesParams
NewListServicePoliciesParams creates a new ListServicePoliciesParams object with the default values initialized.
func NewListServicePoliciesParamsWithContext ¶
func NewListServicePoliciesParamsWithContext(ctx context.Context) *ListServicePoliciesParams
NewListServicePoliciesParamsWithContext creates a new ListServicePoliciesParams object with the default values initialized, and the ability to set a context for a request
func NewListServicePoliciesParamsWithHTTPClient ¶
func NewListServicePoliciesParamsWithHTTPClient(client *http.Client) *ListServicePoliciesParams
NewListServicePoliciesParamsWithHTTPClient creates a new ListServicePoliciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListServicePoliciesParamsWithTimeout ¶
func NewListServicePoliciesParamsWithTimeout(timeout time.Duration) *ListServicePoliciesParams
NewListServicePoliciesParamsWithTimeout creates a new ListServicePoliciesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListServicePoliciesParams) SetContext ¶
func (o *ListServicePoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the list service policies params
func (*ListServicePoliciesParams) SetFilter ¶
func (o *ListServicePoliciesParams) SetFilter(filter *string)
SetFilter adds the filter to the list service policies params
func (*ListServicePoliciesParams) SetHTTPClient ¶
func (o *ListServicePoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service policies params
func (*ListServicePoliciesParams) SetLimit ¶
func (o *ListServicePoliciesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list service policies params
func (*ListServicePoliciesParams) SetOffset ¶
func (o *ListServicePoliciesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list service policies params
func (*ListServicePoliciesParams) SetTimeout ¶
func (o *ListServicePoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service policies params
func (*ListServicePoliciesParams) WithContext ¶
func (o *ListServicePoliciesParams) WithContext(ctx context.Context) *ListServicePoliciesParams
WithContext adds the context to the list service policies params
func (*ListServicePoliciesParams) WithFilter ¶
func (o *ListServicePoliciesParams) WithFilter(filter *string) *ListServicePoliciesParams
WithFilter adds the filter to the list service policies params
func (*ListServicePoliciesParams) WithHTTPClient ¶
func (o *ListServicePoliciesParams) WithHTTPClient(client *http.Client) *ListServicePoliciesParams
WithHTTPClient adds the HTTPClient to the list service policies params
func (*ListServicePoliciesParams) WithLimit ¶
func (o *ListServicePoliciesParams) WithLimit(limit *int64) *ListServicePoliciesParams
WithLimit adds the limit to the list service policies params
func (*ListServicePoliciesParams) WithOffset ¶
func (o *ListServicePoliciesParams) WithOffset(offset *int64) *ListServicePoliciesParams
WithOffset adds the offset to the list service policies params
func (*ListServicePoliciesParams) WithTimeout ¶
func (o *ListServicePoliciesParams) WithTimeout(timeout time.Duration) *ListServicePoliciesParams
WithTimeout adds the timeout to the list service policies params
func (*ListServicePoliciesParams) WriteToRequest ¶
func (o *ListServicePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicePoliciesReader ¶
type ListServicePoliciesReader struct {
// contains filtered or unexported fields
}
ListServicePoliciesReader is a Reader for the ListServicePolicies structure.
func (*ListServicePoliciesReader) ReadResponse ¶
func (o *ListServicePoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServicePoliciesUnauthorized ¶
type ListServicePoliciesUnauthorized struct {
}ListServicePoliciesUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServicePoliciesUnauthorized ¶
func NewListServicePoliciesUnauthorized() *ListServicePoliciesUnauthorized
NewListServicePoliciesUnauthorized creates a ListServicePoliciesUnauthorized with default headers values
func (*ListServicePoliciesUnauthorized) Error ¶
func (o *ListServicePoliciesUnauthorized) Error() string
func (*ListServicePoliciesUnauthorized) GetPayload ¶
func (o *ListServicePoliciesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyIdentitiesBadRequest ¶
type ListServicePolicyIdentitiesBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
ListServicePolicyIdentitiesBadRequest handles this case with default header values.
The requested resource does not exist
func NewListServicePolicyIdentitiesBadRequest ¶
func NewListServicePolicyIdentitiesBadRequest() *ListServicePolicyIdentitiesBadRequest
NewListServicePolicyIdentitiesBadRequest creates a ListServicePolicyIdentitiesBadRequest with default headers values
func (*ListServicePolicyIdentitiesBadRequest) Error ¶
func (o *ListServicePolicyIdentitiesBadRequest) Error() string
func (*ListServicePolicyIdentitiesBadRequest) GetPayload ¶
func (o *ListServicePolicyIdentitiesBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyIdentitiesOK ¶
type ListServicePolicyIdentitiesOK struct {
Payload *rest_model.ListIdentitiesEnvelope
}
ListServicePolicyIdentitiesOK handles this case with default header values.
A list of identities
func NewListServicePolicyIdentitiesOK ¶
func NewListServicePolicyIdentitiesOK() *ListServicePolicyIdentitiesOK
NewListServicePolicyIdentitiesOK creates a ListServicePolicyIdentitiesOK with default headers values
func (*ListServicePolicyIdentitiesOK) Error ¶
func (o *ListServicePolicyIdentitiesOK) Error() string
func (*ListServicePolicyIdentitiesOK) GetPayload ¶
func (o *ListServicePolicyIdentitiesOK) GetPayload() *rest_model.ListIdentitiesEnvelope
type ListServicePolicyIdentitiesParams ¶
type ListServicePolicyIdentitiesParams struct { /*Filter*/ Filter *string /*ID The id of the requested resource */ ID string /*Limit*/ Limit *int64 /*Offset*/ Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicePolicyIdentitiesParams contains all the parameters to send to the API endpoint for the list service policy identities operation typically these are written to a http.Request
func NewListServicePolicyIdentitiesParams ¶
func NewListServicePolicyIdentitiesParams() *ListServicePolicyIdentitiesParams
NewListServicePolicyIdentitiesParams creates a new ListServicePolicyIdentitiesParams object with the default values initialized.
func NewListServicePolicyIdentitiesParamsWithContext ¶
func NewListServicePolicyIdentitiesParamsWithContext(ctx context.Context) *ListServicePolicyIdentitiesParams
NewListServicePolicyIdentitiesParamsWithContext creates a new ListServicePolicyIdentitiesParams object with the default values initialized, and the ability to set a context for a request
func NewListServicePolicyIdentitiesParamsWithHTTPClient ¶
func NewListServicePolicyIdentitiesParamsWithHTTPClient(client *http.Client) *ListServicePolicyIdentitiesParams
NewListServicePolicyIdentitiesParamsWithHTTPClient creates a new ListServicePolicyIdentitiesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListServicePolicyIdentitiesParamsWithTimeout ¶
func NewListServicePolicyIdentitiesParamsWithTimeout(timeout time.Duration) *ListServicePolicyIdentitiesParams
NewListServicePolicyIdentitiesParamsWithTimeout creates a new ListServicePolicyIdentitiesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListServicePolicyIdentitiesParams) SetContext ¶
func (o *ListServicePolicyIdentitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) SetFilter ¶
func (o *ListServicePolicyIdentitiesParams) SetFilter(filter *string)
SetFilter adds the filter to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) SetHTTPClient ¶
func (o *ListServicePolicyIdentitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) SetID ¶
func (o *ListServicePolicyIdentitiesParams) SetID(id string)
SetID adds the id to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) SetLimit ¶
func (o *ListServicePolicyIdentitiesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) SetOffset ¶
func (o *ListServicePolicyIdentitiesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) SetTimeout ¶
func (o *ListServicePolicyIdentitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithContext ¶
func (o *ListServicePolicyIdentitiesParams) WithContext(ctx context.Context) *ListServicePolicyIdentitiesParams
WithContext adds the context to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithFilter ¶
func (o *ListServicePolicyIdentitiesParams) WithFilter(filter *string) *ListServicePolicyIdentitiesParams
WithFilter adds the filter to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithHTTPClient ¶
func (o *ListServicePolicyIdentitiesParams) WithHTTPClient(client *http.Client) *ListServicePolicyIdentitiesParams
WithHTTPClient adds the HTTPClient to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithID ¶
func (o *ListServicePolicyIdentitiesParams) WithID(id string) *ListServicePolicyIdentitiesParams
WithID adds the id to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithLimit ¶
func (o *ListServicePolicyIdentitiesParams) WithLimit(limit *int64) *ListServicePolicyIdentitiesParams
WithLimit adds the limit to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithOffset ¶
func (o *ListServicePolicyIdentitiesParams) WithOffset(offset *int64) *ListServicePolicyIdentitiesParams
WithOffset adds the offset to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithTimeout ¶
func (o *ListServicePolicyIdentitiesParams) WithTimeout(timeout time.Duration) *ListServicePolicyIdentitiesParams
WithTimeout adds the timeout to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WriteToRequest ¶
func (o *ListServicePolicyIdentitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicePolicyIdentitiesReader ¶
type ListServicePolicyIdentitiesReader struct {
// contains filtered or unexported fields
}
ListServicePolicyIdentitiesReader is a Reader for the ListServicePolicyIdentities structure.
func (*ListServicePolicyIdentitiesReader) ReadResponse ¶
func (o *ListServicePolicyIdentitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServicePolicyIdentitiesUnauthorized ¶
type ListServicePolicyIdentitiesUnauthorized struct {
}ListServicePolicyIdentitiesUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServicePolicyIdentitiesUnauthorized ¶
func NewListServicePolicyIdentitiesUnauthorized() *ListServicePolicyIdentitiesUnauthorized
NewListServicePolicyIdentitiesUnauthorized creates a ListServicePolicyIdentitiesUnauthorized with default headers values
func (*ListServicePolicyIdentitiesUnauthorized) Error ¶
func (o *ListServicePolicyIdentitiesUnauthorized) Error() string
func (*ListServicePolicyIdentitiesUnauthorized) GetPayload ¶
func (o *ListServicePolicyIdentitiesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyPostureChecksBadRequest ¶ added in v0.17.5
type ListServicePolicyPostureChecksBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
ListServicePolicyPostureChecksBadRequest handles this case with default header values.
The requested resource does not exist
func NewListServicePolicyPostureChecksBadRequest ¶ added in v0.17.5
func NewListServicePolicyPostureChecksBadRequest() *ListServicePolicyPostureChecksBadRequest
NewListServicePolicyPostureChecksBadRequest creates a ListServicePolicyPostureChecksBadRequest with default headers values
func (*ListServicePolicyPostureChecksBadRequest) Error ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksBadRequest) Error() string
func (*ListServicePolicyPostureChecksBadRequest) GetPayload ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyPostureChecksOK ¶ added in v0.17.5
type ListServicePolicyPostureChecksOK struct {
Payload *rest_model.ListPostureCheckEnvelope
}
ListServicePolicyPostureChecksOK handles this case with default header values.
A list of posture checks
func NewListServicePolicyPostureChecksOK ¶ added in v0.17.5
func NewListServicePolicyPostureChecksOK() *ListServicePolicyPostureChecksOK
NewListServicePolicyPostureChecksOK creates a ListServicePolicyPostureChecksOK with default headers values
func (*ListServicePolicyPostureChecksOK) Error ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksOK) Error() string
func (*ListServicePolicyPostureChecksOK) GetPayload ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksOK) GetPayload() *rest_model.ListPostureCheckEnvelope
type ListServicePolicyPostureChecksParams ¶ added in v0.17.5
type ListServicePolicyPostureChecksParams struct { /*Filter*/ Filter *string /*ID The id of the requested resource */ ID string /*Limit*/ Limit *int64 /*Offset*/ Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicePolicyPostureChecksParams contains all the parameters to send to the API endpoint for the list service policy posture checks operation typically these are written to a http.Request
func NewListServicePolicyPostureChecksParams ¶ added in v0.17.5
func NewListServicePolicyPostureChecksParams() *ListServicePolicyPostureChecksParams
NewListServicePolicyPostureChecksParams creates a new ListServicePolicyPostureChecksParams object with the default values initialized.
func NewListServicePolicyPostureChecksParamsWithContext ¶ added in v0.17.5
func NewListServicePolicyPostureChecksParamsWithContext(ctx context.Context) *ListServicePolicyPostureChecksParams
NewListServicePolicyPostureChecksParamsWithContext creates a new ListServicePolicyPostureChecksParams object with the default values initialized, and the ability to set a context for a request
func NewListServicePolicyPostureChecksParamsWithHTTPClient ¶ added in v0.17.5
func NewListServicePolicyPostureChecksParamsWithHTTPClient(client *http.Client) *ListServicePolicyPostureChecksParams
NewListServicePolicyPostureChecksParamsWithHTTPClient creates a new ListServicePolicyPostureChecksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListServicePolicyPostureChecksParamsWithTimeout ¶ added in v0.17.5
func NewListServicePolicyPostureChecksParamsWithTimeout(timeout time.Duration) *ListServicePolicyPostureChecksParams
NewListServicePolicyPostureChecksParamsWithTimeout creates a new ListServicePolicyPostureChecksParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListServicePolicyPostureChecksParams) SetContext ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) SetContext(ctx context.Context)
SetContext adds the context to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) SetFilter ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) SetFilter(filter *string)
SetFilter adds the filter to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) SetHTTPClient ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) SetID ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) SetID(id string)
SetID adds the id to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) SetLimit ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) SetLimit(limit *int64)
SetLimit adds the limit to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) SetOffset ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) SetOffset(offset *int64)
SetOffset adds the offset to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) SetTimeout ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithContext ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) WithContext(ctx context.Context) *ListServicePolicyPostureChecksParams
WithContext adds the context to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithFilter ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) WithFilter(filter *string) *ListServicePolicyPostureChecksParams
WithFilter adds the filter to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithHTTPClient ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) WithHTTPClient(client *http.Client) *ListServicePolicyPostureChecksParams
WithHTTPClient adds the HTTPClient to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithID ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) WithID(id string) *ListServicePolicyPostureChecksParams
WithID adds the id to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithLimit ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) WithLimit(limit *int64) *ListServicePolicyPostureChecksParams
WithLimit adds the limit to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithOffset ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) WithOffset(offset *int64) *ListServicePolicyPostureChecksParams
WithOffset adds the offset to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithTimeout ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) WithTimeout(timeout time.Duration) *ListServicePolicyPostureChecksParams
WithTimeout adds the timeout to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WriteToRequest ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicePolicyPostureChecksReader ¶ added in v0.17.5
type ListServicePolicyPostureChecksReader struct {
// contains filtered or unexported fields
}
ListServicePolicyPostureChecksReader is a Reader for the ListServicePolicyPostureChecks structure.
func (*ListServicePolicyPostureChecksReader) ReadResponse ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServicePolicyPostureChecksUnauthorized ¶ added in v0.17.5
type ListServicePolicyPostureChecksUnauthorized struct {
}ListServicePolicyPostureChecksUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServicePolicyPostureChecksUnauthorized ¶ added in v0.17.5
func NewListServicePolicyPostureChecksUnauthorized() *ListServicePolicyPostureChecksUnauthorized
NewListServicePolicyPostureChecksUnauthorized creates a ListServicePolicyPostureChecksUnauthorized with default headers values
func (*ListServicePolicyPostureChecksUnauthorized) Error ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksUnauthorized) Error() string
func (*ListServicePolicyPostureChecksUnauthorized) GetPayload ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyServicesBadRequest ¶
type ListServicePolicyServicesBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
ListServicePolicyServicesBadRequest handles this case with default header values.
The requested resource does not exist
func NewListServicePolicyServicesBadRequest ¶
func NewListServicePolicyServicesBadRequest() *ListServicePolicyServicesBadRequest
NewListServicePolicyServicesBadRequest creates a ListServicePolicyServicesBadRequest with default headers values
func (*ListServicePolicyServicesBadRequest) Error ¶
func (o *ListServicePolicyServicesBadRequest) Error() string
func (*ListServicePolicyServicesBadRequest) GetPayload ¶
func (o *ListServicePolicyServicesBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyServicesOK ¶
type ListServicePolicyServicesOK struct {
Payload *rest_model.ListServicesEnvelope
}
ListServicePolicyServicesOK handles this case with default header values.
A list of services
func NewListServicePolicyServicesOK ¶
func NewListServicePolicyServicesOK() *ListServicePolicyServicesOK
NewListServicePolicyServicesOK creates a ListServicePolicyServicesOK with default headers values
func (*ListServicePolicyServicesOK) Error ¶
func (o *ListServicePolicyServicesOK) Error() string
func (*ListServicePolicyServicesOK) GetPayload ¶
func (o *ListServicePolicyServicesOK) GetPayload() *rest_model.ListServicesEnvelope
type ListServicePolicyServicesParams ¶
type ListServicePolicyServicesParams struct { /*Filter*/ Filter *string /*ID The id of the requested resource */ ID string /*Limit*/ Limit *int64 /*Offset*/ Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicePolicyServicesParams contains all the parameters to send to the API endpoint for the list service policy services operation typically these are written to a http.Request
func NewListServicePolicyServicesParams ¶
func NewListServicePolicyServicesParams() *ListServicePolicyServicesParams
NewListServicePolicyServicesParams creates a new ListServicePolicyServicesParams object with the default values initialized.
func NewListServicePolicyServicesParamsWithContext ¶
func NewListServicePolicyServicesParamsWithContext(ctx context.Context) *ListServicePolicyServicesParams
NewListServicePolicyServicesParamsWithContext creates a new ListServicePolicyServicesParams object with the default values initialized, and the ability to set a context for a request
func NewListServicePolicyServicesParamsWithHTTPClient ¶
func NewListServicePolicyServicesParamsWithHTTPClient(client *http.Client) *ListServicePolicyServicesParams
NewListServicePolicyServicesParamsWithHTTPClient creates a new ListServicePolicyServicesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListServicePolicyServicesParamsWithTimeout ¶
func NewListServicePolicyServicesParamsWithTimeout(timeout time.Duration) *ListServicePolicyServicesParams
NewListServicePolicyServicesParamsWithTimeout creates a new ListServicePolicyServicesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListServicePolicyServicesParams) SetContext ¶
func (o *ListServicePolicyServicesParams) SetContext(ctx context.Context)
SetContext adds the context to the list service policy services params
func (*ListServicePolicyServicesParams) SetFilter ¶
func (o *ListServicePolicyServicesParams) SetFilter(filter *string)
SetFilter adds the filter to the list service policy services params
func (*ListServicePolicyServicesParams) SetHTTPClient ¶
func (o *ListServicePolicyServicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service policy services params
func (*ListServicePolicyServicesParams) SetID ¶
func (o *ListServicePolicyServicesParams) SetID(id string)
SetID adds the id to the list service policy services params
func (*ListServicePolicyServicesParams) SetLimit ¶
func (o *ListServicePolicyServicesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list service policy services params
func (*ListServicePolicyServicesParams) SetOffset ¶
func (o *ListServicePolicyServicesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list service policy services params
func (*ListServicePolicyServicesParams) SetTimeout ¶
func (o *ListServicePolicyServicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service policy services params
func (*ListServicePolicyServicesParams) WithContext ¶
func (o *ListServicePolicyServicesParams) WithContext(ctx context.Context) *ListServicePolicyServicesParams
WithContext adds the context to the list service policy services params
func (*ListServicePolicyServicesParams) WithFilter ¶
func (o *ListServicePolicyServicesParams) WithFilter(filter *string) *ListServicePolicyServicesParams
WithFilter adds the filter to the list service policy services params
func (*ListServicePolicyServicesParams) WithHTTPClient ¶
func (o *ListServicePolicyServicesParams) WithHTTPClient(client *http.Client) *ListServicePolicyServicesParams
WithHTTPClient adds the HTTPClient to the list service policy services params
func (*ListServicePolicyServicesParams) WithID ¶
func (o *ListServicePolicyServicesParams) WithID(id string) *ListServicePolicyServicesParams
WithID adds the id to the list service policy services params
func (*ListServicePolicyServicesParams) WithLimit ¶
func (o *ListServicePolicyServicesParams) WithLimit(limit *int64) *ListServicePolicyServicesParams
WithLimit adds the limit to the list service policy services params
func (*ListServicePolicyServicesParams) WithOffset ¶
func (o *ListServicePolicyServicesParams) WithOffset(offset *int64) *ListServicePolicyServicesParams
WithOffset adds the offset to the list service policy services params
func (*ListServicePolicyServicesParams) WithTimeout ¶
func (o *ListServicePolicyServicesParams) WithTimeout(timeout time.Duration) *ListServicePolicyServicesParams
WithTimeout adds the timeout to the list service policy services params
func (*ListServicePolicyServicesParams) WriteToRequest ¶
func (o *ListServicePolicyServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicePolicyServicesReader ¶
type ListServicePolicyServicesReader struct {
// contains filtered or unexported fields
}
ListServicePolicyServicesReader is a Reader for the ListServicePolicyServices structure.
func (*ListServicePolicyServicesReader) ReadResponse ¶
func (o *ListServicePolicyServicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServicePolicyServicesUnauthorized ¶
type ListServicePolicyServicesUnauthorized struct {
}ListServicePolicyServicesUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServicePolicyServicesUnauthorized ¶
func NewListServicePolicyServicesUnauthorized() *ListServicePolicyServicesUnauthorized
NewListServicePolicyServicesUnauthorized creates a ListServicePolicyServicesUnauthorized with default headers values
func (*ListServicePolicyServicesUnauthorized) Error ¶
func (o *ListServicePolicyServicesUnauthorized) Error() string
func (*ListServicePolicyServicesUnauthorized) GetPayload ¶
func (o *ListServicePolicyServicesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type PatchServicePolicyBadRequest ¶
type PatchServicePolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchServicePolicyBadRequest handles this case with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewPatchServicePolicyBadRequest ¶
func NewPatchServicePolicyBadRequest() *PatchServicePolicyBadRequest
NewPatchServicePolicyBadRequest creates a PatchServicePolicyBadRequest with default headers values
func (*PatchServicePolicyBadRequest) Error ¶
func (o *PatchServicePolicyBadRequest) Error() string
func (*PatchServicePolicyBadRequest) GetPayload ¶
func (o *PatchServicePolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type PatchServicePolicyNotFound ¶
type PatchServicePolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchServicePolicyNotFound handles this case with default header values.
The requested resource does not exist
func NewPatchServicePolicyNotFound ¶
func NewPatchServicePolicyNotFound() *PatchServicePolicyNotFound
NewPatchServicePolicyNotFound creates a PatchServicePolicyNotFound with default headers values
func (*PatchServicePolicyNotFound) Error ¶
func (o *PatchServicePolicyNotFound) Error() string
func (*PatchServicePolicyNotFound) GetPayload ¶
func (o *PatchServicePolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type PatchServicePolicyOK ¶
type PatchServicePolicyOK struct {
Payload *rest_model.Empty
}
PatchServicePolicyOK handles this case with default header values.
The patch request was successful and the resource has been altered
func NewPatchServicePolicyOK ¶
func NewPatchServicePolicyOK() *PatchServicePolicyOK
NewPatchServicePolicyOK creates a PatchServicePolicyOK with default headers values
func (*PatchServicePolicyOK) Error ¶
func (o *PatchServicePolicyOK) Error() string
func (*PatchServicePolicyOK) GetPayload ¶
func (o *PatchServicePolicyOK) GetPayload() *rest_model.Empty
type PatchServicePolicyParams ¶
type PatchServicePolicyParams struct { /*Body A service policy patch object */ Body *rest_model.ServicePolicyPatch /*ID The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchServicePolicyParams contains all the parameters to send to the API endpoint for the patch service policy operation typically these are written to a http.Request
func NewPatchServicePolicyParams ¶
func NewPatchServicePolicyParams() *PatchServicePolicyParams
NewPatchServicePolicyParams creates a new PatchServicePolicyParams object with the default values initialized.
func NewPatchServicePolicyParamsWithContext ¶
func NewPatchServicePolicyParamsWithContext(ctx context.Context) *PatchServicePolicyParams
NewPatchServicePolicyParamsWithContext creates a new PatchServicePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewPatchServicePolicyParamsWithHTTPClient ¶
func NewPatchServicePolicyParamsWithHTTPClient(client *http.Client) *PatchServicePolicyParams
NewPatchServicePolicyParamsWithHTTPClient creates a new PatchServicePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchServicePolicyParamsWithTimeout ¶
func NewPatchServicePolicyParamsWithTimeout(timeout time.Duration) *PatchServicePolicyParams
NewPatchServicePolicyParamsWithTimeout creates a new PatchServicePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchServicePolicyParams) SetBody ¶
func (o *PatchServicePolicyParams) SetBody(body *rest_model.ServicePolicyPatch)
SetBody adds the body to the patch service policy params
func (*PatchServicePolicyParams) SetContext ¶
func (o *PatchServicePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the patch service policy params
func (*PatchServicePolicyParams) SetHTTPClient ¶
func (o *PatchServicePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch service policy params
func (*PatchServicePolicyParams) SetID ¶
func (o *PatchServicePolicyParams) SetID(id string)
SetID adds the id to the patch service policy params
func (*PatchServicePolicyParams) SetTimeout ¶
func (o *PatchServicePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch service policy params
func (*PatchServicePolicyParams) WithBody ¶
func (o *PatchServicePolicyParams) WithBody(body *rest_model.ServicePolicyPatch) *PatchServicePolicyParams
WithBody adds the body to the patch service policy params
func (*PatchServicePolicyParams) WithContext ¶
func (o *PatchServicePolicyParams) WithContext(ctx context.Context) *PatchServicePolicyParams
WithContext adds the context to the patch service policy params
func (*PatchServicePolicyParams) WithHTTPClient ¶
func (o *PatchServicePolicyParams) WithHTTPClient(client *http.Client) *PatchServicePolicyParams
WithHTTPClient adds the HTTPClient to the patch service policy params
func (*PatchServicePolicyParams) WithID ¶
func (o *PatchServicePolicyParams) WithID(id string) *PatchServicePolicyParams
WithID adds the id to the patch service policy params
func (*PatchServicePolicyParams) WithTimeout ¶
func (o *PatchServicePolicyParams) WithTimeout(timeout time.Duration) *PatchServicePolicyParams
WithTimeout adds the timeout to the patch service policy params
func (*PatchServicePolicyParams) WriteToRequest ¶
func (o *PatchServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchServicePolicyReader ¶
type PatchServicePolicyReader struct {
// contains filtered or unexported fields
}
PatchServicePolicyReader is a Reader for the PatchServicePolicy structure.
func (*PatchServicePolicyReader) ReadResponse ¶
func (o *PatchServicePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchServicePolicyUnauthorized ¶
type PatchServicePolicyUnauthorized struct {
}PatchServicePolicyUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewPatchServicePolicyUnauthorized ¶
func NewPatchServicePolicyUnauthorized() *PatchServicePolicyUnauthorized
NewPatchServicePolicyUnauthorized creates a PatchServicePolicyUnauthorized with default headers values
func (*PatchServicePolicyUnauthorized) Error ¶
func (o *PatchServicePolicyUnauthorized) Error() string
func (*PatchServicePolicyUnauthorized) GetPayload ¶
func (o *PatchServicePolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type UpdateServicePolicyBadRequest ¶
type UpdateServicePolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateServicePolicyBadRequest handles this case with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewUpdateServicePolicyBadRequest ¶
func NewUpdateServicePolicyBadRequest() *UpdateServicePolicyBadRequest
NewUpdateServicePolicyBadRequest creates a UpdateServicePolicyBadRequest with default headers values
func (*UpdateServicePolicyBadRequest) Error ¶
func (o *UpdateServicePolicyBadRequest) Error() string
func (*UpdateServicePolicyBadRequest) GetPayload ¶
func (o *UpdateServicePolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type UpdateServicePolicyNotFound ¶
type UpdateServicePolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateServicePolicyNotFound handles this case with default header values.
The requested resource does not exist
func NewUpdateServicePolicyNotFound ¶
func NewUpdateServicePolicyNotFound() *UpdateServicePolicyNotFound
NewUpdateServicePolicyNotFound creates a UpdateServicePolicyNotFound with default headers values
func (*UpdateServicePolicyNotFound) Error ¶
func (o *UpdateServicePolicyNotFound) Error() string
func (*UpdateServicePolicyNotFound) GetPayload ¶
func (o *UpdateServicePolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type UpdateServicePolicyOK ¶
type UpdateServicePolicyOK struct {
Payload *rest_model.Empty
}
UpdateServicePolicyOK handles this case with default header values.
The update request was successful and the resource has been altered
func NewUpdateServicePolicyOK ¶
func NewUpdateServicePolicyOK() *UpdateServicePolicyOK
NewUpdateServicePolicyOK creates a UpdateServicePolicyOK with default headers values
func (*UpdateServicePolicyOK) Error ¶
func (o *UpdateServicePolicyOK) Error() string
func (*UpdateServicePolicyOK) GetPayload ¶
func (o *UpdateServicePolicyOK) GetPayload() *rest_model.Empty
type UpdateServicePolicyParams ¶
type UpdateServicePolicyParams struct { /*Body A service policy update object */ Body *rest_model.ServicePolicyUpdate /*ID The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateServicePolicyParams contains all the parameters to send to the API endpoint for the update service policy operation typically these are written to a http.Request
func NewUpdateServicePolicyParams ¶
func NewUpdateServicePolicyParams() *UpdateServicePolicyParams
NewUpdateServicePolicyParams creates a new UpdateServicePolicyParams object with the default values initialized.
func NewUpdateServicePolicyParamsWithContext ¶
func NewUpdateServicePolicyParamsWithContext(ctx context.Context) *UpdateServicePolicyParams
NewUpdateServicePolicyParamsWithContext creates a new UpdateServicePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateServicePolicyParamsWithHTTPClient ¶
func NewUpdateServicePolicyParamsWithHTTPClient(client *http.Client) *UpdateServicePolicyParams
NewUpdateServicePolicyParamsWithHTTPClient creates a new UpdateServicePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateServicePolicyParamsWithTimeout ¶
func NewUpdateServicePolicyParamsWithTimeout(timeout time.Duration) *UpdateServicePolicyParams
NewUpdateServicePolicyParamsWithTimeout creates a new UpdateServicePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateServicePolicyParams) SetBody ¶
func (o *UpdateServicePolicyParams) SetBody(body *rest_model.ServicePolicyUpdate)
SetBody adds the body to the update service policy params
func (*UpdateServicePolicyParams) SetContext ¶
func (o *UpdateServicePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the update service policy params
func (*UpdateServicePolicyParams) SetHTTPClient ¶
func (o *UpdateServicePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update service policy params
func (*UpdateServicePolicyParams) SetID ¶
func (o *UpdateServicePolicyParams) SetID(id string)
SetID adds the id to the update service policy params
func (*UpdateServicePolicyParams) SetTimeout ¶
func (o *UpdateServicePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update service policy params
func (*UpdateServicePolicyParams) WithBody ¶
func (o *UpdateServicePolicyParams) WithBody(body *rest_model.ServicePolicyUpdate) *UpdateServicePolicyParams
WithBody adds the body to the update service policy params
func (*UpdateServicePolicyParams) WithContext ¶
func (o *UpdateServicePolicyParams) WithContext(ctx context.Context) *UpdateServicePolicyParams
WithContext adds the context to the update service policy params
func (*UpdateServicePolicyParams) WithHTTPClient ¶
func (o *UpdateServicePolicyParams) WithHTTPClient(client *http.Client) *UpdateServicePolicyParams
WithHTTPClient adds the HTTPClient to the update service policy params
func (*UpdateServicePolicyParams) WithID ¶
func (o *UpdateServicePolicyParams) WithID(id string) *UpdateServicePolicyParams
WithID adds the id to the update service policy params
func (*UpdateServicePolicyParams) WithTimeout ¶
func (o *UpdateServicePolicyParams) WithTimeout(timeout time.Duration) *UpdateServicePolicyParams
WithTimeout adds the timeout to the update service policy params
func (*UpdateServicePolicyParams) WriteToRequest ¶
func (o *UpdateServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateServicePolicyReader ¶
type UpdateServicePolicyReader struct {
// contains filtered or unexported fields
}
UpdateServicePolicyReader is a Reader for the UpdateServicePolicy structure.
func (*UpdateServicePolicyReader) ReadResponse ¶
func (o *UpdateServicePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateServicePolicyUnauthorized ¶
type UpdateServicePolicyUnauthorized struct {
}UpdateServicePolicyUnauthorized handles this case with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewUpdateServicePolicyUnauthorized ¶
func NewUpdateServicePolicyUnauthorized() *UpdateServicePolicyUnauthorized
NewUpdateServicePolicyUnauthorized creates a UpdateServicePolicyUnauthorized with default headers values
func (*UpdateServicePolicyUnauthorized) Error ¶
func (o *UpdateServicePolicyUnauthorized) Error() string
func (*UpdateServicePolicyUnauthorized) GetPayload ¶
func (o *UpdateServicePolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- create_service_policy_parameters.go
- create_service_policy_responses.go
- delete_service_policy_parameters.go
- delete_service_policy_responses.go
- detail_service_policy_parameters.go
- detail_service_policy_responses.go
- list_service_policies_parameters.go
- list_service_policies_responses.go
- list_service_policy_identities_parameters.go
- list_service_policy_identities_responses.go
- list_service_policy_posture_checks_parameters.go
- list_service_policy_posture_checks_responses.go
- list_service_policy_services_parameters.go
- list_service_policy_services_responses.go
- patch_service_policy_parameters.go
- patch_service_policy_responses.go
- service_policy_client.go
- update_service_policy_parameters.go
- update_service_policy_responses.go