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 GetPolicyTypeByIDUsingGET2BadRequest
- func (o *GetPolicyTypeByIDUsingGET2BadRequest) Error() string
- func (o *GetPolicyTypeByIDUsingGET2BadRequest) GetPayload() *models.Error
- func (o *GetPolicyTypeByIDUsingGET2BadRequest) IsClientError() bool
- func (o *GetPolicyTypeByIDUsingGET2BadRequest) IsCode(code int) bool
- func (o *GetPolicyTypeByIDUsingGET2BadRequest) IsRedirect() bool
- func (o *GetPolicyTypeByIDUsingGET2BadRequest) IsServerError() bool
- func (o *GetPolicyTypeByIDUsingGET2BadRequest) IsSuccess() bool
- func (o *GetPolicyTypeByIDUsingGET2BadRequest) String() string
- type GetPolicyTypeByIDUsingGET2Forbidden
- func (o *GetPolicyTypeByIDUsingGET2Forbidden) Error() string
- func (o *GetPolicyTypeByIDUsingGET2Forbidden) IsClientError() bool
- func (o *GetPolicyTypeByIDUsingGET2Forbidden) IsCode(code int) bool
- func (o *GetPolicyTypeByIDUsingGET2Forbidden) IsRedirect() bool
- func (o *GetPolicyTypeByIDUsingGET2Forbidden) IsServerError() bool
- func (o *GetPolicyTypeByIDUsingGET2Forbidden) IsSuccess() bool
- func (o *GetPolicyTypeByIDUsingGET2Forbidden) String() string
- type GetPolicyTypeByIDUsingGET2NotFound
- func (o *GetPolicyTypeByIDUsingGET2NotFound) Error() string
- func (o *GetPolicyTypeByIDUsingGET2NotFound) GetPayload() *models.Error
- func (o *GetPolicyTypeByIDUsingGET2NotFound) IsClientError() bool
- func (o *GetPolicyTypeByIDUsingGET2NotFound) IsCode(code int) bool
- func (o *GetPolicyTypeByIDUsingGET2NotFound) IsRedirect() bool
- func (o *GetPolicyTypeByIDUsingGET2NotFound) IsServerError() bool
- func (o *GetPolicyTypeByIDUsingGET2NotFound) IsSuccess() bool
- func (o *GetPolicyTypeByIDUsingGET2NotFound) String() string
- type GetPolicyTypeByIDUsingGET2OK
- func (o *GetPolicyTypeByIDUsingGET2OK) Error() string
- func (o *GetPolicyTypeByIDUsingGET2OK) GetPayload() *models.PolicyType
- func (o *GetPolicyTypeByIDUsingGET2OK) IsClientError() bool
- func (o *GetPolicyTypeByIDUsingGET2OK) IsCode(code int) bool
- func (o *GetPolicyTypeByIDUsingGET2OK) IsRedirect() bool
- func (o *GetPolicyTypeByIDUsingGET2OK) IsServerError() bool
- func (o *GetPolicyTypeByIDUsingGET2OK) IsSuccess() bool
- func (o *GetPolicyTypeByIDUsingGET2OK) String() string
- 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 GetPolicyTypeByIDUsingGET2Unauthorized
- func (o *GetPolicyTypeByIDUsingGET2Unauthorized) Error() string
- func (o *GetPolicyTypeByIDUsingGET2Unauthorized) IsClientError() bool
- func (o *GetPolicyTypeByIDUsingGET2Unauthorized) IsCode(code int) bool
- func (o *GetPolicyTypeByIDUsingGET2Unauthorized) IsRedirect() bool
- func (o *GetPolicyTypeByIDUsingGET2Unauthorized) IsServerError() bool
- func (o *GetPolicyTypeByIDUsingGET2Unauthorized) IsSuccess() bool
- func (o *GetPolicyTypeByIDUsingGET2Unauthorized) String() string
- type GetPolicyTypeScopeSchemaUsingGET2Forbidden
- func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) Error() string
- func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsClientError() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsCode(code int) bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsRedirect() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsServerError() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsSuccess() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) String() string
- type GetPolicyTypeScopeSchemaUsingGET2NotFound
- func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) Error() string
- func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) GetPayload() *models.Error
- func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) IsClientError() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) IsCode(code int) bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) IsRedirect() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) IsServerError() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) IsSuccess() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) String() string
- type GetPolicyTypeScopeSchemaUsingGET2OK
- func (o *GetPolicyTypeScopeSchemaUsingGET2OK) Error() string
- func (o *GetPolicyTypeScopeSchemaUsingGET2OK) GetPayload() interface{}
- func (o *GetPolicyTypeScopeSchemaUsingGET2OK) IsClientError() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2OK) IsCode(code int) bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2OK) IsRedirect() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2OK) IsServerError() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2OK) IsSuccess() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2OK) String() string
- 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 GetPolicyTypeScopeSchemaUsingGET2Unauthorized
- func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) Error() string
- func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsClientError() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsCode(code int) bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsRedirect() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsServerError() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsSuccess() bool
- func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) String() string
- type GetTypesUsingGET5Forbidden
- func (o *GetTypesUsingGET5Forbidden) Error() string
- func (o *GetTypesUsingGET5Forbidden) IsClientError() bool
- func (o *GetTypesUsingGET5Forbidden) IsCode(code int) bool
- func (o *GetTypesUsingGET5Forbidden) IsRedirect() bool
- func (o *GetTypesUsingGET5Forbidden) IsServerError() bool
- func (o *GetTypesUsingGET5Forbidden) IsSuccess() bool
- func (o *GetTypesUsingGET5Forbidden) String() string
- type GetTypesUsingGET5OK
- func (o *GetTypesUsingGET5OK) Error() string
- func (o *GetTypesUsingGET5OK) GetPayload() *models.PageOfPolicyType
- func (o *GetTypesUsingGET5OK) IsClientError() bool
- func (o *GetTypesUsingGET5OK) IsCode(code int) bool
- func (o *GetTypesUsingGET5OK) IsRedirect() bool
- func (o *GetTypesUsingGET5OK) IsServerError() bool
- func (o *GetTypesUsingGET5OK) IsSuccess() bool
- func (o *GetTypesUsingGET5OK) String() string
- 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
- type GetTypesUsingGET5Unauthorized
- func (o *GetTypesUsingGET5Unauthorized) Error() string
- func (o *GetTypesUsingGET5Unauthorized) IsClientError() bool
- func (o *GetTypesUsingGET5Unauthorized) IsCode(code int) bool
- func (o *GetTypesUsingGET5Unauthorized) IsRedirect() bool
- func (o *GetTypesUsingGET5Unauthorized) IsServerError() bool
- func (o *GetTypesUsingGET5Unauthorized) IsSuccess() bool
- func (o *GetTypesUsingGET5Unauthorized) String() string
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 GetPolicyTypeByIDUsingGET2BadRequest ¶ added in v0.5.0
GetPolicyTypeByIDUsingGET2BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetPolicyTypeByIDUsingGET2BadRequest ¶ added in v0.5.0
func NewGetPolicyTypeByIDUsingGET2BadRequest() *GetPolicyTypeByIDUsingGET2BadRequest
NewGetPolicyTypeByIDUsingGET2BadRequest creates a GetPolicyTypeByIDUsingGET2BadRequest with default headers values
func (*GetPolicyTypeByIDUsingGET2BadRequest) Error ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2BadRequest) Error() string
func (*GetPolicyTypeByIDUsingGET2BadRequest) GetPayload ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2BadRequest) GetPayload() *models.Error
func (*GetPolicyTypeByIDUsingGET2BadRequest) IsClientError ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2BadRequest) IsClientError() bool
IsClientError returns true when this get policy type by Id using g e t2 bad request response has a 4xx status code
func (*GetPolicyTypeByIDUsingGET2BadRequest) IsCode ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2BadRequest) IsCode(code int) bool
IsCode returns true when this get policy type by Id using g e t2 bad request response a status code equal to that given
func (*GetPolicyTypeByIDUsingGET2BadRequest) IsRedirect ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2BadRequest) IsRedirect() bool
IsRedirect returns true when this get policy type by Id using g e t2 bad request response has a 3xx status code
func (*GetPolicyTypeByIDUsingGET2BadRequest) IsServerError ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2BadRequest) IsServerError() bool
IsServerError returns true when this get policy type by Id using g e t2 bad request response has a 5xx status code
func (*GetPolicyTypeByIDUsingGET2BadRequest) IsSuccess ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2BadRequest) IsSuccess() bool
IsSuccess returns true when this get policy type by Id using g e t2 bad request response has a 2xx status code
func (*GetPolicyTypeByIDUsingGET2BadRequest) String ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2BadRequest) String() string
type GetPolicyTypeByIDUsingGET2Forbidden ¶ added in v0.5.0
type GetPolicyTypeByIDUsingGET2Forbidden struct { }
GetPolicyTypeByIDUsingGET2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetPolicyTypeByIDUsingGET2Forbidden ¶ added in v0.5.0
func NewGetPolicyTypeByIDUsingGET2Forbidden() *GetPolicyTypeByIDUsingGET2Forbidden
NewGetPolicyTypeByIDUsingGET2Forbidden creates a GetPolicyTypeByIDUsingGET2Forbidden with default headers values
func (*GetPolicyTypeByIDUsingGET2Forbidden) Error ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Forbidden) Error() string
func (*GetPolicyTypeByIDUsingGET2Forbidden) IsClientError ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Forbidden) IsClientError() bool
IsClientError returns true when this get policy type by Id using g e t2 forbidden response has a 4xx status code
func (*GetPolicyTypeByIDUsingGET2Forbidden) IsCode ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Forbidden) IsCode(code int) bool
IsCode returns true when this get policy type by Id using g e t2 forbidden response a status code equal to that given
func (*GetPolicyTypeByIDUsingGET2Forbidden) IsRedirect ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Forbidden) IsRedirect() bool
IsRedirect returns true when this get policy type by Id using g e t2 forbidden response has a 3xx status code
func (*GetPolicyTypeByIDUsingGET2Forbidden) IsServerError ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Forbidden) IsServerError() bool
IsServerError returns true when this get policy type by Id using g e t2 forbidden response has a 5xx status code
func (*GetPolicyTypeByIDUsingGET2Forbidden) IsSuccess ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Forbidden) IsSuccess() bool
IsSuccess returns true when this get policy type by Id using g e t2 forbidden response has a 2xx status code
func (*GetPolicyTypeByIDUsingGET2Forbidden) String ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Forbidden) String() string
type GetPolicyTypeByIDUsingGET2NotFound ¶ added in v0.5.0
GetPolicyTypeByIDUsingGET2NotFound describes a response with status code 404, with default header values.
Not Found
func NewGetPolicyTypeByIDUsingGET2NotFound ¶ added in v0.5.0
func NewGetPolicyTypeByIDUsingGET2NotFound() *GetPolicyTypeByIDUsingGET2NotFound
NewGetPolicyTypeByIDUsingGET2NotFound creates a GetPolicyTypeByIDUsingGET2NotFound with default headers values
func (*GetPolicyTypeByIDUsingGET2NotFound) Error ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2NotFound) Error() string
func (*GetPolicyTypeByIDUsingGET2NotFound) GetPayload ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2NotFound) GetPayload() *models.Error
func (*GetPolicyTypeByIDUsingGET2NotFound) IsClientError ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2NotFound) IsClientError() bool
IsClientError returns true when this get policy type by Id using g e t2 not found response has a 4xx status code
func (*GetPolicyTypeByIDUsingGET2NotFound) IsCode ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2NotFound) IsCode(code int) bool
IsCode returns true when this get policy type by Id using g e t2 not found response a status code equal to that given
func (*GetPolicyTypeByIDUsingGET2NotFound) IsRedirect ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2NotFound) IsRedirect() bool
IsRedirect returns true when this get policy type by Id using g e t2 not found response has a 3xx status code
func (*GetPolicyTypeByIDUsingGET2NotFound) IsServerError ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2NotFound) IsServerError() bool
IsServerError returns true when this get policy type by Id using g e t2 not found response has a 5xx status code
func (*GetPolicyTypeByIDUsingGET2NotFound) IsSuccess ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2NotFound) IsSuccess() bool
IsSuccess returns true when this get policy type by Id using g e t2 not found response has a 2xx status code
func (*GetPolicyTypeByIDUsingGET2NotFound) String ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2NotFound) String() string
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
func (*GetPolicyTypeByIDUsingGET2OK) IsClientError ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2OK) IsClientError() bool
IsClientError returns true when this get policy type by Id using g e t2 o k response has a 4xx status code
func (*GetPolicyTypeByIDUsingGET2OK) IsCode ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2OK) IsCode(code int) bool
IsCode returns true when this get policy type by Id using g e t2 o k response a status code equal to that given
func (*GetPolicyTypeByIDUsingGET2OK) IsRedirect ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2OK) IsRedirect() bool
IsRedirect returns true when this get policy type by Id using g e t2 o k response has a 3xx status code
func (*GetPolicyTypeByIDUsingGET2OK) IsServerError ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2OK) IsServerError() bool
IsServerError returns true when this get policy type by Id using g e t2 o k response has a 5xx status code
func (*GetPolicyTypeByIDUsingGET2OK) IsSuccess ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2OK) IsSuccess() bool
IsSuccess returns true when this get policy type by Id using g e t2 o k response has a 2xx status code
func (*GetPolicyTypeByIDUsingGET2OK) String ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2OK) String() string
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 GetPolicyTypeByIDUsingGET2Unauthorized ¶ added in v0.5.0
type GetPolicyTypeByIDUsingGET2Unauthorized struct { }
GetPolicyTypeByIDUsingGET2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetPolicyTypeByIDUsingGET2Unauthorized ¶ added in v0.5.0
func NewGetPolicyTypeByIDUsingGET2Unauthorized() *GetPolicyTypeByIDUsingGET2Unauthorized
NewGetPolicyTypeByIDUsingGET2Unauthorized creates a GetPolicyTypeByIDUsingGET2Unauthorized with default headers values
func (*GetPolicyTypeByIDUsingGET2Unauthorized) Error ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Unauthorized) Error() string
func (*GetPolicyTypeByIDUsingGET2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Unauthorized) IsClientError() bool
IsClientError returns true when this get policy type by Id using g e t2 unauthorized response has a 4xx status code
func (*GetPolicyTypeByIDUsingGET2Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Unauthorized) IsCode(code int) bool
IsCode returns true when this get policy type by Id using g e t2 unauthorized response a status code equal to that given
func (*GetPolicyTypeByIDUsingGET2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Unauthorized) IsRedirect() bool
IsRedirect returns true when this get policy type by Id using g e t2 unauthorized response has a 3xx status code
func (*GetPolicyTypeByIDUsingGET2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Unauthorized) IsServerError() bool
IsServerError returns true when this get policy type by Id using g e t2 unauthorized response has a 5xx status code
func (*GetPolicyTypeByIDUsingGET2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Unauthorized) IsSuccess() bool
IsSuccess returns true when this get policy type by Id using g e t2 unauthorized response has a 2xx status code
func (*GetPolicyTypeByIDUsingGET2Unauthorized) String ¶ added in v0.5.0
func (o *GetPolicyTypeByIDUsingGET2Unauthorized) String() string
type GetPolicyTypeScopeSchemaUsingGET2Forbidden ¶ added in v0.5.0
type GetPolicyTypeScopeSchemaUsingGET2Forbidden struct { }
GetPolicyTypeScopeSchemaUsingGET2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetPolicyTypeScopeSchemaUsingGET2Forbidden ¶ added in v0.5.0
func NewGetPolicyTypeScopeSchemaUsingGET2Forbidden() *GetPolicyTypeScopeSchemaUsingGET2Forbidden
NewGetPolicyTypeScopeSchemaUsingGET2Forbidden creates a GetPolicyTypeScopeSchemaUsingGET2Forbidden with default headers values
func (*GetPolicyTypeScopeSchemaUsingGET2Forbidden) Error ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) Error() string
func (*GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsClientError ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsClientError() bool
IsClientError returns true when this get policy type scope schema using g e t2 forbidden response has a 4xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsCode ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsCode(code int) bool
IsCode returns true when this get policy type scope schema using g e t2 forbidden response a status code equal to that given
func (*GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsRedirect ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsRedirect() bool
IsRedirect returns true when this get policy type scope schema using g e t2 forbidden response has a 3xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsServerError ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsServerError() bool
IsServerError returns true when this get policy type scope schema using g e t2 forbidden response has a 5xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsSuccess ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) IsSuccess() bool
IsSuccess returns true when this get policy type scope schema using g e t2 forbidden response has a 2xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2Forbidden) String ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Forbidden) String() string
type GetPolicyTypeScopeSchemaUsingGET2NotFound ¶ added in v0.5.0
GetPolicyTypeScopeSchemaUsingGET2NotFound describes a response with status code 404, with default header values.
Not Found
func NewGetPolicyTypeScopeSchemaUsingGET2NotFound ¶ added in v0.5.0
func NewGetPolicyTypeScopeSchemaUsingGET2NotFound() *GetPolicyTypeScopeSchemaUsingGET2NotFound
NewGetPolicyTypeScopeSchemaUsingGET2NotFound creates a GetPolicyTypeScopeSchemaUsingGET2NotFound with default headers values
func (*GetPolicyTypeScopeSchemaUsingGET2NotFound) Error ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) Error() string
func (*GetPolicyTypeScopeSchemaUsingGET2NotFound) GetPayload ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) GetPayload() *models.Error
func (*GetPolicyTypeScopeSchemaUsingGET2NotFound) IsClientError ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) IsClientError() bool
IsClientError returns true when this get policy type scope schema using g e t2 not found response has a 4xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2NotFound) IsCode ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) IsCode(code int) bool
IsCode returns true when this get policy type scope schema using g e t2 not found response a status code equal to that given
func (*GetPolicyTypeScopeSchemaUsingGET2NotFound) IsRedirect ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) IsRedirect() bool
IsRedirect returns true when this get policy type scope schema using g e t2 not found response has a 3xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2NotFound) IsServerError ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) IsServerError() bool
IsServerError returns true when this get policy type scope schema using g e t2 not found response has a 5xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2NotFound) IsSuccess ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) IsSuccess() bool
IsSuccess returns true when this get policy type scope schema using g e t2 not found response has a 2xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2NotFound) String ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2NotFound) String() string
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{}
func (*GetPolicyTypeScopeSchemaUsingGET2OK) IsClientError ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2OK) IsClientError() bool
IsClientError returns true when this get policy type scope schema using g e t2 o k response has a 4xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2OK) IsCode ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2OK) IsCode(code int) bool
IsCode returns true when this get policy type scope schema using g e t2 o k response a status code equal to that given
func (*GetPolicyTypeScopeSchemaUsingGET2OK) IsRedirect ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2OK) IsRedirect() bool
IsRedirect returns true when this get policy type scope schema using g e t2 o k response has a 3xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2OK) IsServerError ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2OK) IsServerError() bool
IsServerError returns true when this get policy type scope schema using g e t2 o k response has a 5xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2OK) IsSuccess ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2OK) IsSuccess() bool
IsSuccess returns true when this get policy type scope schema using g e t2 o k response has a 2xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2OK) String ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2OK) String() string
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 GetPolicyTypeScopeSchemaUsingGET2Unauthorized ¶ added in v0.5.0
type GetPolicyTypeScopeSchemaUsingGET2Unauthorized struct { }
GetPolicyTypeScopeSchemaUsingGET2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetPolicyTypeScopeSchemaUsingGET2Unauthorized ¶ added in v0.5.0
func NewGetPolicyTypeScopeSchemaUsingGET2Unauthorized() *GetPolicyTypeScopeSchemaUsingGET2Unauthorized
NewGetPolicyTypeScopeSchemaUsingGET2Unauthorized creates a GetPolicyTypeScopeSchemaUsingGET2Unauthorized with default headers values
func (*GetPolicyTypeScopeSchemaUsingGET2Unauthorized) Error ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) Error() string
func (*GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsClientError() bool
IsClientError returns true when this get policy type scope schema using g e t2 unauthorized response has a 4xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsCode(code int) bool
IsCode returns true when this get policy type scope schema using g e t2 unauthorized response a status code equal to that given
func (*GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsRedirect() bool
IsRedirect returns true when this get policy type scope schema using g e t2 unauthorized response has a 3xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsServerError() bool
IsServerError returns true when this get policy type scope schema using g e t2 unauthorized response has a 5xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) IsSuccess() bool
IsSuccess returns true when this get policy type scope schema using g e t2 unauthorized response has a 2xx status code
func (*GetPolicyTypeScopeSchemaUsingGET2Unauthorized) String ¶ added in v0.5.0
func (o *GetPolicyTypeScopeSchemaUsingGET2Unauthorized) String() string
type GetTypesUsingGET5Forbidden ¶ added in v0.5.0
type GetTypesUsingGET5Forbidden struct { }
GetTypesUsingGET5Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetTypesUsingGET5Forbidden ¶ added in v0.5.0
func NewGetTypesUsingGET5Forbidden() *GetTypesUsingGET5Forbidden
NewGetTypesUsingGET5Forbidden creates a GetTypesUsingGET5Forbidden with default headers values
func (*GetTypesUsingGET5Forbidden) Error ¶ added in v0.5.0
func (o *GetTypesUsingGET5Forbidden) Error() string
func (*GetTypesUsingGET5Forbidden) IsClientError ¶ added in v0.5.0
func (o *GetTypesUsingGET5Forbidden) IsClientError() bool
IsClientError returns true when this get types using g e t5 forbidden response has a 4xx status code
func (*GetTypesUsingGET5Forbidden) IsCode ¶ added in v0.5.0
func (o *GetTypesUsingGET5Forbidden) IsCode(code int) bool
IsCode returns true when this get types using g e t5 forbidden response a status code equal to that given
func (*GetTypesUsingGET5Forbidden) IsRedirect ¶ added in v0.5.0
func (o *GetTypesUsingGET5Forbidden) IsRedirect() bool
IsRedirect returns true when this get types using g e t5 forbidden response has a 3xx status code
func (*GetTypesUsingGET5Forbidden) IsServerError ¶ added in v0.5.0
func (o *GetTypesUsingGET5Forbidden) IsServerError() bool
IsServerError returns true when this get types using g e t5 forbidden response has a 5xx status code
func (*GetTypesUsingGET5Forbidden) IsSuccess ¶ added in v0.5.0
func (o *GetTypesUsingGET5Forbidden) IsSuccess() bool
IsSuccess returns true when this get types using g e t5 forbidden response has a 2xx status code
func (*GetTypesUsingGET5Forbidden) String ¶ added in v0.5.0
func (o *GetTypesUsingGET5Forbidden) String() string
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
func (*GetTypesUsingGET5OK) IsClientError ¶ added in v0.5.0
func (o *GetTypesUsingGET5OK) IsClientError() bool
IsClientError returns true when this get types using g e t5 o k response has a 4xx status code
func (*GetTypesUsingGET5OK) IsCode ¶ added in v0.5.0
func (o *GetTypesUsingGET5OK) IsCode(code int) bool
IsCode returns true when this get types using g e t5 o k response a status code equal to that given
func (*GetTypesUsingGET5OK) IsRedirect ¶ added in v0.5.0
func (o *GetTypesUsingGET5OK) IsRedirect() bool
IsRedirect returns true when this get types using g e t5 o k response has a 3xx status code
func (*GetTypesUsingGET5OK) IsServerError ¶ added in v0.5.0
func (o *GetTypesUsingGET5OK) IsServerError() bool
IsServerError returns true when this get types using g e t5 o k response has a 5xx status code
func (*GetTypesUsingGET5OK) IsSuccess ¶ added in v0.5.0
func (o *GetTypesUsingGET5OK) IsSuccess() bool
IsSuccess returns true when this get types using g e t5 o k response has a 2xx status code
func (*GetTypesUsingGET5OK) String ¶ added in v0.5.0
func (o *GetTypesUsingGET5OK) String() string
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.
type GetTypesUsingGET5Unauthorized ¶ added in v0.5.0
type GetTypesUsingGET5Unauthorized struct { }
GetTypesUsingGET5Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetTypesUsingGET5Unauthorized ¶ added in v0.5.0
func NewGetTypesUsingGET5Unauthorized() *GetTypesUsingGET5Unauthorized
NewGetTypesUsingGET5Unauthorized creates a GetTypesUsingGET5Unauthorized with default headers values
func (*GetTypesUsingGET5Unauthorized) Error ¶ added in v0.5.0
func (o *GetTypesUsingGET5Unauthorized) Error() string
func (*GetTypesUsingGET5Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetTypesUsingGET5Unauthorized) IsClientError() bool
IsClientError returns true when this get types using g e t5 unauthorized response has a 4xx status code
func (*GetTypesUsingGET5Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetTypesUsingGET5Unauthorized) IsCode(code int) bool
IsCode returns true when this get types using g e t5 unauthorized response a status code equal to that given
func (*GetTypesUsingGET5Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetTypesUsingGET5Unauthorized) IsRedirect() bool
IsRedirect returns true when this get types using g e t5 unauthorized response has a 3xx status code
func (*GetTypesUsingGET5Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetTypesUsingGET5Unauthorized) IsServerError() bool
IsServerError returns true when this get types using g e t5 unauthorized response has a 5xx status code
func (*GetTypesUsingGET5Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetTypesUsingGET5Unauthorized) IsSuccess() bool
IsSuccess returns true when this get types using g e t5 unauthorized response has a 2xx status code
func (*GetTypesUsingGET5Unauthorized) String ¶ added in v0.5.0
func (o *GetTypesUsingGET5Unauthorized) String() string