policy_decisions

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 (*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

type GetDecisionByIDUsingGET2NotFound added in v0.5.0

type GetDecisionByIDUsingGET2NotFound struct {
	Payload *models.Error
}

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 (*GetDecisionByIDUsingGET2NotFound) GetPayload added in v0.5.0

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

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 (*GetDecisionByIDUsingGET2OK) GetPayload added in v0.4.0

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

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

WithAPIVersion adds the aPIVersion to the get decision by Id using g e t 2 params

func (*GetDecisionByIDUsingGET2Params) WithContext added in v0.4.0

WithContext adds the context to the get decision by Id using g e t 2 params

func (*GetDecisionByIDUsingGET2Params) WithDefaults added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the get decision by Id using g e t 2 params

func (*GetDecisionByIDUsingGET2Params) WithID added in v0.4.0

WithID adds the id to the get decision by Id using g e t 2 params

func (*GetDecisionByIDUsingGET2Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get decision by Id using g e t 2 params

func (*GetDecisionByIDUsingGET2Params) WriteToRequest added in v0.4.0

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 (*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

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

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

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

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 (*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

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 (*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

WithContext adds the context to the get decisions using g e t 2 params

func (*GetDecisionsUsingGET2Params) WithDefaults added in v0.4.0

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

WithDryRunID adds the dryRunID to the get decisions using g e t 2 params

func (*GetDecisionsUsingGET2Params) WithHTTPClient added in v0.4.0

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

WithSearch adds the search to the get decisions using g e t 2 params

func (*GetDecisionsUsingGET2Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get decisions using g e t 2 params

func (*GetDecisionsUsingGET2Params) WriteToRequest added in v0.4.0

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL