policy_types

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 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) GetPolicyTypeDataUsingGET

func (a *Client) GetPolicyTypeDataUsingGET(params *GetPolicyTypeDataUsingGETParams) (*GetPolicyTypeDataUsingGETOK, error)

GetPolicyTypeDataUsingGET returns the data elements for the given policy type and data 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 {

	/*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) 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) 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 GetPolicyTypeDataUsingGETOK

type GetPolicyTypeDataUsingGETOK struct {
	Payload *models.PageOfDataElement
}

GetPolicyTypeDataUsingGETOK handles this case with default header values.

OK

func NewGetPolicyTypeDataUsingGETOK

func NewGetPolicyTypeDataUsingGETOK() *GetPolicyTypeDataUsingGETOK

NewGetPolicyTypeDataUsingGETOK creates a GetPolicyTypeDataUsingGETOK with default headers values

func (*GetPolicyTypeDataUsingGETOK) Error

func (*GetPolicyTypeDataUsingGETOK) GetPayload

type GetPolicyTypeDataUsingGETParams

type GetPolicyTypeDataUsingGETParams 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
	/*DataPath
	  Data path

	*/
	DataPath string
	/*ID
	  Policy type ID

	*/
	ID string
	/*ProjectID
	  Optional projectId to further contextualize returned data elements

	*/
	ProjectID *string
	/*Search
	  Search param for data elements

	*/
	Search *string

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

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

func NewGetPolicyTypeDataUsingGETParams

func NewGetPolicyTypeDataUsingGETParams() *GetPolicyTypeDataUsingGETParams

NewGetPolicyTypeDataUsingGETParams creates a new GetPolicyTypeDataUsingGETParams object with the default values initialized.

func NewGetPolicyTypeDataUsingGETParamsWithContext

func NewGetPolicyTypeDataUsingGETParamsWithContext(ctx context.Context) *GetPolicyTypeDataUsingGETParams

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

func NewGetPolicyTypeDataUsingGETParamsWithHTTPClient

func NewGetPolicyTypeDataUsingGETParamsWithHTTPClient(client *http.Client) *GetPolicyTypeDataUsingGETParams

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

func NewGetPolicyTypeDataUsingGETParamsWithTimeout

func NewGetPolicyTypeDataUsingGETParamsWithTimeout(timeout time.Duration) *GetPolicyTypeDataUsingGETParams

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

func (*GetPolicyTypeDataUsingGETParams) SetContext

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

SetContext adds the context to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) SetDataPath

func (o *GetPolicyTypeDataUsingGETParams) SetDataPath(dataPath string)

SetDataPath adds the dataPath to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) SetID

SetID adds the id to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) SetProjectID

func (o *GetPolicyTypeDataUsingGETParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) SetSearch

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

SetSearch adds the search to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) WithContext

WithContext adds the context to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) WithDataPath

WithDataPath adds the dataPath to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) WithDollarTop

WithDollarTop adds the dollarTop to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) WithID

WithID adds the id to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) WithProjectID

WithProjectID adds the projectID to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) WithSearch

WithSearch adds the search to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get policy type data using get params

func (*GetPolicyTypeDataUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPolicyTypeDataUsingGETReader

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

GetPolicyTypeDataUsingGETReader is a Reader for the GetPolicyTypeDataUsingGET structure.

func (*GetPolicyTypeDataUsingGETReader) ReadResponse

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