policies

package
v0.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2020 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

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 policies API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new policies API client.

func (*Client) CreatePolicyUsingPOST1 added in v0.2.8

func (a *Client) CreatePolicyUsingPOST1(params *CreatePolicyUsingPOST1Params) (*CreatePolicyUsingPOST1OK, error)

CreatePolicyUsingPOST1 creates a policy

Create a new policy based on request body and validate its field according to business rules.

func (*Client) DeletePolicyUsingDELETE1 added in v0.2.8

func (a *Client) DeletePolicyUsingDELETE1(params *DeletePolicyUsingDELETE1Params) (*DeletePolicyUsingDELETE1NoContent, error)

DeletePolicyUsingDELETE1 deletes a policy

Delete a specified policy corresponding to its unique id.

func (*Client) GetPoliciesUsingGET1 added in v0.2.8

func (a *Client) GetPoliciesUsingGET1(params *GetPoliciesUsingGET1Params) (*GetPoliciesUsingGET1OK, error)

GetPoliciesUsingGET1 returns a paginated list of policies

Find all the policies associated with current org.

func (*Client) GetPolicyUsingGET1 added in v0.2.8

func (a *Client) GetPolicyUsingGET1(params *GetPolicyUsingGET1Params) (*GetPolicyUsingGET1OK, error)

GetPolicyUsingGET1 returns a specified policy

Find a specific policy based on the input policy id.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type CreatePolicyUsingPOST1OK added in v0.2.8

type CreatePolicyUsingPOST1OK struct {
	Payload *models.Policy
}

CreatePolicyUsingPOST1OK handles this case with default header values.

OK

func NewCreatePolicyUsingPOST1OK added in v0.2.8

func NewCreatePolicyUsingPOST1OK() *CreatePolicyUsingPOST1OK

NewCreatePolicyUsingPOST1OK creates a CreatePolicyUsingPOST1OK with default headers values

func (*CreatePolicyUsingPOST1OK) Error added in v0.2.8

func (o *CreatePolicyUsingPOST1OK) Error() string

func (*CreatePolicyUsingPOST1OK) GetPayload added in v0.2.8

func (o *CreatePolicyUsingPOST1OK) GetPayload() *models.Policy

type CreatePolicyUsingPOST1Params added in v0.2.8

type CreatePolicyUsingPOST1Params struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /catalog/api/about

	*/
	APIVersion *string
	/*Policy
	  The policy to be created

	*/
	Policy *models.Policy
	/*ValidationOnly
	  For a dry run that will do policy validation only instead of create a policy

	*/
	ValidationOnly *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreatePolicyUsingPOST1Params contains all the parameters to send to the API endpoint for the create policy using p o s t 1 operation typically these are written to a http.Request

func NewCreatePolicyUsingPOST1Params added in v0.2.8

func NewCreatePolicyUsingPOST1Params() *CreatePolicyUsingPOST1Params

NewCreatePolicyUsingPOST1Params creates a new CreatePolicyUsingPOST1Params object with the default values initialized.

func NewCreatePolicyUsingPOST1ParamsWithContext added in v0.2.8

func NewCreatePolicyUsingPOST1ParamsWithContext(ctx context.Context) *CreatePolicyUsingPOST1Params

NewCreatePolicyUsingPOST1ParamsWithContext creates a new CreatePolicyUsingPOST1Params object with the default values initialized, and the ability to set a context for a request

func NewCreatePolicyUsingPOST1ParamsWithHTTPClient added in v0.2.8

func NewCreatePolicyUsingPOST1ParamsWithHTTPClient(client *http.Client) *CreatePolicyUsingPOST1Params

NewCreatePolicyUsingPOST1ParamsWithHTTPClient creates a new CreatePolicyUsingPOST1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreatePolicyUsingPOST1ParamsWithTimeout added in v0.2.8

func NewCreatePolicyUsingPOST1ParamsWithTimeout(timeout time.Duration) *CreatePolicyUsingPOST1Params

