discover

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 11 Imported by: 1

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 discover API

func (*Client) GetAccounts added in v0.2.21

func (a *Client) GetAccounts(params *GetAccountsParams, opts ...ClientOption) (*GetAccountsOK, error)

GetAccounts gets details on accounts by providing one or more i ds

func (*Client) GetApplications added in v0.2.33

func (a *Client) GetApplications(params *GetApplicationsParams, opts ...ClientOption) (*GetApplicationsOK, error)

GetApplications gets details on applications by providing one or more i ds

func (*Client) GetHosts

func (a *Client) GetHosts(params *GetHostsParams, opts ...ClientOption) (*GetHostsOK, error)

GetHosts gets details on assets by providing one or more i ds

func (*Client) GetLogins added in v0.2.21

func (a *Client) GetLogins(params *GetLoginsParams, opts ...ClientOption) (*GetLoginsOK, error)

GetLogins gets details on logins by providing one or more i ds

func (*Client) QueryAccounts added in v0.2.21

func (a *Client) QueryAccounts(params *QueryAccountsParams, opts ...ClientOption) (*QueryAccountsOK, error)

QueryAccounts searches for accounts in your environment by providing an f q l falcon query language filter and paging details returns a set of account i ds which match the filter criteria

func (*Client) QueryApplications added in v0.2.33

func (a *Client) QueryApplications(params *QueryApplicationsParams, opts ...ClientOption) (*QueryApplicationsOK, error)

QueryApplications searches for applications in your environment by providing an f q l filter and paging details returns a set of application i ds which match the filter criteria

func (*Client) QueryHosts

func (a *Client) QueryHosts(params *QueryHostsParams, opts ...ClientOption) (*QueryHostsOK, error)

QueryHosts searches for assets in your environment by providing an f q l falcon query language filter and paging details returns a set of asset i ds which match the filter criteria

func (*Client) QueryLogins added in v0.2.21

func (a *Client) QueryLogins(params *QueryLoginsParams, opts ...ClientOption) (*QueryLoginsOK, error)

QueryLogins searches for logins in your environment by providing an f q l falcon query language filter and paging details returns a set of login i ds which match the filter criteria

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetAccounts(params *GetAccountsParams, opts ...ClientOption) (*GetAccountsOK, error)

	GetApplications(params *GetApplicationsParams, opts ...ClientOption) (*GetApplicationsOK, error)

	GetHosts(params *GetHostsParams, opts ...ClientOption) (*GetHostsOK, error)

	GetLogins(params *GetLoginsParams, opts ...ClientOption) (*GetLoginsOK, error)

	QueryAccounts(params *QueryAccountsParams, opts ...ClientOption) (*QueryAccountsOK, error)

	QueryApplications(params *QueryApplicationsParams, opts ...ClientOption) (*QueryApplicationsOK, error)

	QueryHosts(params *QueryHostsParams, opts ...ClientOption) (*QueryHostsOK, error)

	QueryLogins(params *QueryLoginsParams, opts ...ClientOption) (*QueryLoginsOK, 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 discover API client.

type GetAccountsBadRequest added in v0.2.21

type GetAccountsBadRequest 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
}

GetAccountsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAccountsBadRequest added in v0.2.21

func NewGetAccountsBadRequest() *GetAccountsBadRequest

NewGetAccountsBadRequest creates a GetAccountsBadRequest with default headers values

func (*GetAccountsBadRequest) Code added in v0.2.33

func (o *GetAccountsBadRequest) Code() int

Code gets the status code for the get accounts bad request response

func (*GetAccountsBadRequest) Error added in v0.2.21

func (o *GetAccountsBadRequest) Error() string

func (*GetAccountsBadRequest) GetPayload added in v0.2.21

func (*GetAccountsBadRequest) IsClientError added in v0.2.27

func (o *GetAccountsBadRequest) IsClientError() bool

IsClientError returns true when this get accounts bad request response has a 4xx status code

func (*GetAccountsBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this get accounts bad request response a status code equal to that given

func (*GetAccountsBadRequest) IsRedirect added in v0.2.27

func (o *GetAccountsBadRequest) IsRedirect() bool

IsRedirect returns true when this get accounts bad request response has a 3xx status code

func (*GetAccountsBadRequest) IsServerError added in v0.2.27

func (o *GetAccountsBadRequest) IsServerError() bool

IsServerError returns true when this get accounts bad request response has a 5xx status code

func (*GetAccountsBadRequest) IsSuccess added in v0.2.27

func (o *GetAccountsBadRequest) IsSuccess() bool

IsSuccess returns true when this get accounts bad request response has a 2xx status code

func (*GetAccountsBadRequest) String added in v0.2.27

func (o *GetAccountsBadRequest) String() string

type GetAccountsForbidden added in v0.2.21

type GetAccountsForbidden 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
}

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

Forbidden

func NewGetAccountsForbidden added in v0.2.21

func NewGetAccountsForbidden() *GetAccountsForbidden

NewGetAccountsForbidden creates a GetAccountsForbidden with default headers values

func (*GetAccountsForbidden) Code added in v0.2.33

func (o *GetAccountsForbidden) Code() int

Code gets the status code for the get accounts forbidden response

func (*GetAccountsForbidden) Error added in v0.2.21

func (o *GetAccountsForbidden) Error() string

func (*GetAccountsForbidden) GetPayload added in v0.2.21

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

func (*GetAccountsForbidden) IsClientError added in v0.2.27

func (o *GetAccountsForbidden) IsClientError() bool

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

func (*GetAccountsForbidden) IsCode added in v0.2.27

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

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

func (*GetAccountsForbidden) IsRedirect added in v0.2.27

func (o *GetAccountsForbidden) IsRedirect() bool

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

func (*GetAccountsForbidden) IsServerError added in v0.2.27

func (o *GetAccountsForbidden) IsServerError() bool

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

func (*GetAccountsForbidden) IsSuccess added in v0.2.27

func (o *GetAccountsForbidden) IsSuccess() bool

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

func (*GetAccountsForbidden) String added in v0.2.27

func (o *GetAccountsForbidden) String() string

type GetAccountsInternalServerError added in v0.2.21

type GetAccountsInternalServerError 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
}

GetAccountsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAccountsInternalServerError added in v0.2.21

func NewGetAccountsInternalServerError() *GetAccountsInternalServerError

NewGetAccountsInternalServerError creates a GetAccountsInternalServerError with default headers values

func (*GetAccountsInternalServerError) Code added in v0.2.33

Code gets the status code for the get accounts internal server error response

func (*GetAccountsInternalServerError) Error added in v0.2.21

func (*GetAccountsInternalServerError) GetPayload added in v0.2.21

func (*GetAccountsInternalServerError) IsClientError added in v0.2.27

func (o *GetAccountsInternalServerError) IsClientError() bool

IsClientError returns true when this get accounts internal server error response has a 4xx status code

func (*GetAccountsInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this get accounts internal server error response a status code equal to that given

func (*GetAccountsInternalServerError) IsRedirect added in v0.2.27

func (o *GetAccountsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get accounts internal server error response has a 3xx status code

func (*GetAccountsInternalServerError) IsServerError added in v0.2.27

func (o *GetAccountsInternalServerError) IsServerError() bool

IsServerError returns true when this get accounts internal server error response has a 5xx status code

func (*GetAccountsInternalServerError) IsSuccess added in v0.2.27

func (o *GetAccountsInternalServerError) IsSuccess() bool

IsSuccess returns true when this get accounts internal server error response has a 2xx status code

func (*GetAccountsInternalServerError) String added in v0.2.27

type GetAccountsOK added in v0.2.21

type GetAccountsOK 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.DomainDiscoverAPIAccountEntitiesResponse
}

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

OK

func NewGetAccountsOK added in v0.2.21

func NewGetAccountsOK() *GetAccountsOK

NewGetAccountsOK creates a GetAccountsOK with default headers values

func (*GetAccountsOK) Code added in v0.2.33

func (o *GetAccountsOK) Code() int

Code gets the status code for the get accounts o k response

func (*GetAccountsOK) Error added in v0.2.21

func (o *GetAccountsOK) Error() string

func (*GetAccountsOK) GetPayload added in v0.2.21

func (*GetAccountsOK) IsClientError added in v0.2.27

func (o *GetAccountsOK) IsClientError() bool

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

func (*GetAccountsOK) IsCode added in v0.2.27

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

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

func (*GetAccountsOK) IsRedirect added in v0.2.27

func (o *GetAccountsOK) IsRedirect() bool

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

func (*GetAccountsOK) IsServerError added in v0.2.27

func (o *GetAccountsOK) IsServerError() bool

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

func (*GetAccountsOK) IsSuccess added in v0.2.27

func (o *GetAccountsOK) IsSuccess() bool

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

func (*GetAccountsOK) String added in v0.2.27

func (o *GetAccountsOK) String() string

type GetAccountsParams added in v0.2.21

type GetAccountsParams struct {

	/* Ids.

	   One or more account IDs (max: 100). Find account IDs with GET `/discover/queries/accounts/v1`
	*/
	Ids []string

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

GetAccountsParams contains all the parameters to send to the API endpoint

for the get accounts operation.

Typically these are written to a http.Request.

func NewGetAccountsParams added in v0.2.21

func NewGetAccountsParams() *GetAccountsParams

NewGetAccountsParams creates a new GetAccountsParams 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 NewGetAccountsParamsWithContext added in v0.2.21

func NewGetAccountsParamsWithContext(ctx context.Context) *GetAccountsParams

NewGetAccountsParamsWithContext creates a new GetAccountsParams object with the ability to set a context for a request.

func NewGetAccountsParamsWithHTTPClient added in v0.2.21

func NewGetAccountsParamsWithHTTPClient(client *http.Client) *GetAccountsParams

NewGetAccountsParamsWithHTTPClient creates a new GetAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountsParamsWithTimeout added in v0.2.21

func NewGetAccountsParamsWithTimeout(timeout time.Duration) *GetAccountsParams

NewGetAccountsParamsWithTimeout creates a new GetAccountsParams object with the ability to set a timeout on a request.

func (*GetAccountsParams) SetContext added in v0.2.21

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

SetContext adds the context to the get accounts params

func (*GetAccountsParams) SetDefaults added in v0.2.21

func (o *GetAccountsParams) SetDefaults()

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

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

func (*GetAccountsParams) SetHTTPClient added in v0.2.21

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

SetHTTPClient adds the HTTPClient to the get accounts params

func (*GetAccountsParams) SetIds added in v0.2.21

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

SetIds adds the ids to the get accounts params

func (*GetAccountsParams) SetTimeout added in v0.2.21

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

SetTimeout adds the timeout to the get accounts params

func (*GetAccountsParams) WithContext added in v0.2.21

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

WithContext adds the context to the get accounts params

func (*GetAccountsParams) WithDefaults added in v0.2.21

func (o *GetAccountsParams) WithDefaults() *GetAccountsParams

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

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

func (*GetAccountsParams) WithHTTPClient added in v0.2.21

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

WithHTTPClient adds the HTTPClient to the get accounts params

func (*GetAccountsParams) WithIds added in v0.2.21

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

WithIds adds the ids to the get accounts params

func (*GetAccountsParams) WithTimeout added in v0.2.21

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

WithTimeout adds the timeout to the get accounts params

func (*GetAccountsParams) WriteToRequest added in v0.2.21

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

WriteToRequest writes these params to a swagger request

type GetAccountsReader added in v0.2.21

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

GetAccountsReader is a Reader for the GetAccounts structure.

func (*GetAccountsReader) ReadResponse added in v0.2.21

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

ReadResponse reads a server response into the received o.

type GetAccountsTooManyRequests added in v0.2.21

type GetAccountsTooManyRequests 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
}

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

Too Many Requests

func NewGetAccountsTooManyRequests added in v0.2.21

func NewGetAccountsTooManyRequests() *GetAccountsTooManyRequests

NewGetAccountsTooManyRequests creates a GetAccountsTooManyRequests with default headers values

func (*GetAccountsTooManyRequests) Code added in v0.2.33

func (o *GetAccountsTooManyRequests) Code() int

Code gets the status code for the get accounts too many requests response

func (*GetAccountsTooManyRequests) Error added in v0.2.21

func (*GetAccountsTooManyRequests) GetPayload added in v0.2.21

func (*GetAccountsTooManyRequests) IsClientError added in v0.2.27

func (o *GetAccountsTooManyRequests) IsClientError() bool

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

func (*GetAccountsTooManyRequests) IsCode added in v0.2.27

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

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

func (*GetAccountsTooManyRequests) IsRedirect added in v0.2.27

func (o *GetAccountsTooManyRequests) IsRedirect() bool

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

func (*GetAccountsTooManyRequests) IsServerError added in v0.2.27

func (o *GetAccountsTooManyRequests) IsServerError() bool

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

func (*GetAccountsTooManyRequests) IsSuccess added in v0.2.27

func (o *GetAccountsTooManyRequests) IsSuccess() bool

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

func (*GetAccountsTooManyRequests) String added in v0.2.27

func (o *GetAccountsTooManyRequests) String() string

type GetApplicationsBadRequest added in v0.2.33

type GetApplicationsBadRequest 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.MsaspecResponseFields
}

GetApplicationsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetApplicationsBadRequest added in v0.2.33

func NewGetApplicationsBadRequest() *GetApplicationsBadRequest

NewGetApplicationsBadRequest creates a GetApplicationsBadRequest with default headers values

func (*GetApplicationsBadRequest) Code added in v0.2.33

func (o *GetApplicationsBadRequest) Code() int

Code gets the status code for the get applications bad request response

func (*GetApplicationsBadRequest) Error added in v0.2.33

func (o *GetApplicationsBadRequest) Error() string

func (*GetApplicationsBadRequest) GetPayload added in v0.2.33

func (*GetApplicationsBadRequest) IsClientError added in v0.2.33

func (o *GetApplicationsBadRequest) IsClientError() bool

IsClientError returns true when this get applications bad request response has a 4xx status code

func (*GetApplicationsBadRequest) IsCode added in v0.2.33

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

IsCode returns true when this get applications bad request response a status code equal to that given

func (*GetApplicationsBadRequest) IsRedirect added in v0.2.33

func (o *GetApplicationsBadRequest) IsRedirect() bool

IsRedirect returns true when this get applications bad request response has a 3xx status code

func (*GetApplicationsBadRequest) IsServerError added in v0.2.33

func (o *GetApplicationsBadRequest) IsServerError() bool

IsServerError returns true when this get applications bad request response has a 5xx status code

func (*GetApplicationsBadRequest) IsSuccess added in v0.2.33

func (o *GetApplicationsBadRequest) IsSuccess() bool

IsSuccess returns true when this get applications bad request response has a 2xx status code

func (*GetApplicationsBadRequest) String added in v0.2.33

func (o *GetApplicationsBadRequest) String() string

type GetApplicationsForbidden added in v0.2.33

type GetApplicationsForbidden 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
}

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

Forbidden

func NewGetApplicationsForbidden added in v0.2.33

func NewGetApplicationsForbidden() *GetApplicationsForbidden

NewGetApplicationsForbidden creates a GetApplicationsForbidden with default headers values

func (*GetApplicationsForbidden) Code added in v0.2.33

func (o *GetApplicationsForbidden) Code() int

Code gets the status code for the get applications forbidden response

func (*GetApplicationsForbidden) Error added in v0.2.33

func (o *GetApplicationsForbidden) Error() string

func (*GetApplicationsForbidden) GetPayload added in v0.2.33

func (*GetApplicationsForbidden) IsClientError added in v0.2.33

func (o *GetApplicationsForbidden) IsClientError() bool

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

func (*GetApplicationsForbidden) IsCode added in v0.2.33

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

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

func (*GetApplicationsForbidden) IsRedirect added in v0.2.33

func (o *GetApplicationsForbidden) IsRedirect() bool

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

func (*GetApplicationsForbidden) IsServerError added in v0.2.33

func (o *GetApplicationsForbidden) IsServerError() bool

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

func (*GetApplicationsForbidden) IsSuccess added in v0.2.33

func (o *GetApplicationsForbidden) IsSuccess() bool

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

func (*GetApplicationsForbidden) String added in v0.2.33

func (o *GetApplicationsForbidden) String() string

type GetApplicationsInternalServerError added in v0.2.33

type GetApplicationsInternalServerError 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.MsaspecResponseFields
}

GetApplicationsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetApplicationsInternalServerError added in v0.2.33

func NewGetApplicationsInternalServerError() *GetApplicationsInternalServerError

NewGetApplicationsInternalServerError creates a GetApplicationsInternalServerError with default headers values

func (*GetApplicationsInternalServerError) Code added in v0.2.33

Code gets the status code for the get applications internal server error response

func (*GetApplicationsInternalServerError) Error added in v0.2.33

func (*GetApplicationsInternalServerError) GetPayload added in v0.2.33

func (*GetApplicationsInternalServerError) IsClientError added in v0.2.33

func (o *GetApplicationsInternalServerError) IsClientError() bool

IsClientError returns true when this get applications internal server error response has a 4xx status code

func (*GetApplicationsInternalServerError) IsCode added in v0.2.33

IsCode returns true when this get applications internal server error response a status code equal to that given

func (*GetApplicationsInternalServerError) IsRedirect added in v0.2.33

func (o *GetApplicationsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get applications internal server error response has a 3xx status code

func (*GetApplicationsInternalServerError) IsServerError added in v0.2.33

func (o *GetApplicationsInternalServerError) IsServerError() bool

IsServerError returns true when this get applications internal server error response has a 5xx status code

func (*GetApplicationsInternalServerError) IsSuccess added in v0.2.33

IsSuccess returns true when this get applications internal server error response has a 2xx status code

func (*GetApplicationsInternalServerError) String added in v0.2.33

type GetApplicationsOK added in v0.2.33

type GetApplicationsOK 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.DomainDiscoverAPIApplicationEntitiesResponse
}

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

OK

func NewGetApplicationsOK added in v0.2.33

func NewGetApplicationsOK() *GetApplicationsOK

NewGetApplicationsOK creates a GetApplicationsOK with default headers values

func (*GetApplicationsOK) Code added in v0.2.33

func (o *GetApplicationsOK) Code() int

Code gets the status code for the get applications o k response

func (*GetApplicationsOK) Error added in v0.2.33

func (o *GetApplicationsOK) Error() string

func (*GetApplicationsOK) GetPayload added in v0.2.33

func (*GetApplicationsOK) IsClientError added in v0.2.33

func (o *GetApplicationsOK) IsClientError() bool

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

func (*GetApplicationsOK) IsCode added in v0.2.33

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

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

func (*GetApplicationsOK) IsRedirect added in v0.2.33

func (o *GetApplicationsOK) IsRedirect() bool

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

func (*GetApplicationsOK) IsServerError added in v0.2.33

func (o *GetApplicationsOK) IsServerError() bool

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

func (*GetApplicationsOK) IsSuccess added in v0.2.33

func (o *GetApplicationsOK) IsSuccess() bool

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

func (*GetApplicationsOK) String added in v0.2.33

func (o *GetApplicationsOK) String() string

type GetApplicationsParams added in v0.2.33

type GetApplicationsParams struct {

	/* Ids.

	   The IDs of applications to retrieve. (Min: 1, Max: 100)
	*/
	Ids []string

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

GetApplicationsParams contains all the parameters to send to the API endpoint

for the get applications operation.

Typically these are written to a http.Request.

func NewGetApplicationsParams added in v0.2.33

func NewGetApplicationsParams() *GetApplicationsParams

NewGetApplicationsParams creates a new GetApplicationsParams 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 NewGetApplicationsParamsWithContext added in v0.2.33

func NewGetApplicationsParamsWithContext(ctx context.Context) *GetApplicationsParams

NewGetApplicationsParamsWithContext creates a new GetApplicationsParams object with the ability to set a context for a request.

func NewGetApplicationsParamsWithHTTPClient added in v0.2.33

func NewGetApplicationsParamsWithHTTPClient(client *http.Client) *GetApplicationsParams

NewGetApplicationsParamsWithHTTPClient creates a new GetApplicationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetApplicationsParamsWithTimeout added in v0.2.33

func NewGetApplicationsParamsWithTimeout(timeout time.Duration) *GetApplicationsParams

NewGetApplicationsParamsWithTimeout creates a new GetApplicationsParams object with the ability to set a timeout on a request.

func (*GetApplicationsParams) SetContext added in v0.2.33

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

SetContext adds the context to the get applications params

func (*GetApplicationsParams) SetDefaults added in v0.2.33

func (o *GetApplicationsParams) SetDefaults()

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

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

func (*GetApplicationsParams) SetHTTPClient added in v0.2.33

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

SetHTTPClient adds the HTTPClient to the get applications params

func (*GetApplicationsParams) SetIds added in v0.2.33

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

SetIds adds the ids to the get applications params

func (*GetApplicationsParams) SetTimeout added in v0.2.33

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

SetTimeout adds the timeout to the get applications params

func (*GetApplicationsParams) WithContext added in v0.2.33

WithContext adds the context to the get applications params

func (*GetApplicationsParams) WithDefaults added in v0.2.33

func (o *GetApplicationsParams) WithDefaults() *GetApplicationsParams

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

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

func (*GetApplicationsParams) WithHTTPClient added in v0.2.33

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

WithHTTPClient adds the HTTPClient to the get applications params

func (*GetApplicationsParams) WithIds added in v0.2.33

WithIds adds the ids to the get applications params

func (*GetApplicationsParams) WithTimeout added in v0.2.33

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

WithTimeout adds the timeout to the get applications params

func (*GetApplicationsParams) WriteToRequest added in v0.2.33

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

WriteToRequest writes these params to a swagger request

type GetApplicationsReader added in v0.2.33

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

GetApplicationsReader is a Reader for the GetApplications structure.

func (*GetApplicationsReader) ReadResponse added in v0.2.33

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

ReadResponse reads a server response into the received o.

type GetApplicationsTooManyRequests added in v0.2.33

type GetApplicationsTooManyRequests 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
}

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

Too Many Requests

func NewGetApplicationsTooManyRequests added in v0.2.33

func NewGetApplicationsTooManyRequests() *GetApplicationsTooManyRequests

NewGetApplicationsTooManyRequests creates a GetApplicationsTooManyRequests with default headers values

func (*GetApplicationsTooManyRequests) Code added in v0.2.33

Code gets the status code for the get applications too many requests response

func (*GetApplicationsTooManyRequests) Error added in v0.2.33

func (*GetApplicationsTooManyRequests) GetPayload added in v0.2.33

func (*GetApplicationsTooManyRequests) IsClientError added in v0.2.33

func (o *GetApplicationsTooManyRequests) IsClientError() bool

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

func (*GetApplicationsTooManyRequests) IsCode added in v0.2.33

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

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

func (*GetApplicationsTooManyRequests) IsRedirect added in v0.2.33

func (o *GetApplicationsTooManyRequests) IsRedirect() bool

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

func (*GetApplicationsTooManyRequests) IsServerError added in v0.2.33

func (o *GetApplicationsTooManyRequests) IsServerError() bool

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

func (*GetApplicationsTooManyRequests) IsSuccess added in v0.2.33

func (o *GetApplicationsTooManyRequests) IsSuccess() bool

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

func (*GetApplicationsTooManyRequests) String added in v0.2.33

type GetHostsBadRequest

type GetHostsBadRequest 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.MsaspecResponseFields
}

GetHostsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetHostsBadRequest

func NewGetHostsBadRequest() *GetHostsBadRequest

NewGetHostsBadRequest creates a GetHostsBadRequest with default headers values

func (*GetHostsBadRequest) Code added in v0.2.33

func (o *GetHostsBadRequest) Code() int

Code gets the status code for the get hosts bad request response

func (*GetHostsBadRequest) Error

func (o *GetHostsBadRequest) Error() string

func (*GetHostsBadRequest) GetPayload

func (*GetHostsBadRequest) IsClientError added in v0.2.27

func (o *GetHostsBadRequest) IsClientError() bool

