Documentation ¶
Index ¶
- type Client
- type GetPolicyTypeByIDUsingGETOK
- type GetPolicyTypeByIDUsingGETParams
- func NewGetPolicyTypeByIDUsingGETParams() *GetPolicyTypeByIDUsingGETParams
- func NewGetPolicyTypeByIDUsingGETParamsWithContext(ctx context.Context) *GetPolicyTypeByIDUsingGETParams
- func NewGetPolicyTypeByIDUsingGETParamsWithHTTPClient(client *http.Client) *GetPolicyTypeByIDUsingGETParams
- func NewGetPolicyTypeByIDUsingGETParamsWithTimeout(timeout time.Duration) *GetPolicyTypeByIDUsingGETParams
- func (o *GetPolicyTypeByIDUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *GetPolicyTypeByIDUsingGETParams) SetContext(ctx context.Context)
- func (o *GetPolicyTypeByIDUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicyTypeByIDUsingGETParams) SetID(id string)
- func (o *GetPolicyTypeByIDUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicyTypeByIDUsingGETParams) WithAPIVersion(aPIVersion *string) *GetPolicyTypeByIDUsingGETParams
- func (o *GetPolicyTypeByIDUsingGETParams) WithContext(ctx context.Context) *GetPolicyTypeByIDUsingGETParams
- func (o *GetPolicyTypeByIDUsingGETParams) WithHTTPClient(client *http.Client) *GetPolicyTypeByIDUsingGETParams
- func (o *GetPolicyTypeByIDUsingGETParams) WithID(id string) *GetPolicyTypeByIDUsingGETParams
- func (o *GetPolicyTypeByIDUsingGETParams) WithTimeout(timeout time.Duration) *GetPolicyTypeByIDUsingGETParams
- func (o *GetPolicyTypeByIDUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyTypeByIDUsingGETReader
- type GetTypesUsingGET1OK
- type GetTypesUsingGET1Params
- func NewGetTypesUsingGET1Params() *GetTypesUsingGET1Params
- func NewGetTypesUsingGET1ParamsWithContext(ctx context.Context) *GetTypesUsingGET1Params
- func NewGetTypesUsingGET1ParamsWithHTTPClient(client *http.Client) *GetTypesUsingGET1Params
- func NewGetTypesUsingGET1ParamsWithTimeout(timeout time.Duration) *GetTypesUsingGET1Params
- func (o *GetTypesUsingGET1Params) SetAPIVersion(aPIVersion *string)
- func (o *GetTypesUsingGET1Params) SetContext(ctx context.Context)
- func (o *GetTypesUsingGET1Params) SetDollarOrderby(dollarOrderby []string)
- func (o *GetTypesUsingGET1Params) SetDollarSkip(dollarSkip *int32)
- func (o *GetTypesUsingGET1Params) SetDollarTop(dollarTop *int32)
- func (o *GetTypesUsingGET1Params) SetExpandSchema(expandSchema *bool)
- func (o *GetTypesUsingGET1Params) SetHTTPClient(client *http.Client)
- func (o *GetTypesUsingGET1Params) SetTimeout(timeout time.Duration)
- func (o *GetTypesUsingGET1Params) WithAPIVersion(aPIVersion *string) *GetTypesUsingGET1Params
- func (o *GetTypesUsingGET1Params) WithContext(ctx context.Context) *GetTypesUsingGET1Params
- func (o *GetTypesUsingGET1Params) WithDollarOrderby(dollarOrderby []string) *GetTypesUsingGET1Params
- func (o *GetTypesUsingGET1Params) WithDollarSkip(dollarSkip *int32) *GetTypesUsingGET1Params
- func (o *GetTypesUsingGET1Params) WithDollarTop(dollarTop *int32) *GetTypesUsingGET1Params
- func (o *GetTypesUsingGET1Params) WithExpandSchema(expandSchema *bool) *GetTypesUsingGET1Params
- func (o *GetTypesUsingGET1Params) WithHTTPClient(client *http.Client) *GetTypesUsingGET1Params
- func (o *GetTypesUsingGET1Params) WithTimeout(timeout time.Duration) *GetTypesUsingGET1Params
- func (o *GetTypesUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTypesUsingGET1Reader
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 (o *GetPolicyTypeByIDUsingGETOK) Error() string
func (*GetPolicyTypeByIDUsingGETOK) GetPayload ¶
func (o *GetPolicyTypeByIDUsingGETOK) GetPayload() *models.PolicyType
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 ¶
func (o *GetPolicyTypeByIDUsingGETParams) SetID(id string)
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
func (o *GetPolicyTypeByIDUsingGETParams) WithAPIVersion(aPIVersion *string) *GetPolicyTypeByIDUsingGETParams
WithAPIVersion adds the aPIVersion to the get policy type by Id using get params
func (*GetPolicyTypeByIDUsingGETParams) WithContext ¶
func (o *GetPolicyTypeByIDUsingGETParams) WithContext(ctx context.Context) *GetPolicyTypeByIDUsingGETParams
WithContext adds the context to the get policy type by Id using get params
func (*GetPolicyTypeByIDUsingGETParams) WithHTTPClient ¶
func (o *GetPolicyTypeByIDUsingGETParams) WithHTTPClient(client *http.Client) *GetPolicyTypeByIDUsingGETParams
WithHTTPClient adds the HTTPClient to the get policy type by Id using get params
func (*GetPolicyTypeByIDUsingGETParams) WithID ¶
func (o *GetPolicyTypeByIDUsingGETParams) WithID(id string) *GetPolicyTypeByIDUsingGETParams
WithID adds the id to the get policy type by Id using get params
func (*GetPolicyTypeByIDUsingGETParams) WithTimeout ¶
func (o *GetPolicyTypeByIDUsingGETParams) WithTimeout(timeout time.Duration) *GetPolicyTypeByIDUsingGETParams
WithTimeout adds the timeout to the get policy type by Id using get params
func (*GetPolicyTypeByIDUsingGETParams) WriteToRequest ¶
func (o *GetPolicyTypeByIDUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetTypesUsingGET1Params) WithContext(ctx context.Context) *GetTypesUsingGET1Params
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 ¶
func (o *GetTypesUsingGET1Params) WithTimeout(timeout time.Duration) *GetTypesUsingGET1Params
WithTimeout adds the timeout to the get types using get1 params
func (*GetTypesUsingGET1Params) WriteToRequest ¶
func (o *GetTypesUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.