saved_searches

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT 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 saved searches API

func (*Client) CreateSavedSearch

func (a *Client) CreateSavedSearch(params *CreateSavedSearchParams, opts ...ClientOption) (*CreateSavedSearchOK, error)

CreateSavedSearch creates a saved searches resource

func (*Client) DeleteSavedSearch

func (a *Client) DeleteSavedSearch(params *DeleteSavedSearchParams, opts ...ClientOption) (*DeleteSavedSearchOK, error)

DeleteSavedSearch deletes a saved searches resource

func (*Client) Deploy

func (a *Client) Deploy(params *DeployParams, opts ...ClientOption) (*DeployOK, error)

Deploy deploys a saved search

func (*Client) Execute

func (a *Client) Execute(params *ExecuteParams, opts ...ClientOption) (*ExecuteOK, error)

Execute executes a saved search

func (*Client) ExecuteDynamic

func (a *Client) ExecuteDynamic(params *ExecuteDynamicParams, opts ...ClientOption) (*ExecuteDynamicOK, error)

ExecuteDynamic executes a dynamic saved search

func (*Client) Ingest

func (a *Client) Ingest(params *IngestParams, opts ...ClientOption) (*IngestOK, error)

Ingest populates a saved search

func (*Client) Query

func (a *Client) Query(params *QueryParams, opts ...ClientOption) (*QueryOK, error)

Query queries for saved searches resources and returns ids

func (*Client) QueryByID

func (a *Client) QueryByID(params *QueryByIDParams, opts ...ClientOption) (*QueryByIDOK, error)

QueryByID retrieves saved searches resources by ids

func (*Client) QueryCombined

func (a *Client) QueryCombined(params *QueryCombinedParams, opts ...ClientOption) (*QueryCombinedOK, error)

QueryCombined queries for saved searches resources and returns details

func (*Client) Result

func (a *Client) Result(params *ResultParams, opts ...ClientOption) (*ResultOK, error)

Result gets the results of a saved search

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateSavedSearch

func (a *Client) UpdateSavedSearch(params *UpdateSavedSearchParams, opts ...ClientOption) (*UpdateSavedSearchOK, error)

UpdateSavedSearch updates a saved searches resource

func (*Client) Validate

func (a *Client) Validate(params *ValidateParams, opts ...ClientOption) (*ValidateOK, error)

Validate validates a search

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateSavedSearch(params *CreateSavedSearchParams, opts ...ClientOption) (*CreateSavedSearchOK, error)

	DeleteSavedSearch(params *DeleteSavedSearchParams, opts ...ClientOption) (*DeleteSavedSearchOK, error)

	Deploy(params *DeployParams, opts ...ClientOption) (*DeployOK, error)

	Execute(params *ExecuteParams, opts ...ClientOption) (*ExecuteOK, error)

	ExecuteDynamic(params *ExecuteDynamicParams, opts ...ClientOption) (*ExecuteDynamicOK, error)

	Ingest(params *IngestParams, opts ...ClientOption) (*IngestOK, error)

	Query(params *QueryParams, opts ...ClientOption) (*QueryOK, error)

	QueryByID(params *QueryByIDParams, opts ...ClientOption) (*QueryByIDOK, error)

	QueryCombined(params *QueryCombinedParams, opts ...ClientOption) (*QueryCombinedOK, error)

	Result(params *ResultParams, opts ...ClientOption) (*ResultOK, error)

	UpdateSavedSearch(params *UpdateSavedSearchParams, opts ...ClientOption) (*UpdateSavedSearchOK, error)

	Validate(params *ValidateParams, opts ...ClientOption) (*ValidateOK, 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 saved searches API client.

type CreateSavedSearchForbidden

type CreateSavedSearchForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

CreateSavedSearchForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateSavedSearchForbidden

func NewCreateSavedSearchForbidden() *CreateSavedSearchForbidden

NewCreateSavedSearchForbidden creates a CreateSavedSearchForbidden with default headers values

func (*CreateSavedSearchForbidden) Code

func (o *CreateSavedSearchForbidden) Code() int

Code gets the status code for the create saved search forbidden response

func (*CreateSavedSearchForbidden) Error

func (*CreateSavedSearchForbidden) GetPayload

func (*CreateSavedSearchForbidden) IsClientError

func (o *CreateSavedSearchForbidden) IsClientError() bool

IsClientError returns true when this create saved search forbidden response has a 4xx status code

func (*CreateSavedSearchForbidden) IsCode

func (o *CreateSavedSearchForbidden) IsCode(code int) bool

IsCode returns true when this create saved search forbidden response a status code equal to that given

func (*CreateSavedSearchForbidden) IsRedirect

func (o *CreateSavedSearchForbidden) IsRedirect() bool

IsRedirect returns true when this create saved search forbidden response has a 3xx status code

func (*CreateSavedSearchForbidden) IsServerError

func (o *CreateSavedSearchForbidden) IsServerError() bool

IsServerError returns true when this create saved search forbidden response has a 5xx status code

func (*CreateSavedSearchForbidden) IsSuccess

func (o *CreateSavedSearchForbidden) IsSuccess() bool

IsSuccess returns true when this create saved search forbidden response has a 2xx status code

func (*CreateSavedSearchForbidden) String

func (o *CreateSavedSearchForbidden) String() string

type CreateSavedSearchOK

type CreateSavedSearchOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.DomainSavedSearchWrapper
}

CreateSavedSearchOK describes a response with status code 200, with default header values.

OK

func NewCreateSavedSearchOK

func NewCreateSavedSearchOK() *CreateSavedSearchOK

NewCreateSavedSearchOK creates a CreateSavedSearchOK with default headers values

func (*CreateSavedSearchOK) Code

func (o *CreateSavedSearchOK) Code() int

Code gets the status code for the create saved search o k response

func (*CreateSavedSearchOK) Error

func (o *CreateSavedSearchOK) Error() string

func (*CreateSavedSearchOK) GetPayload

func (*CreateSavedSearchOK) IsClientError

func (o *CreateSavedSearchOK) IsClientError() bool

IsClientError returns true when this create saved search o k response has a 4xx status code

func (*CreateSavedSearchOK) IsCode

func (o *CreateSavedSearchOK) IsCode(code int) bool

IsCode returns true when this create saved search o k response a status code equal to that given

func (*CreateSavedSearchOK) IsRedirect

func (o *CreateSavedSearchOK) IsRedirect() bool

IsRedirect returns true when this create saved search o k response has a 3xx status code

func (*CreateSavedSearchOK) IsServerError

func (o *CreateSavedSearchOK) IsServerError() bool

IsServerError returns true when this create saved search o k response has a 5xx status code

func (*CreateSavedSearchOK) IsSuccess

func (o *CreateSavedSearchOK) IsSuccess() bool

IsSuccess returns true when this create saved search o k response has a 2xx status code

func (*CreateSavedSearchOK) String

func (o *CreateSavedSearchOK) String() string

type CreateSavedSearchParams