IsClientError returns true when this get hosts bad request response has a 4xx status code

func (*GetHostsBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this get hosts bad request response a status code equal to that given

func (*GetHostsBadRequest) IsRedirect added in v0.2.27

func (o *GetHostsBadRequest) IsRedirect() bool

IsRedirect returns true when this get hosts bad request response has a 3xx status code

func (*GetHostsBadRequest) IsServerError added in v0.2.27

func (o *GetHostsBadRequest) IsServerError() bool

IsServerError returns true when this get hosts bad request response has a 5xx status code

func (*GetHostsBadRequest) IsSuccess added in v0.2.27

func (o *GetHostsBadRequest) IsSuccess() bool

IsSuccess returns true when this get hosts bad request response has a 2xx status code

func (*GetHostsBadRequest) String added in v0.2.27

func (o *GetHostsBadRequest) String() string

type GetHostsForbidden

type GetHostsForbidden 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
}

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

Forbidden

func NewGetHostsForbidden

func NewGetHostsForbidden() *GetHostsForbidden

NewGetHostsForbidden creates a GetHostsForbidden with default headers values

func (*GetHostsForbidden) Code added in v0.2.33

func (o *GetHostsForbidden) Code() int

Code gets the status code for the get hosts forbidden response

func (*GetHostsForbidden) Error

func (o *GetHostsForbidden) Error() string

func (*GetHostsForbidden) GetPayload

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

func (*GetHostsForbidden) IsClientError added in v0.2.27

func (o *GetHostsForbidden) IsClientError() bool

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

func (*GetHostsForbidden) IsCode added in v0.2.27

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

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

func (*GetHostsForbidden) IsRedirect added in v0.2.27

func (o *GetHostsForbidden) IsRedirect() bool

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

func (*GetHostsForbidden) IsServerError added in v0.2.27

func (o *GetHostsForbidden) IsServerError() bool

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

func (*GetHostsForbidden) IsSuccess added in v0.2.27

func (o *GetHostsForbidden) IsSuccess() bool

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

func (*GetHostsForbidden) String added in v0.2.27

func (o *GetHostsForbidden) String() string

type GetHostsInternalServerError

type GetHostsInternalServerError 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.MsaspecResponseFields
}

GetHostsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetHostsInternalServerError

func NewGetHostsInternalServerError() *GetHostsInternalServerError

NewGetHostsInternalServerError creates a GetHostsInternalServerError with default headers values

func (*GetHostsInternalServerError) Code added in v0.2.33

func (o *GetHostsInternalServerError) Code() int

Code gets the status code for the get hosts internal server error response

func (*GetHostsInternalServerError) Error

func (*GetHostsInternalServerError) GetPayload

func (*GetHostsInternalServerError) IsClientError added in v0.2.27

func (o *GetHostsInternalServerError) IsClientError() bool

IsClientError returns true when this get hosts internal server error response has a 4xx status code

