Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAccounts(params *GetAccountsParams, opts ...ClientOption) (*GetAccountsOK, error)
- func (a *Client) GetHosts(params *GetHostsParams, opts ...ClientOption) (*GetHostsOK, error)
- func (a *Client) GetLogins(params *GetLoginsParams, opts ...ClientOption) (*GetLoginsOK, error)
- func (a *Client) QueryAccounts(params *QueryAccountsParams, opts ...ClientOption) (*QueryAccountsOK, error)
- func (a *Client) QueryHosts(params *QueryHostsParams, opts ...ClientOption) (*QueryHostsOK, error)
- func (a *Client) QueryLogins(params *QueryLoginsParams, opts ...ClientOption) (*QueryLoginsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAccountsBadRequest
- type GetAccountsDefault
- type GetAccountsForbidden
- type GetAccountsInternalServerError
- type GetAccountsOK
- type GetAccountsParams
- func (o *GetAccountsParams) SetContext(ctx context.Context)
- func (o *GetAccountsParams) SetDefaults()
- func (o *GetAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountsParams) SetIds(ids []string)
- func (o *GetAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountsParams) WithContext(ctx context.Context) *GetAccountsParams
- func (o *GetAccountsParams) WithDefaults() *GetAccountsParams
- func (o *GetAccountsParams) WithHTTPClient(client *http.Client) *GetAccountsParams
- func (o *GetAccountsParams) WithIds(ids []string) *GetAccountsParams
- func (o *GetAccountsParams) WithTimeout(timeout time.Duration) *GetAccountsParams
- func (o *GetAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountsReader
- type GetAccountsTooManyRequests
- type GetHostsBadRequest
- type GetHostsDefault
- type GetHostsForbidden
- type GetHostsInternalServerError
- type GetHostsOK
- type GetHostsParams
- func (o *GetHostsParams) SetContext(ctx context.Context)
- func (o *GetHostsParams) SetDefaults()
- func (o *GetHostsParams) SetHTTPClient(client *http.Client)
- func (o *GetHostsParams) SetIds(ids []string)
- func (o *GetHostsParams) SetTimeout(timeout time.Duration)
- func (o *GetHostsParams) WithContext(ctx context.Context) *GetHostsParams
- func (o *GetHostsParams) WithDefaults() *GetHostsParams
- func (o *GetHostsParams) WithHTTPClient(client *http.Client) *GetHostsParams
- func (o *GetHostsParams) WithIds(ids []string) *GetHostsParams
- func (o *GetHostsParams) WithTimeout(timeout time.Duration) *GetHostsParams
- func (o *GetHostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHostsReader
- type GetHostsTooManyRequests
- type GetLoginsBadRequest
- type GetLoginsDefault
- type GetLoginsForbidden
- type GetLoginsInternalServerError
- type GetLoginsOK
- type GetLoginsParams
- func (o *GetLoginsParams) SetContext(ctx context.Context)
- func (o *GetLoginsParams) SetDefaults()
- func (o *GetLoginsParams) SetHTTPClient(client *http.Client)
- func (o *GetLoginsParams) SetIds(ids []string)
- func (o *GetLoginsParams) SetTimeout(timeout time.Duration)
- func (o *GetLoginsParams) WithContext(ctx context.Context) *GetLoginsParams
- func (o *GetLoginsParams) WithDefaults() *GetLoginsParams
- func (o *GetLoginsParams) WithHTTPClient(client *http.Client) *GetLoginsParams
- func (o *GetLoginsParams) WithIds(ids []string) *GetLoginsParams
- func (o *GetLoginsParams) WithTimeout(timeout time.Duration) *GetLoginsParams
- func (o *GetLoginsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLoginsReader
- type GetLoginsTooManyRequests
- type QueryAccountsBadRequest
- type QueryAccountsDefault
- type QueryAccountsForbidden
- type QueryAccountsInternalServerError
- type QueryAccountsOK
- type QueryAccountsParams
- func (o *QueryAccountsParams) SetContext(ctx context.Context)
- func (o *QueryAccountsParams) SetDefaults()
- func (o *QueryAccountsParams) SetFilter(filter *string)
- func (o *QueryAccountsParams) SetHTTPClient(client *http.Client)
- func (o *QueryAccountsParams) SetLimit(limit *int64)
- func (o *QueryAccountsParams) SetOffset(offset *int64)
- func (o *QueryAccountsParams) SetSort(sort *string)
- func (o *QueryAccountsParams) SetTimeout(timeout time.Duration)
- func (o *QueryAccountsParams) WithContext(ctx context.Context) *QueryAccountsParams
- func (o *QueryAccountsParams) WithDefaults() *QueryAccountsParams
- func (o *QueryAccountsParams) WithFilter(filter *string) *QueryAccountsParams
- func (o *QueryAccountsParams) WithHTTPClient(client *http.Client) *QueryAccountsParams
- func (o *QueryAccountsParams) WithLimit(limit *int64) *QueryAccountsParams
- func (o *QueryAccountsParams) WithOffset(offset *int64) *QueryAccountsParams
- func (o *QueryAccountsParams) WithSort(sort *string) *QueryAccountsParams
- func (o *QueryAccountsParams) WithTimeout(timeout time.Duration) *QueryAccountsParams
- func (o *QueryAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryAccountsReader
- type QueryAccountsTooManyRequests
- type QueryHostsBadRequest
- type QueryHostsDefault
- type QueryHostsForbidden
- type QueryHostsInternalServerError
- type QueryHostsOK
- type QueryHostsParams
- func (o *QueryHostsParams) SetContext(ctx context.Context)
- func (o *QueryHostsParams) SetDefaults()
- func (o *QueryHostsParams) SetFilter(filter *string)
- func (o *QueryHostsParams) SetHTTPClient(client *http.Client)
- func (o *QueryHostsParams) SetLimit(limit *int64)
- func (o *QueryHostsParams) SetOffset(offset *int64)
- func (o *QueryHostsParams) SetSort(sort *string)
- func (o *QueryHostsParams) SetTimeout(timeout time.Duration)
- func (o *QueryHostsParams) WithContext(ctx context.Context) *QueryHostsParams
- func (o *QueryHostsParams) WithDefaults() *QueryHostsParams
- func (o *QueryHostsParams) WithFilter(filter *string) *QueryHostsParams
- func (o *QueryHostsParams) WithHTTPClient(client *http.Client) *QueryHostsParams
- func (o *QueryHostsParams) WithLimit(limit *int64) *QueryHostsParams
- func (o *QueryHostsParams) WithOffset(offset *int64) *QueryHostsParams
- func (o *QueryHostsParams) WithSort(sort *string) *QueryHostsParams
- func (o *QueryHostsParams) WithTimeout(timeout time.Duration) *QueryHostsParams
- func (o *QueryHostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryHostsReader
- type QueryHostsTooManyRequests
- type QueryLoginsBadRequest
- type QueryLoginsDefault
- type QueryLoginsForbidden
- type QueryLoginsInternalServerError
- type QueryLoginsOK
- type QueryLoginsParams
- func (o *QueryLoginsParams) SetContext(ctx context.Context)
- func (o *QueryLoginsParams) SetDefaults()
- func (o *QueryLoginsParams) SetFilter(filter *string)
- func (o *QueryLoginsParams) SetHTTPClient(client *http.Client)
- func (o *QueryLoginsParams) SetLimit(limit *int64)
- func (o *QueryLoginsParams) SetOffset(offset *int64)
- func (o *QueryLoginsParams) SetSort(sort *string)
- func (o *QueryLoginsParams) SetTimeout(timeout time.Duration)
- func (o *QueryLoginsParams) WithContext(ctx context.Context) *QueryLoginsParams
- func (o *QueryLoginsParams) WithDefaults() *QueryLoginsParams
- func (o *QueryLoginsParams) WithFilter(filter *string) *QueryLoginsParams
- func (o *QueryLoginsParams) WithHTTPClient(client *http.Client) *QueryLoginsParams
- func (o *QueryLoginsParams) WithLimit(limit *int64) *QueryLoginsParams
- func (o *QueryLoginsParams) WithOffset(offset *int64) *QueryLoginsParams
- func (o *QueryLoginsParams) WithSort(sort *string) *QueryLoginsParams
- func (o *QueryLoginsParams) WithTimeout(timeout time.Duration) *QueryLoginsParams
- func (o *QueryLoginsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryLoginsReader
- type QueryLoginsTooManyRequests
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) 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) 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) GetHosts(params *GetHostsParams, opts ...ClientOption) (*GetHostsOK, error) GetLogins(params *GetLoginsParams, opts ...ClientOption) (*GetLoginsOK, error) QueryAccounts(params *QueryAccountsParams, opts ...ClientOption) (*QueryAccountsOK, 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) Error ¶ added in v0.2.21
func (o *GetAccountsBadRequest) Error() string
func (*GetAccountsBadRequest) GetPayload ¶ added in v0.2.21
func (o *GetAccountsBadRequest) GetPayload() *models.MsaReplyMetaOnly
type GetAccountsDefault ¶ added in v0.2.21
type GetAccountsDefault struct { Payload *models.DomainDiscoverAPIAccountEntitiesResponse // contains filtered or unexported fields }
GetAccountsDefault describes a response with status code -1, with default header values.
OK
func NewGetAccountsDefault ¶ added in v0.2.21
func NewGetAccountsDefault(code int) *GetAccountsDefault
NewGetAccountsDefault creates a GetAccountsDefault with default headers values
func (*GetAccountsDefault) Code ¶ added in v0.2.21
func (o *GetAccountsDefault) Code() int
Code gets the status code for the get accounts default response
func (*GetAccountsDefault) Error ¶ added in v0.2.21
func (o *GetAccountsDefault) Error() string
func (*GetAccountsDefault) GetPayload ¶ added in v0.2.21
func (o *GetAccountsDefault) GetPayload() *models.DomainDiscoverAPIAccountEntitiesResponse
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) 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
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) Error ¶ added in v0.2.21
func (o *GetAccountsInternalServerError) Error() string
func (*GetAccountsInternalServerError) GetPayload ¶ added in v0.2.21
func (o *GetAccountsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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) Error ¶ added in v0.2.21
func (o *GetAccountsOK) Error() string
func (*GetAccountsOK) GetPayload ¶ added in v0.2.21
func (o *GetAccountsOK) GetPayload() *models.DomainDiscoverAPIAccountEntitiesResponse
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) Error ¶ added in v0.2.21
func (o *GetAccountsTooManyRequests) Error() string
func (*GetAccountsTooManyRequests) GetPayload ¶ added in v0.2.21
func (o *GetAccountsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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.MsaReplyMetaOnly }
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) Error ¶
func (o *GetHostsBadRequest) Error() string
func (*GetHostsBadRequest) GetPayload ¶
func (o *GetHostsBadRequest) GetPayload() *models.MsaReplyMetaOnly
type GetHostsDefault ¶
type GetHostsDefault struct { Payload *models.DomainDiscoverAPIHostEntitiesResponse // contains filtered or unexported fields }
GetHostsDefault describes a response with status code -1, with default header values.
OK
func NewGetHostsDefault ¶
func NewGetHostsDefault(code int) *GetHostsDefault
NewGetHostsDefault creates a GetHostsDefault with default headers values
func (*GetHostsDefault) Code ¶
func (o *GetHostsDefault) Code() int
Code gets the status code for the get hosts default response
func (*GetHostsDefault) Error ¶
func (o *GetHostsDefault) Error() string
func (*GetHostsDefault) GetPayload ¶
func (o *GetHostsDefault) GetPayload() *models.DomainDiscoverAPIHostEntitiesResponse
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) Error ¶
func (o *GetHostsForbidden) Error() string
func (*GetHostsForbidden) GetPayload ¶
func (o *GetHostsForbidden) GetPayload() *models.MsaReplyMetaOnly
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.MsaReplyMetaOnly }
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) Error ¶
func (o *GetHostsInternalServerError) Error() string
func (*GetHostsInternalServerError) GetPayload ¶
func (o *GetHostsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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) Error ¶
func (o *GetHostsOK) Error() string
func (*GetHostsOK) GetPayload ¶
func (o *GetHostsOK) GetPayload() *models.DomainDiscoverAPIHostEntitiesResponse
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) Error ¶
func (o *GetHostsTooManyRequests) Error() string
func (*GetHostsTooManyRequests) GetPayload ¶
func (o *GetHostsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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) 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
type GetLoginsDefault ¶ added in v0.2.21
type GetLoginsDefault struct { Payload *models.DomainDiscoverAPILoginEntitiesResponse // contains filtered or unexported fields }
GetLoginsDefault describes a response with status code -1, with default header values.
OK
func NewGetLoginsDefault ¶ added in v0.2.21
func NewGetLoginsDefault(code int) *GetLoginsDefault
NewGetLoginsDefault creates a GetLoginsDefault with default headers values
func (*GetLoginsDefault) Code ¶ added in v0.2.21
func (o *GetLoginsDefault) Code() int
Code gets the status code for the get logins default response
func (*GetLoginsDefault) Error ¶ added in v0.2.21
func (o *GetLoginsDefault) Error() string
func (*GetLoginsDefault) GetPayload ¶ added in v0.2.21
func (o *GetLoginsDefault) GetPayload() *models.DomainDiscoverAPILoginEntitiesResponse
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) 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
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) Error ¶ added in v0.2.21
func (o *GetLoginsInternalServerError) Error() string
func (*GetLoginsInternalServerError) GetPayload ¶ added in v0.2.21
func (o *GetLoginsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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) Error ¶ added in v0.2.21
func (o *GetLoginsOK) Error() string
func (*GetLoginsOK) GetPayload ¶ added in v0.2.21
func (o *GetLoginsOK) GetPayload() *models.DomainDiscoverAPILoginEntitiesResponse
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) Error ¶ added in v0.2.21
func (o *GetLoginsTooManyRequests) Error() string
func (*GetLoginsTooManyRequests) GetPayload ¶ added in v0.2.21
func (o *GetLoginsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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) Error ¶ added in v0.2.21
func (o *QueryAccountsBadRequest) Error() string
func (*QueryAccountsBadRequest) GetPayload ¶ added in v0.2.21
func (o *QueryAccountsBadRequest) GetPayload() *models.MsaReplyMetaOnly
type QueryAccountsDefault ¶ added in v0.2.21
type QueryAccountsDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
QueryAccountsDefault describes a response with status code -1, with default header values.
OK
func NewQueryAccountsDefault ¶ added in v0.2.21
func NewQueryAccountsDefault(code int) *QueryAccountsDefault
NewQueryAccountsDefault creates a QueryAccountsDefault with default headers values
func (*QueryAccountsDefault) Code ¶ added in v0.2.21
func (o *QueryAccountsDefault) Code() int
Code gets the status code for the query accounts default response
func (*QueryAccountsDefault) Error ¶ added in v0.2.21
func (o *QueryAccountsDefault) Error() string
func (*QueryAccountsDefault) GetPayload ¶ added in v0.2.21
func (o *QueryAccountsDefault) GetPayload() *models.MsaQueryResponse
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) Error ¶ added in v0.2.21
func (o *QueryAccountsForbidden) Error() string
func (*QueryAccountsForbidden) GetPayload ¶ added in v0.2.21
func (o *QueryAccountsForbidden) GetPayload() *models.MsaReplyMetaOnly
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) Error ¶ added in v0.2.21
func (o *QueryAccountsInternalServerError) Error() string
func (*QueryAccountsInternalServerError) GetPayload ¶ added in v0.2.21
func (o *QueryAccountsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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) 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
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> */ 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, provide the `offset` from the previous response 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
func (o *QueryAccountsParams) WithContext(ctx context.Context) *QueryAccountsParams
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) Error ¶ added in v0.2.21
func (o *QueryAccountsTooManyRequests) Error() string
func (*QueryAccountsTooManyRequests) GetPayload ¶ added in v0.2.21
func (o *QueryAccountsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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.MsaReplyMetaOnly }
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) Error ¶
func (o *QueryHostsBadRequest) Error() string
func (*QueryHostsBadRequest) GetPayload ¶
func (o *QueryHostsBadRequest) GetPayload() *models.MsaReplyMetaOnly
type QueryHostsDefault ¶
type QueryHostsDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
QueryHostsDefault describes a response with status code -1, with default header values.
OK
func NewQueryHostsDefault ¶
func NewQueryHostsDefault(code int) *QueryHostsDefault
NewQueryHostsDefault creates a QueryHostsDefault with default headers values
func (*QueryHostsDefault) Code ¶
func (o *QueryHostsDefault) Code() int
Code gets the status code for the query hosts default response
func (*QueryHostsDefault) Error ¶
func (o *QueryHostsDefault) Error() string
func (*QueryHostsDefault) GetPayload ¶
func (o *QueryHostsDefault) GetPayload() *models.MsaQueryResponse
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) Error ¶
func (o *QueryHostsForbidden) Error() string
func (*QueryHostsForbidden) GetPayload ¶
func (o *QueryHostsForbidden) GetPayload() *models.MsaReplyMetaOnly
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.MsaReplyMetaOnly }
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) Error ¶
func (o *QueryHostsInternalServerError) Error() string
func (*QueryHostsInternalServerError) GetPayload ¶
func (o *QueryHostsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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.MsaQueryResponse }
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) Error ¶
func (o *QueryHostsOK) Error() string
func (*QueryHostsOK) GetPayload ¶
func (o *QueryHostsOK) GetPayload() *models.MsaQueryResponse
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> */ 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, provide the `offset` from the previous response 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) Error ¶
func (o *QueryHostsTooManyRequests) Error() string
func (*QueryHostsTooManyRequests) GetPayload ¶
func (o *QueryHostsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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) Error ¶ added in v0.2.21
func (o *QueryLoginsBadRequest) Error() string
func (*QueryLoginsBadRequest) GetPayload ¶ added in v0.2.21
func (o *QueryLoginsBadRequest) GetPayload() *models.MsaReplyMetaOnly
type QueryLoginsDefault ¶ added in v0.2.21
type QueryLoginsDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
QueryLoginsDefault describes a response with status code -1, with default header values.
OK
func NewQueryLoginsDefault ¶ added in v0.2.21
func NewQueryLoginsDefault(code int) *QueryLoginsDefault
NewQueryLoginsDefault creates a QueryLoginsDefault with default headers values
func (*QueryLoginsDefault) Code ¶ added in v0.2.21
func (o *QueryLoginsDefault) Code() int
Code gets the status code for the query logins default response
func (*QueryLoginsDefault) Error ¶ added in v0.2.21
func (o *QueryLoginsDefault) Error() string
func (*QueryLoginsDefault) GetPayload ¶ added in v0.2.21
func (o *QueryLoginsDefault) GetPayload() *models.MsaQueryResponse
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) 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
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) Error ¶ added in v0.2.21
func (o *QueryLoginsInternalServerError) Error() string
func (*QueryLoginsInternalServerError) GetPayload ¶ added in v0.2.21
func (o *QueryLoginsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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) 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
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> */ 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, provide the `offset` from the previous response 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) Error ¶ added in v0.2.21
func (o *QueryLoginsTooManyRequests) Error() string
func (*QueryLoginsTooManyRequests) GetPayload ¶ added in v0.2.21
func (o *QueryLoginsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
Source Files ¶
- discover_client.go
- get_accounts_parameters.go
- get_accounts_responses.go
- get_hosts_parameters.go
- get_hosts_responses.go
- get_logins_parameters.go
- get_logins_responses.go
- query_accounts_parameters.go
- query_accounts_responses.go
- query_hosts_parameters.go
- query_hosts_responses.go
- query_logins_parameters.go
- query_logins_responses.go