type CreateSavedSearchParams struct {

	/* XCSCREATEORIGIN.

	   Create / Update request origin .
	*/
	XCSCREATEORIGIN *string

	/* XCsAppName.

	   App name used to name repository and workflow action
	*/
	XCsAppName *string

	// Body.
	Body *models.ApidomainSavedSearchCreateRequestV1

	/* DryRun.

	   Only test for correctness without saving / updating
	*/
	DryRun *bool

	/* Version.

	   Version of resource being created
	*/
	Version *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateSavedSearchParams contains all the parameters to send to the API endpoint

for the create saved search operation.

Typically these are written to a http.Request.

func NewCreateSavedSearchParams

func NewCreateSavedSearchParams() *CreateSavedSearchParams

NewCreateSavedSearchParams creates a new CreateSavedSearchParams 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 NewCreateSavedSearchParamsWithContext

func NewCreateSavedSearchParamsWithContext(ctx context.Context) *CreateSavedSearchParams

NewCreateSavedSearchParamsWithContext creates a new CreateSavedSearchParams object with the ability to set a context for a request.

func NewCreateSavedSearchParamsWithHTTPClient

func NewCreateSavedSearchParamsWithHTTPClient(client *http.Client) *CreateSavedSearchParams

NewCreateSavedSearchParamsWithHTTPClient creates a new CreateSavedSearchParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSavedSearchParamsWithTimeout

func NewCreateSavedSearchParamsWithTimeout(timeout time.Duration) *CreateSavedSearchParams

NewCreateSavedSearchParamsWithTimeout creates a new CreateSavedSearchParams object with the ability to set a timeout on a request.

func (*CreateSavedSearchParams) SetBody

SetBody adds the body to the create saved search params

func (*CreateSavedSearchParams) SetContext

func (o *CreateSavedSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the create saved search params

func (*CreateSavedSearchParams) SetDefaults

func (o *CreateSavedSearchParams) SetDefaults()

SetDefaults hydrates default values in the create saved search params (not the query body).

All values with no default are reset to their zero value.

func (*CreateSavedSearchParams) SetDryRun

func (o *CreateSavedSearchParams) SetDryRun(dryRun *bool)

SetDryRun adds the dryRun to the create saved search params

func (*CreateSavedSearchParams) SetHTTPClient

func (o *CreateSavedSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create saved search params

func (*CreateSavedSearchParams) SetTimeout

func (o *CreateSavedSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create saved search params

func (*CreateSavedSearchParams) SetVersion

func (o *CreateSavedSearchParams) SetVersion(version *string)

SetVersion adds the version to the create saved search params

func (*CreateSavedSearchParams) SetXCSCREATEORIGIN

func (o *CreateSavedSearchParams) SetXCSCREATEORIGIN(xCSCREATEORIGIN *string)

SetXCSCREATEORIGIN adds the xCSCREATEORIGIN to the create saved search params

func (*CreateSavedSearchParams) SetXCsAppName

func (o *CreateSavedSearchParams) SetXCsAppName(xCsAppName *string)

SetXCsAppName adds the xCsAppName to the create saved search params

func (*CreateSavedSearchParams) WithBody

WithBody adds the body to the create saved search params

func (*CreateSavedSearchParams) WithContext

WithContext adds the context to the create saved search params

func (*CreateSavedSearchParams) WithDefaults

WithDefaults hydrates default values in the create saved search params (not the query body).

All values with no default are reset to their zero value.

func (*CreateSavedSearchParams) WithDryRun

func (o *CreateSavedSearchParams) WithDryRun(dryRun *bool) *CreateSavedSearchParams

WithDryRun adds the dryRun to the create saved search params

func (*CreateSavedSearchParams) WithHTTPClient

func (o *CreateSavedSearchParams) WithHTTPClient(client *http.Client) *CreateSavedSearchParams

WithHTTPClient adds the HTTPClient to the create saved search params

func (*CreateSavedSearchParams) WithTimeout

WithTimeout adds the timeout to the create saved search params

func (*CreateSavedSearchParams) WithVersion

func (o *CreateSavedSearchParams) WithVersion(version *string) *CreateSavedSearchParams

WithVersion adds the version to the create saved search params

func (*CreateSavedSearchParams) WithXCSCREATEORIGIN

func (o *CreateSavedSearchParams) WithXCSCREATEORIGIN(xCSCREATEORIGIN *string) *CreateSavedSearchParams

WithXCSCREATEORIGIN adds the xCSCREATEORIGIN to the create saved search params

func (*CreateSavedSearchParams) WithXCsAppName

func (o *CreateSavedSearchParams) WithXCsAppName(xCsAppName *string) *CreateSavedSearchParams

WithXCsAppName adds the xCsAppName to the create saved search params

func (*CreateSavedSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSavedSearchReader

type CreateSavedSearchReader struct {
	// contains filtered or unexported fields
}

CreateSavedSearchReader is a Reader for the CreateSavedSearch structure.

func (*CreateSavedSearchReader) ReadResponse

func (o *CreateSavedSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateSavedSearchTooManyRequests

type CreateSavedSearchTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

CreateSavedSearchTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateSavedSearchTooManyRequests

func NewCreateSavedSearchTooManyRequests() *CreateSavedSearchTooManyRequests

NewCreateSavedSearchTooManyRequests creates a CreateSavedSearchTooManyRequests with default headers values

func (*CreateSavedSearchTooManyRequests) Code

Code gets the status code for the create saved search too many requests response

func (*CreateSavedSearchTooManyRequests) Error

func (*CreateSavedSearchTooManyRequests) GetPayload

func (*CreateSavedSearchTooManyRequests) IsClientError

func (o *CreateSavedSearchTooManyRequests) IsClientError() bool

IsClientError returns true when this create saved search too many requests response has a 4xx status code

func (*CreateSavedSearchTooManyRequests) IsCode

func (o *CreateSavedSearchTooManyRequests) IsCode(code int) bool

IsCode returns true when this create saved search too many requests response a status code equal to that given

func (*CreateSavedSearchTooManyRequests) IsRedirect

func (o *CreateSavedSearchTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create saved search too many requests response has a 3xx status code

func (*CreateSavedSearchTooManyRequests) IsServerError

func (o *CreateSavedSearchTooManyRequests) IsServerError() bool

IsServerError returns true when this create saved search too many requests response has a 5xx status code

func (*CreateSavedSearchTooManyRequests) IsSuccess

func (o *CreateSavedSearchTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create saved search too many requests response has a 2xx status code

func (*CreateSavedSearchTooManyRequests) String

type DeleteSavedSearchForbidden

type DeleteSavedSearchForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

DeleteSavedSearchForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteSavedSearchForbidden

func NewDeleteSavedSearchForbidden() *DeleteSavedSearchForbidden

NewDeleteSavedSearchForbidden creates a DeleteSavedSearchForbidden with default headers values

func (*DeleteSavedSearchForbidden) Code

func (o *DeleteSavedSearchForbidden) Code() int

Code gets the status code for the delete saved search forbidden response

func (*DeleteSavedSearchForbidden) Error

func (*DeleteSavedSearchForbidden) GetPayload

func (*DeleteSavedSearchForbidden) IsClientError

func (o *DeleteSavedSearchForbidden) IsClientError() bool

IsClientError returns true when this delete saved search forbidden response has a 4xx status code

func (*DeleteSavedSearchForbidden) IsCode

func (o *DeleteSavedSearchForbidden) IsCode(code int) bool

IsCode returns true when this delete saved search forbidden response a status code equal to that given

func (*DeleteSavedSearchForbidden) IsRedirect

func (o *DeleteSavedSearchForbidden) IsRedirect() bool

IsRedirect returns true when this delete saved search forbidden response has a 3xx status code

func (*DeleteSavedSearchForbidden) IsServerError

func (o *DeleteSavedSearchForbidden) IsServerError() bool

IsServerError returns true when this delete saved search forbidden response has a 5xx status code

func (*DeleteSavedSearchForbidden) IsSuccess

func (o *DeleteSavedSearchForbidden) IsSuccess() bool

IsSuccess returns true when this delete saved search forbidden response has a 2xx status code

func (*DeleteSavedSearchForbidden) String

func (o *DeleteSavedSearchForbidden) String() string

type DeleteSavedSearchOK

type DeleteSavedSearchOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CsrestfulEntitiesResponse
}

DeleteSavedSearchOK describes a response with status code 200, with default header values.

OK

func NewDeleteSavedSearchOK

func NewDeleteSavedSearchOK() *DeleteSavedSearchOK

NewDeleteSavedSearchOK creates a DeleteSavedSearchOK with default headers values

func (*DeleteSavedSearchOK) Code

func (o *DeleteSavedSearchOK) Code() int

Code gets the status code for the delete saved search o k response

func (*DeleteSavedSearchOK) Error

func (o *DeleteSavedSearchOK) Error() string

func (*DeleteSavedSearchOK) GetPayload

func (*DeleteSavedSearchOK) IsClientError

func (o *DeleteSavedSearchOK) IsClientError() bool

IsClientError returns true when this delete saved search o k response has a 4xx status code

func (*DeleteSavedSearchOK) IsCode

func (o *DeleteSavedSearchOK) IsCode(code int) bool

IsCode returns true when this delete saved search o k response a status code equal to that given

func (*DeleteSavedSearchOK) IsRedirect

func (o *DeleteSavedSearchOK) IsRedirect() bool

IsRedirect returns true when this delete saved search o k response has a 3xx status code

func (*DeleteSavedSearchOK) IsServerError

func (o *DeleteSavedSearchOK) IsServerError() bool

IsServerError returns true when this delete saved search o k response has a 5xx status code

func (*DeleteSavedSearchOK) IsSuccess

func (o *DeleteSavedSearchOK) IsSuccess() bool

IsSuccess returns true when this delete saved search o k response has a 2xx status code

func (*DeleteSavedSearchOK) String

func (o *DeleteSavedSearchOK) String() string

type DeleteSavedSearchParams

type DeleteSavedSearchParams struct {

	/* Ids.

	   IDs of resources to retrieve details.
	*/
	Ids []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteSavedSearchParams contains all the parameters to send to the API endpoint

for the delete saved search operation.

Typically these are written to a http.Request.

func NewDeleteSavedSearchParams

func NewDeleteSavedSearchParams() *DeleteSavedSearchParams

NewDeleteSavedSearchParams creates a new DeleteSavedSearchParams 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 NewDeleteSavedSearchParamsWithContext

func NewDeleteSavedSearchParamsWithContext(ctx context.Context) *DeleteSavedSearchParams

NewDeleteSavedSearchParamsWithContext creates a new DeleteSavedSearchParams object with the ability to set a context for a request.

func NewDeleteSavedSearchParamsWithHTTPClient

func NewDeleteSavedSearchParamsWithHTTPClient(client *http.Client) *DeleteSavedSearchParams

NewDeleteSavedSearchParamsWithHTTPClient creates a new DeleteSavedSearchParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSavedSearchParamsWithTimeout

func NewDeleteSavedSearchParamsWithTimeout(timeout time.Duration) *DeleteSavedSearchParams

NewDeleteSavedSearchParamsWithTimeout creates a new DeleteSavedSearchParams object with the ability to set a timeout on a request.

func (*DeleteSavedSearchParams) SetContext

func (o *DeleteSavedSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the delete saved search params

func (*DeleteSavedSearchParams) SetDefaults

func (o *DeleteSavedSearchParams) SetDefaults()

SetDefaults hydrates default values in the delete saved search params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteSavedSearchParams) SetHTTPClient

func (o *DeleteSavedSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete saved search params

func (*DeleteSavedSearchParams) SetIds

func (o *DeleteSavedSearchParams) SetIds(ids []string)

SetIds adds the ids to the delete saved search params

func (*DeleteSavedSearchParams) SetTimeout

func (o *DeleteSavedSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete saved search params

func (*DeleteSavedSearchParams) WithContext

WithContext adds the context to the delete saved search params

func (*DeleteSavedSearchParams) WithDefaults

WithDefaults hydrates default values in the delete saved search params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteSavedSearchParams) WithHTTPClient

func (o *DeleteSavedSearchParams) WithHTTPClient(client *http.Client) *DeleteSavedSearchParams

WithHTTPClient adds the HTTPClient to the delete saved search params

func (*DeleteSavedSearchParams) WithIds

WithIds adds the ids to the delete saved search params

func (*DeleteSavedSearchParams) WithTimeout

WithTimeout adds the timeout to the delete saved search params

func (*DeleteSavedSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSavedSearchReader

type DeleteSavedSearchReader struct {
	// contains filtered or unexported fields
}

DeleteSavedSearchReader is a Reader for the DeleteSavedSearch structure.

func (*DeleteSavedSearchReader) ReadResponse

func (o *DeleteSavedSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteSavedSearchTooManyRequests

type DeleteSavedSearchTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

DeleteSavedSearchTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteSavedSearchTooManyRequests

func NewDeleteSavedSearchTooManyRequests() *DeleteSavedSearchTooManyRequests

NewDeleteSavedSearchTooManyRequests creates a DeleteSavedSearchTooManyRequests with default headers values

func (*DeleteSavedSearchTooManyRequests) Code

Code gets the status code for the delete saved search too many requests response

func (*DeleteSavedSearchTooManyRequests) Error

func (*DeleteSavedSearchTooManyRequests) GetPayload

func (*DeleteSavedSearchTooManyRequests) IsClientError

func (o *DeleteSavedSearchTooManyRequests) IsClientError() bool

IsClientError returns true when this delete saved search too many requests response has a 4xx status code

func (*DeleteSavedSearchTooManyRequests) IsCode

func (o *DeleteSavedSearchTooManyRequests) IsCode(code int) bool

IsCode returns true when this delete saved search too many requests response a status code equal to that given

func (*DeleteSavedSearchTooManyRequests) IsRedirect

func (o *DeleteSavedSearchTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete saved search too many requests response has a 3xx status code

func (*DeleteSavedSearchTooManyRequests) IsServerError

func (o *DeleteSavedSearchTooManyRequests) IsServerError() bool

IsServerError returns true when this delete saved search too many requests response has a 5xx status code

func (*DeleteSavedSearchTooManyRequests) IsSuccess

func (o *DeleteSavedSearchTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete saved search too many requests response has a 2xx status code

func (*DeleteSavedSearchTooManyRequests) String

type DeployForbidden

type DeployForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

DeployForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeployForbidden

func NewDeployForbidden() *DeployForbidden

NewDeployForbidden creates a DeployForbidden with default headers values

func (*DeployForbidden) Code

func (o *DeployForbidden) Code() int

Code gets the status code for the deploy forbidden response

func (*DeployForbidden) Error

func (o *DeployForbidden) Error() string

func (*DeployForbidden) GetPayload

func (o *DeployForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*DeployForbidden) IsClientError

func (o *DeployForbidden) IsClientError() bool

IsClientError returns true when this deploy forbidden response has a 4xx status code

func (*DeployForbidden) IsCode

func (o *DeployForbidden) IsCode(code int) bool

IsCode returns true when this deploy forbidden response a status code equal to that given

func (*DeployForbidden) IsRedirect

func (o *DeployForbidden) IsRedirect() bool

IsRedirect returns true when this deploy forbidden response has a 3xx status code

func (*DeployForbidden) IsServerError

func (o *DeployForbidden) IsServerError() bool

IsServerError returns true when this deploy forbidden response has a 5xx status code

func (*DeployForbidden) IsSuccess

func (o *DeployForbidden) IsSuccess() bool

IsSuccess returns true when this deploy forbidden response has a 2xx status code

func (*DeployForbidden) String

func (o *DeployForbidden) String() string

type DeployOK

type DeployOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.ApidomainQueryResponseWrapperV1
}

DeployOK describes a response with status code 200, with default header values.

OK

func NewDeployOK

func NewDeployOK() *DeployOK

NewDeployOK creates a DeployOK with default headers values

func (*DeployOK) Code

func (o *DeployOK) Code() int

Code gets the status code for the deploy o k response

func (*DeployOK) Error

func (o *DeployOK) Error() string

func (*DeployOK) GetPayload

func (*DeployOK) IsClientError

func (o *DeployOK) IsClientError() bool

IsClientError returns true when this deploy o k response has a 4xx status code

func (*DeployOK) IsCode

func (o *DeployOK) IsCode(code int) bool

IsCode returns true when this deploy o k response a status code equal to that given

func (*DeployOK) IsRedirect

func (o *DeployOK) IsRedirect() bool

IsRedirect returns true when this deploy o k response has a 3xx status code

func (*DeployOK) IsServerError

func (o *DeployOK) IsServerError() bool

IsServerError returns true when this deploy o k response has a 5xx status code

func (*DeployOK) IsSuccess

func (o *DeployOK) IsSuccess() bool

IsSuccess returns true when this deploy o k response has a 2xx status code

func (*DeployOK) String

func (o *DeployOK) String() string

type DeployParams

type DeployParams struct {

	// Body.
	Body *models.ApidomainSavedSearchDeployRequestV1

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeployParams contains all the parameters to send to the API endpoint

for the deploy operation.

Typically these are written to a http.Request.

func NewDeployParams

func NewDeployParams() *DeployParams

NewDeployParams creates a new DeployParams 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 NewDeployParamsWithContext

func NewDeployParamsWithContext(ctx context.Context) *DeployParams

NewDeployParamsWithContext creates a new DeployParams object with the ability to set a context for a request.

func NewDeployParamsWithHTTPClient

func NewDeployParamsWithHTTPClient(client *http.Client) *DeployParams

NewDeployParamsWithHTTPClient creates a new DeployParams object with the ability to set a custom HTTPClient for a request.

func NewDeployParamsWithTimeout

func NewDeployParamsWithTimeout(timeout time.Duration) *DeployParams

NewDeployParamsWithTimeout creates a new DeployParams object with the ability to set a timeout on a request.

func (*DeployParams) SetBody

SetBody adds the body to the deploy params

func (*DeployParams) SetContext

func (o *DeployParams) SetContext(ctx context.Context)

SetContext adds the context to the deploy params

func (*DeployParams) SetDefaults

func (o *DeployParams) SetDefaults()

SetDefaults hydrates default values in the deploy params (not the query body).

All values with no default are reset to their zero value.

func (*DeployParams) SetHTTPClient

func (o *DeployParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the deploy params

func (*DeployParams) SetTimeout

func (o *DeployParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the deploy params

func (*DeployParams) WithBody

WithBody adds the body to the deploy params

func (*DeployParams) WithContext

func (o *DeployParams) WithContext(ctx context.Context) *DeployParams

WithContext adds the context to the deploy params

func (*DeployParams) WithDefaults

func (o *DeployParams) WithDefaults() *DeployParams

WithDefaults hydrates default values in the deploy params (not the query body).

All values with no default are reset to their zero value.

func (*DeployParams) WithHTTPClient

func (o *DeployParams) WithHTTPClient(client *http.Client) *DeployParams

WithHTTPClient adds the HTTPClient to the deploy params

func (*DeployParams) WithTimeout

func (o *DeployParams) WithTimeout(timeout time.Duration) *DeployParams

WithTimeout adds the timeout to the deploy params

func (*DeployParams) WriteToRequest

func (o *DeployParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeployReader

type DeployReader struct {
	// contains filtered or unexported fields
}

DeployReader is a Reader for the Deploy structure.

func (*DeployReader) ReadResponse

func (o *DeployReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeployTooManyRequests

type DeployTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

DeployTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeployTooManyRequests

func NewDeployTooManyRequests() *DeployTooManyRequests

NewDeployTooManyRequests creates a DeployTooManyRequests with default headers values

func (*DeployTooManyRequests) Code

func (o *DeployTooManyRequests) Code() int

Code gets the status code for the deploy too many requests response

func (*DeployTooManyRequests) Error

func (o *DeployTooManyRequests) Error() string

func (*DeployTooManyRequests) GetPayload

func (*DeployTooManyRequests) IsClientError

func (o *DeployTooManyRequests) IsClientError() bool

IsClientError returns true when this deploy too many requests response has a 4xx status code

func (*DeployTooManyRequests) IsCode

func (o *DeployTooManyRequests) IsCode(code int) bool

IsCode returns true when this deploy too many requests response a status code equal to that given

func (*DeployTooManyRequests) IsRedirect

func (o *DeployTooManyRequests) IsRedirect() bool

IsRedirect returns true when this deploy too many requests response has a 3xx status code

func (*DeployTooManyRequests) IsServerError

func (o *DeployTooManyRequests) IsServerError() bool

IsServerError returns true when this deploy too many requests response has a 5xx status code

func (*DeployTooManyRequests) IsSuccess

func (o *DeployTooManyRequests) IsSuccess() bool

IsSuccess returns true when this deploy too many requests response has a 2xx status code

func (*DeployTooManyRequests) String

func (o *DeployTooManyRequests) String() string

type ExecuteDynamicForbidden

type ExecuteDynamicForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ExecuteDynamicForbidden describes a response with status code 403, with default header values.

Forbidden

func NewExecuteDynamicForbidden

func NewExecuteDynamicForbidden() *ExecuteDynamicForbidden

NewExecuteDynamicForbidden creates a ExecuteDynamicForbidden with default headers values

func (*ExecuteDynamicForbidden) Code

func (o *ExecuteDynamicForbidden) Code() int

Code gets the status code for the execute dynamic forbidden response

func (*ExecuteDynamicForbidden) Error

func (o *ExecuteDynamicForbidden) Error() string

func (*ExecuteDynamicForbidden) GetPayload

func (*ExecuteDynamicForbidden) IsClientError

func (o *ExecuteDynamicForbidden) IsClientError() bool

IsClientError returns true when this execute dynamic forbidden response has a 4xx status code

func (*ExecuteDynamicForbidden) IsCode

func (o *ExecuteDynamicForbidden) IsCode(code int) bool

IsCode returns true when this execute dynamic forbidden response a status code equal to that given

func (*ExecuteDynamicForbidden) IsRedirect

func (o *ExecuteDynamicForbidden) IsRedirect() bool

IsRedirect returns true when this execute dynamic forbidden response has a 3xx status code

func (*ExecuteDynamicForbidden) IsServerError

func (o *ExecuteDynamicForbidden) IsServerError() bool

IsServerError returns true when this execute dynamic forbidden response has a 5xx status code

func (*ExecuteDynamicForbidden) IsSuccess

func (o *ExecuteDynamicForbidden) IsSuccess() bool

IsSuccess returns true when this execute dynamic forbidden response has a 2xx status code

func (*ExecuteDynamicForbidden) String

func (o *ExecuteDynamicForbidden) String() string

type ExecuteDynamicOK

type ExecuteDynamicOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.ApidomainQueryResponseWrapperV1
}

ExecuteDynamicOK describes a response with status code 200, with default header values.

OK

func NewExecuteDynamicOK

func NewExecuteDynamicOK() *ExecuteDynamicOK

NewExecuteDynamicOK creates a ExecuteDynamicOK with default headers values

func (*ExecuteDynamicOK) Code

func (o *ExecuteDynamicOK) Code() int

Code gets the status code for the execute dynamic o k response

func (*ExecuteDynamicOK) Error

func (o *ExecuteDynamicOK) Error() string

func (*ExecuteDynamicOK) GetPayload

func (*ExecuteDynamicOK) IsClientError

func (o *ExecuteDynamicOK) IsClientError() bool

IsClientError returns true when this execute dynamic o k response has a 4xx status code

func (*ExecuteDynamicOK) IsCode

func (o *ExecuteDynamicOK) IsCode(code int) bool

IsCode returns true when this execute dynamic o k response a status code equal to that given

func (*ExecuteDynamicOK) IsRedirect

func (o *ExecuteDynamicOK) IsRedirect() bool

IsRedirect returns true when this execute dynamic o k response has a 3xx status code

func (*ExecuteDynamicOK) IsServerError

func (o *ExecuteDynamicOK) IsServerError() bool

IsServerError returns true when this execute dynamic o k response has a 5xx status code

func (*ExecuteDynamicOK) IsSuccess

func (o *ExecuteDynamicOK) IsSuccess() bool

IsSuccess returns true when this execute dynamic o k response has a 2xx status code

func (*ExecuteDynamicOK) String

func (o *ExecuteDynamicOK) String() string

type ExecuteDynamicParams

type ExecuteDynamicParams struct {

	// Body.
	Body *models.ApidomainDynamicExecuteSearchRequestV1

	/* IncludeSchemaGeneration.

	   Include generated schemas in the response
	*/
	IncludeSchemaGeneration *bool

	/* IncludeTestData.

	   Include test data when executing searches
	*/
	IncludeTestData *bool

	/* Metadata.

	   Whether to include metadata in the response
	*/
	Metadata *bool

	/* Mode.

	   Mode to execute the query under.
	*/
	Mode *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExecuteDynamicParams contains all the parameters to send to the API endpoint

for the execute dynamic operation.

Typically these are written to a http.Request.

func NewExecuteDynamicParams

func NewExecuteDynamicParams() *ExecuteDynamicParams

NewExecuteDynamicParams creates a new ExecuteDynamicParams 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 NewExecuteDynamicParamsWithContext

func NewExecuteDynamicParamsWithContext(ctx context.Context) *ExecuteDynamicParams

NewExecuteDynamicParamsWithContext creates a new ExecuteDynamicParams object with the ability to set a context for a request.

func NewExecuteDynamicParamsWithHTTPClient

func NewExecuteDynamicParamsWithHTTPClient(client *http.Client) *ExecuteDynamicParams

NewExecuteDynamicParamsWithHTTPClient creates a new ExecuteDynamicParams object with the ability to set a custom HTTPClient for a request.

func NewExecuteDynamicParamsWithTimeout

func NewExecuteDynamicParamsWithTimeout(timeout time.Duration) *ExecuteDynamicParams

NewExecuteDynamicParamsWithTimeout creates a new ExecuteDynamicParams object with the ability to set a timeout on a request.

func (*ExecuteDynamicParams) SetBody

SetBody adds the body to the execute dynamic params

func (*ExecuteDynamicParams) SetContext

func (o *ExecuteDynamicParams) SetContext(ctx context.Context)

SetContext adds the context to the execute dynamic params

func (*ExecuteDynamicParams) SetDefaults

func (o *ExecuteDynamicParams) SetDefaults()

SetDefaults hydrates default values in the execute dynamic params (not the query body).

All values with no default are reset to their zero value.

func (*ExecuteDynamicParams) SetHTTPClient

func (o *ExecuteDynamicParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the execute dynamic params

func (*ExecuteDynamicParams) SetIncludeSchemaGeneration

func (o *ExecuteDynamicParams) SetIncludeSchemaGeneration(includeSchemaGeneration *bool)

SetIncludeSchemaGeneration adds the includeSchemaGeneration to the execute dynamic params

func (*ExecuteDynamicParams) SetIncludeTestData

func (o *ExecuteDynamicParams) SetIncludeTestData(includeTestData *bool)

SetIncludeTestData adds the includeTestData to the execute dynamic params

func (*ExecuteDynamicParams) SetMetadata

func (o *ExecuteDynamicParams) SetMetadata(metadata *bool)

SetMetadata adds the metadata to the execute dynamic params

func (*ExecuteDynamicParams) SetMode

func (o *ExecuteDynamicParams) SetMode(mode *string)

SetMode adds the mode to the execute dynamic params

func (*ExecuteDynamicParams) SetTimeout

func (o *ExecuteDynamicParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the execute dynamic params

func (*ExecuteDynamicParams) WithBody

WithBody adds the body to the execute dynamic params

func (*ExecuteDynamicParams) WithContext

WithContext adds the context to the execute dynamic params

func (*ExecuteDynamicParams) WithDefaults

func (o *ExecuteDynamicParams) WithDefaults() *ExecuteDynamicParams

WithDefaults hydrates default values in the execute dynamic params (not the query body).

All values with no default are reset to their zero value.

func (*ExecuteDynamicParams) WithHTTPClient

func (o *ExecuteDynamicParams) WithHTTPClient(client *http.Client) *ExecuteDynamicParams

WithHTTPClient adds the HTTPClient to the execute dynamic params

func (*ExecuteDynamicParams) WithIncludeSchemaGeneration

func (o *ExecuteDynamicParams) WithIncludeSchemaGeneration(includeSchemaGeneration *bool) *ExecuteDynamicParams

WithIncludeSchemaGeneration adds the includeSchemaGeneration to the execute dynamic params

func (*ExecuteDynamicParams) WithIncludeTestData

func (o *ExecuteDynamicParams) WithIncludeTestData(includeTestData *bool) *ExecuteDynamicParams

WithIncludeTestData adds the includeTestData to the execute dynamic params

func (*ExecuteDynamicParams) WithMetadata

func (o *ExecuteDynamicParams) WithMetadata(metadata *bool) *ExecuteDynamicParams

WithMetadata adds the metadata to the execute dynamic params

func (*ExecuteDynamicParams) WithMode

func (o *ExecuteDynamicParams) WithMode(mode *string) *ExecuteDynamicParams

WithMode adds the mode to the execute dynamic params

func (*ExecuteDynamicParams) WithTimeout

func (o *ExecuteDynamicParams) WithTimeout(timeout time.Duration) *ExecuteDynamicParams

WithTimeout adds the timeout to the execute dynamic params

func (*ExecuteDynamicParams) WriteToRequest

func (o *ExecuteDynamicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExecuteDynamicReader

type ExecuteDynamicReader struct {
	// contains filtered or unexported fields
}

ExecuteDynamicReader is a Reader for the ExecuteDynamic structure.

func (*ExecuteDynamicReader) ReadResponse

func (o *ExecuteDynamicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExecuteDynamicTooManyRequests

type ExecuteDynamicTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

ExecuteDynamicTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewExecuteDynamicTooManyRequests

func NewExecuteDynamicTooManyRequests() *ExecuteDynamicTooManyRequests

NewExecuteDynamicTooManyRequests creates a ExecuteDynamicTooManyRequests with default headers values

func (*ExecuteDynamicTooManyRequests) Code

Code gets the status code for the execute dynamic too many requests response

func (*ExecuteDynamicTooManyRequests) Error

func (*ExecuteDynamicTooManyRequests) GetPayload

func (*ExecuteDynamicTooManyRequests) IsClientError

func (o *ExecuteDynamicTooManyRequests) IsClientError() bool

IsClientError returns true when this execute dynamic too many requests response has a 4xx status code

func (*ExecuteDynamicTooManyRequests) IsCode

func (o *ExecuteDynamicTooManyRequests) IsCode(code int) bool

IsCode returns true when this execute dynamic too many requests response a status code equal to that given

func (*ExecuteDynamicTooManyRequests) IsRedirect

func (o *ExecuteDynamicTooManyRequests) IsRedirect() bool

IsRedirect returns true when this execute dynamic too many requests response has a 3xx status code

func (*ExecuteDynamicTooManyRequests) IsServerError

func (o *ExecuteDynamicTooManyRequests) IsServerError() bool

IsServerError returns true when this execute dynamic too many requests response has a 5xx status code

func (*ExecuteDynamicTooManyRequests) IsSuccess

func (o *ExecuteDynamicTooManyRequests) IsSuccess() bool

IsSuccess returns true when this execute dynamic too many requests response has a 2xx status code

func (*ExecuteDynamicTooManyRequests) String

type ExecuteForbidden

type ExecuteForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ExecuteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewExecuteForbidden

func NewExecuteForbidden() *ExecuteForbidden

NewExecuteForbidden creates a ExecuteForbidden with default headers values

func (*ExecuteForbidden) Code

func (o *ExecuteForbidden) Code() int

Code gets the status code for the execute forbidden response

func (*ExecuteForbidden) Error

func (o *ExecuteForbidden) Error() string

func (*ExecuteForbidden) GetPayload

func (o *ExecuteForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*ExecuteForbidden) IsClientError

func (o *ExecuteForbidden) IsClientError() bool

IsClientError returns true when this execute forbidden response has a 4xx status code

func (*ExecuteForbidden) IsCode

func (o *ExecuteForbidden) IsCode(code int) bool

IsCode returns true when this execute forbidden response a status code equal to that given

func (*ExecuteForbidden) IsRedirect

func (o *ExecuteForbidden) IsRedirect() bool

IsRedirect returns true when this execute forbidden response has a 3xx status code

func (*ExecuteForbidden) IsServerError

func (o *ExecuteForbidden) IsServerError() bool

IsServerError returns true when this execute forbidden response has a 5xx status code

func (*ExecuteForbidden) IsSuccess

func (o *ExecuteForbidden) IsSuccess() bool

IsSuccess returns true when this execute forbidden response has a 2xx status code

func (*ExecuteForbidden) String

func (o *ExecuteForbidden) String() string

type ExecuteOK

type ExecuteOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.ApidomainQueryResponseWrapperV1
}

ExecuteOK describes a response with status code 200, with default header values.

OK

func NewExecuteOK

func NewExecuteOK() *ExecuteOK

NewExecuteOK creates a ExecuteOK with default headers values

func (*ExecuteOK) Code

func (o *ExecuteOK) Code() int

Code gets the status code for the execute o k response

func (*ExecuteOK) Error

func (o *ExecuteOK) Error() string

func (*ExecuteOK) GetPayload

func (*ExecuteOK) IsClientError

func (o *ExecuteOK) IsClientError() bool

IsClientError returns true when this execute o k response has a 4xx status code

func (*ExecuteOK) IsCode

func (o *ExecuteOK) IsCode(code int) bool

IsCode returns true when this execute o k response a status code equal to that given

func (*ExecuteOK) IsRedirect

func (o *ExecuteOK) IsRedirect() bool

IsRedirect returns true when this execute o k response has a 3xx status code

func (*ExecuteOK) IsServerError

func (o *ExecuteOK) IsServerError() bool

IsServerError returns true when this execute o k response has a 5xx status code

func (*ExecuteOK) IsSuccess

func (o *ExecuteOK) IsSuccess() bool

IsSuccess returns true when this execute o k response has a 2xx status code

func (*ExecuteOK) String

func (o *ExecuteOK) String() string

type ExecuteParams

type ExecuteParams struct {

	// Body.
	Body *models.ApidomainSavedSearchExecuteRequestV1

	/* Detailed.

	   Whether to include search field details
	*/
	Detailed *bool

	/* IncludeTestData.

	   Include test data when executing searches
	*/
	IncludeTestData *bool

	/* Metadata.

	   Whether to include metadata in the response
	*/
	Metadata *bool

	/* Mode.

	   Mode to execute the query under.  If provided, takes precedence over the mode provided in the body.
	*/
	Mode *string

	/* Version.

	   Version of resource being created
	*/
	Version *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExecuteParams contains all the parameters to send to the API endpoint

for the execute operation.

Typically these are written to a http.Request.

func NewExecuteParams

func NewExecuteParams() *ExecuteParams

NewExecuteParams creates a new ExecuteParams 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 NewExecuteParamsWithContext

func NewExecuteParamsWithContext(ctx context.Context) *ExecuteParams

NewExecuteParamsWithContext creates a new ExecuteParams object with the ability to set a context for a request.

func NewExecuteParamsWithHTTPClient

func NewExecuteParamsWithHTTPClient(client *http.Client) *ExecuteParams

NewExecuteParamsWithHTTPClient creates a new ExecuteParams object with the ability to set a custom HTTPClient for a request.

func NewExecuteParamsWithTimeout

func NewExecuteParamsWithTimeout(timeout time.Duration) *ExecuteParams

NewExecuteParamsWithTimeout creates a new ExecuteParams object with the ability to set a timeout on a request.

func (*ExecuteParams) SetBody

SetBody adds the body to the execute params

func (*ExecuteParams) SetContext

func (o *ExecuteParams) SetContext(ctx context.Context)

SetContext adds the context to the execute params

func (*ExecuteParams) SetDefaults

func (o *ExecuteParams) SetDefaults()

SetDefaults hydrates default values in the execute params (not the query body).

All values with no default are reset to their zero value.

func (*ExecuteParams) SetDetailed

func (o *ExecuteParams) SetDetailed(detailed *bool)

SetDetailed adds the detailed to the execute params

func (*ExecuteParams) SetHTTPClient

func (o *ExecuteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the execute params

func (*ExecuteParams) SetIncludeTestData

func (o *ExecuteParams) SetIncludeTestData(includeTestData *bool)

SetIncludeTestData adds the includeTestData to the execute params

func (*ExecuteParams) SetMetadata

func (o *ExecuteParams) SetMetadata(metadata *bool)

SetMetadata adds the metadata to the execute params

func (*ExecuteParams) SetMode

func (o *ExecuteParams) SetMode(mode *string)

SetMode adds the mode to the execute params

func (*ExecuteParams) SetTimeout

func (o *ExecuteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the execute params

func (*ExecuteParams) SetVersion

func (o *ExecuteParams) SetVersion(version *string)

SetVersion adds the version to the execute params

func (*ExecuteParams) WithBody

WithBody adds the body to the execute params

func (*ExecuteParams) WithContext

func (o *ExecuteParams) WithContext(ctx context.Context) *ExecuteParams

WithContext adds the context to the execute params

func (*ExecuteParams) WithDefaults

func (o *ExecuteParams) WithDefaults() *ExecuteParams

WithDefaults hydrates default values in the execute params (not the query body).

All values with no default are reset to their zero value.

func (*ExecuteParams) WithDetailed

func (o *ExecuteParams) WithDetailed(detailed *bool) *ExecuteParams

WithDetailed adds the detailed to the execute params

func (*ExecuteParams) WithHTTPClient

func (o *ExecuteParams) WithHTTPClient(client *http.Client) *ExecuteParams

WithHTTPClient adds the HTTPClient to the execute params

func (*ExecuteParams) WithIncludeTestData

func (o *ExecuteParams) WithIncludeTestData(includeTestData *bool) *ExecuteParams

WithIncludeTestData adds the includeTestData to the execute params

func (*ExecuteParams) WithMetadata

func (o *ExecuteParams) WithMetadata(metadata *bool) *ExecuteParams

WithMetadata adds the metadata to the execute params

func (*ExecuteParams) WithMode

func (o *ExecuteParams) WithMode(mode *string) *ExecuteParams

WithMode adds the mode to the execute params

func (*ExecuteParams) WithTimeout

func (o *ExecuteParams) WithTimeout(timeout time.Duration) *ExecuteParams

WithTimeout adds the timeout to the execute params

func (*ExecuteParams) WithVersion

func (o *ExecuteParams) WithVersion(version *string) *ExecuteParams

WithVersion adds the version to the execute params

func (*ExecuteParams) WriteToRequest

func (o *ExecuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExecuteReader

type ExecuteReader struct {
	// contains filtered or unexported fields
}

ExecuteReader is a Reader for the Execute structure.

func (*ExecuteReader) ReadResponse

func (o *ExecuteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExecuteTooManyRequests

type ExecuteTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

ExecuteTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewExecuteTooManyRequests

func NewExecuteTooManyRequests() *ExecuteTooManyRequests

NewExecuteTooManyRequests creates a ExecuteTooManyRequests with default headers values

func (*ExecuteTooManyRequests) Code

func (o *ExecuteTooManyRequests) Code() int

Code gets the status code for the execute too many requests response

func (*ExecuteTooManyRequests) Error

func (o *ExecuteTooManyRequests) Error() string

func (*ExecuteTooManyRequests) GetPayload

func (*ExecuteTooManyRequests) IsClientError

func (o *ExecuteTooManyRequests) IsClientError() bool

IsClientError returns true when this execute too many requests response has a 4xx status code

func (*ExecuteTooManyRequests) IsCode

func (o *ExecuteTooManyRequests) IsCode(code int) bool

IsCode returns true when this execute too many requests response a status code equal to that given

func (*ExecuteTooManyRequests) IsRedirect

func (o *ExecuteTooManyRequests) IsRedirect() bool

IsRedirect returns true when this execute too many requests response has a 3xx status code

func (*ExecuteTooManyRequests) IsServerError

func (o *ExecuteTooManyRequests) IsServerError() bool

IsServerError returns true when this execute too many requests response has a 5xx status code

func (*ExecuteTooManyRequests) IsSuccess

func (o *ExecuteTooManyRequests) IsSuccess() bool

IsSuccess returns true when this execute too many requests response has a 2xx status code

func (*ExecuteTooManyRequests) String

func (o *ExecuteTooManyRequests) String() string

type IngestForbidden

type IngestForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

IngestForbidden describes a response with status code 403, with default header values.

Forbidden

func NewIngestForbidden

func NewIngestForbidden() *IngestForbidden

NewIngestForbidden creates a IngestForbidden with default headers values

func (*IngestForbidden) Code

func (o *IngestForbidden) Code() int

Code gets the status code for the ingest forbidden response

func (*IngestForbidden) Error

func (o *IngestForbidden) Error() string

func (*IngestForbidden) GetPayload

func (o *IngestForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*IngestForbidden) IsClientError

func (o *IngestForbidden) IsClientError() bool

IsClientError returns true when this ingest forbidden response has a 4xx status code

func (*IngestForbidden) IsCode

func (o *IngestForbidden) IsCode(code int) bool

IsCode returns true when this ingest forbidden response a status code equal to that given

func (*IngestForbidden) IsRedirect

func (o *IngestForbidden) IsRedirect() bool

IsRedirect returns true when this ingest forbidden response has a 3xx status code

func (*IngestForbidden) IsServerError

func (o *IngestForbidden) IsServerError() bool

IsServerError returns true when this ingest forbidden response has a 5xx status code

func (*IngestForbidden) IsSuccess

func (o *IngestForbidden) IsSuccess() bool

IsSuccess returns true when this ingest forbidden response has a 2xx status code

func (*IngestForbidden) String

func (o *IngestForbidden) String() string

type IngestOK

type IngestOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.ApidomainDataIngestResponseWrapperV1
}

IngestOK describes a response with status code 200, with default header values.

OK

func NewIngestOK

func NewIngestOK() *IngestOK

NewIngestOK creates a IngestOK with default headers values

func (*IngestOK) Code

func (o *IngestOK) Code() int

Code gets the status code for the ingest o k response

func (*IngestOK) Error

func (o *IngestOK) Error() string

func (*IngestOK) GetPayload

func (*IngestOK) IsClientError

func (o *IngestOK) IsClientError() bool

IsClientError returns true when this ingest o k response has a 4xx status code

func (*IngestOK) IsCode

func (o *IngestOK) IsCode(code int) bool

IsCode returns true when this ingest o k response a status code equal to that given

func (*IngestOK) IsRedirect

func (o *IngestOK) IsRedirect() bool

IsRedirect returns true when this ingest o k response has a 3xx status code

func (*IngestOK) IsServerError

func (o *IngestOK) IsServerError() bool

IsServerError returns true when this ingest o k response has a 5xx status code

func (*IngestOK) IsSuccess

func (o *IngestOK) IsSuccess() bool

IsSuccess returns true when this ingest o k response has a 2xx status code

func (*IngestOK) String

func (o *IngestOK) String() string

type IngestParams

type IngestParams struct {

	/* XCsAppName.

	   App name used to name repository and workflow action
	*/
	XCsAppName *string

	/* DataFile.

	   Data file to ingest.  Currently limited to line delimited JSON
	*/
	DataFile runtime.NamedReadCloser

	/* Tag.

	   Custom tag for ingested data in the form tag:value
	*/
	Tag []string

	/* TagSource.

	   Tag the data with the specified source
	*/
	TagSource *string

	/* TestData.

	   Tag the data with test-ingest
	*/
	TestData *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

IngestParams contains all the parameters to send to the API endpoint

for the ingest operation.

Typically these are written to a http.Request.

func NewIngestParams

func NewIngestParams() *IngestParams

NewIngestParams creates a new IngestParams 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 NewIngestParamsWithContext

func NewIngestParamsWithContext(ctx context.Context) *IngestParams

NewIngestParamsWithContext creates a new IngestParams object with the ability to set a context for a request.

func NewIngestParamsWithHTTPClient

func NewIngestParamsWithHTTPClient(client *http.Client) *IngestParams

NewIngestParamsWithHTTPClient creates a new IngestParams object with the ability to set a custom HTTPClient for a request.

func NewIngestParamsWithTimeout

func NewIngestParamsWithTimeout(timeout time.Duration) *IngestParams

NewIngestParamsWithTimeout creates a new IngestParams object with the ability to set a timeout on a request.

func (*IngestParams) SetContext

func (o *IngestParams) SetContext(ctx context.Context)

SetContext adds the context to the ingest params

func (*IngestParams) SetDataFile

func (o *IngestParams) SetDataFile(dataFile runtime.NamedReadCloser)

SetDataFile adds the dataFile to the ingest params

func (*IngestParams) SetDefaults

func (o *IngestParams) SetDefaults()

SetDefaults hydrates default values in the ingest params (not the query body).

All values with no default are reset to their zero value.

func (*IngestParams) SetHTTPClient

func (o *IngestParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the ingest params

func (*IngestParams) SetTag

func (o *IngestParams) SetTag(tag []string)

SetTag adds the tag to the ingest params

func (*IngestParams) SetTagSource

func (o *IngestParams) SetTagSource(tagSource *string)

SetTagSource adds the tagSource to the ingest params

func (*IngestParams) SetTestData

func (o *IngestParams) SetTestData(testData *bool)

SetTestData adds the testData to the ingest params

func (*IngestParams) SetTimeout

func (o *IngestParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the ingest params

func (*IngestParams) SetXCsAppName

func (o *IngestParams) SetXCsAppName(xCsAppName *string)

SetXCsAppName adds the xCsAppName to the ingest params

func (*IngestParams) WithContext

func (o *IngestParams) WithContext(ctx context.Context) *IngestParams

WithContext adds the context to the ingest params

func (*IngestParams) WithDataFile

func (o *IngestParams) WithDataFile(dataFile runtime.NamedReadCloser) *IngestParams

WithDataFile adds the dataFile to the ingest params

func (*IngestParams) WithDefaults

func (o *IngestParams) WithDefaults() *IngestParams

WithDefaults hydrates default values in the ingest params (not the query body).

All values with no default are reset to their zero value.

func (*IngestParams) WithHTTPClient

func (o *IngestParams) WithHTTPClient(client *http.Client) *IngestParams

WithHTTPClient adds the HTTPClient to the ingest params

func (*IngestParams) WithTag

func (o *IngestParams) WithTag(tag []string) *IngestParams

WithTag adds the tag to the ingest params

func (*IngestParams) WithTagSource

func (o *IngestParams) WithTagSource(tagSource *string) *IngestParams

WithTagSource adds the tagSource to the ingest params

func (*IngestParams) WithTestData

func (o *IngestParams) WithTestData(testData *bool) *IngestParams

WithTestData adds the testData to the ingest params

func (*IngestParams) WithTimeout

func (o *IngestParams) WithTimeout(timeout time.Duration) *IngestParams

WithTimeout adds the timeout to the ingest params

func (*IngestParams) WithXCsAppName

func (o *IngestParams) WithXCsAppName(xCsAppName *string) *IngestParams

WithXCsAppName adds the xCsAppName to the ingest params

func (*IngestParams) WriteToRequest

func (o *IngestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type IngestReader

type IngestReader struct {
	// contains filtered or unexported fields
}

IngestReader is a Reader for the Ingest structure.

func (*IngestReader) ReadResponse

func (o *IngestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type IngestTooManyRequests

type IngestTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

IngestTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewIngestTooManyRequests

func NewIngestTooManyRequests() *IngestTooManyRequests

NewIngestTooManyRequests creates a IngestTooManyRequests with default headers values

func (*IngestTooManyRequests) Code

func (o *IngestTooManyRequests) Code() int

Code gets the status code for the ingest too many requests response

func (*IngestTooManyRequests) Error

func (o *IngestTooManyRequests) Error() string

func (*IngestTooManyRequests) GetPayload

func (*IngestTooManyRequests) IsClientError

func (o *IngestTooManyRequests) IsClientError() bool

IsClientError returns true when this ingest too many requests response has a 4xx status code

func (*IngestTooManyRequests) IsCode

func (o *IngestTooManyRequests) IsCode(code int) bool

IsCode returns true when this ingest too many requests response a status code equal to that given

func (*IngestTooManyRequests) IsRedirect

func (o *IngestTooManyRequests) IsRedirect() bool

IsRedirect returns true when this ingest too many requests response has a 3xx status code

func (*IngestTooManyRequests) IsServerError

func (o *IngestTooManyRequests) IsServerError() bool

IsServerError returns true when this ingest too many requests response has a 5xx status code

func (*IngestTooManyRequests) IsSuccess

func (o *IngestTooManyRequests) IsSuccess() bool

IsSuccess returns true when this ingest too many requests response has a 2xx status code

func (*IngestTooManyRequests) String

func (o *IngestTooManyRequests) String() string

type QueryByIDForbidden

type QueryByIDForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

QueryByIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryByIDForbidden

func NewQueryByIDForbidden() *QueryByIDForbidden

NewQueryByIDForbidden creates a QueryByIDForbidden with default headers values

func (*QueryByIDForbidden) Code

func (o *QueryByIDForbidden) Code() int

Code gets the status code for the query by Id forbidden response

func (*QueryByIDForbidden) Error

func (o *QueryByIDForbidden) Error() string

func (*QueryByIDForbidden) GetPayload

func (o *QueryByIDForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*QueryByIDForbidden) IsClientError

func (o *QueryByIDForbidden) IsClientError() bool

IsClientError returns true when this query by Id forbidden response has a 4xx status code

func (*QueryByIDForbidden) IsCode

func (o *QueryByIDForbidden) IsCode(code int) bool

IsCode returns true when this query by Id forbidden response a status code equal to that given

func (*QueryByIDForbidden) IsRedirect

func (o *QueryByIDForbidden) IsRedirect() bool

IsRedirect returns true when this query by Id forbidden response has a 3xx status code

func (*QueryByIDForbidden) IsServerError

func (o *QueryByIDForbidden) IsServerError() bool

IsServerError returns true when this query by Id forbidden response has a 5xx status code

func (*QueryByIDForbidden) IsSuccess

func (o *QueryByIDForbidden) IsSuccess() bool

IsSuccess returns true when this query by Id forbidden response has a 2xx status code

func (*QueryByIDForbidden) String

func (o *QueryByIDForbidden) String() string

type QueryByIDOK

type QueryByIDOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.DomainSavedSearchWrapper
}

QueryByIDOK describes a response with status code 200, with default header values.

OK

func NewQueryByIDOK

func NewQueryByIDOK() *QueryByIDOK

NewQueryByIDOK creates a QueryByIDOK with default headers values

func (*QueryByIDOK) Code

func (o *QueryByIDOK) Code() int

Code gets the status code for the query by Id o k response

func (*QueryByIDOK) Error

func (o *QueryByIDOK) Error() string

func (*QueryByIDOK) GetPayload

func (o *QueryByIDOK) GetPayload() *models.DomainSavedSearchWrapper

func (*QueryByIDOK) IsClientError

func (o *QueryByIDOK) IsClientError() bool

IsClientError returns true when this query by Id o k response has a 4xx status code

func (*QueryByIDOK) IsCode

func (o *QueryByIDOK) IsCode(code int) bool

IsCode returns true when this query by Id o k response a status code equal to that given

func (*QueryByIDOK) IsRedirect

func (o *QueryByIDOK) IsRedirect() bool

IsRedirect returns true when this query by Id o k response has a 3xx status code

func (*QueryByIDOK) IsServerError

func (o *QueryByIDOK) IsServerError() bool

IsServerError returns true when this query by Id o k response has a 5xx status code

func (*QueryByIDOK) IsSuccess

func (o *QueryByIDOK) IsSuccess() bool

IsSuccess returns true when this query by Id o k response has a 2xx status code

func (*QueryByIDOK) String

func (o *QueryByIDOK) String() string

type QueryByIDParams

type QueryByIDParams struct {

	/* Ids.

	   IDs of resources to retrieve details.
	*/
	Ids []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

QueryByIDParams contains all the parameters to send to the API endpoint

for the query by Id operation.

Typically these are written to a http.Request.

func NewQueryByIDParams

func NewQueryByIDParams() *QueryByIDParams

NewQueryByIDParams creates a new QueryByIDParams 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 NewQueryByIDParamsWithContext

func NewQueryByIDParamsWithContext(ctx context.Context) *QueryByIDParams

NewQueryByIDParamsWithContext creates a new QueryByIDParams object with the ability to set a context for a request.

func NewQueryByIDParamsWithHTTPClient

func NewQueryByIDParamsWithHTTPClient(client *http.Client) *QueryByIDParams

NewQueryByIDParamsWithHTTPClient creates a new QueryByIDParams object with the ability to set a custom HTTPClient for a request.

func NewQueryByIDParamsWithTimeout

func NewQueryByIDParamsWithTimeout(timeout time.Duration) *QueryByIDParams

NewQueryByIDParamsWithTimeout creates a new QueryByIDParams object with the ability to set a timeout on a request.

func (*QueryByIDParams) SetContext

func (o *QueryByIDParams) SetContext(ctx context.Context)

SetContext adds the context to the query by Id params

func (*QueryByIDParams) SetDefaults

func (o *QueryByIDParams) SetDefaults()

SetDefaults hydrates default values in the query by Id params (not the query body).

All values with no default are reset to their zero value.

func (*QueryByIDParams) SetHTTPClient

func (o *QueryByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query by Id params

func (*QueryByIDParams) SetIds

func (o *QueryByIDParams) SetIds(ids []string)

SetIds adds the ids to the query by Id params

func (*QueryByIDParams) SetTimeout

func (o *QueryByIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the query by Id params

func (*QueryByIDParams) WithContext

func (o *QueryByIDParams) WithContext(ctx context.Context) *QueryByIDParams

WithContext adds the context to the query by Id params

func (*QueryByIDParams) WithDefaults

func (o *QueryByIDParams) WithDefaults() *QueryByIDParams

WithDefaults hydrates default values in the query by Id params (not the query body).

All values with no default are reset to their zero value.

func (*QueryByIDParams) WithHTTPClient

func (o *QueryByIDParams) WithHTTPClient(client *http.Client) *QueryByIDParams

WithHTTPClient adds the HTTPClient to the query by Id params

func (*QueryByIDParams) WithIds

func (o *QueryByIDParams) WithIds(ids []string) *QueryByIDParams

WithIds adds the ids to the query by Id params

func (*QueryByIDParams) WithTimeout

func (o *QueryByIDParams) WithTimeout(timeout time.Duration) *QueryByIDParams

WithTimeout adds the timeout to the query by Id params

func (*QueryByIDParams) WriteToRequest

func (o *QueryByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QueryByIDReader

type QueryByIDReader struct {
	// contains filtered or unexported fields
}

QueryByIDReader is a Reader for the QueryByID structure.

func (*QueryByIDReader) ReadResponse

func (o *QueryByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QueryByIDTooManyRequests

type QueryByIDTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

QueryByIDTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryByIDTooManyRequests

func NewQueryByIDTooManyRequests() *QueryByIDTooManyRequests

NewQueryByIDTooManyRequests creates a QueryByIDTooManyRequests with default headers values

func (*QueryByIDTooManyRequests) Code

func (o *QueryByIDTooManyRequests) Code() int

Code gets the status code for the query by Id too many requests response

func (*QueryByIDTooManyRequests) Error

func (o *QueryByIDTooManyRequests) Error() string

func (*QueryByIDTooManyRequests) GetPayload

func (*QueryByIDTooManyRequests) IsClientError

func (o *QueryByIDTooManyRequests) IsClientError() bool

IsClientError returns true when this query by Id too many requests response has a 4xx status code

func (*QueryByIDTooManyRequests) IsCode

func (o *QueryByIDTooManyRequests) IsCode(code int) bool

IsCode returns true when this query by Id too many requests response a status code equal to that given

func (*QueryByIDTooManyRequests) IsRedirect

func (o *QueryByIDTooManyRequests) IsRedirect() bool

IsRedirect returns true when this query by Id too many requests response has a 3xx status code

func (*QueryByIDTooManyRequests) IsServerError

func (o *QueryByIDTooManyRequests) IsServerError() bool

IsServerError returns true when this query by Id too many requests response has a 5xx status code

func (*QueryByIDTooManyRequests) IsSuccess

func (o *QueryByIDTooManyRequests) IsSuccess() bool

IsSuccess returns true when this query by Id too many requests response has a 2xx status code

func (*QueryByIDTooManyRequests) String

func (o *QueryByIDTooManyRequests) String() string

type QueryCombinedForbidden

type QueryCombinedForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

QueryCombinedForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryCombinedForbidden

func NewQueryCombinedForbidden() *QueryCombinedForbidden

NewQueryCombinedForbidden creates a QueryCombinedForbidden with default headers values

func (*QueryCombinedForbidden) Code

func (o *QueryCombinedForbidden) Code() int

Code gets the status code for the query combined forbidden response

func (*QueryCombinedForbidden) Error

func (o *QueryCombinedForbidden) Error() string

func (*QueryCombinedForbidden) GetPayload

func (*QueryCombinedForbidden) IsClientError

func (o *QueryCombinedForbidden) IsClientError() bool

IsClientError returns true when this query combined forbidden response has a 4xx status code

func (*QueryCombinedForbidden) IsCode

func (o *QueryCombinedForbidden) IsCode(code int) bool

IsCode returns true when this query combined forbidden response a status code equal to that given

func (*QueryCombinedForbidden) IsRedirect

func (o *QueryCombinedForbidden) IsRedirect() bool

IsRedirect returns true when this query combined forbidden response has a 3xx status code

func (*QueryCombinedForbidden) IsServerError

func (o *QueryCombinedForbidden) IsServerError() bool

IsServerError returns true when this query combined forbidden response has a 5xx status code

func (*QueryCombinedForbidden) IsSuccess

func (o *QueryCombinedForbidden) IsSuccess() bool

IsSuccess returns true when this query combined forbidden response has a 2xx status code

func (*QueryCombinedForbidden) String

func (o *QueryCombinedForbidden) String() string

type QueryCombinedOK

type QueryCombinedOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.DomainSavedSearchWrapper
}

QueryCombinedOK describes a response with status code 200, with default header values.

OK

func NewQueryCombinedOK

func NewQueryCombinedOK() *QueryCombinedOK

NewQueryCombinedOK creates a QueryCombinedOK with default headers values

func (*QueryCombinedOK) Code

func (o *QueryCombinedOK) Code() int

Code gets the status code for the query combined o k response

func (*QueryCombinedOK) Error

func (o *QueryCombinedOK) Error() string

func (*QueryCombinedOK) GetPayload

func (*QueryCombinedOK) IsClientError

func (o *QueryCombinedOK) IsClientError() bool

IsClientError returns true when this query combined o k response has a 4xx status code

func (*QueryCombinedOK) IsCode

func (o *QueryCombinedOK) IsCode(code int) bool

IsCode returns true when this query combined o k response a status code equal to that given

func (*QueryCombinedOK) IsRedirect

func (o *QueryCombinedOK) IsRedirect() bool

IsRedirect returns true when this query combined o k response has a 3xx status code

func (*QueryCombinedOK) IsServerError

func (o *QueryCombinedOK) IsServerError() bool

IsServerError returns true when this query combined o k response has a 5xx status code

func (*QueryCombinedOK) IsSuccess

func (o *QueryCombinedOK) IsSuccess() bool

IsSuccess returns true when this query combined o k response has a 2xx status code

func (*QueryCombinedOK) String

func (o *QueryCombinedOK) String() string

type QueryCombinedParams

type QueryCombinedParams struct {

	/* Filter.

	   FQL query specifying filter parameters.
	*/
	Filter string

	/* Limit.

	   Maximum number of records to return.
	*/
	Limit *int64

	/* Offset.

	   Starting pagination offset of records to return.
	*/
	Offset *string

	/* Sort.

	   Sort items by providing a comma separated list of property and direction (eg name.desc,time.asc). If direction is omitted, defaults to descending.
	*/
	Sort *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

QueryCombinedParams contains all the parameters to send to the API endpoint

for the query combined operation.

Typically these are written to a http.Request.

func NewQueryCombinedParams

func NewQueryCombinedParams() *QueryCombinedParams

NewQueryCombinedParams creates a new QueryCombinedParams 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 NewQueryCombinedParamsWithContext

func NewQueryCombinedParamsWithContext(ctx context.Context) *QueryCombinedParams

NewQueryCombinedParamsWithContext creates a new QueryCombinedParams object with the ability to set a context for a request.

func NewQueryCombinedParamsWithHTTPClient

func NewQueryCombinedParamsWithHTTPClient(client *http.Client) *QueryCombinedParams

NewQueryCombinedParamsWithHTTPClient creates a new QueryCombinedParams object with the ability to set a custom HTTPClient for a request.

func NewQueryCombinedParamsWithTimeout

func NewQueryCombinedParamsWithTimeout(timeout time.Duration) *QueryCombinedParams

NewQueryCombinedParamsWithTimeout creates a new QueryCombinedParams object with the ability to set a timeout on a request.

func (*QueryCombinedParams) SetContext

func (o *QueryCombinedParams) SetContext(ctx context.Context)

SetContext adds the context to the query combined params

func (*QueryCombinedParams) SetDefaults

func (o *QueryCombinedParams) SetDefaults()

SetDefaults hydrates default values in the query combined params (not the query body).

All values with no default are reset to their zero value.

func (*QueryCombinedParams) SetFilter

func (o *QueryCombinedParams) SetFilter(filter string)

SetFilter adds the filter to the query combined params

func (*QueryCombinedParams) SetHTTPClient

func (o *QueryCombinedParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query combined params

func (*QueryCombinedParams) SetLimit

func (o *QueryCombinedParams) SetLimit(limit *int64)

SetLimit adds the limit to the query combined params

func (*QueryCombinedParams) SetOffset

func (o *QueryCombinedParams) SetOffset(offset *string)

SetOffset adds the offset to the query combined params

func (*QueryCombinedParams) SetSort

func (o *QueryCombinedParams) SetSort(sort *string)

SetSort adds the sort to the query combined params

func (*QueryCombinedParams) SetTimeout

func (o *QueryCombinedParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the query combined params

func (*QueryCombinedParams) WithContext

WithContext adds the context to the query combined params

func (*QueryCombinedParams) WithDefaults

func (o *QueryCombinedParams) WithDefaults() *QueryCombinedParams

WithDefaults hydrates default values in the query combined params (not the query body).

All values with no default are reset to their zero value.

func (*QueryCombinedParams) WithFilter

func (o *QueryCombinedParams) WithFilter(filter string) *QueryCombinedParams

WithFilter adds the filter to the query combined params

func (*QueryCombinedParams) WithHTTPClient

func (o *QueryCombinedParams) WithHTTPClient(client *http.Client) *QueryCombinedParams

WithHTTPClient adds the HTTPClient to the query combined params

func (*QueryCombinedParams) WithLimit

func (o *QueryCombinedParams) WithLimit(limit *int64) *QueryCombinedParams

WithLimit adds the limit to the query combined params

func (*QueryCombinedParams) WithOffset

func (o *QueryCombinedParams) WithOffset(offset *string) *QueryCombinedParams

WithOffset adds the offset to the query combined params

func (*QueryCombinedParams) WithSort

func (o *QueryCombinedParams) WithSort(sort *string) *QueryCombinedParams

WithSort adds the sort to the query combined params

func (*QueryCombinedParams) WithTimeout

func (o *QueryCombinedParams) WithTimeout(timeout time.Duration) *QueryCombinedParams

WithTimeout adds the timeout to the query combined params

func (*QueryCombinedParams) WriteToRequest

func (o *QueryCombinedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QueryCombinedReader

type QueryCombinedReader struct {
	// contains filtered or unexported fields
}

QueryCombinedReader is a Reader for the QueryCombined structure.

func (*QueryCombinedReader) ReadResponse

func (o *QueryCombinedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QueryCombinedTooManyRequests

type QueryCombinedTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

QueryCombinedTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryCombinedTooManyRequests

func NewQueryCombinedTooManyRequests() *QueryCombinedTooManyRequests

NewQueryCombinedTooManyRequests creates a QueryCombinedTooManyRequests with default headers values

func (*QueryCombinedTooManyRequests) Code

Code gets the status code for the query combined too many requests response

func (*QueryCombinedTooManyRequests) Error

func (*QueryCombinedTooManyRequests) GetPayload

func (*QueryCombinedTooManyRequests) IsClientError

func (o *QueryCombinedTooManyRequests) IsClientError() bool

IsClientError returns true when this query combined too many requests response has a 4xx status code

func (*QueryCombinedTooManyRequests) IsCode

func (o *QueryCombinedTooManyRequests) IsCode(code int) bool

IsCode returns true when this query combined too many requests response a status code equal to that given

func (*QueryCombinedTooManyRequests) IsRedirect

func (o *QueryCombinedTooManyRequests) IsRedirect() bool

IsRedirect returns true when this query combined too many requests response has a 3xx status code

func (*QueryCombinedTooManyRequests) IsServerError

func (o *QueryCombinedTooManyRequests) IsServerError() bool

IsServerError returns true when this query combined too many requests response has a 5xx status code

func (*QueryCombinedTooManyRequests) IsSuccess

func (o *QueryCombinedTooManyRequests) IsSuccess() bool

IsSuccess returns true when this query combined too many requests response has a 2xx status code

func (*QueryCombinedTooManyRequests) String

type QueryForbidden

type QueryForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

QueryForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryForbidden

func NewQueryForbidden() *QueryForbidden

NewQueryForbidden creates a QueryForbidden with default headers values

func (*QueryForbidden) Code

func (o *QueryForbidden) Code() int

Code gets the status code for the query forbidden response

func (*QueryForbidden) Error

func (o *QueryForbidden) Error() string

func (*QueryForbidden) GetPayload

func (o *QueryForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*QueryForbidden) IsClientError

func (o *QueryForbidden) IsClientError() bool

IsClientError returns true when this query forbidden response has a 4xx status code

func (*QueryForbidden) IsCode

func (o *QueryForbidden) IsCode(code int) bool

IsCode returns true when this query forbidden response a status code equal to that given

func (*QueryForbidden) IsRedirect

func (o *QueryForbidden) IsRedirect() bool

IsRedirect returns true when this query forbidden response has a 3xx status code

func (*QueryForbidden) IsServerError

func (o *QueryForbidden) IsServerError() bool

IsServerError returns true when this query forbidden response has a 5xx status code

func (*QueryForbidden) IsSuccess

func (o *QueryForbidden) IsSuccess() bool

IsSuccess returns true when this query forbidden response has a 2xx status code

func (*QueryForbidden) String

func (o *QueryForbidden) String() string

type QueryOK

type QueryOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.StringWrapper
}

QueryOK describes a response with status code 200, with default header values.

OK

func NewQueryOK

func NewQueryOK() *QueryOK

NewQueryOK creates a QueryOK with default headers values

func (*QueryOK) Code

func (o *QueryOK) Code() int

Code gets the status code for the query o k response

func (*QueryOK) Error

func (o *QueryOK) Error() string

func (*QueryOK) GetPayload

func (o *QueryOK) GetPayload() *models.StringWrapper

func (*QueryOK) IsClientError

func (o *QueryOK) IsClientError() bool

IsClientError returns true when this query o k response has a 4xx status code

func (*QueryOK) IsCode

func (o *QueryOK) IsCode(code int) bool

IsCode returns true when this query o k response a status code equal to that given

func (*QueryOK) IsRedirect

func (o *QueryOK) IsRedirect() bool

IsRedirect returns true when this query o k response has a 3xx status code

func (*QueryOK) IsServerError

func (o *QueryOK) IsServerError() bool

IsServerError returns true when this query o k response has a 5xx status code

func (*QueryOK) IsSuccess

func (o *QueryOK) IsSuccess() bool

IsSuccess returns true when this query o k response has a 2xx status code

func (*QueryOK) String

func (o *QueryOK) String() string

type QueryParams

type QueryParams struct {

	/* Filter.

	   FQL query specifying filter parameters.
	*/
	Filter string

	/* Limit.

	   Maximum number of records to return.
	*/
	Limit *int64

	/* Offset.

	   Starting pagination offset of records to return.
	*/
	Offset *string

	/* Sort.

	   Sort items by providing a comma separated list of property and direction (eg name.desc,time.asc). If direction is omitted, defaults to descending.
	*/
	Sort *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

QueryParams contains all the parameters to send to the API endpoint

for the query operation.

Typically these are written to a http.Request.

func NewQueryParams

func NewQueryParams() *QueryParams

NewQueryParams creates a new QueryParams 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 NewQueryParamsWithContext

func NewQueryParamsWithContext(ctx context.Context) *QueryParams

NewQueryParamsWithContext creates a new QueryParams object with the ability to set a context for a request.

func NewQueryParamsWithHTTPClient

func NewQueryParamsWithHTTPClient(client *http.Client) *QueryParams

NewQueryParamsWithHTTPClient creates a new QueryParams object with the ability to set a custom HTTPClient for a request.

func NewQueryParamsWithTimeout

func NewQueryParamsWithTimeout(timeout time.Duration) *QueryParams

NewQueryParamsWithTimeout creates a new QueryParams object with the ability to set a timeout on a request.

func (*QueryParams) SetContext

func (o *QueryParams) SetContext(ctx context.Context)

SetContext adds the context to the query params

func (*QueryParams) SetDefaults

func (o *QueryParams) SetDefaults()

SetDefaults hydrates default values in the query params (not the query body).

All values with no default are reset to their zero value.

func (*QueryParams) SetFilter

func (o *QueryParams) SetFilter(filter string)

SetFilter adds the filter to the query params

func (*QueryParams) SetHTTPClient

func (o *QueryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query params

func (*QueryParams) SetLimit

func (o *QueryParams) SetLimit(limit *int64)

SetLimit adds the limit to the query params

func (*QueryParams) SetOffset

func (o *QueryParams) SetOffset(offset *string)

SetOffset adds the offset to the query params

func (*QueryParams) SetSort

func (o *QueryParams) SetSort(sort *string)

SetSort adds the sort to the query params

func (*QueryParams) SetTimeout

func (o *QueryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the query params

func (*QueryParams) WithContext

func (o *QueryParams) WithContext(ctx context.Context) *QueryParams

WithContext adds the context to the query params

func (*QueryParams) WithDefaults

func (o *QueryParams) WithDefaults() *QueryParams

WithDefaults hydrates default values in the query params (not the query body).

All values with no default are reset to their zero value.

func (*QueryParams) WithFilter

func (o *QueryParams) WithFilter(filter string) *QueryParams

WithFilter adds the filter to the query params

func (*QueryParams) WithHTTPClient

func (o *QueryParams) WithHTTPClient(client *http.Client) *QueryParams

WithHTTPClient adds the HTTPClient to the query params

func (*QueryParams) WithLimit

func (o *QueryParams) WithLimit(limit *int64) *QueryParams

WithLimit adds the limit to the query params

func (*QueryParams) WithOffset

func (o *QueryParams) WithOffset(offset *string) *QueryParams

WithOffset adds the offset to the query params

func (*QueryParams) WithSort

func (o *QueryParams) WithSort(sort *string) *QueryParams

WithSort adds the sort to the query params

func (*QueryParams) WithTimeout

func (o *QueryParams) WithTimeout(timeout time.Duration) *QueryParams

WithTimeout adds the timeout to the query params

func (*QueryParams) WriteToRequest

func (o *QueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QueryReader

type QueryReader struct {
	// contains filtered or unexported fields
}

QueryReader is a Reader for the Query structure.

func (*QueryReader) ReadResponse

func (o *QueryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QueryTooManyRequests

type QueryTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

QueryTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryTooManyRequests

func NewQueryTooManyRequests() *QueryTooManyRequests

NewQueryTooManyRequests creates a QueryTooManyRequests with default headers values

func (*QueryTooManyRequests) Code

func (o *QueryTooManyRequests) Code() int

Code gets the status code for the query too many requests response

func (*QueryTooManyRequests) Error

func (o *QueryTooManyRequests) Error() string

func (*QueryTooManyRequests) GetPayload

func (o *QueryTooManyRequests) GetPayload() *models.MsaReplyMetaOnly

func (*QueryTooManyRequests) IsClientError

func (o *QueryTooManyRequests) IsClientError() bool

IsClientError returns true when this query too many requests response has a 4xx status code

func (*QueryTooManyRequests) IsCode

func (o *QueryTooManyRequests) IsCode(code int) bool

IsCode returns true when this query too many requests response a status code equal to that given

func (*QueryTooManyRequests) IsRedirect

func (o *QueryTooManyRequests) IsRedirect() bool

IsRedirect returns true when this query too many requests response has a 3xx status code

func (*QueryTooManyRequests) IsServerError

func (o *QueryTooManyRequests) IsServerError() bool

IsServerError returns true when this query too many requests response has a 5xx status code

func (*QueryTooManyRequests) IsSuccess

func (o *QueryTooManyRequests) IsSuccess() bool

IsSuccess returns true when this query too many requests response has a 2xx status code

func (*QueryTooManyRequests) String

func (o *QueryTooManyRequests) String() string

type ResultForbidden

type ResultForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ResultForbidden describes a response with status code 403, with default header values.

Forbidden

func NewResultForbidden

func NewResultForbidden() *ResultForbidden

NewResultForbidden creates a ResultForbidden with default headers values

func (*ResultForbidden) Code

func (o *ResultForbidden) Code() int

Code gets the status code for the result forbidden response

func (*ResultForbidden) Error

func (o *ResultForbidden) Error() string

func (*ResultForbidden) GetPayload

func (o *ResultForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*ResultForbidden) IsClientError

func (o *ResultForbidden) IsClientError() bool

IsClientError returns true when this result forbidden response has a 4xx status code

func (*ResultForbidden) IsCode

func (o *ResultForbidden) IsCode(code int) bool

IsCode returns true when this result forbidden response a status code equal to that given

func (*ResultForbidden) IsRedirect

func (o *ResultForbidden) IsRedirect() bool

IsRedirect returns true when this result forbidden response has a 3xx status code

func (*ResultForbidden) IsServerError

func (o *ResultForbidden) IsServerError() bool

IsServerError returns true when this result forbidden response has a 5xx status code

func (*ResultForbidden) IsSuccess

func (o *ResultForbidden) IsSuccess() bool

IsSuccess returns true when this result forbidden response has a 2xx status code

func (*ResultForbidden) String

func (o *ResultForbidden) String() string

type ResultOK

type ResultOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.ApidomainQueryResponseWrapperV1
}

ResultOK describes a response with status code 200, with default header values.

OK

func NewResultOK

func NewResultOK() *ResultOK

NewResultOK creates a ResultOK with default headers values

func (*ResultOK) Code

func (o *ResultOK) Code() int

Code gets the status code for the result o k response

func (*ResultOK) Error

func (o *ResultOK) Error() string

func (*ResultOK) GetPayload

func (*ResultOK) IsClientError

func (o *ResultOK) IsClientError() bool

IsClientError returns true when this result o k response has a 4xx status code

func (*ResultOK) IsCode

func (o *ResultOK) IsCode(code int) bool

IsCode returns true when this result o k response a status code equal to that given

func (*ResultOK) IsRedirect

func (o *ResultOK) IsRedirect() bool

IsRedirect returns true when this result o k response has a 3xx status code

func (*ResultOK) IsServerError

func (o *ResultOK) IsServerError() bool

IsServerError returns true when this result o k response has a 5xx status code

func (*ResultOK) IsSuccess

func (o *ResultOK) IsSuccess() bool

IsSuccess returns true when this result o k response has a 2xx status code

func (*ResultOK) String

func (o *ResultOK) String() string

type ResultParams

type ResultParams struct {

	/* JobID.

	   Job ID for a previously executed async query
	*/
	JobID string

	/* Limit.

	   Maximum number of records to return.
	*/
	Limit *string

	/* Metadata.

	   Whether to include metadata in the response
	*/
	Metadata *bool

	/* Offset.

	   Starting pagination offset of records to return.
	*/
	Offset *string

	/* Version.

	   Version of resource being created
	*/
	Version *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResultParams contains all the parameters to send to the API endpoint

for the result operation.

Typically these are written to a http.Request.

func NewResultParams

func NewResultParams() *ResultParams

NewResultParams creates a new ResultParams 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 NewResultParamsWithContext

func NewResultParamsWithContext(ctx context.Context) *ResultParams

NewResultParamsWithContext creates a new ResultParams object with the ability to set a context for a request.

func NewResultParamsWithHTTPClient

func NewResultParamsWithHTTPClient(client *http.Client) *ResultParams

NewResultParamsWithHTTPClient creates a new ResultParams object with the ability to set a custom HTTPClient for a request.

func NewResultParamsWithTimeout

func NewResultParamsWithTimeout(timeout time.Duration) *ResultParams

NewResultParamsWithTimeout creates a new ResultParams object with the ability to set a timeout on a request.

func (*ResultParams) SetContext

func (o *ResultParams) SetContext(ctx context.Context)

SetContext adds the context to the result params

func (*ResultParams) SetDefaults

func (o *ResultParams) SetDefaults()

SetDefaults hydrates default values in the result params (not the query body).

All values with no default are reset to their zero value.

func (*ResultParams) SetHTTPClient

func (o *ResultParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the result params

func (*ResultParams) SetJobID

func (o *ResultParams) SetJobID(jobID string)

SetJobID adds the jobId to the result params

func (*ResultParams) SetLimit

func (o *ResultParams) SetLimit(limit *string)

SetLimit adds the limit to the result params

func (*ResultParams) SetMetadata

func (o *ResultParams) SetMetadata(metadata *bool)

SetMetadata adds the metadata to the result params

func (*ResultParams) SetOffset

func (o *ResultParams) SetOffset(offset *string)

SetOffset adds the offset to the result params

func (*ResultParams) SetTimeout

func (o *ResultParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the result params

func (*ResultParams) SetVersion

func (o *ResultParams) SetVersion(version *string)

SetVersion adds the version to the result params

func (*ResultParams) WithContext

func (o *ResultParams) WithContext(ctx context.Context) *ResultParams

WithContext adds the context to the result params

func (*ResultParams) WithDefaults

func (o *ResultParams) WithDefaults() *ResultParams

WithDefaults hydrates default values in the result params (not the query body).

All values with no default are reset to their zero value.

func (*ResultParams) WithHTTPClient

func (o *ResultParams) WithHTTPClient(client *http.Client) *ResultParams

WithHTTPClient adds the HTTPClient to the result params

func (*ResultParams) WithJobID

func (o *ResultParams) WithJobID(jobID string) *ResultParams

WithJobID adds the jobID to the result params

func (*ResultParams) WithLimit

func (o *ResultParams) WithLimit(limit *string) *ResultParams

WithLimit adds the limit to the result params

func (*ResultParams) WithMetadata

func (o *ResultParams) WithMetadata(metadata *bool) *ResultParams

WithMetadata adds the metadata to the result params

func (*ResultParams) WithOffset

func (o *ResultParams) WithOffset(offset *string) *ResultParams

WithOffset adds the offset to the result params

func (*ResultParams) WithTimeout

func (o *ResultParams) WithTimeout(timeout time.Duration) *ResultParams

WithTimeout adds the timeout to the result params

func (*ResultParams) WithVersion

func (o *ResultParams) WithVersion(version *string) *ResultParams

WithVersion adds the version to the result params

func (*ResultParams) WriteToRequest

func (o *ResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ResultReader

type ResultReader struct {
	// contains filtered or unexported fields
}

ResultReader is a Reader for the Result structure.

func (*ResultReader) ReadResponse

func (o *ResultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResultTooManyRequests

type ResultTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

ResultTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewResultTooManyRequests

func NewResultTooManyRequests() *ResultTooManyRequests

NewResultTooManyRequests creates a ResultTooManyRequests with default headers values

func (*ResultTooManyRequests) Code

func (o *ResultTooManyRequests) Code() int

Code gets the status code for the result too many requests response

func (*ResultTooManyRequests) Error

func (o *ResultTooManyRequests) Error() string

func (*ResultTooManyRequests) GetPayload

func (*ResultTooManyRequests) IsClientError

func (o *ResultTooManyRequests) IsClientError() bool

IsClientError returns true when this result too many requests response has a 4xx status code

func (*ResultTooManyRequests) IsCode

func (o *ResultTooManyRequests) IsCode(code int) bool

IsCode returns true when this result too many requests response a status code equal to that given

func (*ResultTooManyRequests) IsRedirect

func (o *ResultTooManyRequests) IsRedirect() bool

IsRedirect returns true when this result too many requests response has a 3xx status code

func (*ResultTooManyRequests) IsServerError

func (o *ResultTooManyRequests) IsServerError() bool

IsServerError returns true when this result too many requests response has a 5xx status code

func (*ResultTooManyRequests) IsSuccess

func (o *ResultTooManyRequests) IsSuccess() bool

IsSuccess returns true when this result too many requests response has a 2xx status code

func (*ResultTooManyRequests) String

func (o *ResultTooManyRequests) String() string

type UpdateSavedSearchForbidden

type UpdateSavedSearchForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

UpdateSavedSearchForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateSavedSearchForbidden

func NewUpdateSavedSearchForbidden() *UpdateSavedSearchForbidden

NewUpdateSavedSearchForbidden creates a UpdateSavedSearchForbidden with default headers values

func (*UpdateSavedSearchForbidden) Code

func (o *UpdateSavedSearchForbidden) Code() int

Code gets the status code for the update saved search forbidden response

func (*UpdateSavedSearchForbidden) Error

func (*UpdateSavedSearchForbidden) GetPayload

func (*UpdateSavedSearchForbidden) IsClientError

func (o *UpdateSavedSearchForbidden) IsClientError() bool

IsClientError returns true when this update saved search forbidden response has a 4xx status code

func (*UpdateSavedSearchForbidden) IsCode

func (o *UpdateSavedSearchForbidden) IsCode(code int) bool

IsCode returns true when this update saved search forbidden response a status code equal to that given

func (*UpdateSavedSearchForbidden) IsRedirect

func (o *UpdateSavedSearchForbidden) IsRedirect() bool

IsRedirect returns true when this update saved search forbidden response has a 3xx status code

func (*UpdateSavedSearchForbidden) IsServerError

func (o *UpdateSavedSearchForbidden) IsServerError() bool

IsServerError returns true when this update saved search forbidden response has a 5xx status code

func (*UpdateSavedSearchForbidden) IsSuccess

func (o *UpdateSavedSearchForbidden) IsSuccess() bool

IsSuccess returns true when this update saved search forbidden response has a 2xx status code

func (*UpdateSavedSearchForbidden) String

func (o *UpdateSavedSearchForbidden) String() string

type UpdateSavedSearchOK

type UpdateSavedSearchOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.DomainSavedSearchWrapper
}

UpdateSavedSearchOK describes a response with status code 200, with default header values.

OK

func NewUpdateSavedSearchOK

func NewUpdateSavedSearchOK() *UpdateSavedSearchOK

NewUpdateSavedSearchOK creates a UpdateSavedSearchOK with default headers values

func (*UpdateSavedSearchOK) Code

func (o *UpdateSavedSearchOK) Code() int

Code gets the status code for the update saved search o k response

func (*UpdateSavedSearchOK) Error

func (o *UpdateSavedSearchOK) Error() string

func (*UpdateSavedSearchOK) GetPayload

func (*UpdateSavedSearchOK) IsClientError

func (o *UpdateSavedSearchOK) IsClientError() bool

IsClientError returns true when this update saved search o k response has a 4xx status code

func (*UpdateSavedSearchOK) IsCode

func (o *UpdateSavedSearchOK) IsCode(code int) bool

IsCode returns true when this update saved search o k response a status code equal to that given

func (*UpdateSavedSearchOK) IsRedirect

func (o *UpdateSavedSearchOK) IsRedirect() bool

IsRedirect returns true when this update saved search o k response has a 3xx status code

func (*UpdateSavedSearchOK) IsServerError

func (o *UpdateSavedSearchOK) IsServerError() bool

IsServerError returns true when this update saved search o k response has a 5xx status code

func (*UpdateSavedSearchOK) IsSuccess

func (o *UpdateSavedSearchOK) IsSuccess() bool

IsSuccess returns true when this update saved search o k response has a 2xx status code

func (*UpdateSavedSearchOK) String

func (o *UpdateSavedSearchOK) String() string

type UpdateSavedSearchParams

type UpdateSavedSearchParams struct {

	/* XCSCREATEORIGIN.

	   Create / Update request origin .
	*/
	XCSCREATEORIGIN *string

	/* XCsAppName.

	   App name used to name repository and workflow action
	*/
	XCsAppName *string

	// Body.
	Body *models.ApidomainSavedSearchUpdateRequestV1

	/* Version.

	   Version of resource being created
	*/
	Version *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateSavedSearchParams contains all the parameters to send to the API endpoint

for the update saved search operation.

Typically these are written to a http.Request.

func NewUpdateSavedSearchParams

func NewUpdateSavedSearchParams() *UpdateSavedSearchParams

NewUpdateSavedSearchParams creates a new UpdateSavedSearchParams 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 NewUpdateSavedSearchParamsWithContext

func NewUpdateSavedSearchParamsWithContext(ctx context.Context) *UpdateSavedSearchParams

NewUpdateSavedSearchParamsWithContext creates a new UpdateSavedSearchParams object with the ability to set a context for a request.

func NewUpdateSavedSearchParamsWithHTTPClient

func NewUpdateSavedSearchParamsWithHTTPClient(client *http.Client) *UpdateSavedSearchParams

NewUpdateSavedSearchParamsWithHTTPClient creates a new UpdateSavedSearchParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSavedSearchParamsWithTimeout

func NewUpdateSavedSearchParamsWithTimeout(timeout time.Duration) *UpdateSavedSearchParams

NewUpdateSavedSearchParamsWithTimeout creates a new UpdateSavedSearchParams object with the ability to set a timeout on a request.

func (*UpdateSavedSearchParams) SetBody

SetBody adds the body to the update saved search params

func (*UpdateSavedSearchParams) SetContext

func (o *UpdateSavedSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the update saved search params

func (*UpdateSavedSearchParams) SetDefaults

func (o *UpdateSavedSearchParams) SetDefaults()

SetDefaults hydrates default values in the update saved search params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateSavedSearchParams) SetHTTPClient

func (o *UpdateSavedSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update saved search params

func (*UpdateSavedSearchParams) SetTimeout

func (o *UpdateSavedSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update saved search params

func (*UpdateSavedSearchParams) SetVersion

func (o *UpdateSavedSearchParams) SetVersion(version *string)

SetVersion adds the version to the update saved search params

func (*UpdateSavedSearchParams) SetXCSCREATEORIGIN

func (o *UpdateSavedSearchParams) SetXCSCREATEORIGIN(xCSCREATEORIGIN *string)

SetXCSCREATEORIGIN adds the xCSCREATEORIGIN to the update saved search params

func (*UpdateSavedSearchParams) SetXCsAppName

func (o *UpdateSavedSearchParams) SetXCsAppName(xCsAppName *string)

SetXCsAppName adds the xCsAppName to the update saved search params

func (*UpdateSavedSearchParams) WithBody

WithBody adds the body to the update saved search params

func (*UpdateSavedSearchParams) WithContext

WithContext adds the context to the update saved search params

func (*UpdateSavedSearchParams) WithDefaults

WithDefaults hydrates default values in the update saved search params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateSavedSearchParams) WithHTTPClient

func (o *UpdateSavedSearchParams) WithHTTPClient(client *http.Client) *UpdateSavedSearchParams

WithHTTPClient adds the HTTPClient to the update saved search params

func (*UpdateSavedSearchParams) WithTimeout

WithTimeout adds the timeout to the update saved search params

func (*UpdateSavedSearchParams) WithVersion

func (o *UpdateSavedSearchParams) WithVersion(version *string) *UpdateSavedSearchParams

WithVersion adds the version to the update saved search params

func (*UpdateSavedSearchParams) WithXCSCREATEORIGIN

func (o *UpdateSavedSearchParams) WithXCSCREATEORIGIN(xCSCREATEORIGIN *string) *UpdateSavedSearchParams

WithXCSCREATEORIGIN adds the xCSCREATEORIGIN to the update saved search params

func (*UpdateSavedSearchParams) WithXCsAppName

func (o *UpdateSavedSearchParams) WithXCsAppName(xCsAppName *string) *UpdateSavedSearchParams

WithXCsAppName adds the xCsAppName to the update saved search params

func (*UpdateSavedSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSavedSearchReader

type UpdateSavedSearchReader struct {
	// contains filtered or unexported fields
}

UpdateSavedSearchReader is a Reader for the UpdateSavedSearch structure.

func (*UpdateSavedSearchReader) ReadResponse

func (o *UpdateSavedSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateSavedSearchTooManyRequests

type UpdateSavedSearchTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

UpdateSavedSearchTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateSavedSearchTooManyRequests

func NewUpdateSavedSearchTooManyRequests() *UpdateSavedSearchTooManyRequests

NewUpdateSavedSearchTooManyRequests creates a UpdateSavedSearchTooManyRequests with default headers values

func (*UpdateSavedSearchTooManyRequests) Code

Code gets the status code for the update saved search too many requests response

func (*UpdateSavedSearchTooManyRequests) Error

func (*UpdateSavedSearchTooManyRequests) GetPayload

func (*UpdateSavedSearchTooManyRequests) IsClientError

func (o *UpdateSavedSearchTooManyRequests) IsClientError() bool

IsClientError returns true when this update saved search too many requests response has a 4xx status code

func (*UpdateSavedSearchTooManyRequests) IsCode

func (o *UpdateSavedSearchTooManyRequests) IsCode(code int) bool

IsCode returns true when this update saved search too many requests response a status code equal to that given

func (*UpdateSavedSearchTooManyRequests) IsRedirect

func (o *UpdateSavedSearchTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update saved search too many requests response has a 3xx status code

func (*UpdateSavedSearchTooManyRequests) IsServerError

func (o *UpdateSavedSearchTooManyRequests) IsServerError() bool

IsServerError returns true when this update saved search too many requests response has a 5xx status code

func (*UpdateSavedSearchTooManyRequests) IsSuccess

func (o *UpdateSavedSearchTooManyRequests) IsSuccess() bool

IsSuccess returns true when this update saved search too many requests response has a 2xx status code

func (*UpdateSavedSearchTooManyRequests) String

type ValidateForbidden

type ValidateForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ValidateForbidden describes a response with status code 403, with default header values.

Forbidden

func NewValidateForbidden

func NewValidateForbidden() *ValidateForbidden

NewValidateForbidden creates a ValidateForbidden with default headers values

func (*ValidateForbidden) Code

func (o *ValidateForbidden) Code() int

Code gets the status code for the validate forbidden response

func (*ValidateForbidden) Error

func (o *ValidateForbidden) Error() string

func (*ValidateForbidden) GetPayload

func (o *ValidateForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*ValidateForbidden) IsClientError

func (o *ValidateForbidden) IsClientError() bool

IsClientError returns true when this validate forbidden response has a 4xx status code

func (*ValidateForbidden) IsCode

func (o *ValidateForbidden) IsCode(code int) bool

IsCode returns true when this validate forbidden response a status code equal to that given

func (*ValidateForbidden) IsRedirect

func (o *ValidateForbidden) IsRedirect() bool

IsRedirect returns true when this validate forbidden response has a 3xx status code

func (*ValidateForbidden) IsServerError

func (o *ValidateForbidden) IsServerError() bool

IsServerError returns true when this validate forbidden response has a 5xx status code

func (*ValidateForbidden) IsSuccess

func (o *ValidateForbidden) IsSuccess() bool

IsSuccess returns true when this validate forbidden response has a 2xx status code

func (*ValidateForbidden) String

func (o *ValidateForbidden) String() string

type ValidateOK

type ValidateOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.ApidomainValidationResponseWrapperV1
}

ValidateOK describes a response with status code 200, with default header values.

OK

func NewValidateOK

func NewValidateOK() *ValidateOK

NewValidateOK creates a ValidateOK with default headers values

func (*ValidateOK) Code

func (o *ValidateOK) Code() int

Code gets the status code for the validate o k response

func (*ValidateOK) Error

func (o *ValidateOK) Error() string

func (*ValidateOK) GetPayload

func (*ValidateOK) IsClientError

func (o *ValidateOK) IsClientError() bool

IsClientError returns true when this validate o k response has a 4xx status code

func (*ValidateOK) IsCode

func (o *ValidateOK) IsCode(code int) bool

IsCode returns true when this validate o k response a status code equal to that given

func (*ValidateOK) IsRedirect

func (o *ValidateOK) IsRedirect() bool

IsRedirect returns true when this validate o k response has a 3xx status code

func (*ValidateOK) IsServerError

func (o *ValidateOK) IsServerError() bool

IsServerError returns true when this validate o k response has a 5xx status code

func (*ValidateOK) IsSuccess

func (o *ValidateOK) IsSuccess() bool

IsSuccess returns true when this validate o k response has a 2xx status code

func (*ValidateOK) String

func (o *ValidateOK) String() string

type ValidateParams

type ValidateParams struct {

	// Body.
	Body *models.ApidomainQueryValidateRequestV1

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ValidateParams contains all the parameters to send to the API endpoint

for the validate operation.

Typically these are written to a http.Request.

func NewValidateParams

func NewValidateParams() *ValidateParams

NewValidateParams creates a new ValidateParams 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 NewValidateParamsWithContext

func NewValidateParamsWithContext(ctx context.Context) *ValidateParams

NewValidateParamsWithContext creates a new ValidateParams object with the ability to set a context for a request.

func NewValidateParamsWithHTTPClient

func NewValidateParamsWithHTTPClient(client *http.Client) *ValidateParams

NewValidateParamsWithHTTPClient creates a new ValidateParams object with the ability to set a custom HTTPClient for a request.

func NewValidateParamsWithTimeout

func NewValidateParamsWithTimeout(timeout time.Duration) *ValidateParams

NewValidateParamsWithTimeout creates a new ValidateParams object with the ability to set a timeout on a request.

func (*ValidateParams) SetBody

SetBody adds the body to the validate params

func (*ValidateParams) SetContext

func (o *ValidateParams) SetContext(ctx context.Context)

SetContext adds the context to the validate params

func (*ValidateParams) SetDefaults

func (o *ValidateParams) SetDefaults()

SetDefaults hydrates default values in the validate params (not the query body).

All values with no default are reset to their zero value.

func (*ValidateParams) SetHTTPClient

func (o *ValidateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the validate params

func (*ValidateParams) SetTimeout

func (o *ValidateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the validate params

func (*ValidateParams) WithBody

WithBody adds the body to the validate params

func (*ValidateParams) WithContext

func (o *ValidateParams) WithContext(ctx context.Context) *ValidateParams

WithContext adds the context to the validate params

func (*ValidateParams) WithDefaults

func (o *ValidateParams) WithDefaults() *ValidateParams

WithDefaults hydrates default values in the validate params (not the query body).

All values with no default are reset to their zero value.

func (*ValidateParams) WithHTTPClient

func (o *ValidateParams) WithHTTPClient(client *http.Client) *ValidateParams

WithHTTPClient adds the HTTPClient to the validate params

func (*ValidateParams) WithTimeout

func (o *ValidateParams) WithTimeout(timeout time.Duration) *ValidateParams

WithTimeout adds the timeout to the validate params

func (*ValidateParams) WriteToRequest

func (o *ValidateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ValidateReader

type ValidateReader struct {
	// contains filtered or unexported fields
}

ValidateReader is a Reader for the Validate structure.

func (*ValidateReader) ReadResponse

func (o *ValidateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValidateTooManyRequests

type ValidateTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

ValidateTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewValidateTooManyRequests

func NewValidateTooManyRequests() *ValidateTooManyRequests

NewValidateTooManyRequests creates a ValidateTooManyRequests with default headers values

func (*ValidateTooManyRequests) Code

func (o *ValidateTooManyRequests) Code() int

Code gets the status code for the validate too many requests response

func (*ValidateTooManyRequests) Error

func (o *ValidateTooManyRequests) Error() string

func (*ValidateTooManyRequests) GetPayload

func (*ValidateTooManyRequests) IsClientError

func (o *ValidateTooManyRequests) IsClientError() bool

IsClientError returns true when this validate too many requests response has a 4xx status code

func (*ValidateTooManyRequests) IsCode

func (o *ValidateTooManyRequests) IsCode(code int) bool

IsCode returns true when this validate too many requests response a status code equal to that given

func (*ValidateTooManyRequests) IsRedirect

func (o *ValidateTooManyRequests) IsRedirect() bool

IsRedirect returns true when this validate too many requests response has a 3xx status code

func (*ValidateTooManyRequests) IsServerError

func (o *ValidateTooManyRequests) IsServerError() bool

IsServerError returns true when this validate too many requests response has a 5xx status code

func (*ValidateTooManyRequests) IsSuccess

func (o *ValidateTooManyRequests) IsSuccess() bool

IsSuccess returns true when this validate too many requests response has a 2xx status code

func (*ValidateTooManyRequests) String

func (o *ValidateTooManyRequests) String() string

Jump to

Keyboard shortcuts

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