func (*GetHostsInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this get hosts internal server error response a status code equal to that given

func (*GetHostsInternalServerError) IsRedirect added in v0.2.27

func (o *GetHostsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get hosts internal server error response has a 3xx status code

func (*GetHostsInternalServerError) IsServerError added in v0.2.27

func (o *GetHostsInternalServerError) IsServerError() bool

IsServerError returns true when this get hosts internal server error response has a 5xx status code

func (*GetHostsInternalServerError) IsSuccess added in v0.2.27

func (o *GetHostsInternalServerError) IsSuccess() bool

IsSuccess returns true when this get hosts internal server error response has a 2xx status code

func (*GetHostsInternalServerError) String added in v0.2.27

func (o *GetHostsInternalServerError) String() string

type GetHostsOK

type GetHostsOK 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.DomainDiscoverAPIHostEntitiesResponse
}

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

OK

func NewGetHostsOK

func NewGetHostsOK() *GetHostsOK

NewGetHostsOK creates a GetHostsOK with default headers values

func (*GetHostsOK) Code added in v0.2.33

func (o *GetHostsOK) Code() int

Code gets the status code for the get hosts o k response

func (*GetHostsOK) Error

func (o *GetHostsOK) Error() string

func (*GetHostsOK) GetPayload

func (*GetHostsOK) IsClientError added in v0.2.27

func (o *GetHostsOK) IsClientError() bool

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

func (*GetHostsOK) IsCode added in v0.2.27

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

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

func (*GetHostsOK) IsRedirect added in v0.2.27

func (o *GetHostsOK) IsRedirect() bool

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

func (*GetHostsOK) IsServerError added in v0.2.27

func (o *GetHostsOK) IsServerError() bool

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

func (*GetHostsOK) IsSuccess added in v0.2.27

func (o *GetHostsOK) IsSuccess() bool

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

func (*GetHostsOK) String added in v0.2.27

func (o *GetHostsOK) String() string

type GetHostsParams

type GetHostsParams struct {

	/* Ids.

	   One or more asset IDs (max: 100). Find asset IDs with GET `/discover/queries/hosts/v1`
	*/
	Ids []string

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

GetHostsParams contains all the parameters to send to the API endpoint

for the get hosts operation.

Typically these are written to a http.Request.

func NewGetHostsParams

func NewGetHostsParams() *GetHostsParams

NewGetHostsParams creates a new GetHostsParams 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 NewGetHostsParamsWithContext

func NewGetHostsParamsWithContext(ctx context.Context) *GetHostsParams

NewGetHostsParamsWithContext creates a new GetHostsParams object with the ability to set a context for a request.

func NewGetHostsParamsWithHTTPClient

func NewGetHostsParamsWithHTTPClient(client *http.Client) *GetHostsParams

NewGetHostsParamsWithHTTPClient creates a new GetHostsParams object with the ability to set a custom HTTPClient for a request.

func NewGetHostsParamsWithTimeout

func NewGetHostsParamsWithTimeout(timeout time.Duration) *GetHostsParams

NewGetHostsParamsWithTimeout creates a new GetHostsParams object with the ability to set a timeout on a request.

func (*GetHostsParams) SetContext

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

SetContext adds the context to the get hosts params

func (*GetHostsParams) SetDefaults

func (o *GetHostsParams) SetDefaults()

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

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

func (*GetHostsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get hosts params

func (*GetHostsParams) SetIds

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

SetIds adds the ids to the get hosts params

func (*GetHostsParams) SetTimeout

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

SetTimeout adds the timeout to the get hosts params

func (*GetHostsParams) WithContext

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

WithContext adds the context to the get hosts params

func (*GetHostsParams) WithDefaults

func (o *GetHostsParams) WithDefaults() *GetHostsParams

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

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

func (*GetHostsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get hosts params

func (*GetHostsParams) WithIds

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

WithIds adds the ids to the get hosts params

func (*GetHostsParams) WithTimeout

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

WithTimeout adds the timeout to the get hosts params

func (*GetHostsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetHostsReader

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

GetHostsReader is a Reader for the GetHosts structure.

func (*GetHostsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHostsTooManyRequests

type GetHostsTooManyRequests 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
}

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

Too Many Requests

func NewGetHostsTooManyRequests

func NewGetHostsTooManyRequests() *GetHostsTooManyRequests

NewGetHostsTooManyRequests creates a GetHostsTooManyRequests with default headers values

func (*GetHostsTooManyRequests) Code added in v0.2.33

func (o *GetHostsTooManyRequests) Code() int

Code gets the status code for the get hosts too many requests response

func (*GetHostsTooManyRequests) Error

func (o *GetHostsTooManyRequests) Error() string

func (*GetHostsTooManyRequests) GetPayload

func (*GetHostsTooManyRequests) IsClientError added in v0.2.27

func (o *GetHostsTooManyRequests) IsClientError() bool

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

func (*GetHostsTooManyRequests) IsCode added in v0.2.27

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

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

func (*GetHostsTooManyRequests) IsRedirect added in v0.2.27

func (o *GetHostsTooManyRequests) IsRedirect() bool

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

func (*GetHostsTooManyRequests) IsServerError added in v0.2.27

func (o *GetHostsTooManyRequests) IsServerError() bool

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

func (*GetHostsTooManyRequests) IsSuccess added in v0.2.27

func (o *GetHostsTooManyRequests) IsSuccess() bool

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

func (*GetHostsTooManyRequests) String added in v0.2.27

func (o *GetHostsTooManyRequests) String() string

type GetLoginsBadRequest added in v0.2.21

type GetLoginsBadRequest 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
}

GetLoginsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetLoginsBadRequest added in v0.2.21

func NewGetLoginsBadRequest() *GetLoginsBadRequest

NewGetLoginsBadRequest creates a GetLoginsBadRequest with default headers values

func (*GetLoginsBadRequest) Code added in v0.2.33

func (o *GetLoginsBadRequest) Code() int

Code gets the status code for the get logins bad request response

func (*GetLoginsBadRequest) Error added in v0.2.21

func (o *GetLoginsBadRequest) Error() string

func (*GetLoginsBadRequest) GetPayload added in v0.2.21

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

func (*GetLoginsBadRequest) IsClientError added in v0.2.27

func (o *GetLoginsBadRequest) IsClientError() bool

IsClientError returns true when this get logins bad request response has a 4xx status code

func (*GetLoginsBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this get logins bad request response a status code equal to that given

func (*GetLoginsBadRequest) IsRedirect added in v0.2.27

func (o *GetLoginsBadRequest) IsRedirect() bool

IsRedirect returns true when this get logins bad request response has a 3xx status code

func (*GetLoginsBadRequest) IsServerError added in v0.2.27

func (o *GetLoginsBadRequest) IsServerError() bool

IsServerError returns true when this get logins bad request response has a 5xx status code

func (*GetLoginsBadRequest) IsSuccess added in v0.2.27

func (o *GetLoginsBadRequest) IsSuccess() bool

IsSuccess returns true when this get logins bad request response has a 2xx status code

func (*GetLoginsBadRequest) String added in v0.2.27

func (o *GetLoginsBadRequest) String() string

type GetLoginsForbidden added in v0.2.21

type GetLoginsForbidden 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
}

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

Forbidden

func NewGetLoginsForbidden added in v0.2.21

func NewGetLoginsForbidden() *GetLoginsForbidden

NewGetLoginsForbidden creates a GetLoginsForbidden with default headers values

func (*GetLoginsForbidden) Code added in v0.2.33

func (o *GetLoginsForbidden) Code() int

Code gets the status code for the get logins forbidden response

func (*GetLoginsForbidden) Error added in v0.2.21

func (o *GetLoginsForbidden) Error() string

func (*GetLoginsForbidden) GetPayload added in v0.2.21

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

func (*GetLoginsForbidden) IsClientError added in v0.2.27

func (o *GetLoginsForbidden) IsClientError() bool

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

func (*GetLoginsForbidden) IsCode added in v0.2.27

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

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

func (*GetLoginsForbidden) IsRedirect added in v0.2.27

func (o *GetLoginsForbidden) IsRedirect() bool

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

func (*GetLoginsForbidden) IsServerError added in v0.2.27

func (o *GetLoginsForbidden) IsServerError() bool

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

func (*GetLoginsForbidden) IsSuccess added in v0.2.27

func (o *GetLoginsForbidden) IsSuccess() bool

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

func (*GetLoginsForbidden) String added in v0.2.27

func (o *GetLoginsForbidden) String() string

type GetLoginsInternalServerError added in v0.2.21

type GetLoginsInternalServerError 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
}

GetLoginsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetLoginsInternalServerError added in v0.2.21

func NewGetLoginsInternalServerError() *GetLoginsInternalServerError

NewGetLoginsInternalServerError creates a GetLoginsInternalServerError with default headers values

func (*GetLoginsInternalServerError) Code added in v0.2.33

Code gets the status code for the get logins internal server error response

func (*GetLoginsInternalServerError) Error added in v0.2.21

func (*GetLoginsInternalServerError) GetPayload added in v0.2.21

func (*GetLoginsInternalServerError) IsClientError added in v0.2.27

func (o *GetLoginsInternalServerError) IsClientError() bool

IsClientError returns true when this get logins internal server error response has a 4xx status code

func (*GetLoginsInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this get logins internal server error response a status code equal to that given

func (*GetLoginsInternalServerError) IsRedirect added in v0.2.27

func (o *GetLoginsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get logins internal server error response has a 3xx status code

func (*GetLoginsInternalServerError) IsServerError added in v0.2.27

func (o *GetLoginsInternalServerError) IsServerError() bool

IsServerError returns true when this get logins internal server error response has a 5xx status code

func (*GetLoginsInternalServerError) IsSuccess added in v0.2.27

func (o *GetLoginsInternalServerError) IsSuccess() bool

IsSuccess returns true when this get logins internal server error response has a 2xx status code

func (*GetLoginsInternalServerError) String added in v0.2.27

type GetLoginsOK added in v0.2.21

type GetLoginsOK 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.DomainDiscoverAPILoginEntitiesResponse
}

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

OK

func NewGetLoginsOK added in v0.2.21

func NewGetLoginsOK() *GetLoginsOK

NewGetLoginsOK creates a GetLoginsOK with default headers values

func (*GetLoginsOK) Code added in v0.2.33

func (o *GetLoginsOK) Code() int

Code gets the status code for the get logins o k response

func (*GetLoginsOK) Error added in v0.2.21

func (o *GetLoginsOK) Error() string

func (*GetLoginsOK) GetPayload added in v0.2.21

func (*GetLoginsOK) IsClientError added in v0.2.27

func (o *GetLoginsOK) IsClientError() bool

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

func (*GetLoginsOK) IsCode added in v0.2.27

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

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

func (*GetLoginsOK) IsRedirect added in v0.2.27

func (o *GetLoginsOK) IsRedirect() bool

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

func (*GetLoginsOK) IsServerError added in v0.2.27

func (o *GetLoginsOK) IsServerError() bool

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

func (*GetLoginsOK) IsSuccess added in v0.2.27

func (o *GetLoginsOK) IsSuccess() bool

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

func (*GetLoginsOK) String added in v0.2.27

func (o *GetLoginsOK) String() string

type GetLoginsParams added in v0.2.21

type GetLoginsParams struct {

	/* Ids.

	   One or more login IDs (max: 100). Find login IDs with GET `/discover/queries/logins/v1`
	*/
	Ids []string

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

GetLoginsParams contains all the parameters to send to the API endpoint

for the get logins operation.

Typically these are written to a http.Request.

func NewGetLoginsParams added in v0.2.21

func NewGetLoginsParams() *GetLoginsParams

NewGetLoginsParams creates a new GetLoginsParams 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 NewGetLoginsParamsWithContext added in v0.2.21

func NewGetLoginsParamsWithContext(ctx context.Context) *GetLoginsParams

NewGetLoginsParamsWithContext creates a new GetLoginsParams object with the ability to set a context for a request.

func NewGetLoginsParamsWithHTTPClient added in v0.2.21

func NewGetLoginsParamsWithHTTPClient(client *http.Client) *GetLoginsParams

NewGetLoginsParamsWithHTTPClient creates a new GetLoginsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLoginsParamsWithTimeout added in v0.2.21

func NewGetLoginsParamsWithTimeout(timeout time.Duration) *GetLoginsParams

NewGetLoginsParamsWithTimeout creates a new GetLoginsParams object with the ability to set a timeout on a request.

func (*GetLoginsParams) SetContext added in v0.2.21

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

SetContext adds the context to the get logins params

func (*GetLoginsParams) SetDefaults added in v0.2.21

func (o *GetLoginsParams) SetDefaults()

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

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

func (*GetLoginsParams) SetHTTPClient added in v0.2.21

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

SetHTTPClient adds the HTTPClient to the get logins params

func (*GetLoginsParams) SetIds added in v0.2.21

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

SetIds adds the ids to the get logins params

func (*GetLoginsParams) SetTimeout added in v0.2.21

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

SetTimeout adds the timeout to the get logins params

func (*GetLoginsParams) WithContext added in v0.2.21

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

WithContext adds the context to the get logins params

func (*GetLoginsParams) WithDefaults added in v0.2.21

func (o *GetLoginsParams) WithDefaults() *GetLoginsParams

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

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

func (*GetLoginsParams) WithHTTPClient added in v0.2.21

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

WithHTTPClient adds the HTTPClient to the get logins params

func (*GetLoginsParams) WithIds added in v0.2.21

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

WithIds adds the ids to the get logins params

func (*GetLoginsParams) WithTimeout added in v0.2.21

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

WithTimeout adds the timeout to the get logins params

func (*GetLoginsParams) WriteToRequest added in v0.2.21

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

WriteToRequest writes these params to a swagger request

type GetLoginsReader added in v0.2.21

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

GetLoginsReader is a Reader for the GetLogins structure.

func (*GetLoginsReader) ReadResponse added in v0.2.21

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

ReadResponse reads a server response into the received o.

type GetLoginsTooManyRequests added in v0.2.21

type GetLoginsTooManyRequests 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
}

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

Too Many Requests

func NewGetLoginsTooManyRequests added in v0.2.21

func NewGetLoginsTooManyRequests() *GetLoginsTooManyRequests

NewGetLoginsTooManyRequests creates a GetLoginsTooManyRequests with default headers values

func (*GetLoginsTooManyRequests) Code added in v0.2.33

func (o *GetLoginsTooManyRequests) Code() int

Code gets the status code for the get logins too many requests response

func (*GetLoginsTooManyRequests) Error added in v0.2.21

func (o *GetLoginsTooManyRequests) Error() string

func (*GetLoginsTooManyRequests) GetPayload added in v0.2.21

func (*GetLoginsTooManyRequests) IsClientError added in v0.2.27

func (o *GetLoginsTooManyRequests) IsClientError() bool

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

func (*GetLoginsTooManyRequests) IsCode added in v0.2.27

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

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

func (*GetLoginsTooManyRequests) IsRedirect added in v0.2.27

func (o *GetLoginsTooManyRequests) IsRedirect() bool

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

func (*GetLoginsTooManyRequests) IsServerError added in v0.2.27

func (o *GetLoginsTooManyRequests) IsServerError() bool

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

func (*GetLoginsTooManyRequests) IsSuccess added in v0.2.27

func (o *GetLoginsTooManyRequests) IsSuccess() bool

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

func (*GetLoginsTooManyRequests) String added in v0.2.27

func (o *GetLoginsTooManyRequests) String() string

type QueryAccountsBadRequest added in v0.2.21

type QueryAccountsBadRequest 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
}

QueryAccountsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryAccountsBadRequest added in v0.2.21

func NewQueryAccountsBadRequest() *QueryAccountsBadRequest

NewQueryAccountsBadRequest creates a QueryAccountsBadRequest with default headers values

func (*QueryAccountsBadRequest) Code added in v0.2.33

func (o *QueryAccountsBadRequest) Code() int

Code gets the status code for the query accounts bad request response

func (*QueryAccountsBadRequest) Error added in v0.2.21

func (o *QueryAccountsBadRequest) Error() string

func (*QueryAccountsBadRequest) GetPayload added in v0.2.21

func (*QueryAccountsBadRequest) IsClientError added in v0.2.27

func (o *QueryAccountsBadRequest) IsClientError() bool

IsClientError returns true when this query accounts bad request response has a 4xx status code

func (*QueryAccountsBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this query accounts bad request response a status code equal to that given

func (*QueryAccountsBadRequest) IsRedirect added in v0.2.27

func (o *QueryAccountsBadRequest) IsRedirect() bool

IsRedirect returns true when this query accounts bad request response has a 3xx status code

func (*QueryAccountsBadRequest) IsServerError added in v0.2.27

func (o *QueryAccountsBadRequest) IsServerError() bool

IsServerError returns true when this query accounts bad request response has a 5xx status code

func (*QueryAccountsBadRequest) IsSuccess added in v0.2.27

func (o *QueryAccountsBadRequest) IsSuccess() bool

IsSuccess returns true when this query accounts bad request response has a 2xx status code

func (*QueryAccountsBadRequest) String added in v0.2.27

func (o *QueryAccountsBadRequest) String() string

type QueryAccountsForbidden added in v0.2.21

type QueryAccountsForbidden 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
}

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

Forbidden

func NewQueryAccountsForbidden added in v0.2.21

func NewQueryAccountsForbidden() *QueryAccountsForbidden

NewQueryAccountsForbidden creates a QueryAccountsForbidden with default headers values

func (*QueryAccountsForbidden) Code added in v0.2.33

func (o *QueryAccountsForbidden) Code() int

Code gets the status code for the query accounts forbidden response

func (*QueryAccountsForbidden) Error added in v0.2.21

func (o *QueryAccountsForbidden) Error() string

func (*QueryAccountsForbidden) GetPayload added in v0.2.21

func (*QueryAccountsForbidden) IsClientError added in v0.2.27

func (o *QueryAccountsForbidden) IsClientError() bool

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

func (*QueryAccountsForbidden) IsCode added in v0.2.27

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

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

func (*QueryAccountsForbidden) IsRedirect added in v0.2.27

func (o *QueryAccountsForbidden) IsRedirect() bool

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

func (*QueryAccountsForbidden) IsServerError added in v0.2.27

func (o *QueryAccountsForbidden) IsServerError() bool

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

func (*QueryAccountsForbidden) IsSuccess added in v0.2.27

func (o *QueryAccountsForbidden) IsSuccess() bool

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

func (*QueryAccountsForbidden) String added in v0.2.27

func (o *QueryAccountsForbidden) String() string

type QueryAccountsInternalServerError added in v0.2.21

type QueryAccountsInternalServerError 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
}

QueryAccountsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewQueryAccountsInternalServerError added in v0.2.21

func NewQueryAccountsInternalServerError() *QueryAccountsInternalServerError

NewQueryAccountsInternalServerError creates a QueryAccountsInternalServerError with default headers values

func (*QueryAccountsInternalServerError) Code added in v0.2.33

Code gets the status code for the query accounts internal server error response

func (*QueryAccountsInternalServerError) Error added in v0.2.21

func (*QueryAccountsInternalServerError) GetPayload added in v0.2.21

func (*QueryAccountsInternalServerError) IsClientError added in v0.2.27

func (o *QueryAccountsInternalServerError) IsClientError() bool

IsClientError returns true when this query accounts internal server error response has a 4xx status code

func (*QueryAccountsInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this query accounts internal server error response a status code equal to that given

func (*QueryAccountsInternalServerError) IsRedirect added in v0.2.27

func (o *QueryAccountsInternalServerError) IsRedirect() bool

IsRedirect returns true when this query accounts internal server error response has a 3xx status code

func (*QueryAccountsInternalServerError) IsServerError added in v0.2.27

func (o *QueryAccountsInternalServerError) IsServerError() bool

IsServerError returns true when this query accounts internal server error response has a 5xx status code

func (*QueryAccountsInternalServerError) IsSuccess added in v0.2.27

func (o *QueryAccountsInternalServerError) IsSuccess() bool

IsSuccess returns true when this query accounts internal server error response has a 2xx status code

func (*QueryAccountsInternalServerError) String added in v0.2.27

type QueryAccountsOK added in v0.2.21

type QueryAccountsOK 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.MsaQueryResponse
}

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

OK

func NewQueryAccountsOK added in v0.2.21

func NewQueryAccountsOK() *QueryAccountsOK

NewQueryAccountsOK creates a QueryAccountsOK with default headers values

func (*QueryAccountsOK) Code added in v0.2.33

func (o *QueryAccountsOK) Code() int

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

func (*QueryAccountsOK) Error added in v0.2.21

func (o *QueryAccountsOK) Error() string

func (*QueryAccountsOK) GetPayload added in v0.2.21

func (o *QueryAccountsOK) GetPayload() *models.MsaQueryResponse

func (*QueryAccountsOK) IsClientError added in v0.2.27

func (o *QueryAccountsOK) IsClientError() bool

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

func (*QueryAccountsOK) IsCode added in v0.2.27

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

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

func (*QueryAccountsOK) IsRedirect added in v0.2.27

func (o *QueryAccountsOK) IsRedirect() bool

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

func (*QueryAccountsOK) IsServerError added in v0.2.27

func (o *QueryAccountsOK) IsServerError() bool

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

func (*QueryAccountsOK) IsSuccess added in v0.2.27

func (o *QueryAccountsOK) IsSuccess() bool

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

func (*QueryAccountsOK) String added in v0.2.27

func (o *QueryAccountsOK) String() string

type QueryAccountsParams added in v0.2.21

type QueryAccountsParams struct {

	/* Filter.

	     Filter accounts using an FQL query. Common filter options include:<ul><li>account_type:'Local'</li><li>admin_privileges:'Yes'</li><li>first_seen_timestamp:<'now-7d'</li><li>last_successful_login_type:'Terminal server'</li></ul>
				Available filter fields that support exact match: id, cid, user_sid, account_name, username, account_type, admin_privileges, first_seen_timestamp, last_successful_login_type, last_successful_login_timestamp, last_successful_login_hostname, last_successful_login_remote_ip, last_successful_login_host_country, last_successful_login_host_city, login_domain, last_failed_login_type, last_failed_login_timestamp, last_failed_login_hostname, password_last_set_timestamp, local_admin_privileges
				Available filter fields that supports wildcard (*): id, cid, user_sid, account_name, username, account_type, admin_privileges, last_successful_login_type, last_successful_login_hostname, last_successful_login_remote_ip, last_successful_login_host_country, last_successful_login_host_city, login_domain, last_failed_login_type, last_failed_login_hostname, local_admin_privileges
				Available filter fields that supports range comparisons (>, <, >=, <=): first_seen_timestamp, last_successful_login_timestamp,last_failed_login_timestamp, password_last_set_timestamp
				All filter fields and operations supports negation (!).
	*/
	Filter *string

	/* Limit.

	   The number of account IDs to return in this response (min: 1, max: 100, default: 100). Use with the `offset` parameter to manage pagination of results.
	*/
	Limit *int64

	/* Offset.

	   An offset used with the `limit` parameter to manage pagination of results. On your first request, don’t provide an `offset`. On subsequent requests, add previous `offset` with the previous `limit` to continue from that place in the results.
	*/
	Offset *int64

	/* Sort.

	     Sort accounts by their properties. A single sort field is allowed. Common sort options include:

	<ul><li>username|asc</li><li>last_failed_login_timestamp|desc</li></ul>
	*/
	Sort *string

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

QueryAccountsParams contains all the parameters to send to the API endpoint

for the query accounts operation.

Typically these are written to a http.Request.

func NewQueryAccountsParams added in v0.2.21

func NewQueryAccountsParams() *QueryAccountsParams

NewQueryAccountsParams creates a new QueryAccountsParams 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 NewQueryAccountsParamsWithContext added in v0.2.21

func NewQueryAccountsParamsWithContext(ctx context.Context) *QueryAccountsParams

NewQueryAccountsParamsWithContext creates a new QueryAccountsParams object with the ability to set a context for a request.

func NewQueryAccountsParamsWithHTTPClient added in v0.2.21

func NewQueryAccountsParamsWithHTTPClient(client *http.Client) *QueryAccountsParams

NewQueryAccountsParamsWithHTTPClient creates a new QueryAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryAccountsParamsWithTimeout added in v0.2.21

func NewQueryAccountsParamsWithTimeout(timeout time.Duration) *QueryAccountsParams

NewQueryAccountsParamsWithTimeout creates a new QueryAccountsParams object with the ability to set a timeout on a request.

func (*QueryAccountsParams) SetContext added in v0.2.21

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

SetContext adds the context to the query accounts params

func (*QueryAccountsParams) SetDefaults added in v0.2.21

func (o *QueryAccountsParams) SetDefaults()

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

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

func (*QueryAccountsParams) SetFilter added in v0.2.21

func (o *QueryAccountsParams) SetFilter(filter *string)

SetFilter adds the filter to the query accounts params

func (*QueryAccountsParams) SetHTTPClient added in v0.2.21

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

SetHTTPClient adds the HTTPClient to the query accounts params

func (*QueryAccountsParams) SetLimit added in v0.2.21

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

SetLimit adds the limit to the query accounts params

func (*QueryAccountsParams) SetOffset added in v0.2.21

func (o *QueryAccountsParams) SetOffset(offset *int64)

SetOffset adds the offset to the query accounts params

func (*QueryAccountsParams) SetSort added in v0.2.21

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

SetSort adds the sort to the query accounts params

func (*QueryAccountsParams) SetTimeout added in v0.2.21

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

SetTimeout adds the timeout to the query accounts params

func (*QueryAccountsParams) WithContext added in v0.2.21

WithContext adds the context to the query accounts params

func (*QueryAccountsParams) WithDefaults added in v0.2.21

func (o *QueryAccountsParams) WithDefaults() *QueryAccountsParams

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

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

func (*QueryAccountsParams) WithFilter added in v0.2.21

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

WithFilter adds the filter to the query accounts params

func (*QueryAccountsParams) WithHTTPClient added in v0.2.21

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

WithHTTPClient adds the HTTPClient to the query accounts params

func (*QueryAccountsParams) WithLimit added in v0.2.21

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

WithLimit adds the limit to the query accounts params

func (*QueryAccountsParams) WithOffset added in v0.2.21

func (o *QueryAccountsParams) WithOffset(offset *int64) *QueryAccountsParams

WithOffset adds the offset to the query accounts params

func (*QueryAccountsParams) WithSort added in v0.2.21

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

WithSort adds the sort to the query accounts params

func (*QueryAccountsParams) WithTimeout added in v0.2.21

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

WithTimeout adds the timeout to the query accounts params

func (*QueryAccountsParams) WriteToRequest added in v0.2.21

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

WriteToRequest writes these params to a swagger request

type QueryAccountsReader added in v0.2.21

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

QueryAccountsReader is a Reader for the QueryAccounts structure.

func (*QueryAccountsReader) ReadResponse added in v0.2.21

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

ReadResponse reads a server response into the received o.

type QueryAccountsTooManyRequests added in v0.2.21

type QueryAccountsTooManyRequests 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
}

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

Too Many Requests

func NewQueryAccountsTooManyRequests added in v0.2.21

func NewQueryAccountsTooManyRequests() *QueryAccountsTooManyRequests

NewQueryAccountsTooManyRequests creates a QueryAccountsTooManyRequests with default headers values

func (*QueryAccountsTooManyRequests) Code added in v0.2.33

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

func (*QueryAccountsTooManyRequests) Error added in v0.2.21

func (*QueryAccountsTooManyRequests) GetPayload added in v0.2.21

func (*QueryAccountsTooManyRequests) IsClientError added in v0.2.27

func (o *QueryAccountsTooManyRequests) IsClientError() bool

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

func (*QueryAccountsTooManyRequests) IsCode added in v0.2.27

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

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

func (*QueryAccountsTooManyRequests) IsRedirect added in v0.2.27

func (o *QueryAccountsTooManyRequests) IsRedirect() bool

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

func (*QueryAccountsTooManyRequests) IsServerError added in v0.2.27

func (o *QueryAccountsTooManyRequests) IsServerError() bool

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

func (*QueryAccountsTooManyRequests) IsSuccess added in v0.2.27

func (o *QueryAccountsTooManyRequests) IsSuccess() bool

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

func (*QueryAccountsTooManyRequests) String added in v0.2.27

type QueryApplicationsBadRequest added in v0.2.33

type QueryApplicationsBadRequest 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.MsaspecResponseFields
}

QueryApplicationsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryApplicationsBadRequest added in v0.2.33

func NewQueryApplicationsBadRequest() *QueryApplicationsBadRequest

NewQueryApplicationsBadRequest creates a QueryApplicationsBadRequest with default headers values

func (*QueryApplicationsBadRequest) Code added in v0.2.33

func (o *QueryApplicationsBadRequest) Code() int

Code gets the status code for the query applications bad request response

func (*QueryApplicationsBadRequest) Error added in v0.2.33

func (*QueryApplicationsBadRequest) GetPayload added in v0.2.33

func (*QueryApplicationsBadRequest) IsClientError added in v0.2.33

func (o *QueryApplicationsBadRequest) IsClientError() bool

IsClientError returns true when this query applications bad request response has a 4xx status code

func (*QueryApplicationsBadRequest) IsCode added in v0.2.33

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

IsCode returns true when this query applications bad request response a status code equal to that given

func (*QueryApplicationsBadRequest) IsRedirect added in v0.2.33

func (o *QueryApplicationsBadRequest) IsRedirect() bool

IsRedirect returns true when this query applications bad request response has a 3xx status code

func (*QueryApplicationsBadRequest) IsServerError added in v0.2.33

func (o *QueryApplicationsBadRequest) IsServerError() bool

IsServerError returns true when this query applications bad request response has a 5xx status code

func (*QueryApplicationsBadRequest) IsSuccess added in v0.2.33

func (o *QueryApplicationsBadRequest) IsSuccess() bool

IsSuccess returns true when this query applications bad request response has a 2xx status code

func (*QueryApplicationsBadRequest) String added in v0.2.33

func (o *QueryApplicationsBadRequest) String() string

type QueryApplicationsForbidden added in v0.2.33

type QueryApplicationsForbidden 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
}

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

