Documentation ¶
Index ¶
- type Client
- func (a *Client) GetDecisionByIDUsingGET2(params *GetDecisionByIDUsingGET2Params, opts ...ClientOption) (*GetDecisionByIDUsingGET2OK, error)
- func (a *Client) GetDecisionsUsingGET2(params *GetDecisionsUsingGET2Params, opts ...ClientOption) (*GetDecisionsUsingGET2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetDecisionByIDUsingGET2Forbidden
- func (o *GetDecisionByIDUsingGET2Forbidden) Error() string
- func (o *GetDecisionByIDUsingGET2Forbidden) IsClientError() bool
- func (o *GetDecisionByIDUsingGET2Forbidden) IsCode(code int) bool
- func (o *GetDecisionByIDUsingGET2Forbidden) IsRedirect() bool
- func (o *GetDecisionByIDUsingGET2Forbidden) IsServerError() bool
- func (o *GetDecisionByIDUsingGET2Forbidden) IsSuccess() bool
- func (o *GetDecisionByIDUsingGET2Forbidden) String() string
- type GetDecisionByIDUsingGET2NotFound
- func (o *GetDecisionByIDUsingGET2NotFound) Error() string
- func (o *GetDecisionByIDUsingGET2NotFound) GetPayload() *models.Error
- func (o *GetDecisionByIDUsingGET2NotFound) IsClientError() bool
- func (o *GetDecisionByIDUsingGET2NotFound) IsCode(code int) bool
- func (o *GetDecisionByIDUsingGET2NotFound) IsRedirect() bool
- func (o *GetDecisionByIDUsingGET2NotFound) IsServerError() bool
- func (o *GetDecisionByIDUsingGET2NotFound) IsSuccess() bool
- func (o *GetDecisionByIDUsingGET2NotFound) String() string
- type GetDecisionByIDUsingGET2OK
- func (o *GetDecisionByIDUsingGET2OK) Error() string
- func (o *GetDecisionByIDUsingGET2OK) GetPayload() *models.PolicyDecisionOfObjectNode
- func (o *GetDecisionByIDUsingGET2OK) IsClientError() bool
- func (o *GetDecisionByIDUsingGET2OK) IsCode(code int) bool
- func (o *GetDecisionByIDUsingGET2OK) IsRedirect() bool
- func (o *GetDecisionByIDUsingGET2OK) IsServerError() bool
- func (o *GetDecisionByIDUsingGET2OK) IsSuccess() bool
- func (o *GetDecisionByIDUsingGET2OK) String() string
- type GetDecisionByIDUsingGET2Params
- func NewGetDecisionByIDUsingGET2Params() *GetDecisionByIDUsingGET2Params
- func NewGetDecisionByIDUsingGET2ParamsWithContext(ctx context.Context) *GetDecisionByIDUsingGET2Params
- func NewGetDecisionByIDUsingGET2ParamsWithHTTPClient(client *http.Client) *GetDecisionByIDUsingGET2Params
- func NewGetDecisionByIDUsingGET2ParamsWithTimeout(timeout time.Duration) *GetDecisionByIDUsingGET2Params
- func (o *GetDecisionByIDUsingGET2Params) SetAPIVersion(aPIVersion *string)
- func (o *GetDecisionByIDUsingGET2Params) SetContext(ctx context.Context)
- func (o *GetDecisionByIDUsingGET2Params) SetDefaults()
- func (o *GetDecisionByIDUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *GetDecisionByIDUsingGET2Params) SetID(id strfmt.UUID)
- func (o *GetDecisionByIDUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *GetDecisionByIDUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetDecisionByIDUsingGET2Params
- func (o *GetDecisionByIDUsingGET2Params) WithContext(ctx context.Context) *GetDecisionByIDUsingGET2Params
- func (o *GetDecisionByIDUsingGET2Params) WithDefaults() *GetDecisionByIDUsingGET2Params
- func (o *GetDecisionByIDUsingGET2Params) WithHTTPClient(client *http.Client) *GetDecisionByIDUsingGET2Params
- func (o *GetDecisionByIDUsingGET2Params) WithID(id strfmt.UUID) *GetDecisionByIDUsingGET2Params
- func (o *GetDecisionByIDUsingGET2Params) WithTimeout(timeout time.Duration) *GetDecisionByIDUsingGET2Params
- func (o *GetDecisionByIDUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDecisionByIDUsingGET2Reader
- type GetDecisionByIDUsingGET2Unauthorized
- func (o *GetDecisionByIDUsingGET2Unauthorized) Error() string
- func (o *GetDecisionByIDUsingGET2Unauthorized) IsClientError() bool
- func (o *GetDecisionByIDUsingGET2Unauthorized) IsCode(code int) bool
- func (o *GetDecisionByIDUsingGET2Unauthorized) IsRedirect() bool
- func (o *GetDecisionByIDUsingGET2Unauthorized) IsServerError() bool
- func (o *GetDecisionByIDUsingGET2Unauthorized) IsSuccess() bool
- func (o *GetDecisionByIDUsingGET2Unauthorized) String() string
- type GetDecisionsUsingGET2Forbidden
- func (o *GetDecisionsUsingGET2Forbidden) Error() string
- func (o *GetDecisionsUsingGET2Forbidden) IsClientError() bool
- func (o *GetDecisionsUsingGET2Forbidden) IsCode(code int) bool
- func (o *GetDecisionsUsingGET2Forbidden) IsRedirect() bool
- func (o *GetDecisionsUsingGET2Forbidden) IsServerError() bool
- func (o *GetDecisionsUsingGET2Forbidden) IsSuccess() bool
- func (o *GetDecisionsUsingGET2Forbidden) String() string
- type GetDecisionsUsingGET2OK
- func (o *GetDecisionsUsingGET2OK) Error() string
- func (o *GetDecisionsUsingGET2OK) GetPayload() *models.PageOfPolicyDecisionOfObjectNode
- func (o *GetDecisionsUsingGET2OK) IsClientError() bool
- func (o *GetDecisionsUsingGET2OK) IsCode(code int) bool
- func (o *GetDecisionsUsingGET2OK) IsRedirect() bool
- func (o *GetDecisionsUsingGET2OK) IsServerError() bool
- func (o *GetDecisionsUsingGET2OK) IsSuccess() bool
- func (o *GetDecisionsUsingGET2OK) String() string
- type GetDecisionsUsingGET2Params
- func NewGetDecisionsUsingGET2Params() *GetDecisionsUsingGET2Params
- func NewGetDecisionsUsingGET2ParamsWithContext(ctx context.Context) *GetDecisionsUsingGET2Params
- func NewGetDecisionsUsingGET2ParamsWithHTTPClient(client *http.Client) *GetDecisionsUsingGET2Params
- func NewGetDecisionsUsingGET2ParamsWithTimeout(timeout time.Duration) *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) SetAPIVersion(aPIVersion *string)
- func (o *GetDecisionsUsingGET2Params) SetContext(ctx context.Context)
- func (o *GetDecisionsUsingGET2Params) SetDefaults()
- func (o *GetDecisionsUsingGET2Params) SetDollarOrderby(dollarOrderby []string)
- func (o *GetDecisionsUsingGET2Params) SetDollarSkip(dollarSkip *int32)
- func (o *GetDecisionsUsingGET2Params) SetDollarTop(dollarTop *int32)
- func (o *GetDecisionsUsingGET2Params) SetDryRunID(dryRunID *strfmt.UUID)
- func (o *GetDecisionsUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *GetDecisionsUsingGET2Params) SetPolicyTypeID(policyTypeID *string)
- func (o *GetDecisionsUsingGET2Params) SetProjectID(projectID *string)
- func (o *GetDecisionsUsingGET2Params) SetSearch(search *string)
- func (o *GetDecisionsUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *GetDecisionsUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) WithContext(ctx context.Context) *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) WithDefaults() *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) WithDollarOrderby(dollarOrderby []string) *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) WithDollarSkip(dollarSkip *int32) *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) WithDollarTop(dollarTop *int32) *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) WithDryRunID(dryRunID *strfmt.UUID) *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) WithHTTPClient(client *http.Client) *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) WithPolicyTypeID(policyTypeID *string) *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) WithProjectID(projectID *string) *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) WithSearch(search *string) *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) WithTimeout(timeout time.Duration) *GetDecisionsUsingGET2Params
- func (o *GetDecisionsUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDecisionsUsingGET2Reader
- type GetDecisionsUsingGET2Unauthorized
- func (o *GetDecisionsUsingGET2Unauthorized) Error() string
- func (o *GetDecisionsUsingGET2Unauthorized) IsClientError() bool
- func (o *GetDecisionsUsingGET2Unauthorized) IsCode(code int) bool
- func (o *GetDecisionsUsingGET2Unauthorized) IsRedirect() bool
- func (o *GetDecisionsUsingGET2Unauthorized) IsServerError() bool
- func (o *GetDecisionsUsingGET2Unauthorized) IsSuccess() bool
- func (o *GetDecisionsUsingGET2Unauthorized) 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 decisions API
func (*Client) GetDecisionByIDUsingGET2 ¶ added in v0.4.0
func (a *Client) GetDecisionByIDUsingGET2(params *GetDecisionByIDUsingGET2Params, opts ...ClientOption) (*GetDecisionByIDUsingGET2OK, error)
GetDecisionByIDUsingGET2 returns a policy decision by id
Find a specific policy decision based on the input policy decision id.
func (*Client) GetDecisionsUsingGET2 ¶ added in v0.4.0
func (a *Client) GetDecisionsUsingGET2(params *GetDecisionsUsingGET2Params, opts ...ClientOption) (*GetDecisionsUsingGET2OK, error)
GetDecisionsUsingGET2 fetches a list of policy decisions
Returns a paginated list of policy decisions. If a dryRunId is provided, the return value has a field indicating whether the dry run is complete.
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 { GetDecisionByIDUsingGET2(params *GetDecisionByIDUsingGET2Params, opts ...ClientOption) (*GetDecisionByIDUsingGET2OK, error) GetDecisionsUsingGET2(params *GetDecisionsUsingGET2Params, opts ...ClientOption) (*GetDecisionsUsingGET2OK, 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 decisions API client.
type GetDecisionByIDUsingGET2Forbidden ¶ added in v0.5.0
type GetDecisionByIDUsingGET2Forbidden struct { }
GetDecisionByIDUsingGET2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetDecisionByIDUsingGET2Forbidden ¶ added in v0.5.0
func NewGetDecisionByIDUsingGET2Forbidden() *GetDecisionByIDUsingGET2Forbidden
NewGetDecisionByIDUsingGET2Forbidden creates a GetDecisionByIDUsingGET2Forbidden with default headers values
func (*GetDecisionByIDUsingGET2Forbidden) Error ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Forbidden) Error() string
func (*GetDecisionByIDUsingGET2Forbidden) IsClientError ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Forbidden) IsClientError() bool
IsClientError returns true when this get decision by Id using g e t2 forbidden response has a 4xx status code
func (*GetDecisionByIDUsingGET2Forbidden) IsCode ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Forbidden) IsCode(code int) bool
IsCode returns true when this get decision by Id using g e t2 forbidden response a status code equal to that given
func (*GetDecisionByIDUsingGET2Forbidden) IsRedirect ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Forbidden) IsRedirect() bool
IsRedirect returns true when this get decision by Id using g e t2 forbidden response has a 3xx status code
func (*GetDecisionByIDUsingGET2Forbidden) IsServerError ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Forbidden) IsServerError() bool
IsServerError returns true when this get decision by Id using g e t2 forbidden response has a 5xx status code
func (*GetDecisionByIDUsingGET2Forbidden) IsSuccess ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Forbidden) IsSuccess() bool
IsSuccess returns true when this get decision by Id using g e t2 forbidden response has a 2xx status code
func (*GetDecisionByIDUsingGET2Forbidden) String ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Forbidden) String() string
type GetDecisionByIDUsingGET2NotFound ¶ added in v0.5.0
GetDecisionByIDUsingGET2NotFound describes a response with status code 404, with default header values.
Not Found
func NewGetDecisionByIDUsingGET2NotFound ¶ added in v0.5.0
func NewGetDecisionByIDUsingGET2NotFound() *GetDecisionByIDUsingGET2NotFound
NewGetDecisionByIDUsingGET2NotFound creates a GetDecisionByIDUsingGET2NotFound with default headers values
func (*GetDecisionByIDUsingGET2NotFound) Error ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2NotFound) Error() string
func (*GetDecisionByIDUsingGET2NotFound) GetPayload ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2NotFound) GetPayload() *models.Error
func (*GetDecisionByIDUsingGET2NotFound) IsClientError ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2NotFound) IsClientError() bool
IsClientError returns true when this get decision by Id using g e t2 not found response has a 4xx status code
func (*GetDecisionByIDUsingGET2NotFound) IsCode ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2NotFound) IsCode(code int) bool
IsCode returns true when this get decision by Id using g e t2 not found response a status code equal to that given
func (*GetDecisionByIDUsingGET2NotFound) IsRedirect ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2NotFound) IsRedirect() bool
IsRedirect returns true when this get decision by Id using g e t2 not found response has a 3xx status code
func (*GetDecisionByIDUsingGET2NotFound) IsServerError ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2NotFound) IsServerError() bool
IsServerError returns true when this get decision by Id using g e t2 not found response has a 5xx status code
func (*GetDecisionByIDUsingGET2NotFound) IsSuccess ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2NotFound) IsSuccess() bool
IsSuccess returns true when this get decision by Id using g e t2 not found response has a 2xx status code
func (*GetDecisionByIDUsingGET2NotFound) String ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2NotFound) String() string
type GetDecisionByIDUsingGET2OK ¶ added in v0.4.0
type GetDecisionByIDUsingGET2OK struct {
Payload *models.PolicyDecisionOfObjectNode
}
GetDecisionByIDUsingGET2OK describes a response with status code 200, with default header values.
OK
func NewGetDecisionByIDUsingGET2OK ¶ added in v0.4.0
func NewGetDecisionByIDUsingGET2OK() *GetDecisionByIDUsingGET2OK
NewGetDecisionByIDUsingGET2OK creates a GetDecisionByIDUsingGET2OK with default headers values
func (*GetDecisionByIDUsingGET2OK) Error ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2OK) Error() string
func (*GetDecisionByIDUsingGET2OK) GetPayload ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2OK) GetPayload() *models.PolicyDecisionOfObjectNode
func (*GetDecisionByIDUsingGET2OK) IsClientError ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2OK) IsClientError() bool
IsClientError returns true when this get decision by Id using g e t2 o k response has a 4xx status code
func (*GetDecisionByIDUsingGET2OK) IsCode ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2OK) IsCode(code int) bool
IsCode returns true when this get decision by Id using g e t2 o k response a status code equal to that given
func (*GetDecisionByIDUsingGET2OK) IsRedirect ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2OK) IsRedirect() bool
IsRedirect returns true when this get decision by Id using g e t2 o k response has a 3xx status code
func (*GetDecisionByIDUsingGET2OK) IsServerError ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2OK) IsServerError() bool
IsServerError returns true when this get decision by Id using g e t2 o k response has a 5xx status code
func (*GetDecisionByIDUsingGET2OK) IsSuccess ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2OK) IsSuccess() bool
IsSuccess returns true when this get decision by Id using g e t2 o k response has a 2xx status code
func (*GetDecisionByIDUsingGET2OK) String ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2OK) String() string
type GetDecisionByIDUsingGET2Params ¶ added in v0.4.0
type GetDecisionByIDUsingGET2Params 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 decision Id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDecisionByIDUsingGET2Params contains all the parameters to send to the API endpoint
for the get decision by Id using g e t 2 operation. Typically these are written to a http.Request.
func NewGetDecisionByIDUsingGET2Params ¶ added in v0.4.0
func NewGetDecisionByIDUsingGET2Params() *GetDecisionByIDUsingGET2Params
NewGetDecisionByIDUsingGET2Params creates a new GetDecisionByIDUsingGET2Params 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 NewGetDecisionByIDUsingGET2ParamsWithContext ¶ added in v0.4.0
func NewGetDecisionByIDUsingGET2ParamsWithContext(ctx context.Context) *GetDecisionByIDUsingGET2Params
NewGetDecisionByIDUsingGET2ParamsWithContext creates a new GetDecisionByIDUsingGET2Params object with the ability to set a context for a request.
func NewGetDecisionByIDUsingGET2ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetDecisionByIDUsingGET2ParamsWithHTTPClient(client *http.Client) *GetDecisionByIDUsingGET2Params
NewGetDecisionByIDUsingGET2ParamsWithHTTPClient creates a new GetDecisionByIDUsingGET2Params object with the ability to set a custom HTTPClient for a request.
func NewGetDecisionByIDUsingGET2ParamsWithTimeout ¶ added in v0.4.0
func NewGetDecisionByIDUsingGET2ParamsWithTimeout(timeout time.Duration) *GetDecisionByIDUsingGET2Params
NewGetDecisionByIDUsingGET2ParamsWithTimeout creates a new GetDecisionByIDUsingGET2Params object with the ability to set a timeout on a request.
func (*GetDecisionByIDUsingGET2Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get decision by Id using g e t 2 params
func (*GetDecisionByIDUsingGET2Params) SetContext ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) SetContext(ctx context.Context)
SetContext adds the context to the get decision by Id using g e t 2 params
func (*GetDecisionByIDUsingGET2Params) SetDefaults ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) SetDefaults()
SetDefaults hydrates default values in the get decision by Id using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetDecisionByIDUsingGET2Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get decision by Id using g e t 2 params
func (*GetDecisionByIDUsingGET2Params) SetID ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) SetID(id strfmt.UUID)
SetID adds the id to the get decision by Id using g e t 2 params
func (*GetDecisionByIDUsingGET2Params) SetTimeout ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get decision by Id using g e t 2 params
func (*GetDecisionByIDUsingGET2Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetDecisionByIDUsingGET2Params
WithAPIVersion adds the aPIVersion to the get decision by Id using g e t 2 params
func (*GetDecisionByIDUsingGET2Params) WithContext ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) WithContext(ctx context.Context) *GetDecisionByIDUsingGET2Params
WithContext adds the context to the get decision by Id using g e t 2 params
func (*GetDecisionByIDUsingGET2Params) WithDefaults ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) WithDefaults() *GetDecisionByIDUsingGET2Params
WithDefaults hydrates default values in the get decision by Id using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetDecisionByIDUsingGET2Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) WithHTTPClient(client *http.Client) *GetDecisionByIDUsingGET2Params
WithHTTPClient adds the HTTPClient to the get decision by Id using g e t 2 params
func (*GetDecisionByIDUsingGET2Params) WithID ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) WithID(id strfmt.UUID) *GetDecisionByIDUsingGET2Params
WithID adds the id to the get decision by Id using g e t 2 params
func (*GetDecisionByIDUsingGET2Params) WithTimeout ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) WithTimeout(timeout time.Duration) *GetDecisionByIDUsingGET2Params
WithTimeout adds the timeout to the get decision by Id using g e t 2 params
func (*GetDecisionByIDUsingGET2Params) WriteToRequest ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDecisionByIDUsingGET2Reader ¶ added in v0.4.0
type GetDecisionByIDUsingGET2Reader struct {
// contains filtered or unexported fields
}
GetDecisionByIDUsingGET2Reader is a Reader for the GetDecisionByIDUsingGET2 structure.
func (*GetDecisionByIDUsingGET2Reader) ReadResponse ¶ added in v0.4.0
func (o *GetDecisionByIDUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDecisionByIDUsingGET2Unauthorized ¶ added in v0.5.0
type GetDecisionByIDUsingGET2Unauthorized struct { }
GetDecisionByIDUsingGET2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetDecisionByIDUsingGET2Unauthorized ¶ added in v0.5.0
func NewGetDecisionByIDUsingGET2Unauthorized() *GetDecisionByIDUsingGET2Unauthorized
NewGetDecisionByIDUsingGET2Unauthorized creates a GetDecisionByIDUsingGET2Unauthorized with default headers values
func (*GetDecisionByIDUsingGET2Unauthorized) Error ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Unauthorized) Error() string
func (*GetDecisionByIDUsingGET2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Unauthorized) IsClientError() bool
IsClientError returns true when this get decision by Id using g e t2 unauthorized response has a 4xx status code
func (*GetDecisionByIDUsingGET2Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Unauthorized) IsCode(code int) bool
IsCode returns true when this get decision by Id using g e t2 unauthorized response a status code equal to that given
func (*GetDecisionByIDUsingGET2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Unauthorized) IsRedirect() bool
IsRedirect returns true when this get decision by Id using g e t2 unauthorized response has a 3xx status code
func (*GetDecisionByIDUsingGET2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Unauthorized) IsServerError() bool
IsServerError returns true when this get decision by Id using g e t2 unauthorized response has a 5xx status code
func (*GetDecisionByIDUsingGET2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Unauthorized) IsSuccess() bool
IsSuccess returns true when this get decision by Id using g e t2 unauthorized response has a 2xx status code
func (*GetDecisionByIDUsingGET2Unauthorized) String ¶ added in v0.5.0
func (o *GetDecisionByIDUsingGET2Unauthorized) String() string
type GetDecisionsUsingGET2Forbidden ¶ added in v0.5.0
type GetDecisionsUsingGET2Forbidden struct { }
GetDecisionsUsingGET2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetDecisionsUsingGET2Forbidden ¶ added in v0.5.0
func NewGetDecisionsUsingGET2Forbidden() *GetDecisionsUsingGET2Forbidden
NewGetDecisionsUsingGET2Forbidden creates a GetDecisionsUsingGET2Forbidden with default headers values
func (*GetDecisionsUsingGET2Forbidden) Error ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Forbidden) Error() string
func (*GetDecisionsUsingGET2Forbidden) IsClientError ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Forbidden) IsClientError() bool
IsClientError returns true when this get decisions using g e t2 forbidden response has a 4xx status code
func (*GetDecisionsUsingGET2Forbidden) IsCode ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Forbidden) IsCode(code int) bool
IsCode returns true when this get decisions using g e t2 forbidden response a status code equal to that given
func (*GetDecisionsUsingGET2Forbidden) IsRedirect ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Forbidden) IsRedirect() bool
IsRedirect returns true when this get decisions using g e t2 forbidden response has a 3xx status code
func (*GetDecisionsUsingGET2Forbidden) IsServerError ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Forbidden) IsServerError() bool
IsServerError returns true when this get decisions using g e t2 forbidden response has a 5xx status code
func (*GetDecisionsUsingGET2Forbidden) IsSuccess ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Forbidden) IsSuccess() bool
IsSuccess returns true when this get decisions using g e t2 forbidden response has a 2xx status code
func (*GetDecisionsUsingGET2Forbidden) String ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Forbidden) String() string
type GetDecisionsUsingGET2OK ¶ added in v0.4.0
type GetDecisionsUsingGET2OK struct {
Payload *models.PageOfPolicyDecisionOfObjectNode
}
GetDecisionsUsingGET2OK describes a response with status code 200, with default header values.
OK
func NewGetDecisionsUsingGET2OK ¶ added in v0.4.0
func NewGetDecisionsUsingGET2OK() *GetDecisionsUsingGET2OK
NewGetDecisionsUsingGET2OK creates a GetDecisionsUsingGET2OK with default headers values
func (*GetDecisionsUsingGET2OK) Error ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2OK) Error() string
func (*GetDecisionsUsingGET2OK) GetPayload ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2OK) GetPayload() *models.PageOfPolicyDecisionOfObjectNode
func (*GetDecisionsUsingGET2OK) IsClientError ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2OK) IsClientError() bool
IsClientError returns true when this get decisions using g e t2 o k response has a 4xx status code
func (*GetDecisionsUsingGET2OK) IsCode ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2OK) IsCode(code int) bool
IsCode returns true when this get decisions using g e t2 o k response a status code equal to that given
func (*GetDecisionsUsingGET2OK) IsRedirect ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2OK) IsRedirect() bool
IsRedirect returns true when this get decisions using g e t2 o k response has a 3xx status code
func (*GetDecisionsUsingGET2OK) IsServerError ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2OK) IsServerError() bool
IsServerError returns true when this get decisions using g e t2 o k response has a 5xx status code
func (*GetDecisionsUsingGET2OK) IsSuccess ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2OK) IsSuccess() bool
IsSuccess returns true when this get decisions using g e t2 o k response has a 2xx status code
func (*GetDecisionsUsingGET2OK) String ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2OK) String() string
type GetDecisionsUsingGET2Params ¶ added in v0.4.0
type GetDecisionsUsingGET2Params 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 /* DryRunID. dryRunId Format: uuid */ DryRunID *strfmt.UUID /* PolicyTypeID. Matches will only include policies of this type */ PolicyTypeID *string /* ProjectID. Matches will only include decisions with this project ID */ ProjectID *string /* Search. Matches will start with this string in their policy name or target name or have this string somewhere in their description. */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDecisionsUsingGET2Params contains all the parameters to send to the API endpoint
for the get decisions using g e t 2 operation. Typically these are written to a http.Request.
func NewGetDecisionsUsingGET2Params ¶ added in v0.4.0
func NewGetDecisionsUsingGET2Params() *GetDecisionsUsingGET2Params
NewGetDecisionsUsingGET2Params creates a new GetDecisionsUsingGET2Params 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 NewGetDecisionsUsingGET2ParamsWithContext ¶ added in v0.4.0
func NewGetDecisionsUsingGET2ParamsWithContext(ctx context.Context) *GetDecisionsUsingGET2Params
NewGetDecisionsUsingGET2ParamsWithContext creates a new GetDecisionsUsingGET2Params object with the ability to set a context for a request.
func NewGetDecisionsUsingGET2ParamsWithHTTPClient ¶ added in v0.4.0
func NewGetDecisionsUsingGET2ParamsWithHTTPClient(client *http.Client) *GetDecisionsUsingGET2Params
NewGetDecisionsUsingGET2ParamsWithHTTPClient creates a new GetDecisionsUsingGET2Params object with the ability to set a custom HTTPClient for a request.
func NewGetDecisionsUsingGET2ParamsWithTimeout ¶ added in v0.4.0
func NewGetDecisionsUsingGET2ParamsWithTimeout(timeout time.Duration) *GetDecisionsUsingGET2Params
NewGetDecisionsUsingGET2ParamsWithTimeout creates a new GetDecisionsUsingGET2Params object with the ability to set a timeout on a request.
func (*GetDecisionsUsingGET2Params) SetAPIVersion ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) SetContext ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) SetContext(ctx context.Context)
SetContext adds the context to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) SetDefaults ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) SetDefaults()
SetDefaults hydrates default values in the get decisions using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetDecisionsUsingGET2Params) SetDollarOrderby ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) SetDollarOrderby(dollarOrderby []string)
SetDollarOrderby adds the dollarOrderby to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) SetDollarSkip ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) SetDollarTop ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) SetDryRunID ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) SetDryRunID(dryRunID *strfmt.UUID)
SetDryRunID adds the dryRunId to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) SetPolicyTypeID ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) SetPolicyTypeID(policyTypeID *string)
SetPolicyTypeID adds the policyTypeId to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) SetProjectID ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) SetProjectID(projectID *string)
SetProjectID adds the projectId to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) SetSearch ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) SetSearch(search *string)
SetSearch adds the search to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) SetTimeout ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) WithAPIVersion ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WithAPIVersion(aPIVersion *string) *GetDecisionsUsingGET2Params
WithAPIVersion adds the aPIVersion to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) WithContext ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WithContext(ctx context.Context) *GetDecisionsUsingGET2Params
WithContext adds the context to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) WithDefaults ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WithDefaults() *GetDecisionsUsingGET2Params
WithDefaults hydrates default values in the get decisions using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetDecisionsUsingGET2Params) WithDollarOrderby ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WithDollarOrderby(dollarOrderby []string) *GetDecisionsUsingGET2Params
WithDollarOrderby adds the dollarOrderby to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) WithDollarSkip ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WithDollarSkip(dollarSkip *int32) *GetDecisionsUsingGET2Params
WithDollarSkip adds the dollarSkip to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) WithDollarTop ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WithDollarTop(dollarTop *int32) *GetDecisionsUsingGET2Params
WithDollarTop adds the dollarTop to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) WithDryRunID ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WithDryRunID(dryRunID *strfmt.UUID) *GetDecisionsUsingGET2Params
WithDryRunID adds the dryRunID to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WithHTTPClient(client *http.Client) *GetDecisionsUsingGET2Params
WithHTTPClient adds the HTTPClient to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) WithPolicyTypeID ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WithPolicyTypeID(policyTypeID *string) *GetDecisionsUsingGET2Params
WithPolicyTypeID adds the policyTypeID to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) WithProjectID ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WithProjectID(projectID *string) *GetDecisionsUsingGET2Params
WithProjectID adds the projectID to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) WithSearch ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WithSearch(search *string) *GetDecisionsUsingGET2Params
WithSearch adds the search to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) WithTimeout ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WithTimeout(timeout time.Duration) *GetDecisionsUsingGET2Params
WithTimeout adds the timeout to the get decisions using g e t 2 params
func (*GetDecisionsUsingGET2Params) WriteToRequest ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDecisionsUsingGET2Reader ¶ added in v0.4.0
type GetDecisionsUsingGET2Reader struct {
// contains filtered or unexported fields
}
GetDecisionsUsingGET2Reader is a Reader for the GetDecisionsUsingGET2 structure.
func (*GetDecisionsUsingGET2Reader) ReadResponse ¶ added in v0.4.0
func (o *GetDecisionsUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDecisionsUsingGET2Unauthorized ¶ added in v0.5.0
type GetDecisionsUsingGET2Unauthorized struct { }
GetDecisionsUsingGET2Unauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetDecisionsUsingGET2Unauthorized ¶ added in v0.5.0
func NewGetDecisionsUsingGET2Unauthorized() *GetDecisionsUsingGET2Unauthorized
NewGetDecisionsUsingGET2Unauthorized creates a GetDecisionsUsingGET2Unauthorized with default headers values
func (*GetDecisionsUsingGET2Unauthorized) Error ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Unauthorized) Error() string
func (*GetDecisionsUsingGET2Unauthorized) IsClientError ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Unauthorized) IsClientError() bool
IsClientError returns true when this get decisions using g e t2 unauthorized response has a 4xx status code
func (*GetDecisionsUsingGET2Unauthorized) IsCode ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Unauthorized) IsCode(code int) bool
IsCode returns true when this get decisions using g e t2 unauthorized response a status code equal to that given
func (*GetDecisionsUsingGET2Unauthorized) IsRedirect ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Unauthorized) IsRedirect() bool
IsRedirect returns true when this get decisions using g e t2 unauthorized response has a 3xx status code
func (*GetDecisionsUsingGET2Unauthorized) IsServerError ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Unauthorized) IsServerError() bool
IsServerError returns true when this get decisions using g e t2 unauthorized response has a 5xx status code
func (*GetDecisionsUsingGET2Unauthorized) IsSuccess ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Unauthorized) IsSuccess() bool
IsSuccess returns true when this get decisions using g e t2 unauthorized response has a 2xx status code
func (*GetDecisionsUsingGET2Unauthorized) String ¶ added in v0.5.0
func (o *GetDecisionsUsingGET2Unauthorized) String() string