Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateAuthPolicy(params *CreateAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAuthPolicyCreated, error)
- func (a *Client) DeleteAuthPolicy(params *DeleteAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAuthPolicyOK, error)
- func (a *Client) DetailAuthPolicy(params *DetailAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailAuthPolicyOK, error)
- func (a *Client) ListAuthPolicies(params *ListAuthPoliciesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAuthPoliciesOK, error)
- func (a *Client) PatchAuthPolicy(params *PatchAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAuthPolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAuthPolicy(params *UpdateAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAuthPolicyOK, error)
- type ClientOption
- type ClientService
- type CreateAuthPolicyBadRequest
- type CreateAuthPolicyCreated
- type CreateAuthPolicyParams
- func NewCreateAuthPolicyParams() *CreateAuthPolicyParams
- func NewCreateAuthPolicyParamsWithContext(ctx context.Context) *CreateAuthPolicyParams
- func NewCreateAuthPolicyParamsWithHTTPClient(client *http.Client) *CreateAuthPolicyParams
- func NewCreateAuthPolicyParamsWithTimeout(timeout time.Duration) *CreateAuthPolicyParams
- func (o *CreateAuthPolicyParams) SetAuthPolicy(authPolicy *rest_model.AuthPolicyCreate)
- func (o *CreateAuthPolicyParams) SetContext(ctx context.Context)
- func (o *CreateAuthPolicyParams) SetDefaults()
- func (o *CreateAuthPolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreateAuthPolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreateAuthPolicyParams) WithAuthPolicy(authPolicy *rest_model.AuthPolicyCreate) *CreateAuthPolicyParams
- func (o *CreateAuthPolicyParams) WithContext(ctx context.Context) *CreateAuthPolicyParams
- func (o *CreateAuthPolicyParams) WithDefaults() *CreateAuthPolicyParams
- func (o *CreateAuthPolicyParams) WithHTTPClient(client *http.Client) *CreateAuthPolicyParams
- func (o *CreateAuthPolicyParams) WithTimeout(timeout time.Duration) *CreateAuthPolicyParams
- func (o *CreateAuthPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAuthPolicyReader
- type CreateAuthPolicyUnauthorized
- type DeleteAuthPolicyBadRequest
- type DeleteAuthPolicyOK
- type DeleteAuthPolicyParams
- func NewDeleteAuthPolicyParams() *DeleteAuthPolicyParams
- func NewDeleteAuthPolicyParamsWithContext(ctx context.Context) *DeleteAuthPolicyParams
- func NewDeleteAuthPolicyParamsWithHTTPClient(client *http.Client) *DeleteAuthPolicyParams
- func NewDeleteAuthPolicyParamsWithTimeout(timeout time.Duration) *DeleteAuthPolicyParams
- func (o *DeleteAuthPolicyParams) SetContext(ctx context.Context)
- func (o *DeleteAuthPolicyParams) SetDefaults()
- func (o *DeleteAuthPolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAuthPolicyParams) SetID(id string)
- func (o *DeleteAuthPolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAuthPolicyParams) WithContext(ctx context.Context) *DeleteAuthPolicyParams
- func (o *DeleteAuthPolicyParams) WithDefaults() *DeleteAuthPolicyParams
- func (o *DeleteAuthPolicyParams) WithHTTPClient(client *http.Client) *DeleteAuthPolicyParams
- func (o *DeleteAuthPolicyParams) WithID(id string) *DeleteAuthPolicyParams
- func (o *DeleteAuthPolicyParams) WithTimeout(timeout time.Duration) *DeleteAuthPolicyParams
- func (o *DeleteAuthPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAuthPolicyReader
- type DeleteAuthPolicyUnauthorized
- type DetailAuthPolicyNotFound
- type DetailAuthPolicyOK
- type DetailAuthPolicyParams
- func NewDetailAuthPolicyParams() *DetailAuthPolicyParams
- func NewDetailAuthPolicyParamsWithContext(ctx context.Context) *DetailAuthPolicyParams
- func NewDetailAuthPolicyParamsWithHTTPClient(client *http.Client) *DetailAuthPolicyParams
- func NewDetailAuthPolicyParamsWithTimeout(timeout time.Duration) *DetailAuthPolicyParams
- func (o *DetailAuthPolicyParams) SetContext(ctx context.Context)
- func (o *DetailAuthPolicyParams) SetDefaults()
- func (o *DetailAuthPolicyParams) SetHTTPClient(client *http.Client)
- func (o *DetailAuthPolicyParams) SetID(id string)
- func (o *DetailAuthPolicyParams) SetTimeout(timeout time.Duration)
- func (o *DetailAuthPolicyParams) WithContext(ctx context.Context) *DetailAuthPolicyParams
- func (o *DetailAuthPolicyParams) WithDefaults() *DetailAuthPolicyParams
- func (o *DetailAuthPolicyParams) WithHTTPClient(client *http.Client) *DetailAuthPolicyParams
- func (o *DetailAuthPolicyParams) WithID(id string) *DetailAuthPolicyParams
- func (o *DetailAuthPolicyParams) WithTimeout(timeout time.Duration) *DetailAuthPolicyParams
- func (o *DetailAuthPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailAuthPolicyReader
- type DetailAuthPolicyUnauthorized
- type ListAuthPoliciesBadRequest
- type ListAuthPoliciesOK
- type ListAuthPoliciesParams
- func NewListAuthPoliciesParams() *ListAuthPoliciesParams
- func NewListAuthPoliciesParamsWithContext(ctx context.Context) *ListAuthPoliciesParams
- func NewListAuthPoliciesParamsWithHTTPClient(client *http.Client) *ListAuthPoliciesParams
- func NewListAuthPoliciesParamsWithTimeout(timeout time.Duration) *ListAuthPoliciesParams
- func (o *ListAuthPoliciesParams) SetContext(ctx context.Context)
- func (o *ListAuthPoliciesParams) SetDefaults()
- func (o *ListAuthPoliciesParams) SetFilter(filter *string)
- func (o *ListAuthPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *ListAuthPoliciesParams) SetLimit(limit *int64)
- func (o *ListAuthPoliciesParams) SetOffset(offset *int64)
- func (o *ListAuthPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *ListAuthPoliciesParams) WithContext(ctx context.Context) *ListAuthPoliciesParams
- func (o *ListAuthPoliciesParams) WithDefaults() *ListAuthPoliciesParams
- func (o *ListAuthPoliciesParams) WithFilter(filter *string) *ListAuthPoliciesParams
- func (o *ListAuthPoliciesParams) WithHTTPClient(client *http.Client) *ListAuthPoliciesParams
- func (o *ListAuthPoliciesParams) WithLimit(limit *int64) *ListAuthPoliciesParams
- func (o *ListAuthPoliciesParams) WithOffset(offset *int64) *ListAuthPoliciesParams
- func (o *ListAuthPoliciesParams) WithTimeout(timeout time.Duration) *ListAuthPoliciesParams
- func (o *ListAuthPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAuthPoliciesReader
- type ListAuthPoliciesUnauthorized
- type PatchAuthPolicyBadRequest
- type PatchAuthPolicyNotFound
- type PatchAuthPolicyOK
- type PatchAuthPolicyParams
- func NewPatchAuthPolicyParams() *PatchAuthPolicyParams
- func NewPatchAuthPolicyParamsWithContext(ctx context.Context) *PatchAuthPolicyParams
- func NewPatchAuthPolicyParamsWithHTTPClient(client *http.Client) *PatchAuthPolicyParams
- func NewPatchAuthPolicyParamsWithTimeout(timeout time.Duration) *PatchAuthPolicyParams
- func (o *PatchAuthPolicyParams) SetAuthPolicy(authPolicy *rest_model.AuthPolicyPatch)
- func (o *PatchAuthPolicyParams) SetContext(ctx context.Context)
- func (o *PatchAuthPolicyParams) SetDefaults()
- func (o *PatchAuthPolicyParams) SetHTTPClient(client *http.Client)
- func (o *PatchAuthPolicyParams) SetID(id string)
- func (o *PatchAuthPolicyParams) SetTimeout(timeout time.Duration)
- func (o *PatchAuthPolicyParams) WithAuthPolicy(authPolicy *rest_model.AuthPolicyPatch) *PatchAuthPolicyParams
- func (o *PatchAuthPolicyParams) WithContext(ctx context.Context) *PatchAuthPolicyParams
- func (o *PatchAuthPolicyParams) WithDefaults() *PatchAuthPolicyParams
- func (o *PatchAuthPolicyParams) WithHTTPClient(client *http.Client) *PatchAuthPolicyParams
- func (o *PatchAuthPolicyParams) WithID(id string) *PatchAuthPolicyParams
- func (o *PatchAuthPolicyParams) WithTimeout(timeout time.Duration) *PatchAuthPolicyParams
- func (o *PatchAuthPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAuthPolicyReader
- type PatchAuthPolicyUnauthorized
- type UpdateAuthPolicyBadRequest
- type UpdateAuthPolicyNotFound
- type UpdateAuthPolicyOK
- type UpdateAuthPolicyParams
- func NewUpdateAuthPolicyParams() *UpdateAuthPolicyParams
- func NewUpdateAuthPolicyParamsWithContext(ctx context.Context) *UpdateAuthPolicyParams
- func NewUpdateAuthPolicyParamsWithHTTPClient(client *http.Client) *UpdateAuthPolicyParams
- func NewUpdateAuthPolicyParamsWithTimeout(timeout time.Duration) *UpdateAuthPolicyParams
- func (o *UpdateAuthPolicyParams) SetAuthPolicy(authPolicy *rest_model.AuthPolicyUpdate)
- func (o *UpdateAuthPolicyParams) SetContext(ctx context.Context)
- func (o *UpdateAuthPolicyParams) SetDefaults()
- func (o *UpdateAuthPolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAuthPolicyParams) SetID(id string)
- func (o *UpdateAuthPolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAuthPolicyParams) WithAuthPolicy(authPolicy *rest_model.AuthPolicyUpdate) *UpdateAuthPolicyParams
- func (o *UpdateAuthPolicyParams) WithContext(ctx context.Context) *UpdateAuthPolicyParams
- func (o *UpdateAuthPolicyParams) WithDefaults() *UpdateAuthPolicyParams
- func (o *UpdateAuthPolicyParams) WithHTTPClient(client *http.Client) *UpdateAuthPolicyParams
- func (o *UpdateAuthPolicyParams) WithID(id string) *UpdateAuthPolicyParams
- func (o *UpdateAuthPolicyParams) WithTimeout(timeout time.Duration) *UpdateAuthPolicyParams
- func (o *UpdateAuthPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAuthPolicyReader
- type UpdateAuthPolicyUnauthorized
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 auth policy API
func (*Client) CreateAuthPolicy ¶
func (a *Client) CreateAuthPolicy(params *CreateAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAuthPolicyCreated, error)
CreateAuthPolicy creates an auth policy
Creates an Auth Policy. Requires admin access.
func (*Client) DeleteAuthPolicy ¶
func (a *Client) DeleteAuthPolicy(params *DeleteAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAuthPolicyOK, error)
DeleteAuthPolicy deletes an auth policy
Delete an Auth Policy by id. Requires admin access.
func (*Client) DetailAuthPolicy ¶
func (a *Client) DetailAuthPolicy(params *DetailAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailAuthPolicyOK, error)
DetailAuthPolicy retrieves a single auth policy
Retrieves a single Auth Policy by id. Requires admin access.
func (*Client) ListAuthPolicies ¶
func (a *Client) ListAuthPolicies(params *ListAuthPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAuthPoliciesOK, error)
ListAuthPolicies lists auth policies
Retrieves a list of Auth Policies
func (*Client) PatchAuthPolicy ¶
func (a *Client) PatchAuthPolicy(params *PatchAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAuthPolicyOK, error)
PatchAuthPolicy updates the supplied fields on an auth policy
Update only the supplied fields on an Auth Policy by id. Requires admin access.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAuthPolicy ¶
func (a *Client) UpdateAuthPolicy(params *UpdateAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAuthPolicyOK, error)
UpdateAuthPolicy updates all fields on an auth policy
Update all fields on an Auth Policy by id. Requires admin access.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateAuthPolicy(params *CreateAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAuthPolicyCreated, error) DeleteAuthPolicy(params *DeleteAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAuthPolicyOK, error) DetailAuthPolicy(params *DetailAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailAuthPolicyOK, error) ListAuthPolicies(params *ListAuthPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAuthPoliciesOK, error) PatchAuthPolicy(params *PatchAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAuthPolicyOK, error) UpdateAuthPolicy(params *UpdateAuthPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAuthPolicyOK, 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 auth policy API client.
type CreateAuthPolicyBadRequest ¶
type CreateAuthPolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreateAuthPolicyBadRequest describes a response with status code 400, 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 NewCreateAuthPolicyBadRequest ¶
func NewCreateAuthPolicyBadRequest() *CreateAuthPolicyBadRequest
NewCreateAuthPolicyBadRequest creates a CreateAuthPolicyBadRequest with default headers values
func (*CreateAuthPolicyBadRequest) Error ¶
func (o *CreateAuthPolicyBadRequest) Error() string
func (*CreateAuthPolicyBadRequest) GetPayload ¶
func (o *CreateAuthPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreateAuthPolicyCreated ¶
type CreateAuthPolicyCreated struct {
Payload *rest_model.CreateEnvelope
}
CreateAuthPolicyCreated describes a response with status code 201, with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateAuthPolicyCreated ¶
func NewCreateAuthPolicyCreated() *CreateAuthPolicyCreated
NewCreateAuthPolicyCreated creates a CreateAuthPolicyCreated with default headers values
func (*CreateAuthPolicyCreated) Error ¶
func (o *CreateAuthPolicyCreated) Error() string
func (*CreateAuthPolicyCreated) GetPayload ¶
func (o *CreateAuthPolicyCreated) GetPayload() *rest_model.CreateEnvelope
type CreateAuthPolicyParams ¶
type CreateAuthPolicyParams struct { /* AuthPolicy. An Auth Policy to create */ AuthPolicy *rest_model.AuthPolicyCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAuthPolicyParams contains all the parameters to send to the API endpoint
for the create auth policy operation. Typically these are written to a http.Request.
func NewCreateAuthPolicyParams ¶
func NewCreateAuthPolicyParams() *CreateAuthPolicyParams
NewCreateAuthPolicyParams creates a new CreateAuthPolicyParams 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 NewCreateAuthPolicyParamsWithContext ¶
func NewCreateAuthPolicyParamsWithContext(ctx context.Context) *CreateAuthPolicyParams
NewCreateAuthPolicyParamsWithContext creates a new CreateAuthPolicyParams object with the ability to set a context for a request.
func NewCreateAuthPolicyParamsWithHTTPClient ¶
func NewCreateAuthPolicyParamsWithHTTPClient(client *http.Client) *CreateAuthPolicyParams
NewCreateAuthPolicyParamsWithHTTPClient creates a new CreateAuthPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAuthPolicyParamsWithTimeout ¶
func NewCreateAuthPolicyParamsWithTimeout(timeout time.Duration) *CreateAuthPolicyParams
NewCreateAuthPolicyParamsWithTimeout creates a new CreateAuthPolicyParams object with the ability to set a timeout on a request.
func (*CreateAuthPolicyParams) SetAuthPolicy ¶
func (o *CreateAuthPolicyParams) SetAuthPolicy(authPolicy *rest_model.AuthPolicyCreate)
SetAuthPolicy adds the authPolicy to the create auth policy params
func (*CreateAuthPolicyParams) SetContext ¶
func (o *CreateAuthPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the create auth policy params
func (*CreateAuthPolicyParams) SetDefaults ¶
func (o *CreateAuthPolicyParams) SetDefaults()
SetDefaults hydrates default values in the create auth policy params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAuthPolicyParams) SetHTTPClient ¶
func (o *CreateAuthPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create auth policy params
func (*CreateAuthPolicyParams) SetTimeout ¶
func (o *CreateAuthPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create auth policy params
func (*CreateAuthPolicyParams) WithAuthPolicy ¶
func (o *CreateAuthPolicyParams) WithAuthPolicy(authPolicy *rest_model.AuthPolicyCreate) *CreateAuthPolicyParams
WithAuthPolicy adds the authPolicy to the create auth policy params
func (*CreateAuthPolicyParams) WithContext ¶
func (o *CreateAuthPolicyParams) WithContext(ctx context.Context) *CreateAuthPolicyParams
WithContext adds the context to the create auth policy params
func (*CreateAuthPolicyParams) WithDefaults ¶
func (o *CreateAuthPolicyParams) WithDefaults() *CreateAuthPolicyParams
WithDefaults hydrates default values in the create auth policy params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAuthPolicyParams) WithHTTPClient ¶
func (o *CreateAuthPolicyParams) WithHTTPClient(client *http.Client) *CreateAuthPolicyParams
WithHTTPClient adds the HTTPClient to the create auth policy params
func (*CreateAuthPolicyParams) WithTimeout ¶
func (o *CreateAuthPolicyParams) WithTimeout(timeout time.Duration) *CreateAuthPolicyParams
WithTimeout adds the timeout to the create auth policy params
func (*CreateAuthPolicyParams) WriteToRequest ¶
func (o *CreateAuthPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAuthPolicyReader ¶
type CreateAuthPolicyReader struct {
// contains filtered or unexported fields
}
CreateAuthPolicyReader is a Reader for the CreateAuthPolicy structure.
func (*CreateAuthPolicyReader) ReadResponse ¶
func (o *CreateAuthPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAuthPolicyUnauthorized ¶
type CreateAuthPolicyUnauthorized struct {
}CreateAuthPolicyUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCreateAuthPolicyUnauthorized ¶
func NewCreateAuthPolicyUnauthorized() *CreateAuthPolicyUnauthorized
NewCreateAuthPolicyUnauthorized creates a CreateAuthPolicyUnauthorized with default headers values
func (*CreateAuthPolicyUnauthorized) Error ¶
func (o *CreateAuthPolicyUnauthorized) Error() string
func (*CreateAuthPolicyUnauthorized) GetPayload ¶
func (o *CreateAuthPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeleteAuthPolicyBadRequest ¶
type DeleteAuthPolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteAuthPolicyBadRequest describes a response with status code 400, 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 NewDeleteAuthPolicyBadRequest ¶
func NewDeleteAuthPolicyBadRequest() *DeleteAuthPolicyBadRequest
NewDeleteAuthPolicyBadRequest creates a DeleteAuthPolicyBadRequest with default headers values
func (*DeleteAuthPolicyBadRequest) Error ¶
func (o *DeleteAuthPolicyBadRequest) Error() string
func (*DeleteAuthPolicyBadRequest) GetPayload ¶
func (o *DeleteAuthPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type DeleteAuthPolicyOK ¶
type DeleteAuthPolicyOK struct {
Payload *rest_model.Empty
}
DeleteAuthPolicyOK describes a response with status code 200, with default header values.
The delete request was successful and the resource has been removed
func NewDeleteAuthPolicyOK ¶
func NewDeleteAuthPolicyOK() *DeleteAuthPolicyOK
NewDeleteAuthPolicyOK creates a DeleteAuthPolicyOK with default headers values
func (*DeleteAuthPolicyOK) Error ¶
func (o *DeleteAuthPolicyOK) Error() string
func (*DeleteAuthPolicyOK) GetPayload ¶
func (o *DeleteAuthPolicyOK) GetPayload() *rest_model.Empty
type DeleteAuthPolicyParams ¶
type DeleteAuthPolicyParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAuthPolicyParams contains all the parameters to send to the API endpoint
for the delete auth policy operation. Typically these are written to a http.Request.
func NewDeleteAuthPolicyParams ¶
func NewDeleteAuthPolicyParams() *DeleteAuthPolicyParams
NewDeleteAuthPolicyParams creates a new DeleteAuthPolicyParams 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 NewDeleteAuthPolicyParamsWithContext ¶
func NewDeleteAuthPolicyParamsWithContext(ctx context.Context) *DeleteAuthPolicyParams
NewDeleteAuthPolicyParamsWithContext creates a new DeleteAuthPolicyParams object with the ability to set a context for a request.
func NewDeleteAuthPolicyParamsWithHTTPClient ¶
func NewDeleteAuthPolicyParamsWithHTTPClient(client *http.Client) *DeleteAuthPolicyParams
NewDeleteAuthPolicyParamsWithHTTPClient creates a new DeleteAuthPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAuthPolicyParamsWithTimeout ¶
func NewDeleteAuthPolicyParamsWithTimeout(timeout time.Duration) *DeleteAuthPolicyParams
NewDeleteAuthPolicyParamsWithTimeout creates a new DeleteAuthPolicyParams object with the ability to set a timeout on a request.
func (*DeleteAuthPolicyParams) SetContext ¶
func (o *DeleteAuthPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete auth policy params
func (*DeleteAuthPolicyParams) SetDefaults ¶
func (o *DeleteAuthPolicyParams) SetDefaults()
SetDefaults hydrates default values in the delete auth policy params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAuthPolicyParams) SetHTTPClient ¶
func (o *DeleteAuthPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete auth policy params
func (*DeleteAuthPolicyParams) SetID ¶
func (o *DeleteAuthPolicyParams) SetID(id string)
SetID adds the id to the delete auth policy params
func (*DeleteAuthPolicyParams) SetTimeout ¶
func (o *DeleteAuthPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete auth policy params
func (*DeleteAuthPolicyParams) WithContext ¶
func (o *DeleteAuthPolicyParams) WithContext(ctx context.Context) *DeleteAuthPolicyParams
WithContext adds the context to the delete auth policy params
func (*DeleteAuthPolicyParams) WithDefaults ¶
func (o *DeleteAuthPolicyParams) WithDefaults() *DeleteAuthPolicyParams
WithDefaults hydrates default values in the delete auth policy params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAuthPolicyParams) WithHTTPClient ¶
func (o *DeleteAuthPolicyParams) WithHTTPClient(client *http.Client) *DeleteAuthPolicyParams
WithHTTPClient adds the HTTPClient to the delete auth policy params
func (*DeleteAuthPolicyParams) WithID ¶
func (o *DeleteAuthPolicyParams) WithID(id string) *DeleteAuthPolicyParams
WithID adds the id to the delete auth policy params
func (*DeleteAuthPolicyParams) WithTimeout ¶
func (o *DeleteAuthPolicyParams) WithTimeout(timeout time.Duration) *DeleteAuthPolicyParams
WithTimeout adds the timeout to the delete auth policy params
func (*DeleteAuthPolicyParams) WriteToRequest ¶
func (o *DeleteAuthPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAuthPolicyReader ¶
type DeleteAuthPolicyReader struct {
// contains filtered or unexported fields
}
DeleteAuthPolicyReader is a Reader for the DeleteAuthPolicy structure.
func (*DeleteAuthPolicyReader) ReadResponse ¶
func (o *DeleteAuthPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAuthPolicyUnauthorized ¶
type DeleteAuthPolicyUnauthorized struct {
}DeleteAuthPolicyUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDeleteAuthPolicyUnauthorized ¶
func NewDeleteAuthPolicyUnauthorized() *DeleteAuthPolicyUnauthorized
NewDeleteAuthPolicyUnauthorized creates a DeleteAuthPolicyUnauthorized with default headers values
func (*DeleteAuthPolicyUnauthorized) Error ¶
func (o *DeleteAuthPolicyUnauthorized) Error() string
func (*DeleteAuthPolicyUnauthorized) GetPayload ¶
func (o *DeleteAuthPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailAuthPolicyNotFound ¶
type DetailAuthPolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailAuthPolicyNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailAuthPolicyNotFound ¶
func NewDetailAuthPolicyNotFound() *DetailAuthPolicyNotFound
NewDetailAuthPolicyNotFound creates a DetailAuthPolicyNotFound with default headers values
func (*DetailAuthPolicyNotFound) Error ¶
func (o *DetailAuthPolicyNotFound) Error() string
func (*DetailAuthPolicyNotFound) GetPayload ¶
func (o *DetailAuthPolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailAuthPolicyOK ¶
type DetailAuthPolicyOK struct {
Payload *rest_model.DetailAuthPolicyEnvelope
}
DetailAuthPolicyOK describes a response with status code 200, with default header values.
A singular Auth Policy resource
func NewDetailAuthPolicyOK ¶
func NewDetailAuthPolicyOK() *DetailAuthPolicyOK
NewDetailAuthPolicyOK creates a DetailAuthPolicyOK with default headers values
func (*DetailAuthPolicyOK) Error ¶
func (o *DetailAuthPolicyOK) Error() string
func (*DetailAuthPolicyOK) GetPayload ¶
func (o *DetailAuthPolicyOK) GetPayload() *rest_model.DetailAuthPolicyEnvelope
type DetailAuthPolicyParams ¶
type DetailAuthPolicyParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailAuthPolicyParams contains all the parameters to send to the API endpoint
for the detail auth policy operation. Typically these are written to a http.Request.
func NewDetailAuthPolicyParams ¶
func NewDetailAuthPolicyParams() *DetailAuthPolicyParams
NewDetailAuthPolicyParams creates a new DetailAuthPolicyParams 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 NewDetailAuthPolicyParamsWithContext ¶
func NewDetailAuthPolicyParamsWithContext(ctx context.Context) *DetailAuthPolicyParams
NewDetailAuthPolicyParamsWithContext creates a new DetailAuthPolicyParams object with the ability to set a context for a request.
func NewDetailAuthPolicyParamsWithHTTPClient ¶
func NewDetailAuthPolicyParamsWithHTTPClient(client *http.Client) *DetailAuthPolicyParams
NewDetailAuthPolicyParamsWithHTTPClient creates a new DetailAuthPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewDetailAuthPolicyParamsWithTimeout ¶
func NewDetailAuthPolicyParamsWithTimeout(timeout time.Duration) *DetailAuthPolicyParams
NewDetailAuthPolicyParamsWithTimeout creates a new DetailAuthPolicyParams object with the ability to set a timeout on a request.
func (*DetailAuthPolicyParams) SetContext ¶
func (o *DetailAuthPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the detail auth policy params
func (*DetailAuthPolicyParams) SetDefaults ¶
func (o *DetailAuthPolicyParams) SetDefaults()
SetDefaults hydrates default values in the detail auth policy params (not the query body).
All values with no default are reset to their zero value.
func (*DetailAuthPolicyParams) SetHTTPClient ¶
func (o *DetailAuthPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail auth policy params
func (*DetailAuthPolicyParams) SetID ¶
func (o *DetailAuthPolicyParams) SetID(id string)
SetID adds the id to the detail auth policy params
func (*DetailAuthPolicyParams) SetTimeout ¶
func (o *DetailAuthPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail auth policy params
func (*DetailAuthPolicyParams) WithContext ¶
func (o *DetailAuthPolicyParams) WithContext(ctx context.Context) *DetailAuthPolicyParams
WithContext adds the context to the detail auth policy params
func (*DetailAuthPolicyParams) WithDefaults ¶
func (o *DetailAuthPolicyParams) WithDefaults() *DetailAuthPolicyParams
WithDefaults hydrates default values in the detail auth policy params (not the query body).
All values with no default are reset to their zero value.
func (*DetailAuthPolicyParams) WithHTTPClient ¶
func (o *DetailAuthPolicyParams) WithHTTPClient(client *http.Client) *DetailAuthPolicyParams
WithHTTPClient adds the HTTPClient to the detail auth policy params
func (*DetailAuthPolicyParams) WithID ¶
func (o *DetailAuthPolicyParams) WithID(id string) *DetailAuthPolicyParams
WithID adds the id to the detail auth policy params
func (*DetailAuthPolicyParams) WithTimeout ¶
func (o *DetailAuthPolicyParams) WithTimeout(timeout time.Duration) *DetailAuthPolicyParams
WithTimeout adds the timeout to the detail auth policy params
func (*DetailAuthPolicyParams) WriteToRequest ¶
func (o *DetailAuthPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailAuthPolicyReader ¶
type DetailAuthPolicyReader struct {
// contains filtered or unexported fields
}
DetailAuthPolicyReader is a Reader for the DetailAuthPolicy structure.
func (*DetailAuthPolicyReader) ReadResponse ¶
func (o *DetailAuthPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailAuthPolicyUnauthorized ¶
type DetailAuthPolicyUnauthorized struct {
}DetailAuthPolicyUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailAuthPolicyUnauthorized ¶
func NewDetailAuthPolicyUnauthorized() *DetailAuthPolicyUnauthorized
NewDetailAuthPolicyUnauthorized creates a DetailAuthPolicyUnauthorized with default headers values
func (*DetailAuthPolicyUnauthorized) Error ¶
func (o *DetailAuthPolicyUnauthorized) Error() string
func (*DetailAuthPolicyUnauthorized) GetPayload ¶
func (o *DetailAuthPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListAuthPoliciesBadRequest ¶
type ListAuthPoliciesBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
ListAuthPoliciesBadRequest describes a response with status code 400, 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 NewListAuthPoliciesBadRequest ¶
func NewListAuthPoliciesBadRequest() *ListAuthPoliciesBadRequest
NewListAuthPoliciesBadRequest creates a ListAuthPoliciesBadRequest with default headers values
func (*ListAuthPoliciesBadRequest) Error ¶
func (o *ListAuthPoliciesBadRequest) Error() string
func (*ListAuthPoliciesBadRequest) GetPayload ¶
func (o *ListAuthPoliciesBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type ListAuthPoliciesOK ¶
type ListAuthPoliciesOK struct {
Payload *rest_model.ListAuthPoliciesEnvelope
}
ListAuthPoliciesOK describes a response with status code 200, with default header values.
A list of Auth Policies
func NewListAuthPoliciesOK ¶
func NewListAuthPoliciesOK() *ListAuthPoliciesOK
NewListAuthPoliciesOK creates a ListAuthPoliciesOK with default headers values
func (*ListAuthPoliciesOK) Error ¶
func (o *ListAuthPoliciesOK) Error() string
func (*ListAuthPoliciesOK) GetPayload ¶
func (o *ListAuthPoliciesOK) GetPayload() *rest_model.ListAuthPoliciesEnvelope
type ListAuthPoliciesParams ¶
type ListAuthPoliciesParams struct { // Filter. Filter *string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAuthPoliciesParams contains all the parameters to send to the API endpoint
for the list auth policies operation. Typically these are written to a http.Request.
func NewListAuthPoliciesParams ¶
func NewListAuthPoliciesParams() *ListAuthPoliciesParams
NewListAuthPoliciesParams creates a new ListAuthPoliciesParams 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 NewListAuthPoliciesParamsWithContext ¶
func NewListAuthPoliciesParamsWithContext(ctx context.Context) *ListAuthPoliciesParams
NewListAuthPoliciesParamsWithContext creates a new ListAuthPoliciesParams object with the ability to set a context for a request.
func NewListAuthPoliciesParamsWithHTTPClient ¶
func NewListAuthPoliciesParamsWithHTTPClient(client *http.Client) *ListAuthPoliciesParams
NewListAuthPoliciesParamsWithHTTPClient creates a new ListAuthPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewListAuthPoliciesParamsWithTimeout ¶
func NewListAuthPoliciesParamsWithTimeout(timeout time.Duration) *ListAuthPoliciesParams
NewListAuthPoliciesParamsWithTimeout creates a new ListAuthPoliciesParams object with the ability to set a timeout on a request.
func (*ListAuthPoliciesParams) SetContext ¶
func (o *ListAuthPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the list auth policies params
func (*ListAuthPoliciesParams) SetDefaults ¶
func (o *ListAuthPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the list auth policies params (not the query body).
All values with no default are reset to their zero value.
func (*ListAuthPoliciesParams) SetFilter ¶
func (o *ListAuthPoliciesParams) SetFilter(filter *string)
SetFilter adds the filter to the list auth policies params
func (*ListAuthPoliciesParams) SetHTTPClient ¶
func (o *ListAuthPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list auth policies params
func (*ListAuthPoliciesParams) SetLimit ¶
func (o *ListAuthPoliciesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list auth policies params
func (*ListAuthPoliciesParams) SetOffset ¶
func (o *ListAuthPoliciesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list auth policies params
func (*ListAuthPoliciesParams) SetTimeout ¶
func (o *ListAuthPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list auth policies params
func (*ListAuthPoliciesParams) WithContext ¶
func (o *ListAuthPoliciesParams) WithContext(ctx context.Context) *ListAuthPoliciesParams
WithContext adds the context to the list auth policies params
func (*ListAuthPoliciesParams) WithDefaults ¶
func (o *ListAuthPoliciesParams) WithDefaults() *ListAuthPoliciesParams
WithDefaults hydrates default values in the list auth policies params (not the query body).
All values with no default are reset to their zero value.
func (*ListAuthPoliciesParams) WithFilter ¶
func (o *ListAuthPoliciesParams) WithFilter(filter *string) *ListAuthPoliciesParams
WithFilter adds the filter to the list auth policies params
func (*ListAuthPoliciesParams) WithHTTPClient ¶
func (o *ListAuthPoliciesParams) WithHTTPClient(client *http.Client) *ListAuthPoliciesParams
WithHTTPClient adds the HTTPClient to the list auth policies params
func (*ListAuthPoliciesParams) WithLimit ¶
func (o *ListAuthPoliciesParams) WithLimit(limit *int64) *ListAuthPoliciesParams
WithLimit adds the limit to the list auth policies params
func (*ListAuthPoliciesParams) WithOffset ¶
func (o *ListAuthPoliciesParams) WithOffset(offset *int64) *ListAuthPoliciesParams
WithOffset adds the offset to the list auth policies params
func (*ListAuthPoliciesParams) WithTimeout ¶
func (o *ListAuthPoliciesParams) WithTimeout(timeout time.Duration) *ListAuthPoliciesParams
WithTimeout adds the timeout to the list auth policies params
func (*ListAuthPoliciesParams) WriteToRequest ¶
func (o *ListAuthPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAuthPoliciesReader ¶
type ListAuthPoliciesReader struct {
// contains filtered or unexported fields
}
ListAuthPoliciesReader is a Reader for the ListAuthPolicies structure.
func (*ListAuthPoliciesReader) ReadResponse ¶
func (o *ListAuthPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAuthPoliciesUnauthorized ¶
type ListAuthPoliciesUnauthorized struct {
}ListAuthPoliciesUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListAuthPoliciesUnauthorized ¶
func NewListAuthPoliciesUnauthorized() *ListAuthPoliciesUnauthorized
NewListAuthPoliciesUnauthorized creates a ListAuthPoliciesUnauthorized with default headers values
func (*ListAuthPoliciesUnauthorized) Error ¶
func (o *ListAuthPoliciesUnauthorized) Error() string
func (*ListAuthPoliciesUnauthorized) GetPayload ¶
func (o *ListAuthPoliciesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type PatchAuthPolicyBadRequest ¶
type PatchAuthPolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchAuthPolicyBadRequest describes a response with status code 400, 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 NewPatchAuthPolicyBadRequest ¶
func NewPatchAuthPolicyBadRequest() *PatchAuthPolicyBadRequest
NewPatchAuthPolicyBadRequest creates a PatchAuthPolicyBadRequest with default headers values
func (*PatchAuthPolicyBadRequest) Error ¶
func (o *PatchAuthPolicyBadRequest) Error() string
func (*PatchAuthPolicyBadRequest) GetPayload ¶
func (o *PatchAuthPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type PatchAuthPolicyNotFound ¶
type PatchAuthPolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchAuthPolicyNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewPatchAuthPolicyNotFound ¶
func NewPatchAuthPolicyNotFound() *PatchAuthPolicyNotFound
NewPatchAuthPolicyNotFound creates a PatchAuthPolicyNotFound with default headers values
func (*PatchAuthPolicyNotFound) Error ¶
func (o *PatchAuthPolicyNotFound) Error() string
func (*PatchAuthPolicyNotFound) GetPayload ¶
func (o *PatchAuthPolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type PatchAuthPolicyOK ¶
type PatchAuthPolicyOK struct {
Payload *rest_model.Empty
}
PatchAuthPolicyOK describes a response with status code 200, with default header values.
The patch request was successful and the resource has been altered
func NewPatchAuthPolicyOK ¶
func NewPatchAuthPolicyOK() *PatchAuthPolicyOK
NewPatchAuthPolicyOK creates a PatchAuthPolicyOK with default headers values
func (*PatchAuthPolicyOK) Error ¶
func (o *PatchAuthPolicyOK) Error() string
func (*PatchAuthPolicyOK) GetPayload ¶
func (o *PatchAuthPolicyOK) GetPayload() *rest_model.Empty
type PatchAuthPolicyParams ¶
type PatchAuthPolicyParams struct { /* AuthPolicy. An Auth Policy patch object */ AuthPolicy *rest_model.AuthPolicyPatch /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAuthPolicyParams contains all the parameters to send to the API endpoint
for the patch auth policy operation. Typically these are written to a http.Request.
func NewPatchAuthPolicyParams ¶
func NewPatchAuthPolicyParams() *PatchAuthPolicyParams
NewPatchAuthPolicyParams creates a new PatchAuthPolicyParams 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 NewPatchAuthPolicyParamsWithContext ¶
func NewPatchAuthPolicyParamsWithContext(ctx context.Context) *PatchAuthPolicyParams
NewPatchAuthPolicyParamsWithContext creates a new PatchAuthPolicyParams object with the ability to set a context for a request.
func NewPatchAuthPolicyParamsWithHTTPClient ¶
func NewPatchAuthPolicyParamsWithHTTPClient(client *http.Client) *PatchAuthPolicyParams
NewPatchAuthPolicyParamsWithHTTPClient creates a new PatchAuthPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewPatchAuthPolicyParamsWithTimeout ¶
func NewPatchAuthPolicyParamsWithTimeout(timeout time.Duration) *PatchAuthPolicyParams
NewPatchAuthPolicyParamsWithTimeout creates a new PatchAuthPolicyParams object with the ability to set a timeout on a request.
func (*PatchAuthPolicyParams) SetAuthPolicy ¶
func (o *PatchAuthPolicyParams) SetAuthPolicy(authPolicy *rest_model.AuthPolicyPatch)
SetAuthPolicy adds the authPolicy to the patch auth policy params
func (*PatchAuthPolicyParams) SetContext ¶
func (o *PatchAuthPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the patch auth policy params
func (*PatchAuthPolicyParams) SetDefaults ¶
func (o *PatchAuthPolicyParams) SetDefaults()
SetDefaults hydrates default values in the patch auth policy params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAuthPolicyParams) SetHTTPClient ¶
func (o *PatchAuthPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch auth policy params
func (*PatchAuthPolicyParams) SetID ¶
func (o *PatchAuthPolicyParams) SetID(id string)
SetID adds the id to the patch auth policy params
func (*PatchAuthPolicyParams) SetTimeout ¶
func (o *PatchAuthPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch auth policy params
func (*PatchAuthPolicyParams) WithAuthPolicy ¶
func (o *PatchAuthPolicyParams) WithAuthPolicy(authPolicy *rest_model.AuthPolicyPatch) *PatchAuthPolicyParams
WithAuthPolicy adds the authPolicy to the patch auth policy params
func (*PatchAuthPolicyParams) WithContext ¶
func (o *PatchAuthPolicyParams) WithContext(ctx context.Context) *PatchAuthPolicyParams
WithContext adds the context to the patch auth policy params
func (*PatchAuthPolicyParams) WithDefaults ¶
func (o *PatchAuthPolicyParams) WithDefaults() *PatchAuthPolicyParams
WithDefaults hydrates default values in the patch auth policy params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAuthPolicyParams) WithHTTPClient ¶
func (o *PatchAuthPolicyParams) WithHTTPClient(client *http.Client) *PatchAuthPolicyParams
WithHTTPClient adds the HTTPClient to the patch auth policy params
func (*PatchAuthPolicyParams) WithID ¶
func (o *PatchAuthPolicyParams) WithID(id string) *PatchAuthPolicyParams
WithID adds the id to the patch auth policy params
func (*PatchAuthPolicyParams) WithTimeout ¶
func (o *PatchAuthPolicyParams) WithTimeout(timeout time.Duration) *PatchAuthPolicyParams
WithTimeout adds the timeout to the patch auth policy params
func (*PatchAuthPolicyParams) WriteToRequest ¶
func (o *PatchAuthPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAuthPolicyReader ¶
type PatchAuthPolicyReader struct {
// contains filtered or unexported fields
}
PatchAuthPolicyReader is a Reader for the PatchAuthPolicy structure.
func (*PatchAuthPolicyReader) ReadResponse ¶
func (o *PatchAuthPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchAuthPolicyUnauthorized ¶
type PatchAuthPolicyUnauthorized struct {
}PatchAuthPolicyUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewPatchAuthPolicyUnauthorized ¶
func NewPatchAuthPolicyUnauthorized() *PatchAuthPolicyUnauthorized
NewPatchAuthPolicyUnauthorized creates a PatchAuthPolicyUnauthorized with default headers values
func (*PatchAuthPolicyUnauthorized) Error ¶
func (o *PatchAuthPolicyUnauthorized) Error() string
func (*PatchAuthPolicyUnauthorized) GetPayload ¶
func (o *PatchAuthPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type UpdateAuthPolicyBadRequest ¶
type UpdateAuthPolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateAuthPolicyBadRequest describes a response with status code 400, 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 NewUpdateAuthPolicyBadRequest ¶
func NewUpdateAuthPolicyBadRequest() *UpdateAuthPolicyBadRequest
NewUpdateAuthPolicyBadRequest creates a UpdateAuthPolicyBadRequest with default headers values
func (*UpdateAuthPolicyBadRequest) Error ¶
func (o *UpdateAuthPolicyBadRequest) Error() string
func (*UpdateAuthPolicyBadRequest) GetPayload ¶
func (o *UpdateAuthPolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type UpdateAuthPolicyNotFound ¶
type UpdateAuthPolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateAuthPolicyNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewUpdateAuthPolicyNotFound ¶
func NewUpdateAuthPolicyNotFound() *UpdateAuthPolicyNotFound
NewUpdateAuthPolicyNotFound creates a UpdateAuthPolicyNotFound with default headers values
func (*UpdateAuthPolicyNotFound) Error ¶
func (o *UpdateAuthPolicyNotFound) Error() string
func (*UpdateAuthPolicyNotFound) GetPayload ¶
func (o *UpdateAuthPolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type UpdateAuthPolicyOK ¶
type UpdateAuthPolicyOK struct {
Payload *rest_model.Empty
}
UpdateAuthPolicyOK describes a response with status code 200, with default header values.
The update request was successful and the resource has been altered
func NewUpdateAuthPolicyOK ¶
func NewUpdateAuthPolicyOK() *UpdateAuthPolicyOK
NewUpdateAuthPolicyOK creates a UpdateAuthPolicyOK with default headers values
func (*UpdateAuthPolicyOK) Error ¶
func (o *UpdateAuthPolicyOK) Error() string
func (*UpdateAuthPolicyOK) GetPayload ¶
func (o *UpdateAuthPolicyOK) GetPayload() *rest_model.Empty
type UpdateAuthPolicyParams ¶
type UpdateAuthPolicyParams struct { /* AuthPolicy. An Auth Policy update object */ AuthPolicy *rest_model.AuthPolicyUpdate /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAuthPolicyParams contains all the parameters to send to the API endpoint
for the update auth policy operation. Typically these are written to a http.Request.
func NewUpdateAuthPolicyParams ¶
func NewUpdateAuthPolicyParams() *UpdateAuthPolicyParams
NewUpdateAuthPolicyParams creates a new UpdateAuthPolicyParams 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 NewUpdateAuthPolicyParamsWithContext ¶
func NewUpdateAuthPolicyParamsWithContext(ctx context.Context) *UpdateAuthPolicyParams
NewUpdateAuthPolicyParamsWithContext creates a new UpdateAuthPolicyParams object with the ability to set a context for a request.
func NewUpdateAuthPolicyParamsWithHTTPClient ¶
func NewUpdateAuthPolicyParamsWithHTTPClient(client *http.Client) *UpdateAuthPolicyParams
NewUpdateAuthPolicyParamsWithHTTPClient creates a new UpdateAuthPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAuthPolicyParamsWithTimeout ¶
func NewUpdateAuthPolicyParamsWithTimeout(timeout time.Duration) *UpdateAuthPolicyParams
NewUpdateAuthPolicyParamsWithTimeout creates a new UpdateAuthPolicyParams object with the ability to set a timeout on a request.
func (*UpdateAuthPolicyParams) SetAuthPolicy ¶
func (o *UpdateAuthPolicyParams) SetAuthPolicy(authPolicy *rest_model.AuthPolicyUpdate)
SetAuthPolicy adds the authPolicy to the update auth policy params
func (*UpdateAuthPolicyParams) SetContext ¶
func (o *UpdateAuthPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the update auth policy params
func (*UpdateAuthPolicyParams) SetDefaults ¶
func (o *UpdateAuthPolicyParams) SetDefaults()
SetDefaults hydrates default values in the update auth policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAuthPolicyParams) SetHTTPClient ¶
func (o *UpdateAuthPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update auth policy params
func (*UpdateAuthPolicyParams) SetID ¶
func (o *UpdateAuthPolicyParams) SetID(id string)
SetID adds the id to the update auth policy params
func (*UpdateAuthPolicyParams) SetTimeout ¶
func (o *UpdateAuthPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update auth policy params
func (*UpdateAuthPolicyParams) WithAuthPolicy ¶
func (o *UpdateAuthPolicyParams) WithAuthPolicy(authPolicy *rest_model.AuthPolicyUpdate) *UpdateAuthPolicyParams
WithAuthPolicy adds the authPolicy to the update auth policy params
func (*UpdateAuthPolicyParams) WithContext ¶
func (o *UpdateAuthPolicyParams) WithContext(ctx context.Context) *UpdateAuthPolicyParams
WithContext adds the context to the update auth policy params
func (*UpdateAuthPolicyParams) WithDefaults ¶
func (o *UpdateAuthPolicyParams) WithDefaults() *UpdateAuthPolicyParams
WithDefaults hydrates default values in the update auth policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAuthPolicyParams) WithHTTPClient ¶
func (o *UpdateAuthPolicyParams) WithHTTPClient(client *http.Client) *UpdateAuthPolicyParams
WithHTTPClient adds the HTTPClient to the update auth policy params
func (*UpdateAuthPolicyParams) WithID ¶
func (o *UpdateAuthPolicyParams) WithID(id string) *UpdateAuthPolicyParams
WithID adds the id to the update auth policy params
func (*UpdateAuthPolicyParams) WithTimeout ¶
func (o *UpdateAuthPolicyParams) WithTimeout(timeout time.Duration) *UpdateAuthPolicyParams
WithTimeout adds the timeout to the update auth policy params
func (*UpdateAuthPolicyParams) WriteToRequest ¶
func (o *UpdateAuthPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAuthPolicyReader ¶
type UpdateAuthPolicyReader struct {
// contains filtered or unexported fields
}
UpdateAuthPolicyReader is a Reader for the UpdateAuthPolicy structure.
func (*UpdateAuthPolicyReader) ReadResponse ¶
func (o *UpdateAuthPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAuthPolicyUnauthorized ¶
type UpdateAuthPolicyUnauthorized struct {
}UpdateAuthPolicyUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewUpdateAuthPolicyUnauthorized ¶
func NewUpdateAuthPolicyUnauthorized() *UpdateAuthPolicyUnauthorized
NewUpdateAuthPolicyUnauthorized creates a UpdateAuthPolicyUnauthorized with default headers values
func (*UpdateAuthPolicyUnauthorized) Error ¶
func (o *UpdateAuthPolicyUnauthorized) Error() string
func (*UpdateAuthPolicyUnauthorized) GetPayload ¶
func (o *UpdateAuthPolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- auth_policy_client.go
- create_auth_policy_parameters.go
- create_auth_policy_responses.go
- delete_auth_policy_parameters.go
- delete_auth_policy_responses.go
- detail_auth_policy_parameters.go
- detail_auth_policy_responses.go
- list_auth_policies_parameters.go
- list_auth_policies_responses.go
- patch_auth_policy_parameters.go
- patch_auth_policy_responses.go
- update_auth_policy_parameters.go
- update_auth_policy_responses.go