Forbidden

func NewQueryApplicationsForbidden added in v0.2.33

func NewQueryApplicationsForbidden() *QueryApplicationsForbidden

NewQueryApplicationsForbidden creates a QueryApplicationsForbidden with default headers values

func (*QueryApplicationsForbidden) Code added in v0.2.33

func (o *QueryApplicationsForbidden) Code() int

Code gets the status code for the query applications forbidden response

func (*QueryApplicationsForbidden) Error added in v0.2.33

func (*QueryApplicationsForbidden) GetPayload added in v0.2.33

func (*QueryApplicationsForbidden) IsClientError added in v0.2.33

func (o *QueryApplicationsForbidden) IsClientError() bool

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

func (*QueryApplicationsForbidden) IsCode added in v0.2.33

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

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

func (*QueryApplicationsForbidden) IsRedirect added in v0.2.33

func (o *QueryApplicationsForbidden) IsRedirect() bool

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

func (*QueryApplicationsForbidden) IsServerError added in v0.2.33

func (o *QueryApplicationsForbidden) IsServerError() bool

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

func (*QueryApplicationsForbidden) IsSuccess added in v0.2.33

func (o *QueryApplicationsForbidden) IsSuccess() bool

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

func (*QueryApplicationsForbidden) String added in v0.2.33

func (o *QueryApplicationsForbidden) String() string

type QueryApplicationsInternalServerError added in v0.2.33

type QueryApplicationsInternalServerError 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.MsaspecResponseFields
}

QueryApplicationsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewQueryApplicationsInternalServerError added in v0.2.33

func NewQueryApplicationsInternalServerError() *QueryApplicationsInternalServerError

NewQueryApplicationsInternalServerError creates a QueryApplicationsInternalServerError with default headers values

func (*QueryApplicationsInternalServerError) Code added in v0.2.33

Code gets the status code for the query applications internal server error response

func (*QueryApplicationsInternalServerError) Error added in v0.2.33

func (*QueryApplicationsInternalServerError) GetPayload added in v0.2.33

func (*QueryApplicationsInternalServerError) IsClientError added in v0.2.33

func (o *QueryApplicationsInternalServerError) IsClientError() bool

IsClientError returns true when this query applications internal server error response has a 4xx status code

func (*QueryApplicationsInternalServerError) IsCode added in v0.2.33

IsCode returns true when this query applications internal server error response a status code equal to that given

func (*QueryApplicationsInternalServerError) IsRedirect added in v0.2.33

IsRedirect returns true when this query applications internal server error response has a 3xx status code

func (*QueryApplicationsInternalServerError) IsServerError added in v0.2.33

func (o *QueryApplicationsInternalServerError) IsServerError() bool

IsServerError returns true when this query applications internal server error response has a 5xx status code

func (*QueryApplicationsInternalServerError) IsSuccess added in v0.2.33

IsSuccess returns true when this query applications internal server error response has a 2xx status code

func (*QueryApplicationsInternalServerError) String added in v0.2.33

type QueryApplicationsOK added in v0.2.33