NewCreatePolicyUsingPOST1ParamsWithTimeout creates a new CreatePolicyUsingPOST1Params object with the default values initialized, and the ability to set a timeout on a request

func (*CreatePolicyUsingPOST1Params) SetAPIVersion added in v0.2.9

func (o *CreatePolicyUsingPOST1Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create policy using p o s t 1 params

func (*CreatePolicyUsingPOST1Params) SetContext added in v0.2.8

func (o *CreatePolicyUsingPOST1Params) SetContext(ctx context.Context)

SetContext adds the context to the create policy using p o s t 1 params

func (*CreatePolicyUsingPOST1Params) SetHTTPClient added in v0.2.8

func (o *CreatePolicyUsingPOST1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create policy using p o s t 1 params

func (*CreatePolicyUsingPOST1Params) SetPolicy added in v0.2.8

func (o *CreatePolicyUsingPOST1Params) SetPolicy(policy *models.Policy)

SetPolicy adds the policy to the create policy using p o s t 1 params

func (*CreatePolicyUsingPOST1Params) SetTimeout added in v0.2.8

func (o *CreatePolicyUsingPOST1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create policy using p o s t 1 params

func (*CreatePolicyUsingPOST1Params) SetValidationOnly added in v0.2.8

func (o *CreatePolicyUsingPOST1Params) SetValidationOnly(validationOnly *bool)

SetValidationOnly adds the validationOnly to the create policy using p o s t 1 params

func (*CreatePolicyUsingPOST1Params) WithAPIVersion added in v0.2.9

func (o *CreatePolicyUsingPOST1Params) WithAPIVersion(aPIVersion *string) *CreatePolicyUsingPOST1Params

WithAPIVersion adds the aPIVersion to the create policy using p o s t 1 params

func (*CreatePolicyUsingPOST1Params) WithContext added in v0.2.8

WithContext adds the context to the create policy using p o s t 1 params

func (*CreatePolicyUsingPOST1Params) WithHTTPClient added in v0.2.8

WithHTTPClient adds the HTTPClient to the create policy using p o s t 1 params

func (*CreatePolicyUsingPOST1Params) WithPolicy added in v0.2.8

WithPolicy adds the policy to the create policy using p o s t 1 params

func (*CreatePolicyUsingPOST1Params) WithTimeout added in v0.2.8

WithTimeout adds the timeout to the create policy using p o s t 1 params

func (*CreatePolicyUsingPOST1Params) WithValidationOnly added in v0.2.8

func (o *CreatePolicyUsingPOST1Params) WithValidationOnly(validationOnly *bool) *CreatePolicyUsingPOST1Params

WithValidationOnly adds the validationOnly to the create policy using p o s t 1 params

func (*CreatePolicyUsingPOST1Params) WriteToRequest added in v0.2.8

WriteToRequest writes these params to a swagger request

type CreatePolicyUsingPOST1Reader added in v0.2.8

type CreatePolicyUsingPOST1Reader struct {
	// contains filtered or unexported fields
}

CreatePolicyUsingPOST1Reader is a Reader for the CreatePolicyUsingPOST1 structure.

func (*CreatePolicyUsingPOST1Reader) ReadResponse added in v0.2.8

func (o *CreatePolicyUsingPOST1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeletePolicyUsingDELETE1NoContent added in v0.2.8

type DeletePolicyUsingDELETE1NoContent struct {
}

DeletePolicyUsingDELETE1NoContent handles this case with default header values.

No Content

func NewDeletePolicyUsingDELETE1NoContent added in v0.2.8

func NewDeletePolicyUsingDELETE1NoContent() *DeletePolicyUsingDELETE1NoContent

NewDeletePolicyUsingDELETE1NoContent creates a DeletePolicyUsingDELETE1NoContent with default headers values

func (*DeletePolicyUsingDELETE1NoContent) Error added in v0.2.8

type DeletePolicyUsingDELETE1Params added in v0.2.8

type DeletePolicyUsingDELETE1Params struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /catalog/api/about

	*/
	APIVersion *string
	/*ID
	  Policy ID

	*/
	ID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeletePolicyUsingDELETE1Params contains all the parameters to send to the API endpoint for the delete policy using d e l e t e 1 operation typically these are written to a http.Request

func NewDeletePolicyUsingDELETE1Params added in v0.2.8

func NewDeletePolicyUsingDELETE1Params() *DeletePolicyUsingDELETE1Params

NewDeletePolicyUsingDELETE1Params creates a new DeletePolicyUsingDELETE1Params object with the default values initialized.

func NewDeletePolicyUsingDELETE1ParamsWithContext added in v0.2.8

func NewDeletePolicyUsingDELETE1ParamsWithContext(ctx context.Context) *DeletePolicyUsingDELETE1Params

NewDeletePolicyUsingDELETE1ParamsWithContext creates a new DeletePolicyUsingDELETE1Params object with the default values initialized, and the ability to set a context for a request

func NewDeletePolicyUsingDELETE1ParamsWithHTTPClient added in v0.2.8

func NewDeletePolicyUsingDELETE1ParamsWithHTTPClient(client *http.Client) *DeletePolicyUsingDELETE1Params

NewDeletePolicyUsingDELETE1ParamsWithHTTPClient creates a new DeletePolicyUsingDELETE1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeletePolicyUsingDELETE1ParamsWithTimeout added in v0.2.8

func NewDeletePolicyUsingDELETE1ParamsWithTimeout(timeout time.Duration) *DeletePolicyUsingDELETE1Params

NewDeletePolicyUsingDELETE1ParamsWithTimeout creates a new DeletePolicyUsingDELETE1Params object with the default values initialized, and the ability to set a timeout on a request

func (*DeletePolicyUsingDELETE1Params) SetAPIVersion added in v0.2.9

func (o *DeletePolicyUsingDELETE1Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the delete policy using d e l e t e 1 params

func (*DeletePolicyUsingDELETE1Params) SetContext added in v0.2.8

func (o *DeletePolicyUsingDELETE1Params) SetContext(ctx context.Context)

SetContext adds the context to the delete policy using d e l e t e 1 params

func (*DeletePolicyUsingDELETE1Params) SetHTTPClient added in v0.2.8

func (o *DeletePolicyUsingDELETE1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete policy using d e l e t e 1 params

func (*DeletePolicyUsingDELETE1Params) SetID added in v0.2.8

SetID adds the id to the delete policy using d e l e t e 1 params

func (*DeletePolicyUsingDELETE1Params) SetTimeout added in v0.2.8

func (o *DeletePolicyUsingDELETE1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete policy using d e l e t e 1 params

func (*DeletePolicyUsingDELETE1Params) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the delete policy using d e l e t e 1 params

func (*DeletePolicyUsingDELETE1Params) WithContext added in v0.2.8

WithContext adds the context to the delete policy using d e l e t e 1 params

func (*DeletePolicyUsingDELETE1Params) WithHTTPClient added in v0.2.8

WithHTTPClient adds the HTTPClient to the delete policy using d e l e t e 1 params

func (*DeletePolicyUsingDELETE1Params) WithID added in v0.2.8

WithID adds the id to the delete policy using d e l e t e 1 params

func (*DeletePolicyUsingDELETE1Params) WithTimeout added in v0.2.8

WithTimeout adds the timeout to the delete policy using d e l e t e 1 params

func (*DeletePolicyUsingDELETE1Params) WriteToRequest added in v0.2.8

WriteToRequest writes these params to a swagger request

type DeletePolicyUsingDELETE1Reader added in v0.2.8

type DeletePolicyUsingDELETE1Reader struct {
	// contains filtered or unexported fields
}

DeletePolicyUsingDELETE1Reader is a Reader for the DeletePolicyUsingDELETE1 structure.

func (*DeletePolicyUsingDELETE1Reader) ReadResponse added in v0.2.8

func (o *DeletePolicyUsingDELETE1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPoliciesUsingGET1OK added in v0.2.8

type GetPoliciesUsingGET1OK struct {
	Payload *models.PageOfPolicy
}

GetPoliciesUsingGET1OK handles this case with default header values.

OK

func NewGetPoliciesUsingGET1OK added in v0.2.8

func NewGetPoliciesUsingGET1OK() *GetPoliciesUsingGET1OK

NewGetPoliciesUsingGET1OK creates a GetPoliciesUsingGET1OK with default headers values

func (*GetPoliciesUsingGET1OK) Error added in v0.2.8

func (o *GetPoliciesUsingGET1OK) Error() string

func (*GetPoliciesUsingGET1OK) GetPayload added in v0.2.8

func (o *GetPoliciesUsingGET1OK) GetPayload() *models.PageOfPolicy

type GetPoliciesUsingGET1Params added in v0.2.8

type GetPoliciesUsingGET1Params struct {

	/*DollarOrderby
	  Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

	*/
	DollarOrderby []string
	/*DollarSkip
	  Number of records you want to skip

	*/
	DollarSkip *int32
	/*DollarTop
	  Number of records you want

	*/
	DollarTop *int32
	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /catalog/api/about

	*/
	APIVersion *string
	/*ComputeStats
	  computeStats

	*/
	ComputeStats *bool
	/*ExpandDefinition
	  Retrieves the schema for this policy type

	*/
	ExpandDefinition *bool
	/*Search
	  Matches will start with this string in their name or have this string somewhere in their description.

	*/
	Search *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPoliciesUsingGET1Params contains all the parameters to send to the API endpoint for the get policies using get1 operation typically these are written to a http.Request

func NewGetPoliciesUsingGET1Params added in v0.2.8

func NewGetPoliciesUsingGET1Params() *GetPoliciesUsingGET1Params

NewGetPoliciesUsingGET1Params creates a new GetPoliciesUsingGET1Params object with the default values initialized.

func NewGetPoliciesUsingGET1ParamsWithContext added in v0.2.8

func NewGetPoliciesUsingGET1ParamsWithContext(ctx context.Context) *GetPoliciesUsingGET1Params

NewGetPoliciesUsingGET1ParamsWithContext creates a new GetPoliciesUsingGET1Params object with the default values initialized, and the ability to set a context for a request

func NewGetPoliciesUsingGET1ParamsWithHTTPClient added in v0.2.8

func NewGetPoliciesUsingGET1ParamsWithHTTPClient(client *http.Client) *GetPoliciesUsingGET1Params

NewGetPoliciesUsingGET1ParamsWithHTTPClient creates a new GetPoliciesUsingGET1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPoliciesUsingGET1ParamsWithTimeout added in v0.2.8

func NewGetPoliciesUsingGET1ParamsWithTimeout(timeout time.Duration) *GetPoliciesUsingGET1Params

NewGetPoliciesUsingGET1ParamsWithTimeout creates a new GetPoliciesUsingGET1Params object with the default values initialized, and the ability to set a timeout on a request

func (*GetPoliciesUsingGET1Params) SetAPIVersion added in v0.2.9

func (o *GetPoliciesUsingGET1Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) SetComputeStats added in v0.2.8

func (o *GetPoliciesUsingGET1Params) SetComputeStats(computeStats *bool)

SetComputeStats adds the computeStats to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) SetContext added in v0.2.8

func (o *GetPoliciesUsingGET1Params) SetContext(ctx context.Context)

SetContext adds the context to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) SetDollarOrderby added in v0.2.8

func (o *GetPoliciesUsingGET1Params) SetDollarOrderby(dollarOrderby []string)

SetDollarOrderby adds the dollarOrderby to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) SetDollarSkip added in v0.2.8

func (o *GetPoliciesUsingGET1Params) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) SetDollarTop added in v0.2.8

func (o *GetPoliciesUsingGET1Params) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) SetExpandDefinition added in v0.2.8

func (o *GetPoliciesUsingGET1Params) SetExpandDefinition(expandDefinition *bool)

SetExpandDefinition adds the expandDefinition to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) SetHTTPClient added in v0.2.8

func (o *GetPoliciesUsingGET1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) SetSearch added in v0.2.8

func (o *GetPoliciesUsingGET1Params) SetSearch(search *string)

SetSearch adds the search to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) SetTimeout added in v0.2.8

func (o *GetPoliciesUsingGET1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) WithAPIVersion added in v0.2.9

func (o *GetPoliciesUsingGET1Params) WithAPIVersion(aPIVersion *string) *GetPoliciesUsingGET1Params

WithAPIVersion adds the aPIVersion to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) WithComputeStats added in v0.2.8

func (o *GetPoliciesUsingGET1Params) WithComputeStats(computeStats *bool) *GetPoliciesUsingGET1Params

WithComputeStats adds the computeStats to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) WithContext added in v0.2.8

