Documentation
¶
Index ¶
- type Client
- func (a *Client) GetPolicyTypeByIDUsingGET(params *GetPolicyTypeByIDUsingGETParams, opts ...ClientOption) (*GetPolicyTypeByIDUsingGETOK, error)
- func (a *Client) GetPolicyTypeScopeSchemaUsingGET(params *GetPolicyTypeScopeSchemaUsingGETParams, opts ...ClientOption) (*GetPolicyTypeScopeSchemaUsingGETOK, error)
- func (a *Client) GetTypesUsingGET1(params *GetTypesUsingGET1Params, opts ...ClientOption) (*GetTypesUsingGET1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- 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) SetDefaults()
- 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) WithDefaults() *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 GetPolicyTypeScopeSchemaUsingGETOK
- type GetPolicyTypeScopeSchemaUsingGETParams
- func NewGetPolicyTypeScopeSchemaUsingGETParams() *GetPolicyTypeScopeSchemaUsingGETParams
- func NewGetPolicyTypeScopeSchemaUsingGETParamsWithContext(ctx context.Context) *GetPolicyTypeScopeSchemaUsingGETParams
- func NewGetPolicyTypeScopeSchemaUsingGETParamsWithHTTPClient(client *http.Client) *GetPolicyTypeScopeSchemaUsingGETParams
- func NewGetPolicyTypeScopeSchemaUsingGETParamsWithTimeout(timeout time.Duration) *GetPolicyTypeScopeSchemaUsingGETParams
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) SetContext(ctx context.Context)
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) SetDefaults()
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) SetID(id string)
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) WithAPIVersion(aPIVersion *string) *GetPolicyTypeScopeSchemaUsingGETParams
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) WithContext(ctx context.Context) *GetPolicyTypeScopeSchemaUsingGETParams
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) WithDefaults() *GetPolicyTypeScopeSchemaUsingGETParams
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) WithHTTPClient(client *http.Client) *GetPolicyTypeScopeSchemaUsingGETParams
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) WithID(id string) *GetPolicyTypeScopeSchemaUsingGETParams
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) WithTimeout(timeout time.Duration) *GetPolicyTypeScopeSchemaUsingGETParams
- func (o *GetPolicyTypeScopeSchemaUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyTypeScopeSchemaUsingGETReader
- 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) SetDefaults()
- 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) WithDefaults() *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 (*Client) GetPolicyTypeByIDUsingGET ¶
func (a *Client) GetPolicyTypeByIDUsingGET(params *GetPolicyTypeByIDUsingGETParams, opts ...ClientOption) (*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) GetPolicyTypeScopeSchemaUsingGET ¶ added in v0.2.21
func (a *Client) GetPolicyTypeScopeSchemaUsingGET(params *GetPolicyTypeScopeSchemaUsingGETParams, opts ...ClientOption) (*GetPolicyTypeScopeSchemaUsingGETOK, error)
GetPolicyTypeScopeSchemaUsingGET returns the policy scope schema for the type with the specified ID
Return the policy scope schema for the given policy type.
func (*Client) GetTypesUsingGET1 ¶
func (a *Client) GetTypesUsingGET1(params *GetTypesUsingGET1Params, opts ...ClientOption) (*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 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 { GetPolicyTypeByIDUsingGET(params *GetPolicyTypeByIDUsingGETParams, opts ...ClientOption) (*GetPolicyTypeByIDUsingGETOK, error) GetPolicyTypeScopeSchemaUsingGET(params *GetPolicyTypeScopeSchemaUsingGETParams, opts ...ClientOption) (*GetPolicyTypeScopeSchemaUsingGETOK, error) GetTypesUsingGET1(params *GetTypesUsingGET1Params, opts ...ClientOption) (*GetTypesUsingGET1OK, 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 GetPolicyTypeByIDUsingGETOK ¶
type GetPolicyTypeByIDUsingGETOK struct {
Payload *models.PolicyType
}
GetPolicyTypeByIDUsingGETOK describes a response with status code 200, 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). 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 }
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 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 NewGetPolicyTypeByIDUsingGETParamsWithContext ¶
func NewGetPolicyTypeByIDUsingGETParamsWithContext(ctx context.Context) *GetPolicyTypeByIDUsingGETParams
NewGetPolicyTypeByIDUsingGETParamsWithContext creates a new GetPolicyTypeByIDUsingGETParams object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *GetPolicyTypeByIDUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get policy type by Id using get params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *GetPolicyTypeByIDUsingGETParams) WithDefaults() *GetPolicyTypeByIDUsingGETParams
WithDefaults hydrates default values in the get policy type by Id using get params (not the query body).
All values with no default are reset to their zero value.
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 GetPolicyTypeScopeSchemaUsingGETOK ¶ added in v0.2.21
type GetPolicyTypeScopeSchemaUsingGETOK struct {
Payload interface{}
}
GetPolicyTypeScopeSchemaUsingGETOK describes a response with status code 200, with default header values.
OK
func NewGetPolicyTypeScopeSchemaUsingGETOK ¶ added in v0.2.21
func NewGetPolicyTypeScopeSchemaUsingGETOK() *GetPolicyTypeScopeSchemaUsingGETOK
NewGetPolicyTypeScopeSchemaUsingGETOK creates a GetPolicyTypeScopeSchemaUsingGETOK with default headers values
func (*GetPolicyTypeScopeSchemaUsingGETOK) Error ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETOK) Error() string
func (*GetPolicyTypeScopeSchemaUsingGETOK) GetPayload ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETOK) GetPayload() interface{}
type GetPolicyTypeScopeSchemaUsingGETParams ¶ added in v0.2.21
type GetPolicyTypeScopeSchemaUsingGETParams 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 }
GetPolicyTypeScopeSchemaUsingGETParams contains all the parameters to send to the API endpoint
for the get policy type scope schema using g e t operation. Typically these are written to a http.Request.
func NewGetPolicyTypeScopeSchemaUsingGETParams ¶ added in v0.2.21
func NewGetPolicyTypeScopeSchemaUsingGETParams() *GetPolicyTypeScopeSchemaUsingGETParams
NewGetPolicyTypeScopeSchemaUsingGETParams creates a new GetPolicyTypeScopeSchemaUsingGETParams 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 NewGetPolicyTypeScopeSchemaUsingGETParamsWithContext ¶ added in v0.2.21
func NewGetPolicyTypeScopeSchemaUsingGETParamsWithContext(ctx context.Context) *GetPolicyTypeScopeSchemaUsingGETParams
NewGetPolicyTypeScopeSchemaUsingGETParamsWithContext creates a new GetPolicyTypeScopeSchemaUsingGETParams object with the ability to set a context for a request.
func NewGetPolicyTypeScopeSchemaUsingGETParamsWithHTTPClient ¶ added in v0.2.21
func NewGetPolicyTypeScopeSchemaUsingGETParamsWithHTTPClient(client *http.Client) *GetPolicyTypeScopeSchemaUsingGETParams
NewGetPolicyTypeScopeSchemaUsingGETParamsWithHTTPClient creates a new GetPolicyTypeScopeSchemaUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetPolicyTypeScopeSchemaUsingGETParamsWithTimeout ¶ added in v0.2.21
func NewGetPolicyTypeScopeSchemaUsingGETParamsWithTimeout(timeout time.Duration) *GetPolicyTypeScopeSchemaUsingGETParams
NewGetPolicyTypeScopeSchemaUsingGETParamsWithTimeout creates a new GetPolicyTypeScopeSchemaUsingGETParams object with the ability to set a timeout on a request.
func (*GetPolicyTypeScopeSchemaUsingGETParams) SetAPIVersion ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get policy type scope schema using get params
func (*GetPolicyTypeScopeSchemaUsingGETParams) SetContext ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get policy type scope schema using get params
func (*GetPolicyTypeScopeSchemaUsingGETParams) SetDefaults ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get policy type scope schema using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetPolicyTypeScopeSchemaUsingGETParams) SetHTTPClient ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get policy type scope schema using get params
func (*GetPolicyTypeScopeSchemaUsingGETParams) SetID ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) SetID(id string)
SetID adds the id to the get policy type scope schema using get params
func (*GetPolicyTypeScopeSchemaUsingGETParams) SetTimeout ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get policy type scope schema using get params
func (*GetPolicyTypeScopeSchemaUsingGETParams) WithAPIVersion ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) WithAPIVersion(aPIVersion *string) *GetPolicyTypeScopeSchemaUsingGETParams
WithAPIVersion adds the aPIVersion to the get policy type scope schema using get params
func (*GetPolicyTypeScopeSchemaUsingGETParams) WithContext ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) WithContext(ctx context.Context) *GetPolicyTypeScopeSchemaUsingGETParams
WithContext adds the context to the get policy type scope schema using get params
func (*GetPolicyTypeScopeSchemaUsingGETParams) WithDefaults ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) WithDefaults() *GetPolicyTypeScopeSchemaUsingGETParams
WithDefaults hydrates default values in the get policy type scope schema using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetPolicyTypeScopeSchemaUsingGETParams) WithHTTPClient ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) WithHTTPClient(client *http.Client) *GetPolicyTypeScopeSchemaUsingGETParams
WithHTTPClient adds the HTTPClient to the get policy type scope schema using get params
func (*GetPolicyTypeScopeSchemaUsingGETParams) WithID ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) WithID(id string) *GetPolicyTypeScopeSchemaUsingGETParams
WithID adds the id to the get policy type scope schema using get params
func (*GetPolicyTypeScopeSchemaUsingGETParams) WithTimeout ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) WithTimeout(timeout time.Duration) *GetPolicyTypeScopeSchemaUsingGETParams
WithTimeout adds the timeout to the get policy type scope schema using get params
func (*GetPolicyTypeScopeSchemaUsingGETParams) WriteToRequest ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPolicyTypeScopeSchemaUsingGETReader ¶ added in v0.2.21
type GetPolicyTypeScopeSchemaUsingGETReader struct {
// contains filtered or unexported fields
}
GetPolicyTypeScopeSchemaUsingGETReader is a Reader for the GetPolicyTypeScopeSchemaUsingGET structure.
func (*GetPolicyTypeScopeSchemaUsingGETReader) ReadResponse ¶ added in v0.2.21
func (o *GetPolicyTypeScopeSchemaUsingGETReader) 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 describes a response with status code 200, 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 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 }
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 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 NewGetTypesUsingGET1ParamsWithContext ¶
func NewGetTypesUsingGET1ParamsWithContext(ctx context.Context) *GetTypesUsingGET1Params
NewGetTypesUsingGET1ParamsWithContext creates a new GetTypesUsingGET1Params object with 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 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 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) SetDefaults ¶ added in v0.2.20
func (o *GetTypesUsingGET1Params) SetDefaults()
SetDefaults hydrates default values in the get types using get1 params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v0.2.20
func (o *GetTypesUsingGET1Params) WithDefaults() *GetTypesUsingGET1Params
WithDefaults hydrates default values in the get types using get1 params (not the query body).
All values with no default are reset to their zero value.
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.