type QueryApplicationsOK 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.MsaspecQueryResponse
}

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

OK

func NewQueryApplicationsOK added in v0.2.33

func NewQueryApplicationsOK() *QueryApplicationsOK

NewQueryApplicationsOK creates a QueryApplicationsOK with default headers values

func (*QueryApplicationsOK) Code added in v0.2.33

func (o *QueryApplicationsOK) Code() int

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

func (*QueryApplicationsOK) Error added in v0.2.33

func (o *QueryApplicationsOK) Error() string

func (*QueryApplicationsOK) GetPayload added in v0.2.33

func (*QueryApplicationsOK) IsClientError added in v0.2.33

func (o *QueryApplicationsOK) IsClientError() bool

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

func (*QueryApplicationsOK) IsCode added in v0.2.33

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

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

func (*QueryApplicationsOK) IsRedirect added in v0.2.33

func (o *QueryApplicationsOK) IsRedirect() bool

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

func (*QueryApplicationsOK) IsServerError added in v0.2.33

func (o *QueryApplicationsOK) IsServerError() bool

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

func (*QueryApplicationsOK) IsSuccess added in v0.2.33

func (o *QueryApplicationsOK) IsSuccess() bool

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

func (*QueryApplicationsOK) String added in v0.2.33

func (o *QueryApplicationsOK) String() string

type QueryApplicationsParams added in v0.2.33

type QueryApplicationsParams struct {

	/* Filter.

	     Search for applications in your environment by providing an FQL filter.
					Available filter fields that support exact match: name, version, vendor, name_vendor, name_vendor_version, first_seen_timestamp, installation_timestamp, architectures, installation_paths, versioning_scheme, groups, is_normalized, last_used_user_sid, last_used_user_name, last_used_file_name, last_used_file_hash, last_used_timestamp, last_updated_timestamp, is_suspicious, host.id, host.platform_name, host.hostname, cid, host.os_version, host.machine_domain, host.ou, host.site_name, host.country, host.current_mac_address, host.current_network_prefix, host.tags, host.groups, host.product_type_desc, host.kernel_version, host.system_manufacturer, host.internet_exposure, host.agent_version, host.external_ip, host.aid
					Available filter fields that supports wildcard (*): name, version, vendor, name_vendor, name_vendor_version, architectures, installation_paths, groups, last_used_user_sid, last_used_user_name, last_used_file_name, last_used_file_hash, host.platform_name, host.hostname, cid, host.os_version, host.machine_domain, host.ou, host.site_name, host.country, host.current_mac_address, host.current_network_prefix, host.tags, host.groups, host.product_type_desc, host.kernel_version, host.system_manufacturer, host.internet_exposure, host.agent_version, host.external_ip, host.aid
					Available filter fields that supports range comparisons (>, <, >=, <=): first_seen_timestamp, installation_timestamp, last_used_timestamp, last_updated_timestamp
					All filter fields and operations supports negation (!).
	*/
	Filter *string

	/* Limit.

	   The number of application ids to return in this response (Min: 1, Max: 100, Default: 100).
	*/
	Limit *int64

	/* Offset.

	   An offset used with the `limit` parameter to manage pagination of results. On your first request, don’t provide an `offset`. On subsequent requests, add previous `offset` with the previous `limit` to continue from that place in the results.
	*/
	Offset *int64

	/* Sort.

	   Sort applications by their properties. A single sort field is allowed.
	*/
	Sort *string

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

QueryApplicationsParams contains all the parameters to send to the API endpoint

for the query applications operation.

Typically these are written to a http.Request.

func NewQueryApplicationsParams added in v0.2.33

func NewQueryApplicationsParams() *QueryApplicationsParams

NewQueryApplicationsParams creates a new QueryApplicationsParams 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 NewQueryApplicationsParamsWithContext added in v0.2.33

func NewQueryApplicationsParamsWithContext(ctx context.Context) *QueryApplicationsParams

NewQueryApplicationsParamsWithContext creates a new QueryApplicationsParams object with the ability to set a context for a request.

func NewQueryApplicationsParamsWithHTTPClient added in v0.2.33

func NewQueryApplicationsParamsWithHTTPClient(client *http.Client) *QueryApplicationsParams

NewQueryApplicationsParamsWithHTTPClient creates a new QueryApplicationsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryApplicationsParamsWithTimeout added in v0.2.33

func NewQueryApplicationsParamsWithTimeout(timeout time.Duration) *QueryApplicationsParams

NewQueryApplicationsParamsWithTimeout creates a new QueryApplicationsParams object with the ability to set a timeout on a request.

func (*QueryApplicationsParams) SetContext added in v0.2.33

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

SetContext adds the context to the query applications params

func (*QueryApplicationsParams) SetDefaults added in v0.2.33

func (o *QueryApplicationsParams) SetDefaults()

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

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

func (*QueryApplicationsParams) SetFilter added in v0.2.33

func (o *QueryApplicationsParams) SetFilter(filter *string)

SetFilter adds the filter to the query applications params

func (*QueryApplicationsParams) SetHTTPClient added in v0.2.33

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

SetHTTPClient adds the HTTPClient to the query applications params

func (*QueryApplicationsParams) SetLimit added in v0.2.33

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

SetLimit adds the limit to the query applications params

func (*QueryApplicationsParams) SetOffset added in v0.2.33

func (o *QueryApplicationsParams) SetOffset(offset *int64)

SetOffset adds the offset to the query applications params

func (*QueryApplicationsParams) SetSort added in v0.2.33

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

SetSort adds the sort to the query applications params

func (*QueryApplicationsParams) SetTimeout added in v0.2.33

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

SetTimeout adds the timeout to the query applications params

func (*QueryApplicationsParams) WithContext added in v0.2.33

WithContext adds the context to the query applications params

func (*QueryApplicationsParams) WithDefaults added in v0.2.33

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

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

func (*QueryApplicationsParams) WithFilter added in v0.2.33

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

WithFilter adds the filter to the query applications params

func (*QueryApplicationsParams) WithHTTPClient added in v0.2.33

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

WithHTTPClient adds the HTTPClient to the query applications params

func (*QueryApplicationsParams) WithLimit added in v0.2.33

WithLimit adds the limit to the query applications params

func (*QueryApplicationsParams) WithOffset added in v0.2.33

func (o *QueryApplicationsParams) WithOffset(offset *int64) *QueryApplicationsParams

WithOffset adds the offset to the query applications params

func (*QueryApplicationsParams) WithSort added in v0.2.33

WithSort adds the sort to the query applications params

func (*QueryApplicationsParams) WithTimeout added in v0.2.33

WithTimeout adds the timeout to the query applications params

func (*QueryApplicationsParams) WriteToRequest added in v0.2.33

WriteToRequest writes these params to a swagger request

type QueryApplicationsReader added in v0.2.33

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

QueryApplicationsReader is a Reader for the QueryApplications structure.

func (*QueryApplicationsReader) ReadResponse added in v0.2.33

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

ReadResponse reads a server response into the received o.

type QueryApplicationsTooManyRequests added in v0.2.33

type QueryApplicationsTooManyRequests 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
}

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

Too Many Requests

func NewQueryApplicationsTooManyRequests added in v0.2.33

func NewQueryApplicationsTooManyRequests() *QueryApplicationsTooManyRequests

NewQueryApplicationsTooManyRequests creates a QueryApplicationsTooManyRequests with default headers values

func (*QueryApplicationsTooManyRequests) Code added in v0.2.33

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

func (*QueryApplicationsTooManyRequests) Error added in v0.2.33

func (*QueryApplicationsTooManyRequests) GetPayload added in v0.2.33

func (*QueryApplicationsTooManyRequests) IsClientError added in v0.2.33

func (o *QueryApplicationsTooManyRequests) IsClientError() bool

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

func (*QueryApplicationsTooManyRequests) IsCode added in v0.2.33

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

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

func (*QueryApplicationsTooManyRequests) IsRedirect added in v0.2.33

func (o *QueryApplicationsTooManyRequests) IsRedirect() bool

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

func (*QueryApplicationsTooManyRequests) IsServerError added in v0.2.33

func (o *QueryApplicationsTooManyRequests) IsServerError() bool

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

func (*QueryApplicationsTooManyRequests) IsSuccess added in v0.2.33

func (o *QueryApplicationsTooManyRequests) IsSuccess() bool

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

func (*QueryApplicationsTooManyRequests) String added in v0.2.33

type QueryHostsBadRequest

type QueryHostsBadRequest 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.MsaspecResponseFields
}

QueryHostsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryHostsBadRequest

func NewQueryHostsBadRequest() *QueryHostsBadRequest

NewQueryHostsBadRequest creates a QueryHostsBadRequest with default headers values

func (*QueryHostsBadRequest) Code added in v0.2.33

func (o *QueryHostsBadRequest) Code() int

Code gets the status code for the query hosts bad request response

func (*QueryHostsBadRequest) Error

func (o *QueryHostsBadRequest) Error() string

func (*QueryHostsBadRequest) GetPayload

func (*QueryHostsBadRequest) IsClientError added in v0.2.27

func (o *QueryHostsBadRequest) IsClientError() bool

IsClientError returns true when this query hosts bad request response has a 4xx status code

func (*QueryHostsBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this query hosts bad request response a status code equal to that given

func (*QueryHostsBadRequest) IsRedirect added in v0.2.27

func (o *QueryHostsBadRequest) IsRedirect() bool

IsRedirect returns true when this query hosts bad request response has a 3xx status code

func (*QueryHostsBadRequest) IsServerError added in v0.2.27

func (o *QueryHostsBadRequest) IsServerError() bool

IsServerError returns true when this query hosts bad request response has a 5xx status code

func (*QueryHostsBadRequest) IsSuccess added in v0.2.27

func (o *QueryHostsBadRequest) IsSuccess() bool

IsSuccess returns true when this query hosts bad request response has a 2xx status code

func (*QueryHostsBadRequest) String added in v0.2.27

func (o *QueryHostsBadRequest) String() string

type QueryHostsForbidden

type QueryHostsForbidden 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
}

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

Forbidden

func NewQueryHostsForbidden

func NewQueryHostsForbidden() *QueryHostsForbidden

NewQueryHostsForbidden creates a QueryHostsForbidden with default headers values

func (*QueryHostsForbidden) Code added in v0.2.33

func (o *QueryHostsForbidden) Code() int

Code gets the status code for the query hosts forbidden response

func (*QueryHostsForbidden) Error

func (o *QueryHostsForbidden) Error() string

func (*QueryHostsForbidden) GetPayload

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

func (*QueryHostsForbidden) IsClientError added in v0.2.27

func (o *QueryHostsForbidden) IsClientError() bool

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

func (*QueryHostsForbidden) IsCode added in v0.2.27

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

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

func (*QueryHostsForbidden) IsRedirect added in v0.2.27

func (o *QueryHostsForbidden) IsRedirect() bool

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

func (*QueryHostsForbidden) IsServerError added in v0.2.27

func (o *QueryHostsForbidden) IsServerError() bool

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

func (*QueryHostsForbidden) IsSuccess added in v0.2.27

func (o *QueryHostsForbidden) IsSuccess() bool

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

func (*QueryHostsForbidden) String added in v0.2.27

func (o *QueryHostsForbidden) String() string

type QueryHostsInternalServerError

type QueryHostsInternalServerError 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.MsaspecResponseFields
}

QueryHostsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewQueryHostsInternalServerError

func NewQueryHostsInternalServerError() *QueryHostsInternalServerError

NewQueryHostsInternalServerError creates a QueryHostsInternalServerError with default headers values

func (*QueryHostsInternalServerError) Code added in v0.2.33

Code gets the status code for the query hosts internal server error response

func (*QueryHostsInternalServerError) Error

func (*QueryHostsInternalServerError) GetPayload

func (*QueryHostsInternalServerError) IsClientError added in v0.2.27

func (o *QueryHostsInternalServerError) IsClientError() bool

IsClientError returns true when this query hosts internal server error response has a 4xx status code

func (*QueryHostsInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this query hosts internal server error response a status code equal to that given

func (*QueryHostsInternalServerError) IsRedirect added in v0.2.27

func (o *QueryHostsInternalServerError) IsRedirect() bool

IsRedirect returns true when this query hosts internal server error response has a 3xx status code

func (*QueryHostsInternalServerError) IsServerError added in v0.2.27

func (o *QueryHostsInternalServerError) IsServerError() bool

IsServerError returns true when this query hosts internal server error response has a 5xx status code

func (*QueryHostsInternalServerError) IsSuccess added in v0.2.27

func (o *QueryHostsInternalServerError) IsSuccess() bool

IsSuccess returns true when this query hosts internal server error response has a 2xx status code

func (*QueryHostsInternalServerError) String added in v0.2.27

type QueryHostsOK

type QueryHostsOK 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.MsaspecQueryResponse
}

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

OK

func NewQueryHostsOK

func NewQueryHostsOK() *QueryHostsOK

NewQueryHostsOK creates a QueryHostsOK with default headers values

func (*QueryHostsOK) Code added in v0.2.33

func (o *QueryHostsOK) Code() int

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

func (*QueryHostsOK) Error

func (o *QueryHostsOK) Error() string

func (*QueryHostsOK) GetPayload

func (o *QueryHostsOK) GetPayload() *models.MsaspecQueryResponse

func (*QueryHostsOK) IsClientError added in v0.2.27

func (o *QueryHostsOK) IsClientError() bool

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

func (*QueryHostsOK) IsCode added in v0.2.27

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

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

func (*QueryHostsOK) IsRedirect added in v0.2.27

func (o *QueryHostsOK) IsRedirect() bool

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

func (*QueryHostsOK) IsServerError added in v0.2.27

func (o *QueryHostsOK) IsServerError() bool

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

func (*QueryHostsOK) IsSuccess added in v0.2.27

func (o *QueryHostsOK) IsSuccess() bool

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

func (*QueryHostsOK) String added in v0.2.27

func (o *QueryHostsOK) String() string

type QueryHostsParams

