policy_types

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: 0

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 policy types API

func New

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

New creates a new policy types API client.

func (*Client) GetPolicyTypeByIDUsingGET

func (a *Client) GetPolicyTypeByIDUsingGET(params *GetPolicyTypeByIDUsingGETParams) (*GetPolicyTypeByIDUsingGETOK, error)

GetPolicyTypeByIDUsingGET returns the policy type with the specified ID

Find a specific policy type based on the input policy type id.

func (*Client) GetTypesUsingGET1

func (a *Client) GetTypesUsingGET1(params *GetTypesUsingGET1Params) (*GetTypesUsingGET1OK, error)

GetTypesUsingGET1 returns a paginated list of policy types

Find all the policy types available in the current org.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetPolicyTypeByIDUsingGETOK

type GetPolicyTypeByIDUsingGETOK struct {
	Payload *models.PolicyType
}

GetPolicyTypeByIDUsingGETOK handles this case with default header values.

OK

func NewGetPolicyTypeByIDUsingGETOK

func NewGetPolicyTypeByIDUsingGETOK() *GetPolicyTypeByIDUsingGETOK

NewGetPolicyTypeByIDUsingGETOK creates a GetPolicyTypeByIDUsingGETOK with default headers values

func (*GetPolicyTypeByIDUsingGETOK) Error

func (*GetPolicyTypeByIDUsingGETOK) GetPayload

type GetPolicyTypeByIDUsingGETParams

type GetPolicyTypeByIDUsingGETParams 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 type ID

	*/
	ID string

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

GetPolicyTypeByIDUsingGETParams contains all the parameters to send to the API endpoint for the get policy type by Id using g e t operation typically these are written to a http.Request

func NewGetPolicyTypeByIDUsingGETParams

func NewGetPolicyTypeByIDUsingGETParams() *GetPolicyTypeByIDUsingGETParams

NewGetPolicyTypeByIDUsingGETParams creates a new GetPolicyTypeByIDUsingGETParams object with the default values initialized.

func NewGetPolicyTypeByIDUsingGETParamsWithContext

func NewGetPolicyTypeByIDUsingGETParamsWithContext(ctx context.Context) *GetPolicyTypeByIDUsingGETParams

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

func NewGetPolicyTypeByIDUsingGETParamsWithHTTPClient

func NewGetPolicyTypeByIDUsingGETParamsWithHTTPClient(client *http.Client) *GetPolicyTypeByIDUsingGETParams

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

func NewGetPolicyTypeByIDUsingGETParamsWithTimeout

func NewGetPolicyTypeByIDUsingGETParamsWithTimeout(timeout time.Duration) *GetPolicyTypeByIDUsingGETParams

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

func (*GetPolicyTypeByIDUsingGETParams) SetAPIVersion added in v0.2.9

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

SetAPIVersion adds the apiVersion to the get policy type by Id using get params

func (*GetPolicyTypeByIDUsingGETParams) SetContext

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

SetContext adds the context to the get policy type by Id using get params

func (*GetPolicyTypeByIDUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get policy type by Id using get params

func (*GetPolicyTypeByIDUsingGETParams) SetID

SetID adds the id to the get policy type by Id using get params

func (*GetPolicyTypeByIDUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get policy type by Id using get params

func (*GetPolicyTypeByIDUsingGETParams) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the get policy type by Id using get params

func (*GetPolicyTypeByIDUsingGETParams) WithContext

WithContext adds the context to the get policy type by Id using get params

func (*GetPolicyTypeByIDUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get policy type by Id using get params

func (*GetPolicyTypeByIDUsingGETParams) WithID

WithID adds the id to the get policy type by Id using get params

func (*GetPolicyTypeByIDUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get policy type by Id using get params

func (*GetPolicyTypeByIDUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPolicyTypeByIDUsingGETReader

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

GetPolicyTypeByIDUsingGETReader is a Reader for the GetPolicyTypeByIDUsingGET structure.

func (*GetPolicyTypeByIDUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTypesUsingGET1OK

type GetTypesUsingGET1OK struct {
	Payload *models.PageOfPolicyType
}

GetTypesUsingGET1OK handles this case with default header values.

OK

func NewGetTypesUsingGET1OK

func NewGetTypesUsingGET1OK() *GetTypesUsingGET1OK

NewGetTypesUsingGET1OK creates a GetTypesUsingGET1OK with default headers values

func (*GetTypesUsingGET1OK) Error

func (o *GetTypesUsingGET1OK) Error() string

func (*GetTypesUsingGET1OK) GetPayload

func (o *GetTypesUsingGET1OK) GetPayload() *models.PageOfPolicyType

type GetTypesUsingGET1Params

type GetTypesUsingGET1Params 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
	/*ExpandSchema
	  Retrieves the schema for this policy type

	*/
	ExpandSchema *bool

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

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

func NewGetTypesUsingGET1Params

func NewGetTypesUsingGET1Params() *GetTypesUsingGET1Params

NewGetTypesUsingGET1Params creates a new GetTypesUsingGET1Params object with the default values initialized.

func NewGetTypesUsingGET1ParamsWithContext

func NewGetTypesUsingGET1ParamsWithContext(ctx context.Context) *GetTypesUsingGET1Params

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

func NewGetTypesUsingGET1ParamsWithHTTPClient

func NewGetTypesUsingGET1ParamsWithHTTPClient(client *http.Client) *GetTypesUsingGET1Params

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

func NewGetTypesUsingGET1ParamsWithTimeout

func NewGetTypesUsingGET1ParamsWithTimeout(timeout time.Duration) *GetTypesUsingGET1Params

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

func (*GetTypesUsingGET1Params) SetAPIVersion added in v0.2.9

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

SetAPIVersion adds the apiVersion to the get types using get1 params

func (*GetTypesUsingGET1Params) SetContext

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

SetContext adds the context to the get types using get1 params

func (*GetTypesUsingGET1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the get types using get1 params

func (*GetTypesUsingGET1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the get types using get1 params

func (*GetTypesUsingGET1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the get types using get1 params

func (*GetTypesUsingGET1Params) SetExpandSchema

func (o *GetTypesUsingGET1Params) SetExpandSchema(expandSchema *bool)

SetExpandSchema adds the expandSchema to the get types using get1 params

func (*GetTypesUsingGET1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get types using get1 params

func (*GetTypesUsingGET1Params) SetTimeout

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

SetTimeout adds the timeout to the get types using get1 params

func (*GetTypesUsingGET1Params) WithAPIVersion added in v0.2.9

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

WithAPIVersion adds the aPIVersion to the get types using get1 params

func (*GetTypesUsingGET1Params) WithContext

WithContext adds the context to the get types using get1 params

func (*GetTypesUsingGET1Params) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the get types using get1 params

func (*GetTypesUsingGET1Params) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the get types using get1 params

func (*GetTypesUsingGET1Params) WithDollarTop

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

WithDollarTop adds the dollarTop to the get types using get1 params

func (*GetTypesUsingGET1Params) WithExpandSchema

func (o *GetTypesUsingGET1Params) WithExpandSchema(expandSchema *bool) *GetTypesUsingGET1Params

WithExpandSchema adds the expandSchema to the get types using get1 params

func (*GetTypesUsingGET1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get types using get1 params

func (*GetTypesUsingGET1Params) WithTimeout

WithTimeout adds the timeout to the get types using get1 params

func (*GetTypesUsingGET1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTypesUsingGET1Reader

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

GetTypesUsingGET1Reader is a Reader for the GetTypesUsingGET1 structure.

func (*GetTypesUsingGET1Reader) ReadResponse

func (o *GetTypesUsingGET1Reader) 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