Documentation ¶
Index ¶
- type Client
- func (a *Client) GetPolicyTypeByIDUsingGET2(params *GetPolicyTypeByIDUsingGET2Params, opts ...ClientOption) (*GetPolicyTypeByIDUsingGET2OK, error)
- func (a *Client) GetPolicyTypeScopeSchemaUsingGET2(params *GetPolicyTypeScopeSchemaUsingGET2Params, opts ...ClientOption) (*GetPolicyTypeScopeSchemaUsingGET2OK, error)
- func (a *Client) GetTypesUsingGET5(params *GetTypesUsingGET5Params, opts ...ClientOption) (*GetTypesUsingGET5OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetPolicyTypeByIDUsingGET2OK
- type GetPolicyTypeByIDUsingGET2Params
- func NewGetPolicyTypeByIDUsingGET2Params() *GetPolicyTypeByIDUsingGET2Params
- func NewGetPolicyTypeByIDUsingGET2ParamsWithContext(ctx context.Context) *GetPolicyTypeByIDUsingGET2Params
- func NewGetPolicyTypeByIDUsingGET2ParamsWithHTTPClient(client *http.Client) *GetPolicyTypeByIDUsingGET2Params
- func NewGetPolicyTypeByIDUsingGET2ParamsWithTimeout(timeout time.Duration) *GetPolicyTypeByIDUsingGET2Params
- func (o *GetPolicyTypeByIDUsingGET2Params) SetAPIVersion(aPIVersion *string)
- func (o *GetPolicyTypeByIDUsingGET2Params) SetContext(ctx context.Context)
- func (o *GetPolicyTypeByIDUsingGET2Params) SetDefaults()
- func (o *GetPolicyTypeByIDUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *GetPolicyTypeByIDUsingGET2Params) SetID(id string)
- func (o *GetPolicyTypeByIDUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *GetPolicyTypeByIDUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetPolicyTypeByIDUsingGET2Params
- func (o *GetPolicyTypeByIDUsingGET2Params) WithContext(ctx context.Context) *GetPolicyTypeByIDUsingGET2Params
- func (o *GetPolicyTypeByIDUsingGET2Params) WithDefaults() *GetPolicyTypeByIDUsingGET2Params
- func (o *GetPolicyTypeByIDUsingGET2Params) WithHTTPClient(client *http.Client) *GetPolicyTypeByIDUsingGET2Params
- func (o *GetPolicyTypeByIDUsingGET2Params) WithID(id string) *GetPolicyTypeByIDUsingGET2Params
- func (o *GetPolicyTypeByIDUsingGET2Params) WithTimeout(timeout time.Duration) *GetPolicyTypeByIDUsingGET2Params
- func (o *GetPolicyTypeByIDUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyTypeByIDUsingGET2Reader
- type GetPolicyTypeScopeSchemaUsingGET2OK
- type GetPolicyTypeScopeSchemaUsingGET2Params
- func NewGetPolicyTypeScopeSchemaUsingGET2Params() *GetPolicyTypeScopeSchemaUsingGET2Params
- func NewGetPolicyTypeScopeSchemaUsingGET2ParamsWithContext(ctx context.Context) *GetPolicyTypeScopeSchemaUsingGET2Params
- func NewGetPolicyTypeScopeSchemaUsingGET2ParamsWithHTTPClient(client *http.Client) *GetPolicyTypeScopeSchemaUsingGET2Params
- func NewGetPolicyTypeScopeSchemaUsingGET2ParamsWithTimeout(timeout time.Duration) *GetPolicyTypeScopeSchemaUsingGET2Params
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) SetAPIVersion(aPIVersion *string)
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) SetContext(ctx context.Context)
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) SetDefaults()
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) SetID(id string)
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetPolicyTypeScopeSchemaUsingGET2Params
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WithContext(ctx context.Context) *GetPolicyTypeScopeSchemaUsingGET2Params
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WithDefaults() *GetPolicyTypeScopeSchemaUsingGET2Params
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WithHTTPClient(client *http.Client) *GetPolicyTypeScopeSchemaUsingGET2Params
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WithID(id string) *GetPolicyTypeScopeSchemaUsingGET2Params
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WithTimeout(timeout time.Duration) *GetPolicyTypeScopeSchemaUsingGET2Params
- func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyTypeScopeSchemaUsingGET2Reader
- type GetTypesUsingGET5OK
- type GetTypesUsingGET5Params
- func NewGetTypesUsingGET5Params() *GetTypesUsingGET5Params
- func NewGetTypesUsingGET5ParamsWithContext(ctx context.Context) *GetTypesUsingGET5Params
- func NewGetTypesUsingGET5ParamsWithHTTPClient(client *http.Client) *GetTypesUsingGET5Params
- func NewGetTypesUsingGET5ParamsWithTimeout(timeout time.Duration) *GetTypesUsingGET5Params
- func (o *GetTypesUsingGET5Params) SetAPIVersion(aPIVersion *string)
- func (o *GetTypesUsingGET5Params) SetContext(ctx context.Context)
- func (o *GetTypesUsingGET5Params) SetDefaults()
- func (o *GetTypesUsingGET5Params) SetDollarOrderby(dollarOrderby []string)
- func (o *GetTypesUsingGET5Params) SetDollarSkip(dollarSkip *int32)
- func (o *GetTypesUsingGET5Params) SetDollarTop(dollarTop *int32)
- func (o *GetTypesUsingGET5Params) SetExpandSchema(expandSchema *bool)
- func (o *GetTypesUsingGET5Params) SetHTTPClient(client *http.Client)
- func (o *GetTypesUsingGET5Params) SetTimeout(timeout time.Duration)
- func (o *GetTypesUsingGET5Params) WithAPIVersion(aPIVersion *string) *GetTypesUsingGET5Params
- func (o *GetTypesUsingGET5Params) WithContext(ctx context.Context) *GetTypesUsingGET5Params
- func (o *GetTypesUsingGET5Params) WithDefaults() *GetTypesUsingGET5Params
- func (o *GetTypesUsingGET5Params) WithDollarOrderby(dollarOrderby []string) *GetTypesUsingGET5Params
- func (o *GetTypesUsingGET5Params) WithDollarSkip(dollarSkip *int32) *GetTypesUsingGET5Params
- func (o *GetTypesUsingGET5Params) WithDollarTop(dollarTop *int32) *GetTypesUsingGET5Params
- func (o *GetTypesUsingGET5Params) WithExpandSchema(expandSchema *bool) *GetTypesUsingGET5Params
- func (o *GetTypesUsingGET5Params) WithHTTPClient(client *http.Client) *GetTypesUsingGET5Params
- func (o *GetTypesUsingGET5Params) WithTimeout(timeout time.Duration) *GetTypesUsingGET5Params
- func (o *GetTypesUsingGET5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTypesUsingGET5Reader
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 (*Client) GetPolicyTypeByIDUsingGET2 ¶ added in v0.4.0
func (a *Client) GetPolicyTypeByIDUsingGET2(params *GetPolicyTypeByIDUsingGET2Params, opts ...ClientOption) (*GetPolicyTypeByIDUsingGET2OK, error)
GetPolicyTypeByIDUsingGET2 returns the policy type with the specified ID
Find a specific policy type based on the input policy type id.
func (*Client) GetPolicyTypeScopeSchemaUsingGET2 ¶ added in v0.4.0
func (a *Client) GetPolicyTypeScopeSchemaUsingGET2(params *GetPolicyTypeScopeSchemaUsingGET2Params, opts ...ClientOption) (*GetPolicyTypeScopeSchemaUsingGET2OK, error)
GetPolicyTypeScopeSchemaUsingGET2 returns the policy scope schema for the type with the specified ID
Return the policy scope schema for the given policy type.
func (*Client) GetTypesUsingGET5 ¶ added in v0.4.0
func (a *Client) GetTypesUsingGET5(params *GetTypesUsingGET5Params, opts ...ClientOption) (*GetTypesUsingGET5OK, error)
GetTypesUsingGET5 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 ClientOption ¶ added in v0.2.20
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.2.18
type ClientService interface { GetPolicyTypeByIDUsingGET2(params *GetPolicyTypeByIDUsingGET2Params, opts ...ClientOption) (*GetPolicyTypeByIDUsingGET2OK, error) GetPolicyTypeScopeSchemaUsingGET2(params *GetPolicyTypeScopeSchemaUsingGET2Params, opts ...ClientOption) (*GetPolicyTypeScopeSchemaUsingGET2OK, error) GetTypesUsingGET5(params *GetTypesUsingGET5Params, opts ...ClientOption) (*GetTypesUsingGET5OK, 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 policy types API client.
type GetPolicyTypeByIDUsingGET2OK ¶ added in v0.4.0
type GetPolicyTypeByIDUsingGET2OK struct {
Payload *models.PolicyType
}
GetPolicyTypeByIDUsingGET2OK describes a response with status code 200, with default header values.
OK
func NewGetPolicyTypeByIDUsingGET2OK ¶ added in v0.4.0
func NewGetPolicyTypeByIDUsingGET2OK() *GetPolicyTypeByIDUsingGET2OK
NewGetPolicyTypeByIDUsingGET2OK creates a GetPolicyTypeByIDUsingGET2OK with default headers values
func (*GetPolicyTypeByIDUsingGET2OK) Error ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2OK) Error() string
func (*GetPolicyTypeByIDUsingGET2OK) GetPayload ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2OK) GetPayload() *models.PolicyType
type GetPolicyTypeByIDUsingGET2Params ¶ added in v0.4.0
type GetPolicyTypeByIDUsingGET2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ID. Policy type ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPolicyTypeByIDUsingGET2Params contains all the parameters to send to the API endpoint
for the get policy type by Id using g e t 2 operation. Typically these are written to a http.Request.
func NewGetPolicyTypeByIDUsingGET2Params ¶ added in v0.4.0
func NewGetPolicyTypeByIDUsingGET2Params() *GetPolicyTypeByIDUsingGET2Params
NewGetPolicyTypeByIDUsingGET2Params creates a new GetPolicyTypeByIDUsingGET2Params 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 NewGetPolicyTypeByIDUsingGET2ParamsWithContext ¶ added in v0.4.0
func NewGetPolicyTypeByIDUsingGET2ParamsWithContext(ctx context.Context) *GetPolicyTypeByIDUsingGET2Params
NewGetPolicyTypeByIDUsingGET2ParamsWithContext creates a new GetPolicyTypeByIDUsingGET2Params object with the ability to set a context for a request.
func NewGetPolicyTypeByIDUsingGET2ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetPolicyTypeByIDUsingGET2ParamsWithHTTPClient(client *http.Client) *GetPolicyTypeByIDUsingGET2Params
NewGetPolicyTypeByIDUsingGET2ParamsWithHTTPClient creates a new GetPolicyTypeByIDUsingGET2Params object with the ability to set a custom HTTPClient for a request.
func NewGetPolicyTypeByIDUsingGET2ParamsWithTimeout ¶ added in v0.4.0
func NewGetPolicyTypeByIDUsingGET2ParamsWithTimeout(timeout time.Duration) *GetPolicyTypeByIDUsingGET2Params
NewGetPolicyTypeByIDUsingGET2ParamsWithTimeout creates a new GetPolicyTypeByIDUsingGET2Params object with the ability to set a timeout on a request.
func (*GetPolicyTypeByIDUsingGET2Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get policy type by Id using g e t 2 params
func (*GetPolicyTypeByIDUsingGET2Params) SetContext ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) SetContext(ctx context.Context)
SetContext adds the context to the get policy type by Id using g e t 2 params
func (*GetPolicyTypeByIDUsingGET2Params) SetDefaults ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) SetDefaults()
SetDefaults hydrates default values in the get policy type by Id using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetPolicyTypeByIDUsingGET2Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get policy type by Id using g e t 2 params
func (*GetPolicyTypeByIDUsingGET2Params) SetID ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) SetID(id string)
SetID adds the id to the get policy type by Id using g e t 2 params
func (*GetPolicyTypeByIDUsingGET2Params) SetTimeout ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get policy type by Id using g e t 2 params
func (*GetPolicyTypeByIDUsingGET2Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetPolicyTypeByIDUsingGET2Params
WithAPIVersion adds the aPIVersion to the get policy type by Id using g e t 2 params
func (*GetPolicyTypeByIDUsingGET2Params) WithContext ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) WithContext(ctx context.Context) *GetPolicyTypeByIDUsingGET2Params
WithContext adds the context to the get policy type by Id using g e t 2 params
func (*GetPolicyTypeByIDUsingGET2Params) WithDefaults ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) WithDefaults() *GetPolicyTypeByIDUsingGET2Params
WithDefaults hydrates default values in the get policy type by Id using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetPolicyTypeByIDUsingGET2Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) WithHTTPClient(client *http.Client) *GetPolicyTypeByIDUsingGET2Params
WithHTTPClient adds the HTTPClient to the get policy type by Id using g e t 2 params
func (*GetPolicyTypeByIDUsingGET2Params) WithID ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) WithID(id string) *GetPolicyTypeByIDUsingGET2Params
WithID adds the id to the get policy type by Id using g e t 2 params
func (*GetPolicyTypeByIDUsingGET2Params) WithTimeout ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) WithTimeout(timeout time.Duration) *GetPolicyTypeByIDUsingGET2Params
WithTimeout adds the timeout to the get policy type by Id using g e t 2 params
func (*GetPolicyTypeByIDUsingGET2Params) WriteToRequest ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPolicyTypeByIDUsingGET2Reader ¶ added in v0.4.0
type GetPolicyTypeByIDUsingGET2Reader struct {
// contains filtered or unexported fields
}
GetPolicyTypeByIDUsingGET2Reader is a Reader for the GetPolicyTypeByIDUsingGET2 structure.
func (*GetPolicyTypeByIDUsingGET2Reader) ReadResponse ¶ added in v0.4.0
func (o *GetPolicyTypeByIDUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPolicyTypeScopeSchemaUsingGET2OK ¶ added in v0.4.0
type GetPolicyTypeScopeSchemaUsingGET2OK struct {
Payload interface{}
}
GetPolicyTypeScopeSchemaUsingGET2OK describes a response with status code 200, with default header values.
OK
func NewGetPolicyTypeScopeSchemaUsingGET2OK ¶ added in v0.4.0
func NewGetPolicyTypeScopeSchemaUsingGET2OK() *GetPolicyTypeScopeSchemaUsingGET2OK
NewGetPolicyTypeScopeSchemaUsingGET2OK creates a GetPolicyTypeScopeSchemaUsingGET2OK with default headers values
func (*GetPolicyTypeScopeSchemaUsingGET2OK) Error ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2OK) Error() string
func (*GetPolicyTypeScopeSchemaUsingGET2OK) GetPayload ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2OK) GetPayload() interface{}
type GetPolicyTypeScopeSchemaUsingGET2Params ¶ added in v0.4.0
type GetPolicyTypeScopeSchemaUsingGET2Params struct { /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ID. Policy type ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPolicyTypeScopeSchemaUsingGET2Params contains all the parameters to send to the API endpoint
for the get policy type scope schema using g e t 2 operation. Typically these are written to a http.Request.
func NewGetPolicyTypeScopeSchemaUsingGET2Params ¶ added in v0.4.0
func NewGetPolicyTypeScopeSchemaUsingGET2Params() *GetPolicyTypeScopeSchemaUsingGET2Params
NewGetPolicyTypeScopeSchemaUsingGET2Params creates a new GetPolicyTypeScopeSchemaUsingGET2Params 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 NewGetPolicyTypeScopeSchemaUsingGET2ParamsWithContext ¶ added in v0.4.0
func NewGetPolicyTypeScopeSchemaUsingGET2ParamsWithContext(ctx context.Context) *GetPolicyTypeScopeSchemaUsingGET2Params
NewGetPolicyTypeScopeSchemaUsingGET2ParamsWithContext creates a new GetPolicyTypeScopeSchemaUsingGET2Params object with the ability to set a context for a request.
func NewGetPolicyTypeScopeSchemaUsingGET2ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetPolicyTypeScopeSchemaUsingGET2ParamsWithHTTPClient(client *http.Client) *GetPolicyTypeScopeSchemaUsingGET2Params
NewGetPolicyTypeScopeSchemaUsingGET2ParamsWithHTTPClient creates a new GetPolicyTypeScopeSchemaUsingGET2Params object with the ability to set a custom HTTPClient for a request.
func NewGetPolicyTypeScopeSchemaUsingGET2ParamsWithTimeout ¶ added in v0.4.0
func NewGetPolicyTypeScopeSchemaUsingGET2ParamsWithTimeout(timeout time.Duration) *GetPolicyTypeScopeSchemaUsingGET2Params
NewGetPolicyTypeScopeSchemaUsingGET2ParamsWithTimeout creates a new GetPolicyTypeScopeSchemaUsingGET2Params object with the ability to set a timeout on a request.
func (*GetPolicyTypeScopeSchemaUsingGET2Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get policy type scope schema using g e t 2 params
func (*GetPolicyTypeScopeSchemaUsingGET2Params) SetContext ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) SetContext(ctx context.Context)
SetContext adds the context to the get policy type scope schema using g e t 2 params
func (*GetPolicyTypeScopeSchemaUsingGET2Params) SetDefaults ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) SetDefaults()
SetDefaults hydrates default values in the get policy type scope schema using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetPolicyTypeScopeSchemaUsingGET2Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get policy type scope schema using g e t 2 params
func (*GetPolicyTypeScopeSchemaUsingGET2Params) SetID ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) SetID(id string)
SetID adds the id to the get policy type scope schema using g e t 2 params
func (*GetPolicyTypeScopeSchemaUsingGET2Params) SetTimeout ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get policy type scope schema using g e t 2 params
func (*GetPolicyTypeScopeSchemaUsingGET2Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetPolicyTypeScopeSchemaUsingGET2Params
WithAPIVersion adds the aPIVersion to the get policy type scope schema using g e t 2 params
func (*GetPolicyTypeScopeSchemaUsingGET2Params) WithContext ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WithContext(ctx context.Context) *GetPolicyTypeScopeSchemaUsingGET2Params
WithContext adds the context to the get policy type scope schema using g e t 2 params
func (*GetPolicyTypeScopeSchemaUsingGET2Params) WithDefaults ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WithDefaults() *GetPolicyTypeScopeSchemaUsingGET2Params
WithDefaults hydrates default values in the get policy type scope schema using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetPolicyTypeScopeSchemaUsingGET2Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WithHTTPClient(client *http.Client) *GetPolicyTypeScopeSchemaUsingGET2Params
WithHTTPClient adds the HTTPClient to the get policy type scope schema using g e t 2 params
func (*GetPolicyTypeScopeSchemaUsingGET2Params) WithID ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WithID(id string) *GetPolicyTypeScopeSchemaUsingGET2Params
WithID adds the id to the get policy type scope schema using g e t 2 params
func (*GetPolicyTypeScopeSchemaUsingGET2Params) WithTimeout ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WithTimeout(timeout time.Duration) *GetPolicyTypeScopeSchemaUsingGET2Params
WithTimeout adds the timeout to the get policy type scope schema using g e t 2 params
func (*GetPolicyTypeScopeSchemaUsingGET2Params) WriteToRequest ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPolicyTypeScopeSchemaUsingGET2Reader ¶ added in v0.4.0
type GetPolicyTypeScopeSchemaUsingGET2Reader struct {
// contains filtered or unexported fields
}
GetPolicyTypeScopeSchemaUsingGET2Reader is a Reader for the GetPolicyTypeScopeSchemaUsingGET2 structure.
func (*GetPolicyTypeScopeSchemaUsingGET2Reader) ReadResponse ¶ added in v0.4.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTypesUsingGET5OK ¶ added in v0.4.0
type GetTypesUsingGET5OK struct {
Payload *models.PageOfPolicyType
}
GetTypesUsingGET5OK describes a response with status code 200, with default header values.
OK
func NewGetTypesUsingGET5OK ¶ added in v0.4.0
func NewGetTypesUsingGET5OK() *GetTypesUsingGET5OK
NewGetTypesUsingGET5OK creates a GetTypesUsingGET5OK with default headers values
func (*GetTypesUsingGET5OK) Error ¶ added in v0.4.0
func (o *GetTypesUsingGET5OK) Error() string
func (*GetTypesUsingGET5OK) GetPayload ¶ added in v0.4.0
func (o *GetTypesUsingGET5OK) GetPayload() *models.PageOfPolicyType
type GetTypesUsingGET5Params ¶ added in v0.4.0
type GetTypesUsingGET5Params 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 Format: int32 */ DollarSkip *int32 /* DollarTop. Number of records you want Format: int32 */ DollarTop *int32 /* APIVersion. The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version. */ APIVersion *string /* ExpandSchema. Retrieves the schema for this policy type */ ExpandSchema *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTypesUsingGET5Params contains all the parameters to send to the API endpoint
for the get types using g e t 5 operation. Typically these are written to a http.Request.
func NewGetTypesUsingGET5Params ¶ added in v0.4.0
func NewGetTypesUsingGET5Params() *GetTypesUsingGET5Params
NewGetTypesUsingGET5Params creates a new GetTypesUsingGET5Params 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 NewGetTypesUsingGET5ParamsWithContext ¶ added in v0.4.0
func NewGetTypesUsingGET5ParamsWithContext(ctx context.Context) *GetTypesUsingGET5Params
NewGetTypesUsingGET5ParamsWithContext creates a new GetTypesUsingGET5Params object with the ability to set a context for a request.
func NewGetTypesUsingGET5ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetTypesUsingGET5ParamsWithHTTPClient(client *http.Client) *GetTypesUsingGET5Params
NewGetTypesUsingGET5ParamsWithHTTPClient creates a new GetTypesUsingGET5Params object with the ability to set a custom HTTPClient for a request.
func NewGetTypesUsingGET5ParamsWithTimeout ¶ added in v0.4.0
func NewGetTypesUsingGET5ParamsWithTimeout(timeout time.Duration) *GetTypesUsingGET5Params
NewGetTypesUsingGET5ParamsWithTimeout creates a new GetTypesUsingGET5Params object with the ability to set a timeout on a request.
func (*GetTypesUsingGET5Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) SetContext ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) SetContext(ctx context.Context)
SetContext adds the context to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) SetDefaults ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) SetDefaults()
SetDefaults hydrates default values in the get types using g e t 5 params (not the query body).
All values with no default are reset to their zero value.
func (*GetTypesUsingGET5Params) SetDollarOrderby ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) SetDollarOrderby(dollarOrderby []string)
SetDollarOrderby adds the dollarOrderby to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) SetDollarSkip ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) SetDollarTop ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) SetExpandSchema ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) SetExpandSchema(expandSchema *bool)
SetExpandSchema adds the expandSchema to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) SetTimeout ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) WithAPIVersion(aPIVersion *string) *GetTypesUsingGET5Params
WithAPIVersion adds the aPIVersion to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) WithContext ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) WithContext(ctx context.Context) *GetTypesUsingGET5Params
WithContext adds the context to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) WithDefaults ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) WithDefaults() *GetTypesUsingGET5Params
WithDefaults hydrates default values in the get types using g e t 5 params (not the query body).
All values with no default are reset to their zero value.
func (*GetTypesUsingGET5Params) WithDollarOrderby ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) WithDollarOrderby(dollarOrderby []string) *GetTypesUsingGET5Params
WithDollarOrderby adds the dollarOrderby to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) WithDollarSkip ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) WithDollarSkip(dollarSkip *int32) *GetTypesUsingGET5Params
WithDollarSkip adds the dollarSkip to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) WithDollarTop ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) WithDollarTop(dollarTop *int32) *GetTypesUsingGET5Params
WithDollarTop adds the dollarTop to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) WithExpandSchema ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) WithExpandSchema(expandSchema *bool) *GetTypesUsingGET5Params
WithExpandSchema adds the expandSchema to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) WithHTTPClient(client *http.Client) *GetTypesUsingGET5Params
WithHTTPClient adds the HTTPClient to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) WithTimeout ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) WithTimeout(timeout time.Duration) *GetTypesUsingGET5Params
WithTimeout adds the timeout to the get types using g e t 5 params
func (*GetTypesUsingGET5Params) WriteToRequest ¶ added in v0.4.0
func (o *GetTypesUsingGET5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTypesUsingGET5Reader ¶ added in v0.4.0
type GetTypesUsingGET5Reader struct {
// contains filtered or unexported fields
}
GetTypesUsingGET5Reader is a Reader for the GetTypesUsingGET5 structure.
func (*GetTypesUsingGET5Reader) ReadResponse ¶ added in v0.4.0
func (o *GetTypesUsingGET5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.