type QueryHostsParams struct {

	/* Filter.

	     Filter assets using an FQL query. Common filter options include:<ul><li>entity_type:'managed'</li><li>product_type_desc:'Workstation'</li><li>platform_name:'Windows'</li><li>last_seen_timestamp:>'now-7d'</li></ul>
				Available filter fields that support exact match: id, aid, entity_type, country, city, platform_name, os_version, kernel_version, product_type_desc, tags, groups, agent_version, system_product_name, system_manufacturer, system_serial_number, bios_manufacturer, bios_version, ou, machine_domain, site_name, external_ip, hostname, local_ips_count, network_interfaces.local_ip, network_interfaces.mac_address, network_interfaces.interface_alias, network_interfaces.interface_description, network_interfaces.network_prefix, last_discoverer_aid, discoverer_count, discoverer_aids, discoverer_tags, discoverer_platform_names, discoverer_product_type_descs, confidence, internet_exposure,  os_is_eol, data_providers, data_providers_count, mac_addresses, local_ip_addresses, reduced_functionality_mode, number_of_disk_drives, processor_package_count, physical_core_count, logical_core_count, total_disk_space, disk_sizes.disk_name, disk_sizes.disk_space, cpu_processor_name, total_memory, encryption_status, encrypted_drives, encrypted_drives_count, unencrypted_drives, unencrypted_drives_count, os_security.secure_boot_requested_status, os_security.device_guard_status, os_security.device_guard_status, os_security.device_guard_status, os_security.system_guard_status, os_security.credential_guard_status, os_security.iommu_protection_status, os_security.secure_boot_enabled_status, os_security.uefi_memory_protection_status, os_security.virtualization_based_security_status, os_security.kernel_dma_protection_status, total_bios_files, bios_hashes_data.sha256_hash, bios_hashes_data.measurement_type, bios_id, average_processor_usage, average_memory_usage, average_memory_usage_pct, max_processor_usage, max_memory_usage, max_memory_usage_pct, used_disk_space, used_disk_space_pct, available_disk_space, available_disk_space_pct, mount_storage_info.mount_path, mount_storage_info.used_space, mount_storage_info.available_space, form_factor, servicenow_id, owned_by, managed_by, assigned_to, department, fqdn, used_for, object_guid, object_sid, ad_user_account_control, account_enabled, creation_timestamp, email, os_service_pack, location, state, cpu_manufacturer, discovering_by
				Available filter fields that supports wildcard (*): id, aid, entity_type, country, city, platform_name, os_version, kernel_version, product_type_desc, tags, groups, agent_version, system_product_name, system_manufacturer, system_serial_number, bios_manufacturer, bios_version, ou, machine_domain, site_name, external_ip, hostname, network_interfaces.local_ip, network_interfaces.mac_address, network_interfaces.interface_alias, network_interfaces.interface_description, network_interfaces.network_prefix, last_discoverer_aid, discoverer_aids, discoverer_tags, discoverer_platform_names, discoverer_product_type_descs, confidence, internet_exposure,  os_is_eol, data_providers, mac_addresses, local_ip_addresses, reduced_functionality_mode, disk_sizes.disk_name, cpu_processor_name, encryption_status, encrypted_drives, unencrypted_drives, os_security.secure_boot_requested_status, os_security.device_guard_status, os_security.device_guard_status, os_security.device_guard_status, os_security.system_guard_status, os_security.credential_guard_status, os_security.iommu_protection_status, os_security.secure_boot_enabled_status, os_security.uefi_memory_protection_status, os_security.virtualization_based_security_status, os_security.kernel_dma_protection_status, bios_hashes_data.sha256_hash, bios_hashes_data.measurement_type, bios_id, mount_storage_info.mount_path, form_factor, servicenow_id, owned_by, managed_by, assigned_to, department, fqdn, used_for, object_guid, object_sid, account_enabled, email, os_service_pack, location, state, cpu_manufacturer, discovering_by
				Available filter fields that supports range comparisons (>, <, >=, <=): first_seen_timestamp, last_seen_timestamp, local_ips_count, discoverer_count, confidence, number_of_disk_drives, processor_package_count, physical_core_count, data_providers_count, logical_core_count, total_disk_space, disk_sizes.disk_space, total_memory, encrypted_drives_count, unencrypted_drives_count, total_bios_files, average_processor_usage, average_memory_usage, average_memory_usage_pct, max_processor_usage, max_memory_usage, max_memory_usage_pct, used_disk_space, used_disk_space_pct, available_disk_space, available_disk_space_pct, mount_storage_info.used_space, mount_storage_info.available_space, ad_user_account_control, creation_timestamp
				All filter fields and operations supports negation (!).
	*/
	Filter *string

	/* Limit.

	   The number of asset IDs to return in this response (min: 1, max: 100, default: 100). Use with the `offset` parameter to manage pagination of results.
	*/
	Limit *int64

	/* Offset.

	   An offset used with the `limit` parameter to manage pagination of results. On your first request, don’t provide an `offset`. On subsequent requests, add previous `offset` with the previous `limit` to continue from that place in the results.
	*/
	Offset *int64

	/* Sort.

	     Sort assets by their properties. A single sort field is allowed. Common sort options include:

	<ul><li>hostname|asc</li><li>product_type_desc|desc</li></ul>
	*/
	Sort *string

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

QueryHostsParams contains all the parameters to send to the API endpoint

for the query hosts operation.

Typically these are written to a http.Request.

func NewQueryHostsParams

func NewQueryHostsParams() *QueryHostsParams

NewQueryHostsParams creates a new QueryHostsParams 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 NewQueryHostsParamsWithContext

func NewQueryHostsParamsWithContext(ctx context.Context) *QueryHostsParams

NewQueryHostsParamsWithContext creates a new QueryHostsParams object with the ability to set a context for a request.

func NewQueryHostsParamsWithHTTPClient

func NewQueryHostsParamsWithHTTPClient(client *http.Client) *QueryHostsParams

NewQueryHostsParamsWithHTTPClient creates a new QueryHostsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryHostsParamsWithTimeout

func NewQueryHostsParamsWithTimeout(timeout time.Duration) *QueryHostsParams

NewQueryHostsParamsWithTimeout creates a new QueryHostsParams object with the ability to set a timeout on a request.

func (*QueryHostsParams) SetContext

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

SetContext adds the context to the query hosts params

func (*QueryHostsParams) SetDefaults

func (o *QueryHostsParams) SetDefaults()

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

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

func (*QueryHostsParams) SetFilter

func (o *QueryHostsParams) SetFilter(filter *string)

SetFilter adds the filter to the query hosts params

func (*QueryHostsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query hosts params

func (*QueryHostsParams) SetLimit

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

SetLimit adds the limit to the query hosts params

func (*QueryHostsParams) SetOffset

func (o *QueryHostsParams) SetOffset(offset *int64)

SetOffset adds the offset to the query hosts params

func (*QueryHostsParams) SetSort

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

SetSort adds the sort to the query hosts params

func (*QueryHostsParams) SetTimeout

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

SetTimeout adds the timeout to the query hosts params

func (*QueryHostsParams) WithContext

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

WithContext adds the context to the query hosts params

func (*QueryHostsParams) WithDefaults

func (o *QueryHostsParams) WithDefaults() *QueryHostsParams

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

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

func (*QueryHostsParams) WithFilter

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

WithFilter adds the filter to the query hosts params

func (*QueryHostsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query hosts params

func (*QueryHostsParams) WithLimit

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

WithLimit adds the limit to the query hosts params

func (*QueryHostsParams) WithOffset

func (o *QueryHostsParams) WithOffset(offset *int64) *QueryHostsParams

WithOffset adds the offset to the query hosts params

func (*QueryHostsParams) WithSort

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

WithSort adds the sort to the query hosts params

func (*QueryHostsParams) WithTimeout

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

WithTimeout adds the timeout to the query hosts params

func (*QueryHostsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryHostsReader

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

QueryHostsReader is a Reader for the QueryHosts structure.

func (*QueryHostsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryHostsTooManyRequests

type QueryHostsTooManyRequests 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
}

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

Too Many Requests

func NewQueryHostsTooManyRequests

func NewQueryHostsTooManyRequests() *QueryHostsTooManyRequests

NewQueryHostsTooManyRequests creates a QueryHostsTooManyRequests with default headers values

func (*QueryHostsTooManyRequests) Code added in v0.2.33

func (o *QueryHostsTooManyRequests) Code() int

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

func (*QueryHostsTooManyRequests) Error

func (o *QueryHostsTooManyRequests) Error() string

func (*QueryHostsTooManyRequests) GetPayload

func (*QueryHostsTooManyRequests) IsClientError added in v0.2.27

func (o *QueryHostsTooManyRequests) IsClientError() bool

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

func (*QueryHostsTooManyRequests) IsCode added in v0.2.27

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

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

func (*QueryHostsTooManyRequests) IsRedirect added in v0.2.27

func (o *QueryHostsTooManyRequests) IsRedirect() bool

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

func (*QueryHostsTooManyRequests) IsServerError added in v0.2.27

func (o *QueryHostsTooManyRequests) IsServerError() bool

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

func (*QueryHostsTooManyRequests) IsSuccess added in v0.2.27

func (o *QueryHostsTooManyRequests) IsSuccess() bool

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

func (*QueryHostsTooManyRequests) String added in v0.2.27

func (o *QueryHostsTooManyRequests) String() string

type QueryLoginsBadRequest added in v0.2.21

type QueryLoginsBadRequest 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
}

QueryLoginsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryLoginsBadRequest added in v0.2.21

func NewQueryLoginsBadRequest() *QueryLoginsBadRequest

NewQueryLoginsBadRequest creates a QueryLoginsBadRequest with default headers values

func (*QueryLoginsBadRequest) Code added in v0.2.33

func (o *QueryLoginsBadRequest) Code() int

Code gets the status code for the query logins bad request response

func (*QueryLoginsBadRequest) Error added in v0.2.21

func (o *QueryLoginsBadRequest) Error() string

func (*QueryLoginsBadRequest) GetPayload added in v0.2.21

func (*QueryLoginsBadRequest) IsClientError added in v0.2.27

func (o *QueryLoginsBadRequest) IsClientError() bool

IsClientError returns true when this query logins bad request response has a 4xx status code

func (*QueryLoginsBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this query logins bad request response a status code equal to that given

func (*QueryLoginsBadRequest) IsRedirect added in v0.2.27

func (o *QueryLoginsBadRequest) IsRedirect() bool

IsRedirect returns true when this query logins bad request response has a 3xx status code

func (*QueryLoginsBadRequest) IsServerError added in v0.2.27

func (o *QueryLoginsBadRequest) IsServerError() bool

IsServerError returns true when this query logins bad request response has a 5xx status code

func (*QueryLoginsBadRequest) IsSuccess added in v0.2.27

func (o *QueryLoginsBadRequest) IsSuccess() bool

IsSuccess returns true when this query logins bad request response has a 2xx status code

func (*QueryLoginsBadRequest) String added in v0.2.27

func (o *QueryLoginsBadRequest) String() string

type QueryLoginsForbidden added in v0.2.21

type QueryLoginsForbidden 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
}

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

Forbidden

func NewQueryLoginsForbidden added in v0.2.21

func NewQueryLoginsForbidden() *QueryLoginsForbidden

NewQueryLoginsForbidden creates a QueryLoginsForbidden with default headers values

func (*QueryLoginsForbidden) Code added in v0.2.33

func (o *QueryLoginsForbidden) Code() int

Code gets the status code for the query logins forbidden response

func (*QueryLoginsForbidden) Error added in v0.2.21

func (o *QueryLoginsForbidden) Error() string

func (*QueryLoginsForbidden) GetPayload added in v0.2.21

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

func (*QueryLoginsForbidden) IsClientError added in v0.2.27

func (o *QueryLoginsForbidden) IsClientError() bool

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

func (*QueryLoginsForbidden) IsCode added in v0.2.27

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

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

func (*QueryLoginsForbidden) IsRedirect added in v0.2.27

func (o *QueryLoginsForbidden) IsRedirect() bool

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

func (*QueryLoginsForbidden) IsServerError added in v0.2.27

func (o *QueryLoginsForbidden) IsServerError() bool

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

func (*QueryLoginsForbidden) IsSuccess added in v0.2.27

func (o *QueryLoginsForbidden) IsSuccess() bool

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

func (*QueryLoginsForbidden) String added in v0.2.27

func (o *QueryLoginsForbidden) String() string

type QueryLoginsInternalServerError added in v0.2.21

type QueryLoginsInternalServerError 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
}

QueryLoginsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewQueryLoginsInternalServerError added in v0.2.21

func NewQueryLoginsInternalServerError() *QueryLoginsInternalServerError

NewQueryLoginsInternalServerError creates a QueryLoginsInternalServerError with default headers values

func (*QueryLoginsInternalServerError) Code added in v0.2.33

Code gets the status code for the query logins internal server error response

func (*QueryLoginsInternalServerError) Error added in v0.2.21

func (*QueryLoginsInternalServerError) GetPayload added in v0.2.21

func (*QueryLoginsInternalServerError) IsClientError added in v0.2.27

func (o *QueryLoginsInternalServerError) IsClientError() bool

IsClientError returns true when this query logins internal server error response has a 4xx status code

func (*QueryLoginsInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this query logins internal server error response a status code equal to that given

func (*QueryLoginsInternalServerError) IsRedirect added in v0.2.27

func (o *QueryLoginsInternalServerError) IsRedirect() bool

IsRedirect returns true when this query logins internal server error response has a 3xx status code

func (*QueryLoginsInternalServerError) IsServerError added in v0.2.27

func (o *QueryLoginsInternalServerError) IsServerError() bool

IsServerError returns true when this query logins internal server error response has a 5xx status code

func (*QueryLoginsInternalServerError) IsSuccess added in v0.2.27

func (o *QueryLoginsInternalServerError) IsSuccess() bool

IsSuccess returns true when this query logins internal server error response has a 2xx status code

func (*QueryLoginsInternalServerError) String added in v0.2.27

type QueryLoginsOK added in v0.2.21

type QueryLoginsOK 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.MsaQueryResponse
}

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

OK

func NewQueryLoginsOK added in v0.2.21

func NewQueryLoginsOK() *QueryLoginsOK

NewQueryLoginsOK creates a QueryLoginsOK with default headers values

func (*QueryLoginsOK) Code added in v0.2.33

func (o *QueryLoginsOK) Code() int

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

func (*QueryLoginsOK) Error added in v0.2.21

func (o *QueryLoginsOK) Error() string

func (*QueryLoginsOK) GetPayload added in v0.2.21

func (o *QueryLoginsOK) GetPayload() *models.MsaQueryResponse

func (*QueryLoginsOK) IsClientError added in v0.2.27

func (o *QueryLoginsOK) IsClientError() bool

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

func (*QueryLoginsOK) IsCode added in v0.2.27

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

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

func (*QueryLoginsOK) IsRedirect added in v0.2.27

func (o *QueryLoginsOK) IsRedirect() bool

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

func (*QueryLoginsOK) IsServerError added in v0.2.27

func (o *QueryLoginsOK) IsServerError() bool

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

func (*QueryLoginsOK) IsSuccess added in v0.2.27

func (o *QueryLoginsOK) IsSuccess() bool

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

func (*QueryLoginsOK) String added in v0.2.27

func (o *QueryLoginsOK) String() string

type QueryLoginsParams added in v0.2.21

type QueryLoginsParams struct {

	/* Filter.

	     Filter logins using an FQL query. Common filter options include:<ul><li>account_type:'Local'</li><li>login_type:'Interactive'</li><li>first_seen_timestamp:<'now-7d'</li><li>admin_privileges:'No'</li></ul>
				Available filter fields that support exact match: id, cid, login_status, account_id, host_id, user_sid, aid, account_name, username, hostname, account_type, login_type, login_timestamp, login_domain, admin_privileges, local_admin_privileges, local_ip, remote_ip, host_country, host_city, is_suspicious, failure_description, login_event_count, aggregation_time_interval
				Available filter fields that supports wildcard (*): id, cid, login_status, account_id, host_id, user_sid, aid, account_name, username, hostname, account_type, login_type, login_domain, admin_privileges, local_admin_privileges, local_ip, remote_ip, host_country, host_city, failure_description, aggregation_time_interval
				Available filter fields that supports range comparisons (>, <, >=, <=): login_timestamp, login_event_count
				All filter fields and operations supports negation (!).
	*/
	Filter *string

	/* Limit.

	   The number of login IDs to return in this response (min: 1, max: 100, default: 100). Use with the `offset` parameter to manage pagination of results.
	*/
	Limit *int64

	/* Offset.

	   An offset used with the `limit` parameter to manage pagination of results. On your first request, don’t provide an `offset`. On subsequent requests, add previous `offset` with the previous `limit` to continue from that place in the results.
	*/
	Offset *int64

	/* Sort.

	     Sort logins by their properties. A single sort field is allowed. Common sort options include:

	<ul><li>account_name|asc</li><li>login_timestamp|desc</li></ul>
	*/
	Sort *string

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

QueryLoginsParams contains all the parameters to send to the API endpoint

for the query logins operation.

Typically these are written to a http.Request.

func NewQueryLoginsParams added in v0.2.21

func NewQueryLoginsParams() *QueryLoginsParams

NewQueryLoginsParams creates a new QueryLoginsParams 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 NewQueryLoginsParamsWithContext added in v0.2.21

func NewQueryLoginsParamsWithContext(ctx context.Context) *QueryLoginsParams

NewQueryLoginsParamsWithContext creates a new QueryLoginsParams object with the ability to set a context for a request.

func NewQueryLoginsParamsWithHTTPClient added in v0.2.21

func NewQueryLoginsParamsWithHTTPClient(client *http.Client) *QueryLoginsParams

NewQueryLoginsParamsWithHTTPClient creates a new QueryLoginsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryLoginsParamsWithTimeout added in v0.2.21

func NewQueryLoginsParamsWithTimeout(timeout time.Duration) *QueryLoginsParams

NewQueryLoginsParamsWithTimeout creates a new QueryLoginsParams object with the ability to set a timeout on a request.

func (*QueryLoginsParams) SetContext added in v0.2.21

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

SetContext adds the context to the query logins params

func (*QueryLoginsParams) SetDefaults added in v0.2.21

func (o *QueryLoginsParams) SetDefaults()

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

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

func (*QueryLoginsParams) SetFilter added in v0.2.21

func (o *QueryLoginsParams) SetFilter(filter *string)

SetFilter adds the filter to the query logins params

func (*QueryLoginsParams) SetHTTPClient added in v0.2.21

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

SetHTTPClient adds the HTTPClient to the query logins params

func (*QueryLoginsParams) SetLimit added in v0.2.21

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

SetLimit adds the limit to the query logins params

func (*QueryLoginsParams) SetOffset added in v0.2.21

func (o *QueryLoginsParams) SetOffset(offset *int64)

SetOffset adds the offset to the query logins params

func (*QueryLoginsParams) SetSort added in v0.2.21

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

SetSort adds the sort to the query logins params

func (*QueryLoginsParams) SetTimeout added in v0.2.21

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

SetTimeout adds the timeout to the query logins params

func (*QueryLoginsParams) WithContext added in v0.2.21

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

WithContext adds the context to the query logins params

func (*QueryLoginsParams) WithDefaults added in v0.2.21

func (o *QueryLoginsParams) WithDefaults() *QueryLoginsParams

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

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

func (*QueryLoginsParams) WithFilter added in v0.2.21

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

WithFilter adds the filter to the query logins params

func (*QueryLoginsParams) WithHTTPClient added in v0.2.21

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

WithHTTPClient adds the HTTPClient to the query logins params

func (*QueryLoginsParams) WithLimit added in v0.2.21

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

WithLimit adds the limit to the query logins params

func (*QueryLoginsParams) WithOffset added in v0.2.21

func (o *QueryLoginsParams) WithOffset(offset *int64) *QueryLoginsParams

WithOffset adds the offset to the query logins params

func (*QueryLoginsParams) WithSort added in v0.2.21

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

WithSort adds the sort to the query logins params

func (*QueryLoginsParams) WithTimeout added in v0.2.21

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

WithTimeout adds the timeout to the query logins params

func (*QueryLoginsParams) WriteToRequest added in v0.2.21

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

WriteToRequest writes these params to a swagger request

type QueryLoginsReader added in v0.2.21

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

QueryLoginsReader is a Reader for the QueryLogins structure.

func (*QueryLoginsReader) ReadResponse added in v0.2.21

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

ReadResponse reads a server response into the received o.

type QueryLoginsTooManyRequests added in v0.2.21

type QueryLoginsTooManyRequests 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
}

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

Too Many Requests

func NewQueryLoginsTooManyRequests added in v0.2.21

func NewQueryLoginsTooManyRequests() *QueryLoginsTooManyRequests

NewQueryLoginsTooManyRequests creates a QueryLoginsTooManyRequests with default headers values

func (*QueryLoginsTooManyRequests) Code added in v0.2.33

func (o *QueryLoginsTooManyRequests) Code() int

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

func (*QueryLoginsTooManyRequests) Error added in v0.2.21

func (*QueryLoginsTooManyRequests) GetPayload added in v0.2.21

func (*QueryLoginsTooManyRequests) IsClientError added in v0.2.27

func (o *QueryLoginsTooManyRequests) IsClientError() bool

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

func (*QueryLoginsTooManyRequests) IsCode added in v0.2.27

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

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

func (*QueryLoginsTooManyRequests) IsRedirect added in v0.2.27

func (o *QueryLoginsTooManyRequests) IsRedirect() bool

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

func (*QueryLoginsTooManyRequests) IsServerError added in v0.2.27

func (o *QueryLoginsTooManyRequests) IsServerError() bool

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

func (*QueryLoginsTooManyRequests) IsSuccess added in v0.2.27

func (o *QueryLoginsTooManyRequests) IsSuccess() bool

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

func (*QueryLoginsTooManyRequests) String added in v0.2.27

func (o *QueryLoginsTooManyRequests) String() string

Jump to

Keyboard shortcuts

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