WithContext adds the context to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) WithDollarOrderby added in v0.2.8

func (o *GetPoliciesUsingGET1Params) WithDollarOrderby(dollarOrderby []string) *GetPoliciesUsingGET1Params

WithDollarOrderby adds the dollarOrderby to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) WithDollarSkip added in v0.2.8

func (o *GetPoliciesUsingGET1Params) WithDollarSkip(dollarSkip *int32) *GetPoliciesUsingGET1Params

WithDollarSkip adds the dollarSkip to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) WithDollarTop added in v0.2.8

func (o *GetPoliciesUsingGET1Params) WithDollarTop(dollarTop *int32) *GetPoliciesUsingGET1Params

WithDollarTop adds the dollarTop to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) WithExpandDefinition added in v0.2.8

func (o *GetPoliciesUsingGET1Params) WithExpandDefinition(expandDefinition *bool) *GetPoliciesUsingGET1Params

WithExpandDefinition adds the expandDefinition to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) WithHTTPClient added in v0.2.8

WithHTTPClient adds the HTTPClient to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) WithSearch added in v0.2.8

WithSearch adds the search to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) WithTimeout added in v0.2.8

WithTimeout adds the timeout to the get policies using get1 params

func (*GetPoliciesUsingGET1Params) WriteToRequest added in v0.2.8

