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
- func (o *GetAccountsBadRequest) Error() string
- func (o *GetAccountsBadRequest) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAccountsBadRequest) IsClientError() bool
- func (o *GetAccountsBadRequest) IsCode(code int) bool
- func (o *GetAccountsBadRequest) IsRedirect() bool
- func (o *GetAccountsBadRequest) IsServerError() bool
- func (o *GetAccountsBadRequest) IsSuccess() bool
- func (o *GetAccountsBadRequest) String() string
- type GetAccountsDefault
- func (o *GetAccountsDefault) Code() int
- func (o *GetAccountsDefault) Error() string
- func (o *GetAccountsDefault) GetPayload() *models.DomainDiscoverAPIAccountEntitiesResponse
- func (o *GetAccountsDefault) IsClientError() bool
- func (o *GetAccountsDefault) IsCode(code int) bool
- func (o *GetAccountsDefault) IsRedirect() bool
- func (o *GetAccountsDefault) IsServerError() bool
- func (o *GetAccountsDefault) IsSuccess() bool
- func (o *GetAccountsDefault) String() string
- type GetAccountsForbidden
- func (o *GetAccountsForbidden) Error() string
- func (o *GetAccountsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAccountsForbidden) IsClientError() bool
- func (o *GetAccountsForbidden) IsCode(code int) bool
- func (o *GetAccountsForbidden) IsRedirect() bool
- func (o *GetAccountsForbidden) IsServerError() bool
- func (o *GetAccountsForbidden) IsSuccess() bool
- func (o *GetAccountsForbidden) String() string
- type GetAccountsInternalServerError
- func (o *GetAccountsInternalServerError) Error() string
- func (o *GetAccountsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAccountsInternalServerError) IsClientError() bool
- func (o *GetAccountsInternalServerError) IsCode(code int) bool
- func (o *GetAccountsInternalServerError) IsRedirect() bool
- func (o *GetAccountsInternalServerError) IsServerError() bool
- func (o *GetAccountsInternalServerError) IsSuccess() bool
- func (o *GetAccountsInternalServerError) String() string
- type GetAccountsOK
- func (o *GetAccountsOK) Error() string
- func (o *GetAccountsOK) GetPayload() *models.DomainDiscoverAPIAccountEntitiesResponse
- func (o *GetAccountsOK) IsClientError() bool
- func (o *GetAccountsOK) IsCode(code int) bool
- func (o *GetAccountsOK) IsRedirect() bool
- func (o *GetAccountsOK) IsServerError() bool
- func (o *GetAccountsOK) IsSuccess() bool
- func (o *GetAccountsOK) String() string
- 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
- func (o *GetAccountsTooManyRequests) Error() string
- func (o *GetAccountsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAccountsTooManyRequests) IsClientError() bool
- func (o *GetAccountsTooManyRequests) IsCode(code int) bool
- func (o *GetAccountsTooManyRequests) IsRedirect() bool
- func (o *GetAccountsTooManyRequests) IsServerError() bool
- func (o *GetAccountsTooManyRequests) IsSuccess() bool
- func (o *GetAccountsTooManyRequests) String() string
- type GetHostsBadRequest
- func (o *GetHostsBadRequest) Error() string
- func (o *GetHostsBadRequest) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetHostsBadRequest) IsClientError() bool
- func (o *GetHostsBadRequest) IsCode(code int) bool
- func (o *GetHostsBadRequest) IsRedirect() bool
- func (o *GetHostsBadRequest) IsServerError() bool
- func (o *GetHostsBadRequest) IsSuccess() bool
- func (o *GetHostsBadRequest) String() string
- type GetHostsDefault
- func (o *GetHostsDefault) Code() int
- func (o *GetHostsDefault) Error() string
- func (o *GetHostsDefault) GetPayload() *models.DomainDiscoverAPIHostEntitiesResponse
- func (o *GetHostsDefault) IsClientError() bool
- func (o *GetHostsDefault) IsCode(code int) bool
- func (o *GetHostsDefault) IsRedirect() bool
- func (o *GetHostsDefault) IsServerError() bool
- func (o *GetHostsDefault) IsSuccess() bool
- func (o *GetHostsDefault) String() string
- type GetHostsForbidden
- func (o *GetHostsForbidden) Error() string
- func (o *GetHostsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetHostsForbidden) IsClientError() bool
- func (o *GetHostsForbidden) IsCode(code int) bool
- func (o *GetHostsForbidden) IsRedirect() bool
- func (o *GetHostsForbidden) IsServerError() bool
- func (o *GetHostsForbidden) IsSuccess() bool
- func (o *GetHostsForbidden) String() string
- type GetHostsInternalServerError
- func (o *GetHostsInternalServerError) Error() string
- func (o *GetHostsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetHostsInternalServerError) IsClientError() bool
- func (o *GetHostsInternalServerError) IsCode(code int) bool
- func (o *GetHostsInternalServerError) IsRedirect() bool
- func (o *GetHostsInternalServerError) IsServerError() bool
- func (o *GetHostsInternalServerError) IsSuccess() bool
- func (o *GetHostsInternalServerError) String() string
- type GetHostsOK
- func (o *GetHostsOK) Error() string
- func (o *GetHostsOK) GetPayload() *models.DomainDiscoverAPIHostEntitiesResponse
- func (o *GetHostsOK) IsClientError() bool
- func (o *GetHostsOK) IsCode(code int) bool
- func (o *GetHostsOK) IsRedirect() bool
- func (o *GetHostsOK) IsServerError() bool
- func (o *GetHostsOK) IsSuccess() bool
- func (o *GetHostsOK) String() string
- 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
- func (o *GetHostsTooManyRequests) Error() string
- func (o *GetHostsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetHostsTooManyRequests) IsClientError() bool
- func (o *GetHostsTooManyRequests) IsCode(code int) bool
- func (o *GetHostsTooManyRequests) IsRedirect() bool
- func (o *GetHostsTooManyRequests) IsServerError() bool
- func (o *GetHostsTooManyRequests) IsSuccess() bool
- func (o *GetHostsTooManyRequests) String() string
- type GetLoginsBadRequest
- func (o *GetLoginsBadRequest) Error() string
- func (o *GetLoginsBadRequest) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetLoginsBadRequest) IsClientError() bool
- func (o *GetLoginsBadRequest) IsCode(code int) bool
- func (o *GetLoginsBadRequest) IsRedirect() bool
- func (o *GetLoginsBadRequest) IsServerError() bool
- func (o *GetLoginsBadRequest) IsSuccess() bool
- func (o *GetLoginsBadRequest) String() string
- type GetLoginsDefault
- func (o *GetLoginsDefault) Code() int
- func (o *GetLoginsDefault) Error() string
- func (o *GetLoginsDefault) GetPayload() *models.DomainDiscoverAPILoginEntitiesResponse
- func (o *GetLoginsDefault) IsClientError() bool
- func (o *GetLoginsDefault) IsCode(code int) bool
- func (o *GetLoginsDefault) IsRedirect() bool
- func (o *GetLoginsDefault) IsServerError() bool
- func (o *GetLoginsDefault) IsSuccess() bool
- func (o *GetLoginsDefault) String() string
- type GetLoginsForbidden
- func (o *GetLoginsForbidden) Error() string
- func (o *GetLoginsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetLoginsForbidden) IsClientError() bool
- func (o *GetLoginsForbidden) IsCode(code int) bool
- func (o *GetLoginsForbidden) IsRedirect() bool
- func (o *GetLoginsForbidden) IsServerError() bool
- func (o *GetLoginsForbidden) IsSuccess() bool
- func (o *GetLoginsForbidden) String() string
- type GetLoginsInternalServerError
- func (o *GetLoginsInternalServerError) Error() string
- func (o *GetLoginsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetLoginsInternalServerError) IsClientError() bool
- func (o *GetLoginsInternalServerError) IsCode(code int) bool
- func (o *GetLoginsInternalServerError) IsRedirect() bool
- func (o *GetLoginsInternalServerError) IsServerError() bool
- func (o *GetLoginsInternalServerError) IsSuccess() bool
- func (o *GetLoginsInternalServerError) String() string
- type GetLoginsOK
- func (o *GetLoginsOK) Error() string
- func (o *GetLoginsOK) GetPayload() *models.DomainDiscoverAPILoginEntitiesResponse
- func (o *GetLoginsOK) IsClientError() bool
- func (o *GetLoginsOK) IsCode(code int) bool
- func (o *GetLoginsOK) IsRedirect() bool
- func (o *GetLoginsOK) IsServerError() bool
- func (o *GetLoginsOK) IsSuccess() bool
- func (o *GetLoginsOK) String() string
- 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
- func (o *GetLoginsTooManyRequests) Error() string
- func (o *GetLoginsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetLoginsTooManyRequests) IsClientError() bool
- func (o *GetLoginsTooManyRequests) IsCode(code int) bool
- func (o *GetLoginsTooManyRequests) IsRedirect() bool
- func (o *GetLoginsTooManyRequests) IsServerError() bool
- func (o *GetLoginsTooManyRequests) IsSuccess() bool
- func (o *GetLoginsTooManyRequests) String() string
- type QueryAccountsBadRequest
- func (o *QueryAccountsBadRequest) Error() string
- func (o *QueryAccountsBadRequest) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryAccountsBadRequest) IsClientError() bool
- func (o *QueryAccountsBadRequest) IsCode(code int) bool
- func (o *QueryAccountsBadRequest) IsRedirect() bool
- func (o *QueryAccountsBadRequest) IsServerError() bool
- func (o *QueryAccountsBadRequest) IsSuccess() bool
- func (o *QueryAccountsBadRequest) String() string
- type QueryAccountsDefault
- func (o *QueryAccountsDefault) Code() int
- func (o *QueryAccountsDefault) Error() string
- func (o *QueryAccountsDefault) GetPayload() *models.MsaQueryResponse
- func (o *QueryAccountsDefault) IsClientError() bool
- func (o *QueryAccountsDefault) IsCode(code int) bool
- func (o *QueryAccountsDefault) IsRedirect() bool
- func (o *QueryAccountsDefault) IsServerError() bool
- func (o *QueryAccountsDefault) IsSuccess() bool
- func (o *QueryAccountsDefault) String() string
- type QueryAccountsForbidden
- func (o *QueryAccountsForbidden) Error() string
- func (o *QueryAccountsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryAccountsForbidden) IsClientError() bool
- func (o *QueryAccountsForbidden) IsCode(code int) bool
- func (o *QueryAccountsForbidden) IsRedirect() bool
- func (o *QueryAccountsForbidden) IsServerError() bool
- func (o *QueryAccountsForbidden) IsSuccess() bool
- func (o *QueryAccountsForbidden) String() string
- type QueryAccountsInternalServerError
- func (o *QueryAccountsInternalServerError) Error() string
- func (o *QueryAccountsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryAccountsInternalServerError) IsClientError() bool
- func (o *QueryAccountsInternalServerError) IsCode(code int) bool
- func (o *QueryAccountsInternalServerError) IsRedirect() bool
- func (o *QueryAccountsInternalServerError) IsServerError() bool
- func (o *QueryAccountsInternalServerError) IsSuccess() bool
- func (o *QueryAccountsInternalServerError) String() string
- type QueryAccountsOK
- func (o *QueryAccountsOK) Error() string
- func (o *QueryAccountsOK) GetPayload() *models.MsaQueryResponse
- func (o *QueryAccountsOK) IsClientError() bool
- func (o *QueryAccountsOK) IsCode(code int) bool
- func (o *QueryAccountsOK) IsRedirect() bool
- func (o *QueryAccountsOK) IsServerError() bool
- func (o *QueryAccountsOK) IsSuccess() bool
- func (o *QueryAccountsOK) String() string
- 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
- func (o *QueryAccountsTooManyRequests) Error() string
- func (o *QueryAccountsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryAccountsTooManyRequests) IsClientError() bool
- func (o *QueryAccountsTooManyRequests) IsCode(code int) bool
- func (o *QueryAccountsTooManyRequests) IsRedirect() bool
- func (o *QueryAccountsTooManyRequests) IsServerError() bool
- func (o *QueryAccountsTooManyRequests) IsSuccess() bool
- func (o *QueryAccountsTooManyRequests) String() string
- type QueryHostsBadRequest
- func (o *QueryHostsBadRequest) Error() string
- func (o *QueryHostsBadRequest) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryHostsBadRequest) IsClientError() bool
- func (o *QueryHostsBadRequest) IsCode(code int) bool
- func (o *QueryHostsBadRequest) IsRedirect() bool
- func (o *QueryHostsBadRequest) IsServerError() bool
- func (o *QueryHostsBadRequest) IsSuccess() bool
- func (o *QueryHostsBadRequest) String() string
- type QueryHostsDefault
- func (o *QueryHostsDefault) Code() int
- func (o *QueryHostsDefault) Error() string
- func (o *QueryHostsDefault) GetPayload() *models.MsaQueryResponse
- func (o *QueryHostsDefault) IsClientError() bool
- func (o *QueryHostsDefault) IsCode(code int) bool
- func (o *QueryHostsDefault) IsRedirect() bool
- func (o *QueryHostsDefault) IsServerError() bool
- func (o *QueryHostsDefault) IsSuccess() bool
- func (o *QueryHostsDefault) String() string
- type QueryHostsForbidden
- func (o *QueryHostsForbidden) Error() string
- func (o *QueryHostsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryHostsForbidden) IsClientError() bool
- func (o *QueryHostsForbidden) IsCode(code int) bool
- func (o *QueryHostsForbidden) IsRedirect() bool
- func (o *QueryHostsForbidden) IsServerError() bool
- func (o *QueryHostsForbidden) IsSuccess() bool
- func (o *QueryHostsForbidden) String() string
- type QueryHostsInternalServerError
- func (o *QueryHostsInternalServerError) Error() string
- func (o *QueryHostsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryHostsInternalServerError) IsClientError() bool
- func (o *QueryHostsInternalServerError) IsCode(code int) bool
- func (o *QueryHostsInternalServerError) IsRedirect() bool
- func (o *QueryHostsInternalServerError) IsServerError() bool
- func (o *QueryHostsInternalServerError) IsSuccess() bool
- func (o *QueryHostsInternalServerError) String() string
- type QueryHostsOK
- func (o *QueryHostsOK) Error() string
- func (o *QueryHostsOK) GetPayload() *models.MsaQueryResponse
- func (o *QueryHostsOK) IsClientError() bool
- func (o *QueryHostsOK) IsCode(code int) bool
- func (o *QueryHostsOK) IsRedirect() bool
- func (o *QueryHostsOK) IsServerError() bool
- func (o *QueryHostsOK) IsSuccess() bool
- func (o *QueryHostsOK) String() string
- 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
- func (o *QueryHostsTooManyRequests) Error() string
- func (o *QueryHostsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryHostsTooManyRequests) IsClientError() bool
- func (o *QueryHostsTooManyRequests) IsCode(code int) bool
- func (o *QueryHostsTooManyRequests) IsRedirect() bool
- func (o *QueryHostsTooManyRequests) IsServerError() bool
- func (o *QueryHostsTooManyRequests) IsSuccess() bool
- func (o *QueryHostsTooManyRequests) String() string
- type QueryLoginsBadRequest
- func (o *QueryLoginsBadRequest) Error() string
- func (o *QueryLoginsBadRequest) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryLoginsBadRequest) IsClientError() bool
- func (o *QueryLoginsBadRequest) IsCode(code int) bool
- func (o *QueryLoginsBadRequest) IsRedirect() bool
- func (o *QueryLoginsBadRequest) IsServerError() bool
- func (o *QueryLoginsBadRequest) IsSuccess() bool
- func (o *QueryLoginsBadRequest) String() string
- type QueryLoginsDefault
- func (o *QueryLoginsDefault) Code() int
- func (o *QueryLoginsDefault) Error() string
- func (o *QueryLoginsDefault) GetPayload() *models.MsaQueryResponse
- func (o *QueryLoginsDefault) IsClientError() bool
- func (o *QueryLoginsDefault) IsCode(code int) bool
- func (o *QueryLoginsDefault) IsRedirect() bool
- func (o *QueryLoginsDefault) IsServerError() bool
- func (o *QueryLoginsDefault) IsSuccess() bool
- func (o *QueryLoginsDefault) String() string
- type QueryLoginsForbidden
- func (o *QueryLoginsForbidden) Error() string
- func (o *QueryLoginsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryLoginsForbidden) IsClientError() bool
- func (o *QueryLoginsForbidden) IsCode(code int) bool
- func (o *QueryLoginsForbidden) IsRedirect() bool
- func (o *QueryLoginsForbidden) IsServerError() bool
- func (o *QueryLoginsForbidden) IsSuccess() bool
- func (o *QueryLoginsForbidden) String() string
- type QueryLoginsInternalServerError
- func (o *QueryLoginsInternalServerError) Error() string
- func (o *QueryLoginsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryLoginsInternalServerError) IsClientError() bool
- func (o *QueryLoginsInternalServerError) IsCode(code int) bool
- func (o *QueryLoginsInternalServerError) IsRedirect() bool
- func (o *QueryLoginsInternalServerError) IsServerError() bool
- func (o *QueryLoginsInternalServerError) IsSuccess() bool
- func (o *QueryLoginsInternalServerError) String() string
- type QueryLoginsOK
- func (o *QueryLoginsOK) Error() string
- func (o *QueryLoginsOK) GetPayload() *models.MsaQueryResponse
- func (o *QueryLoginsOK) IsClientError() bool
- func (o *QueryLoginsOK) IsCode(code int) bool
- func (o *QueryLoginsOK) IsRedirect() bool
- func (o *QueryLoginsOK) IsServerError() bool
- func (o *QueryLoginsOK) IsSuccess() bool
- func (o *QueryLoginsOK) String() string
- 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
- func (o *QueryLoginsTooManyRequests) Error() string
- func (o *QueryLoginsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryLoginsTooManyRequests) IsClientError() bool
- func (o *QueryLoginsTooManyRequests) IsCode(code int) bool
- func (o *QueryLoginsTooManyRequests) IsRedirect() bool
- func (o *QueryLoginsTooManyRequests) IsServerError() bool
- func (o *QueryLoginsTooManyRequests) IsSuccess() bool
- func (o *QueryLoginsTooManyRequests) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for 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
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 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
func (*GetAccountsDefault) IsClientError ¶ added in v0.2.27
func (o *GetAccountsDefault) IsClientError() bool
IsClientError returns true when this get accounts default response has a 4xx status code
func (*GetAccountsDefault) IsCode ¶ added in v0.2.27
func (o *GetAccountsDefault) IsCode(code int) bool
IsCode returns true when this get accounts default response a status code equal to that given
func (*GetAccountsDefault) IsRedirect ¶ added in v0.2.27
func (o *GetAccountsDefault) IsRedirect() bool
IsRedirect returns true when this get accounts default response has a 3xx status code
func (*GetAccountsDefault) IsServerError ¶ added in v0.2.27
func (o *GetAccountsDefault) IsServerError() bool
IsServerError returns true when this get accounts default response has a 5xx status code
func (*GetAccountsDefault) IsSuccess ¶ added in v0.2.27
func (o *GetAccountsDefault) IsSuccess() bool
IsSuccess returns true when this get accounts default response has a 2xx status code
func (*GetAccountsDefault) String ¶ added in v0.2.27
func (o *GetAccountsDefault) 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) 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) 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
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
func (o *GetAccountsInternalServerError) String() string
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
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) 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
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 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
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 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
func (*GetHostsDefault) IsClientError ¶ added in v0.2.27
func (o *GetHostsDefault) IsClientError() bool
IsClientError returns true when this get hosts default response has a 4xx status code
func (*GetHostsDefault) IsCode ¶ added in v0.2.27
func (o *GetHostsDefault) IsCode(code int) bool
IsCode returns true when this get hosts default response a status code equal to that given
func (*GetHostsDefault) IsRedirect ¶ added in v0.2.27
func (o *GetHostsDefault) IsRedirect() bool
IsRedirect returns true when this get hosts default response has a 3xx status code
func (*GetHostsDefault) IsServerError ¶ added in v0.2.27
func (o *GetHostsDefault) IsServerError() bool
IsServerError returns true when this get hosts default response has a 5xx status code
func (*GetHostsDefault) IsSuccess ¶ added in v0.2.27
func (o *GetHostsDefault) IsSuccess() bool
IsSuccess returns true when this get hosts default response has a 2xx status code
func (*GetHostsDefault) String ¶ added in v0.2.27
func (o *GetHostsDefault) 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) 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.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
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) Error ¶
func (o *GetHostsOK) Error() string
func (*GetHostsOK) GetPayload ¶
func (o *GetHostsOK) GetPayload() *models.DomainDiscoverAPIHostEntitiesResponse
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) Error ¶
func (o *GetHostsTooManyRequests) Error() string
func (*GetHostsTooManyRequests) GetPayload ¶
func (o *GetHostsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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) 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 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
func (*GetLoginsDefault) IsClientError ¶ added in v0.2.27
func (o *GetLoginsDefault) IsClientError() bool
IsClientError returns true when this get logins default response has a 4xx status code
func (*GetLoginsDefault) IsCode ¶ added in v0.2.27
func (o *GetLoginsDefault) IsCode(code int) bool
IsCode returns true when this get logins default response a status code equal to that given
func (*GetLoginsDefault) IsRedirect ¶ added in v0.2.27
func (o *GetLoginsDefault) IsRedirect() bool
IsRedirect returns true when this get logins default response has a 3xx status code
func (*GetLoginsDefault) IsServerError ¶ added in v0.2.27
func (o *GetLoginsDefault) IsServerError() bool
IsServerError returns true when this get logins default response has a 5xx status code
func (*GetLoginsDefault) IsSuccess ¶ added in v0.2.27
func (o *GetLoginsDefault) IsSuccess() bool
IsSuccess returns true when this get logins default response has a 2xx status code
func (*GetLoginsDefault) String ¶ added in v0.2.27
func (o *GetLoginsDefault) 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) 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) 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
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
func (o *GetLoginsInternalServerError) String() string
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
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) 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
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) 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
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 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
func (*QueryAccountsDefault) IsClientError ¶ added in v0.2.27
func (o *QueryAccountsDefault) IsClientError() bool
IsClientError returns true when this query accounts default response has a 4xx status code
func (*QueryAccountsDefault) IsCode ¶ added in v0.2.27
func (o *QueryAccountsDefault) IsCode(code int) bool
IsCode returns true when this query accounts default response a status code equal to that given
func (*QueryAccountsDefault) IsRedirect ¶ added in v0.2.27
func (o *QueryAccountsDefault) IsRedirect() bool
IsRedirect returns true when this query accounts default response has a 3xx status code
func (*QueryAccountsDefault) IsServerError ¶ added in v0.2.27
func (o *QueryAccountsDefault) IsServerError() bool
IsServerError returns true when this query accounts default response has a 5xx status code
func (*QueryAccountsDefault) IsSuccess ¶ added in v0.2.27
func (o *QueryAccountsDefault) IsSuccess() bool
IsSuccess returns true when this query accounts default response has a 2xx status code
func (*QueryAccountsDefault) String ¶ added in v0.2.27
func (o *QueryAccountsDefault) 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) 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
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) 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
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
func (o *QueryAccountsInternalServerError) String() string
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
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> */ 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
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
func (o *QueryAccountsTooManyRequests) String() string
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
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 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
func (*QueryHostsDefault) IsClientError ¶ added in v0.2.27
func (o *QueryHostsDefault) IsClientError() bool
IsClientError returns true when this query hosts default response has a 4xx status code
func (*QueryHostsDefault) IsCode ¶ added in v0.2.27
func (o *QueryHostsDefault) IsCode(code int) bool
IsCode returns true when this query hosts default response a status code equal to that given
func (*QueryHostsDefault) IsRedirect ¶ added in v0.2.27
func (o *QueryHostsDefault) IsRedirect() bool
IsRedirect returns true when this query hosts default response has a 3xx status code
func (*QueryHostsDefault) IsServerError ¶ added in v0.2.27
func (o *QueryHostsDefault) IsServerError() bool
IsServerError returns true when this query hosts default response has a 5xx status code
func (*QueryHostsDefault) IsSuccess ¶ added in v0.2.27
func (o *QueryHostsDefault) IsSuccess() bool
IsSuccess returns true when this query hosts default response has a 2xx status code
func (*QueryHostsDefault) String ¶ added in v0.2.27
func (o *QueryHostsDefault) 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) 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.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
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
func (o *QueryHostsInternalServerError) String() string
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
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> */ 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
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) 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
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 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
func (*QueryLoginsDefault) IsClientError ¶ added in v0.2.27
func (o *QueryLoginsDefault) IsClientError() bool
IsClientError returns true when this query logins default response has a 4xx status code
func (*QueryLoginsDefault) IsCode ¶ added in v0.2.27
func (o *QueryLoginsDefault) IsCode(code int) bool
IsCode returns true when this query logins default response a status code equal to that given
func (*QueryLoginsDefault) IsRedirect ¶ added in v0.2.27
func (o *QueryLoginsDefault) IsRedirect() bool
IsRedirect returns true when this query logins default response has a 3xx status code
func (*QueryLoginsDefault) IsServerError ¶ added in v0.2.27
func (o *QueryLoginsDefault) IsServerError() bool
IsServerError returns true when this query logins default response has a 5xx status code
func (*QueryLoginsDefault) IsSuccess ¶ added in v0.2.27
func (o *QueryLoginsDefault) IsSuccess() bool
IsSuccess returns true when this query logins default response has a 2xx status code
func (*QueryLoginsDefault) String ¶ added in v0.2.27
func (o *QueryLoginsDefault) 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) 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) 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
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
func (o *QueryLoginsInternalServerError) String() string
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
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> */ 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
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
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