WriteToRequest writes these params to a swagger request

type GetPoliciesUsingGET1Reader added in v0.2.8

type GetPoliciesUsingGET1Reader struct {
	// contains filtered or unexported fields
}

GetPoliciesUsingGET1Reader is a Reader for the GetPoliciesUsingGET1 structure.

func (*GetPoliciesUsingGET1Reader) ReadResponse added in v0.2.8

func (o *GetPoliciesUsingGET1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPolicyUsingGET1OK added in v0.2.8

type GetPolicyUsingGET1OK struct {
	Payload *models.Policy
}

GetPolicyUsingGET1OK handles this case with default header values.

OK

func NewGetPolicyUsingGET1OK added in v0.2.8

func NewGetPolicyUsingGET1OK() *GetPolicyUsingGET1OK

NewGetPolicyUsingGET1OK creates a GetPolicyUsingGET1OK with default headers values

func (*GetPolicyUsingGET1OK) Error added in v0.2.8

func (o *GetPolicyUsingGET1OK) Error() string

func (*GetPolicyUsingGET1OK) GetPayload added in v0.2.8

func (o *GetPolicyUsingGET1OK) GetPayload() *models.Policy

type GetPolicyUsingGET1Params added in v0.2.8

type GetPolicyUsingGET1Params struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /catalog/api/about

	*/
	APIVersion *string
	/*ComputeStats
	  computeStats

	*/
	ComputeStats *bool
	/*ID
	  Policy ID

	*/
	ID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPolicyUsingGET1Params contains all the parameters to send to the API endpoint for the get policy using get1 operation typically these are written to a http.Request

func NewGetPolicyUsingGET1Params added in v0.2.8

func NewGetPolicyUsingGET1Params() *GetPolicyUsingGET1Params

NewGetPolicyUsingGET1Params creates a new GetPolicyUsingGET1Params object with the default values initialized.

func NewGetPolicyUsingGET1ParamsWithContext added in v0.2.8

func NewGetPolicyUsingGET1ParamsWithContext(ctx context.Context) *GetPolicyUsingGET1Params

NewGetPolicyUsingGET1ParamsWithContext creates a new GetPolicyUsingGET1Params object with the default values initialized, and the ability to set a context for a request

func NewGetPolicyUsingGET1ParamsWithHTTPClient added in v0.2.8

func NewGetPolicyUsingGET1ParamsWithHTTPClient(client *http.Client) *GetPolicyUsingGET1Params

NewGetPolicyUsingGET1ParamsWithHTTPClient creates a new GetPolicyUsingGET1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPolicyUsingGET1ParamsWithTimeout added in v0.2.8

func NewGetPolicyUsingGET1ParamsWithTimeout(timeout time.Duration) *GetPolicyUsingGET1Params

NewGetPolicyUsingGET1ParamsWithTimeout creates a new GetPolicyUsingGET1Params object with the default values initialized, and the ability to set a timeout on a request

func (*GetPolicyUsingGET1Params) SetAPIVersion added in v0.2.9

func (o *GetPolicyUsingGET1Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get policy using get1 params

func (*GetPolicyUsingGET1Params) SetComputeStats added in v0.2.8

func (o *GetPolicyUsingGET1Params) SetComputeStats(computeStats *bool)

SetComputeStats adds the computeStats to the get policy using get1 params

func (*GetPolicyUsingGET1Params) SetContext added in v0.2.8

func (o *GetPolicyUsingGET1Params) SetContext(ctx context.Context)

SetContext adds the context to the get policy using get1 params

func (*GetPolicyUsingGET1Params) SetHTTPClient added in v0.2.8

func (o *GetPolicyUsingGET1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get policy using get1 params

func (*GetPolicyUsingGET1Params) SetID added in v0.2.8

func (o *GetPolicyUsingGET1Params) SetID(id strfmt.UUID)

SetID adds the id to the get policy using get1 params

func (*GetPolicyUsingGET1Params) SetTimeout added in v0.2.8

func (o *GetPolicyUsingGET1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get policy using get1 params

func (*GetPolicyUsingGET1Params) WithAPIVersion added in v0.2.9

func (o *GetPolicyUsingGET1Params) WithAPIVersion(aPIVersion *string) *GetPolicyUsingGET1Params

WithAPIVersion adds the aPIVersion to the get policy using get1 params

func (*GetPolicyUsingGET1Params) WithComputeStats added in v0.2.8

func (o *GetPolicyUsingGET1Params) WithComputeStats(computeStats *bool) *GetPolicyUsingGET1Params

WithComputeStats adds the computeStats to the get policy using get1 params

func (*GetPolicyUsingGET1Params) WithContext added in v0.2.8

WithContext adds the context to the get policy using get1 params

func (*GetPolicyUsingGET1Params) WithHTTPClient added in v0.2.8

func (o *GetPolicyUsingGET1Params) WithHTTPClient(client *http.Client) *GetPolicyUsingGET1Params

WithHTTPClient adds the HTTPClient to the get policy using get1 params

func (*GetPolicyUsingGET1Params) WithID added in v0.2.8

WithID adds the id to the get policy using get1 params

func (*GetPolicyUsingGET1Params) WithTimeout added in v0.2.8

WithTimeout adds the timeout to the get policy using get1 params

func (*GetPolicyUsingGET1Params) WriteToRequest added in v0.2.8

WriteToRequest writes these params to a swagger request

type GetPolicyUsingGET1Reader added in v0.2.8

type GetPolicyUsingGET1Reader struct {
	// contains filtered or unexported fields
}

GetPolicyUsingGET1Reader is a Reader for the GetPolicyUsingGET1 structure.

func (*GetPolicyUsingGET1Reader) ReadResponse added in v0.2.8

func (o *GetPolicyUsingGET1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL