exposure_management

package
v0.0.0-...-b41912a Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregateExternalAssetsBadRequest

type AggregateExternalAssetsBadRequest struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Bad Request

func NewAggregateExternalAssetsBadRequest

func NewAggregateExternalAssetsBadRequest() *AggregateExternalAssetsBadRequest

NewAggregateExternalAssetsBadRequest creates a AggregateExternalAssetsBadRequest with default headers values

func (*AggregateExternalAssetsBadRequest) Code

Code gets the status code for the aggregate external assets bad request response

func (*AggregateExternalAssetsBadRequest) Error

func (*AggregateExternalAssetsBadRequest) GetPayload

func (*AggregateExternalAssetsBadRequest) IsClientError

func (o *AggregateExternalAssetsBadRequest) IsClientError() bool

IsClientError returns true when this aggregate external assets bad request response has a 4xx status code

func (*AggregateExternalAssetsBadRequest) IsCode

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

IsCode returns true when this aggregate external assets bad request response a status code equal to that given

func (*AggregateExternalAssetsBadRequest) IsRedirect

func (o *AggregateExternalAssetsBadRequest) IsRedirect() bool

IsRedirect returns true when this aggregate external assets bad request response has a 3xx status code

func (*AggregateExternalAssetsBadRequest) IsServerError

func (o *AggregateExternalAssetsBadRequest) IsServerError() bool

IsServerError returns true when this aggregate external assets bad request response has a 5xx status code

func (*AggregateExternalAssetsBadRequest) IsSuccess

func (o *AggregateExternalAssetsBadRequest) IsSuccess() bool

IsSuccess returns true when this aggregate external assets bad request response has a 2xx status code

func (*AggregateExternalAssetsBadRequest) String

type AggregateExternalAssetsForbidden

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

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

Forbidden

func NewAggregateExternalAssetsForbidden

func NewAggregateExternalAssetsForbidden() *AggregateExternalAssetsForbidden

NewAggregateExternalAssetsForbidden creates a AggregateExternalAssetsForbidden with default headers values

func (*AggregateExternalAssetsForbidden) Code

Code gets the status code for the aggregate external assets forbidden response

func (*AggregateExternalAssetsForbidden) Error

func (*AggregateExternalAssetsForbidden) GetPayload

func (*AggregateExternalAssetsForbidden) IsClientError

func (o *AggregateExternalAssetsForbidden) IsClientError() bool

IsClientError returns true when this aggregate external assets forbidden response has a 4xx status code

func (*AggregateExternalAssetsForbidden) IsCode

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

IsCode returns true when this aggregate external assets forbidden response a status code equal to that given

func (*AggregateExternalAssetsForbidden) IsRedirect

func (o *AggregateExternalAssetsForbidden) IsRedirect() bool

IsRedirect returns true when this aggregate external assets forbidden response has a 3xx status code

func (*AggregateExternalAssetsForbidden) IsServerError

func (o *AggregateExternalAssetsForbidden) IsServerError() bool

IsServerError returns true when this aggregate external assets forbidden response has a 5xx status code

func (*AggregateExternalAssetsForbidden) IsSuccess

func (o *AggregateExternalAssetsForbidden) IsSuccess() bool

IsSuccess returns true when this aggregate external assets forbidden response has a 2xx status code

func (*AggregateExternalAssetsForbidden) String

type AggregateExternalAssetsInternalServerError

type AggregateExternalAssetsInternalServerError struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Internal Server Error

func NewAggregateExternalAssetsInternalServerError

func NewAggregateExternalAssetsInternalServerError() *AggregateExternalAssetsInternalServerError

NewAggregateExternalAssetsInternalServerError creates a AggregateExternalAssetsInternalServerError with default headers values

func (*AggregateExternalAssetsInternalServerError) Code

Code gets the status code for the aggregate external assets internal server error response

func (*AggregateExternalAssetsInternalServerError) Error

func (*AggregateExternalAssetsInternalServerError) GetPayload

func (*AggregateExternalAssetsInternalServerError) IsClientError

IsClientError returns true when this aggregate external assets internal server error response has a 4xx status code

func (*AggregateExternalAssetsInternalServerError) IsCode

IsCode returns true when this aggregate external assets internal server error response a status code equal to that given

func (*AggregateExternalAssetsInternalServerError) IsRedirect

IsRedirect returns true when this aggregate external assets internal server error response has a 3xx status code

func (*AggregateExternalAssetsInternalServerError) IsServerError

IsServerError returns true when this aggregate external assets internal server error response has a 5xx status code

func (*AggregateExternalAssetsInternalServerError) IsSuccess

IsSuccess returns true when this aggregate external assets internal server error response has a 2xx status code

func (*AggregateExternalAssetsInternalServerError) String

type AggregateExternalAssetsOK

type AggregateExternalAssetsOK 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.MsaAggregatesResponse
}

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

OK

func NewAggregateExternalAssetsOK

func NewAggregateExternalAssetsOK() *AggregateExternalAssetsOK

NewAggregateExternalAssetsOK creates a AggregateExternalAssetsOK with default headers values

func (*AggregateExternalAssetsOK) Code

func (o *AggregateExternalAssetsOK) Code() int

Code gets the status code for the aggregate external assets o k response

func (*AggregateExternalAssetsOK) Error

func (o *AggregateExternalAssetsOK) Error() string

func (*AggregateExternalAssetsOK) GetPayload

func (*AggregateExternalAssetsOK) IsClientError

func (o *AggregateExternalAssetsOK) IsClientError() bool

IsClientError returns true when this aggregate external assets o k response has a 4xx status code

func (*AggregateExternalAssetsOK) IsCode

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

IsCode returns true when this aggregate external assets o k response a status code equal to that given

func (*AggregateExternalAssetsOK) IsRedirect

func (o *AggregateExternalAssetsOK) IsRedirect() bool

IsRedirect returns true when this aggregate external assets o k response has a 3xx status code

func (*AggregateExternalAssetsOK) IsServerError

func (o *AggregateExternalAssetsOK) IsServerError() bool

IsServerError returns true when this aggregate external assets o k response has a 5xx status code

func (*AggregateExternalAssetsOK) IsSuccess

func (o *AggregateExternalAssetsOK) IsSuccess() bool

IsSuccess returns true when this aggregate external assets o k response has a 2xx status code

func (*AggregateExternalAssetsOK) String

func (o *AggregateExternalAssetsOK) String() string

type AggregateExternalAssetsParams

type AggregateExternalAssetsParams struct {

	/* Body.

	   Aggregation specification.
	*/
	Body []*models.MsaAggregateQueryRequest

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

AggregateExternalAssetsParams contains all the parameters to send to the API endpoint

for the aggregate external assets operation.

Typically these are written to a http.Request.

func NewAggregateExternalAssetsParams

func NewAggregateExternalAssetsParams() *AggregateExternalAssetsParams

NewAggregateExternalAssetsParams creates a new AggregateExternalAssetsParams 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 NewAggregateExternalAssetsParamsWithContext

func NewAggregateExternalAssetsParamsWithContext(ctx context.Context) *AggregateExternalAssetsParams

NewAggregateExternalAssetsParamsWithContext creates a new AggregateExternalAssetsParams object with the ability to set a context for a request.

func NewAggregateExternalAssetsParamsWithHTTPClient

func NewAggregateExternalAssetsParamsWithHTTPClient(client *http.Client) *AggregateExternalAssetsParams

NewAggregateExternalAssetsParamsWithHTTPClient creates a new AggregateExternalAssetsParams object with the ability to set a custom HTTPClient for a request.

func NewAggregateExternalAssetsParamsWithTimeout

func NewAggregateExternalAssetsParamsWithTimeout(timeout time.Duration) *AggregateExternalAssetsParams

NewAggregateExternalAssetsParamsWithTimeout creates a new AggregateExternalAssetsParams object with the ability to set a timeout on a request.

func (*AggregateExternalAssetsParams) SetBody

SetBody adds the body to the aggregate external assets params

func (*AggregateExternalAssetsParams) SetContext

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

SetContext adds the context to the aggregate external assets params

func (*AggregateExternalAssetsParams) SetDefaults

func (o *AggregateExternalAssetsParams) SetDefaults()

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

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

func (*AggregateExternalAssetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the aggregate external assets params

func (*AggregateExternalAssetsParams) SetTimeout

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

SetTimeout adds the timeout to the aggregate external assets params

func (*AggregateExternalAssetsParams) WithBody

WithBody adds the body to the aggregate external assets params

func (*AggregateExternalAssetsParams) WithContext

WithContext adds the context to the aggregate external assets params

func (*AggregateExternalAssetsParams) WithDefaults

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

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

func (*AggregateExternalAssetsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the aggregate external assets params

func (*AggregateExternalAssetsParams) WithTimeout

WithTimeout adds the timeout to the aggregate external assets params

func (*AggregateExternalAssetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AggregateExternalAssetsReader

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

AggregateExternalAssetsReader is a Reader for the AggregateExternalAssets structure.

func (*AggregateExternalAssetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AggregateExternalAssetsTooManyRequests

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

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

Too Many Requests

func NewAggregateExternalAssetsTooManyRequests

func NewAggregateExternalAssetsTooManyRequests() *AggregateExternalAssetsTooManyRequests

NewAggregateExternalAssetsTooManyRequests creates a AggregateExternalAssetsTooManyRequests with default headers values

func (*AggregateExternalAssetsTooManyRequests) Code

Code gets the status code for the aggregate external assets too many requests response

func (*AggregateExternalAssetsTooManyRequests) Error

func (*AggregateExternalAssetsTooManyRequests) GetPayload

func (*AggregateExternalAssetsTooManyRequests) IsClientError

func (o *AggregateExternalAssetsTooManyRequests) IsClientError() bool

IsClientError returns true when this aggregate external assets too many requests response has a 4xx status code

func (*AggregateExternalAssetsTooManyRequests) IsCode

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

func (*AggregateExternalAssetsTooManyRequests) IsRedirect

IsRedirect returns true when this aggregate external assets too many requests response has a 3xx status code

func (*AggregateExternalAssetsTooManyRequests) IsServerError

func (o *AggregateExternalAssetsTooManyRequests) IsServerError() bool

IsServerError returns true when this aggregate external assets too many requests response has a 5xx status code

func (*AggregateExternalAssetsTooManyRequests) IsSuccess

IsSuccess returns true when this aggregate external assets too many requests response has a 2xx status code

func (*AggregateExternalAssetsTooManyRequests) String

type BlobDownloadExternalAssetsBadRequest

type BlobDownloadExternalAssetsBadRequest struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Bad Request

func NewBlobDownloadExternalAssetsBadRequest

func NewBlobDownloadExternalAssetsBadRequest() *BlobDownloadExternalAssetsBadRequest

NewBlobDownloadExternalAssetsBadRequest creates a BlobDownloadExternalAssetsBadRequest with default headers values

func (*BlobDownloadExternalAssetsBadRequest) Code

Code gets the status code for the blob download external assets bad request response

func (*BlobDownloadExternalAssetsBadRequest) Error

func (*BlobDownloadExternalAssetsBadRequest) GetPayload

func (*BlobDownloadExternalAssetsBadRequest) IsClientError

func (o *BlobDownloadExternalAssetsBadRequest) IsClientError() bool

IsClientError returns true when this blob download external assets bad request response has a 4xx status code

func (*BlobDownloadExternalAssetsBadRequest) IsCode

IsCode returns true when this blob download external assets bad request response a status code equal to that given

func (*BlobDownloadExternalAssetsBadRequest) IsRedirect

IsRedirect returns true when this blob download external assets bad request response has a 3xx status code

func (*BlobDownloadExternalAssetsBadRequest) IsServerError

func (o *BlobDownloadExternalAssetsBadRequest) IsServerError() bool

IsServerError returns true when this blob download external assets bad request response has a 5xx status code

func (*BlobDownloadExternalAssetsBadRequest) IsSuccess

IsSuccess returns true when this blob download external assets bad request response has a 2xx status code

func (*BlobDownloadExternalAssetsBadRequest) String

type BlobDownloadExternalAssetsForbidden

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

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

Forbidden

func NewBlobDownloadExternalAssetsForbidden

func NewBlobDownloadExternalAssetsForbidden() *BlobDownloadExternalAssetsForbidden

NewBlobDownloadExternalAssetsForbidden creates a BlobDownloadExternalAssetsForbidden with default headers values

func (*BlobDownloadExternalAssetsForbidden) Code

Code gets the status code for the blob download external assets forbidden response

func (*BlobDownloadExternalAssetsForbidden) Error

func (*BlobDownloadExternalAssetsForbidden) GetPayload

func (*BlobDownloadExternalAssetsForbidden) IsClientError

func (o *BlobDownloadExternalAssetsForbidden) IsClientError() bool

IsClientError returns true when this blob download external assets forbidden response has a 4xx status code

func (*BlobDownloadExternalAssetsForbidden) IsCode

IsCode returns true when this blob download external assets forbidden response a status code equal to that given

func (*BlobDownloadExternalAssetsForbidden) IsRedirect

func (o *BlobDownloadExternalAssetsForbidden) IsRedirect() bool

IsRedirect returns true when this blob download external assets forbidden response has a 3xx status code

func (*BlobDownloadExternalAssetsForbidden) IsServerError

func (o *BlobDownloadExternalAssetsForbidden) IsServerError() bool

IsServerError returns true when this blob download external assets forbidden response has a 5xx status code

func (*BlobDownloadExternalAssetsForbidden) IsSuccess

IsSuccess returns true when this blob download external assets forbidden response has a 2xx status code

func (*BlobDownloadExternalAssetsForbidden) String

type BlobDownloadExternalAssetsInternalServerError

type BlobDownloadExternalAssetsInternalServerError struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Internal Server Error

func NewBlobDownloadExternalAssetsInternalServerError

func NewBlobDownloadExternalAssetsInternalServerError() *BlobDownloadExternalAssetsInternalServerError

NewBlobDownloadExternalAssetsInternalServerError creates a BlobDownloadExternalAssetsInternalServerError with default headers values

func (*BlobDownloadExternalAssetsInternalServerError) Code

Code gets the status code for the blob download external assets internal server error response

func (*BlobDownloadExternalAssetsInternalServerError) Error

func (*BlobDownloadExternalAssetsInternalServerError) GetPayload

func (*BlobDownloadExternalAssetsInternalServerError) IsClientError

IsClientError returns true when this blob download external assets internal server error response has a 4xx status code

func (*BlobDownloadExternalAssetsInternalServerError) IsCode

IsCode returns true when this blob download external assets internal server error response a status code equal to that given

func (*BlobDownloadExternalAssetsInternalServerError) IsRedirect

IsRedirect returns true when this blob download external assets internal server error response has a 3xx status code

func (*BlobDownloadExternalAssetsInternalServerError) IsServerError

IsServerError returns true when this blob download external assets internal server error response has a 5xx status code

func (*BlobDownloadExternalAssetsInternalServerError) IsSuccess

IsSuccess returns true when this blob download external assets internal server error response has a 2xx status code

func (*BlobDownloadExternalAssetsInternalServerError) String

type BlobDownloadExternalAssetsOK

type BlobDownloadExternalAssetsOK 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 []int64
}

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

OK

func NewBlobDownloadExternalAssetsOK

func NewBlobDownloadExternalAssetsOK() *BlobDownloadExternalAssetsOK

NewBlobDownloadExternalAssetsOK creates a BlobDownloadExternalAssetsOK with default headers values

func (*BlobDownloadExternalAssetsOK) Code

Code gets the status code for the blob download external assets o k response

func (*BlobDownloadExternalAssetsOK) Error

func (*BlobDownloadExternalAssetsOK) GetPayload

func (o *BlobDownloadExternalAssetsOK) GetPayload() []int64

func (*BlobDownloadExternalAssetsOK) IsClientError

func (o *BlobDownloadExternalAssetsOK) IsClientError() bool

IsClientError returns true when this blob download external assets o k response has a 4xx status code

func (*BlobDownloadExternalAssetsOK) IsCode

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

IsCode returns true when this blob download external assets o k response a status code equal to that given

func (*BlobDownloadExternalAssetsOK) IsRedirect

func (o *BlobDownloadExternalAssetsOK) IsRedirect() bool

IsRedirect returns true when this blob download external assets o k response has a 3xx status code

func (*BlobDownloadExternalAssetsOK) IsServerError

func (o *BlobDownloadExternalAssetsOK) IsServerError() bool

IsServerError returns true when this blob download external assets o k response has a 5xx status code

func (*BlobDownloadExternalAssetsOK) IsSuccess

func (o *BlobDownloadExternalAssetsOK) IsSuccess() bool

IsSuccess returns true when this blob download external assets o k response has a 2xx status code

func (*BlobDownloadExternalAssetsOK) String

type BlobDownloadExternalAssetsParams

type BlobDownloadExternalAssetsParams struct {

	/* AssetID.

	   The Asset ID
	*/
	AssetID string

	/* Hash.

	   The File Hash
	*/
	Hash string

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

BlobDownloadExternalAssetsParams contains all the parameters to send to the API endpoint

for the blob download external assets operation.

Typically these are written to a http.Request.

func NewBlobDownloadExternalAssetsParams

func NewBlobDownloadExternalAssetsParams() *BlobDownloadExternalAssetsParams

NewBlobDownloadExternalAssetsParams creates a new BlobDownloadExternalAssetsParams 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 NewBlobDownloadExternalAssetsParamsWithContext

func NewBlobDownloadExternalAssetsParamsWithContext(ctx context.Context) *BlobDownloadExternalAssetsParams

NewBlobDownloadExternalAssetsParamsWithContext creates a new BlobDownloadExternalAssetsParams object with the ability to set a context for a request.

func NewBlobDownloadExternalAssetsParamsWithHTTPClient

func NewBlobDownloadExternalAssetsParamsWithHTTPClient(client *http.Client) *BlobDownloadExternalAssetsParams

NewBlobDownloadExternalAssetsParamsWithHTTPClient creates a new BlobDownloadExternalAssetsParams object with the ability to set a custom HTTPClient for a request.

func NewBlobDownloadExternalAssetsParamsWithTimeout

func NewBlobDownloadExternalAssetsParamsWithTimeout(timeout time.Duration) *BlobDownloadExternalAssetsParams

NewBlobDownloadExternalAssetsParamsWithTimeout creates a new BlobDownloadExternalAssetsParams object with the ability to set a timeout on a request.

func (*BlobDownloadExternalAssetsParams) SetAssetID

func (o *BlobDownloadExternalAssetsParams) SetAssetID(assetID string)

SetAssetID adds the assetId to the blob download external assets params

func (*BlobDownloadExternalAssetsParams) SetContext

SetContext adds the context to the blob download external assets params

func (*BlobDownloadExternalAssetsParams) SetDefaults

func (o *BlobDownloadExternalAssetsParams) SetDefaults()

SetDefaults hydrates default values in the blob download external assets params (not the query body).

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

func (*BlobDownloadExternalAssetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the blob download external assets params

func (*BlobDownloadExternalAssetsParams) SetHash

func (o *BlobDownloadExternalAssetsParams) SetHash(hash string)

SetHash adds the hash to the blob download external assets params

func (*BlobDownloadExternalAssetsParams) SetTimeout

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

SetTimeout adds the timeout to the blob download external assets params

func (*BlobDownloadExternalAssetsParams) WithAssetID

WithAssetID adds the assetID to the blob download external assets params

func (*BlobDownloadExternalAssetsParams) WithContext

WithContext adds the context to the blob download external assets params

func (*BlobDownloadExternalAssetsParams) WithDefaults

WithDefaults hydrates default values in the blob download external assets params (not the query body).

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

func (*BlobDownloadExternalAssetsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the blob download external assets params

func (*BlobDownloadExternalAssetsParams) WithHash

WithHash adds the hash to the blob download external assets params

func (*BlobDownloadExternalAssetsParams) WithTimeout

WithTimeout adds the timeout to the blob download external assets params

func (*BlobDownloadExternalAssetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BlobDownloadExternalAssetsReader

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

BlobDownloadExternalAssetsReader is a Reader for the BlobDownloadExternalAssets structure.

func (*BlobDownloadExternalAssetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BlobDownloadExternalAssetsTooManyRequests

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

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

Too Many Requests

func NewBlobDownloadExternalAssetsTooManyRequests

func NewBlobDownloadExternalAssetsTooManyRequests() *BlobDownloadExternalAssetsTooManyRequests

NewBlobDownloadExternalAssetsTooManyRequests creates a BlobDownloadExternalAssetsTooManyRequests with default headers values

func (*BlobDownloadExternalAssetsTooManyRequests) Code

Code gets the status code for the blob download external assets too many requests response

func (*BlobDownloadExternalAssetsTooManyRequests) Error

func (*BlobDownloadExternalAssetsTooManyRequests) GetPayload

func (*BlobDownloadExternalAssetsTooManyRequests) IsClientError

IsClientError returns true when this blob download external assets too many requests response has a 4xx status code

func (*BlobDownloadExternalAssetsTooManyRequests) IsCode

IsCode returns true when this blob download external assets too many requests response a status code equal to that given

func (*BlobDownloadExternalAssetsTooManyRequests) IsRedirect

IsRedirect returns true when this blob download external assets too many requests response has a 3xx status code

func (*BlobDownloadExternalAssetsTooManyRequests) IsServerError

IsServerError returns true when this blob download external assets too many requests response has a 5xx status code

func (*BlobDownloadExternalAssetsTooManyRequests) IsSuccess

IsSuccess returns true when this blob download external assets too many requests response has a 2xx status code

func (*BlobDownloadExternalAssetsTooManyRequests) String

type BlobPreviewExternalAssetsBadRequest

type BlobPreviewExternalAssetsBadRequest struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Bad Request

func NewBlobPreviewExternalAssetsBadRequest

func NewBlobPreviewExternalAssetsBadRequest() *BlobPreviewExternalAssetsBadRequest

NewBlobPreviewExternalAssetsBadRequest creates a BlobPreviewExternalAssetsBadRequest with default headers values

func (*BlobPreviewExternalAssetsBadRequest) Code

Code gets the status code for the blob preview external assets bad request response

func (*BlobPreviewExternalAssetsBadRequest) Error

func (*BlobPreviewExternalAssetsBadRequest) GetPayload

func (*BlobPreviewExternalAssetsBadRequest) IsClientError

func (o *BlobPreviewExternalAssetsBadRequest) IsClientError() bool

IsClientError returns true when this blob preview external assets bad request response has a 4xx status code

func (*BlobPreviewExternalAssetsBadRequest) IsCode

IsCode returns true when this blob preview external assets bad request response a status code equal to that given

func (*BlobPreviewExternalAssetsBadRequest) IsRedirect

func (o *BlobPreviewExternalAssetsBadRequest) IsRedirect() bool

IsRedirect returns true when this blob preview external assets bad request response has a 3xx status code

func (*BlobPreviewExternalAssetsBadRequest) IsServerError

func (o *BlobPreviewExternalAssetsBadRequest) IsServerError() bool

IsServerError returns true when this blob preview external assets bad request response has a 5xx status code

func (*BlobPreviewExternalAssetsBadRequest) IsSuccess

IsSuccess returns true when this blob preview external assets bad request response has a 2xx status code

func (*BlobPreviewExternalAssetsBadRequest) String

type BlobPreviewExternalAssetsForbidden

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

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

Forbidden

func NewBlobPreviewExternalAssetsForbidden

func NewBlobPreviewExternalAssetsForbidden() *BlobPreviewExternalAssetsForbidden

NewBlobPreviewExternalAssetsForbidden creates a BlobPreviewExternalAssetsForbidden with default headers values

func (*BlobPreviewExternalAssetsForbidden) Code

Code gets the status code for the blob preview external assets forbidden response

func (*BlobPreviewExternalAssetsForbidden) Error

func (*BlobPreviewExternalAssetsForbidden) GetPayload

func (*BlobPreviewExternalAssetsForbidden) IsClientError

func (o *BlobPreviewExternalAssetsForbidden) IsClientError() bool

IsClientError returns true when this blob preview external assets forbidden response has a 4xx status code

func (*BlobPreviewExternalAssetsForbidden) IsCode

IsCode returns true when this blob preview external assets forbidden response a status code equal to that given

func (*BlobPreviewExternalAssetsForbidden) IsRedirect

func (o *BlobPreviewExternalAssetsForbidden) IsRedirect() bool

IsRedirect returns true when this blob preview external assets forbidden response has a 3xx status code

func (*BlobPreviewExternalAssetsForbidden) IsServerError

func (o *BlobPreviewExternalAssetsForbidden) IsServerError() bool

IsServerError returns true when this blob preview external assets forbidden response has a 5xx status code

func (*BlobPreviewExternalAssetsForbidden) IsSuccess

IsSuccess returns true when this blob preview external assets forbidden response has a 2xx status code

func (*BlobPreviewExternalAssetsForbidden) String

type BlobPreviewExternalAssetsInternalServerError

type BlobPreviewExternalAssetsInternalServerError struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Internal Server Error

func NewBlobPreviewExternalAssetsInternalServerError

func NewBlobPreviewExternalAssetsInternalServerError() *BlobPreviewExternalAssetsInternalServerError

NewBlobPreviewExternalAssetsInternalServerError creates a BlobPreviewExternalAssetsInternalServerError with default headers values

func (*BlobPreviewExternalAssetsInternalServerError) Code

Code gets the status code for the blob preview external assets internal server error response

func (*BlobPreviewExternalAssetsInternalServerError) Error

func (*BlobPreviewExternalAssetsInternalServerError) GetPayload

func (*BlobPreviewExternalAssetsInternalServerError) IsClientError

IsClientError returns true when this blob preview external assets internal server error response has a 4xx status code

func (*BlobPreviewExternalAssetsInternalServerError) IsCode

IsCode returns true when this blob preview external assets internal server error response a status code equal to that given

func (*BlobPreviewExternalAssetsInternalServerError) IsRedirect

IsRedirect returns true when this blob preview external assets internal server error response has a 3xx status code

func (*BlobPreviewExternalAssetsInternalServerError) IsServerError

IsServerError returns true when this blob preview external assets internal server error response has a 5xx status code

func (*BlobPreviewExternalAssetsInternalServerError) IsSuccess

IsSuccess returns true when this blob preview external assets internal server error response has a 2xx status code

func (*BlobPreviewExternalAssetsInternalServerError) String

type BlobPreviewExternalAssetsOK

type BlobPreviewExternalAssetsOK 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.DomainExternalAssetsBlobAPITypeV1
}

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

OK

func NewBlobPreviewExternalAssetsOK

func NewBlobPreviewExternalAssetsOK() *BlobPreviewExternalAssetsOK

NewBlobPreviewExternalAssetsOK creates a BlobPreviewExternalAssetsOK with default headers values

func (*BlobPreviewExternalAssetsOK) Code

func (o *BlobPreviewExternalAssetsOK) Code() int

Code gets the status code for the blob preview external assets o k response

func (*BlobPreviewExternalAssetsOK) Error

func (*BlobPreviewExternalAssetsOK) GetPayload

func (*BlobPreviewExternalAssetsOK) IsClientError

func (o *BlobPreviewExternalAssetsOK) IsClientError() bool

IsClientError returns true when this blob preview external assets o k response has a 4xx status code

func (*BlobPreviewExternalAssetsOK) IsCode

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

IsCode returns true when this blob preview external assets o k response a status code equal to that given

func (*BlobPreviewExternalAssetsOK) IsRedirect

func (o *BlobPreviewExternalAssetsOK) IsRedirect() bool

IsRedirect returns true when this blob preview external assets o k response has a 3xx status code

func (*BlobPreviewExternalAssetsOK) IsServerError

func (o *BlobPreviewExternalAssetsOK) IsServerError() bool

IsServerError returns true when this blob preview external assets o k response has a 5xx status code

func (*BlobPreviewExternalAssetsOK) IsSuccess

func (o *BlobPreviewExternalAssetsOK) IsSuccess() bool

IsSuccess returns true when this blob preview external assets o k response has a 2xx status code

func (*BlobPreviewExternalAssetsOK) String

func (o *BlobPreviewExternalAssetsOK) String() string

type BlobPreviewExternalAssetsParams

type BlobPreviewExternalAssetsParams struct {

	/* AssetID.

	   The Asset ID
	*/
	AssetID string

	/* Hash.

	   The File Hash
	*/
	Hash string

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

BlobPreviewExternalAssetsParams contains all the parameters to send to the API endpoint

for the blob preview external assets operation.

Typically these are written to a http.Request.

func NewBlobPreviewExternalAssetsParams

func NewBlobPreviewExternalAssetsParams() *BlobPreviewExternalAssetsParams

NewBlobPreviewExternalAssetsParams creates a new BlobPreviewExternalAssetsParams 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 NewBlobPreviewExternalAssetsParamsWithContext

func NewBlobPreviewExternalAssetsParamsWithContext(ctx context.Context) *BlobPreviewExternalAssetsParams

NewBlobPreviewExternalAssetsParamsWithContext creates a new BlobPreviewExternalAssetsParams object with the ability to set a context for a request.

func NewBlobPreviewExternalAssetsParamsWithHTTPClient

func NewBlobPreviewExternalAssetsParamsWithHTTPClient(client *http.Client) *BlobPreviewExternalAssetsParams

NewBlobPreviewExternalAssetsParamsWithHTTPClient creates a new BlobPreviewExternalAssetsParams object with the ability to set a custom HTTPClient for a request.

func NewBlobPreviewExternalAssetsParamsWithTimeout

func NewBlobPreviewExternalAssetsParamsWithTimeout(timeout time.Duration) *BlobPreviewExternalAssetsParams

NewBlobPreviewExternalAssetsParamsWithTimeout creates a new BlobPreviewExternalAssetsParams object with the ability to set a timeout on a request.

func (*BlobPreviewExternalAssetsParams) SetAssetID

func (o *BlobPreviewExternalAssetsParams) SetAssetID(assetID string)

SetAssetID adds the assetId to the blob preview external assets params

func (*BlobPreviewExternalAssetsParams) SetContext

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

SetContext adds the context to the blob preview external assets params

func (*BlobPreviewExternalAssetsParams) SetDefaults

func (o *BlobPreviewExternalAssetsParams) SetDefaults()

SetDefaults hydrates default values in the blob preview external assets params (not the query body).

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

func (*BlobPreviewExternalAssetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the blob preview external assets params

func (*BlobPreviewExternalAssetsParams) SetHash

func (o *BlobPreviewExternalAssetsParams) SetHash(hash string)

SetHash adds the hash to the blob preview external assets params

func (*BlobPreviewExternalAssetsParams) SetTimeout

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

SetTimeout adds the timeout to the blob preview external assets params

func (*BlobPreviewExternalAssetsParams) WithAssetID

WithAssetID adds the assetID to the blob preview external assets params

func (*BlobPreviewExternalAssetsParams) WithContext

WithContext adds the context to the blob preview external assets params

func (*BlobPreviewExternalAssetsParams) WithDefaults

WithDefaults hydrates default values in the blob preview external assets params (not the query body).

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

func (*BlobPreviewExternalAssetsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the blob preview external assets params

func (*BlobPreviewExternalAssetsParams) WithHash

WithHash adds the hash to the blob preview external assets params

func (*BlobPreviewExternalAssetsParams) WithTimeout

WithTimeout adds the timeout to the blob preview external assets params

func (*BlobPreviewExternalAssetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BlobPreviewExternalAssetsReader

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

BlobPreviewExternalAssetsReader is a Reader for the BlobPreviewExternalAssets structure.

func (*BlobPreviewExternalAssetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BlobPreviewExternalAssetsTooManyRequests

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

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

Too Many Requests

func NewBlobPreviewExternalAssetsTooManyRequests

func NewBlobPreviewExternalAssetsTooManyRequests() *BlobPreviewExternalAssetsTooManyRequests

NewBlobPreviewExternalAssetsTooManyRequests creates a BlobPreviewExternalAssetsTooManyRequests with default headers values

func (*BlobPreviewExternalAssetsTooManyRequests) Code

Code gets the status code for the blob preview external assets too many requests response

func (*BlobPreviewExternalAssetsTooManyRequests) Error

func (*BlobPreviewExternalAssetsTooManyRequests) GetPayload

func (*BlobPreviewExternalAssetsTooManyRequests) IsClientError

IsClientError returns true when this blob preview external assets too many requests response has a 4xx status code

func (*BlobPreviewExternalAssetsTooManyRequests) IsCode

IsCode returns true when this blob preview external assets too many requests response a status code equal to that given

func (*BlobPreviewExternalAssetsTooManyRequests) IsRedirect

IsRedirect returns true when this blob preview external assets too many requests response has a 3xx status code

func (*BlobPreviewExternalAssetsTooManyRequests) IsServerError

IsServerError returns true when this blob preview external assets too many requests response has a 5xx status code

func (*BlobPreviewExternalAssetsTooManyRequests) IsSuccess

IsSuccess returns true when this blob preview external assets too many requests response has a 2xx status code

func (*BlobPreviewExternalAssetsTooManyRequests) String

type Client

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

Client for exposure management API

func (*Client) AggregateExternalAssets

func (a *Client) AggregateExternalAssets(params *AggregateExternalAssetsParams, opts ...ClientOption) (*AggregateExternalAssetsOK, error)

AggregateExternalAssets returns external assets aggregates

Returns external assets aggregates as specified via JSON in request body.

func (*Client) BlobDownloadExternalAssets

func (a *Client) BlobDownloadExternalAssets(params *BlobDownloadExternalAssetsParams, opts ...ClientOption) (*BlobDownloadExternalAssetsOK, error)

BlobDownloadExternalAssets downloads the entire contents of the blob the relative link to this endpoint is returned in the g e t entities external assets v1 request

Download the entire contents of the blob.

func (*Client) BlobPreviewExternalAssets

func (a *Client) BlobPreviewExternalAssets(params *BlobPreviewExternalAssetsParams, opts ...ClientOption) (*BlobPreviewExternalAssetsOK, error)

BlobPreviewExternalAssets downloads a preview of the blob the relative link to this endpoint is returned in the g e t entities external assets v1 request

Download a preview of the blob.

func (*Client) GetExternalAssets

func (a *Client) GetExternalAssets(params *GetExternalAssetsParams, opts ...ClientOption) (*GetExternalAssetsOK, error)

GetExternalAssets gets details on external assets by providing one or more i ds

func (*Client) PatchExternalAssets

func (a *Client) PatchExternalAssets(params *PatchExternalAssetsParams, opts ...ClientOption) (*PatchExternalAssetsOK, error)

PatchExternalAssets updates the details of external assets

func (*Client) QueryExternalAssets

func (a *Client) QueryExternalAssets(params *QueryExternalAssetsParams, opts ...ClientOption) (*QueryExternalAssetsOK, error)

QueryExternalAssets gets a list of external asset i ds that match the provided filter conditions use these i ds with the entities external assets v1 endpoints

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 {
	AggregateExternalAssets(params *AggregateExternalAssetsParams, opts ...ClientOption) (*AggregateExternalAssetsOK, error)

	BlobDownloadExternalAssets(params *BlobDownloadExternalAssetsParams, opts ...ClientOption) (*BlobDownloadExternalAssetsOK, error)

	BlobPreviewExternalAssets(params *BlobPreviewExternalAssetsParams, opts ...ClientOption) (*BlobPreviewExternalAssetsOK, error)

	GetExternalAssets(params *GetExternalAssetsParams, opts ...ClientOption) (*GetExternalAssetsOK, error)

	PatchExternalAssets(params *PatchExternalAssetsParams, opts ...ClientOption) (*PatchExternalAssetsOK, error)

	QueryExternalAssets(params *QueryExternalAssetsParams, opts ...ClientOption) (*QueryExternalAssetsOK, 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 exposure management API client.

type GetExternalAssetsBadRequest

type GetExternalAssetsBadRequest struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Bad Request

func NewGetExternalAssetsBadRequest

func NewGetExternalAssetsBadRequest() *GetExternalAssetsBadRequest

NewGetExternalAssetsBadRequest creates a GetExternalAssetsBadRequest with default headers values

func (*GetExternalAssetsBadRequest) Code

func (o *GetExternalAssetsBadRequest) Code() int

Code gets the status code for the get external assets bad request response

func (*GetExternalAssetsBadRequest) Error

func (*GetExternalAssetsBadRequest) GetPayload

func (*GetExternalAssetsBadRequest) IsClientError

func (o *GetExternalAssetsBadRequest) IsClientError() bool

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

func (*GetExternalAssetsBadRequest) IsCode

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

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

func (*GetExternalAssetsBadRequest) IsRedirect

func (o *GetExternalAssetsBadRequest) IsRedirect() bool

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

func (*GetExternalAssetsBadRequest) IsServerError

func (o *GetExternalAssetsBadRequest) IsServerError() bool

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

func (*GetExternalAssetsBadRequest) IsSuccess

func (o *GetExternalAssetsBadRequest) IsSuccess() bool

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

func (*GetExternalAssetsBadRequest) String

func (o *GetExternalAssetsBadRequest) String() string

type GetExternalAssetsForbidden

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

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

Forbidden

func NewGetExternalAssetsForbidden

func NewGetExternalAssetsForbidden() *GetExternalAssetsForbidden

NewGetExternalAssetsForbidden creates a GetExternalAssetsForbidden with default headers values

func (*GetExternalAssetsForbidden) Code

func (o *GetExternalAssetsForbidden) Code() int

Code gets the status code for the get external assets forbidden response

func (*GetExternalAssetsForbidden) Error

func (*GetExternalAssetsForbidden) GetPayload

func (*GetExternalAssetsForbidden) IsClientError

func (o *GetExternalAssetsForbidden) IsClientError() bool

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

func (*GetExternalAssetsForbidden) IsCode

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

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

func (*GetExternalAssetsForbidden) IsRedirect

func (o *GetExternalAssetsForbidden) IsRedirect() bool

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

func (*GetExternalAssetsForbidden) IsServerError

func (o *GetExternalAssetsForbidden) IsServerError() bool

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

func (*GetExternalAssetsForbidden) IsSuccess

func (o *GetExternalAssetsForbidden) IsSuccess() bool

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

func (*GetExternalAssetsForbidden) String

func (o *GetExternalAssetsForbidden) String() string

type GetExternalAssetsInternalServerError

type GetExternalAssetsInternalServerError struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Internal Server Error

func NewGetExternalAssetsInternalServerError

func NewGetExternalAssetsInternalServerError() *GetExternalAssetsInternalServerError

NewGetExternalAssetsInternalServerError creates a GetExternalAssetsInternalServerError with default headers values

func (*GetExternalAssetsInternalServerError) Code

Code gets the status code for the get external assets internal server error response

func (*GetExternalAssetsInternalServerError) Error

func (*GetExternalAssetsInternalServerError) GetPayload

func (*GetExternalAssetsInternalServerError) IsClientError

func (o *GetExternalAssetsInternalServerError) IsClientError() bool

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

func (*GetExternalAssetsInternalServerError) IsCode

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

func (*GetExternalAssetsInternalServerError) IsRedirect

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

func (*GetExternalAssetsInternalServerError) IsServerError

func (o *GetExternalAssetsInternalServerError) IsServerError() bool

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

func (*GetExternalAssetsInternalServerError) IsSuccess

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

func (*GetExternalAssetsInternalServerError) String

type GetExternalAssetsOK

type GetExternalAssetsOK 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.DomainExternalAssetsAPITypeV1
}

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

OK

func NewGetExternalAssetsOK

func NewGetExternalAssetsOK() *GetExternalAssetsOK

NewGetExternalAssetsOK creates a GetExternalAssetsOK with default headers values

func (*GetExternalAssetsOK) Code

func (o *GetExternalAssetsOK) Code() int

Code gets the status code for the get external assets o k response

func (*GetExternalAssetsOK) Error

func (o *GetExternalAssetsOK) Error() string

func (*GetExternalAssetsOK) GetPayload

func (*GetExternalAssetsOK) IsClientError

func (o *GetExternalAssetsOK) IsClientError() bool

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

func (*GetExternalAssetsOK) IsCode

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

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

func (*GetExternalAssetsOK) IsRedirect

func (o *GetExternalAssetsOK) IsRedirect() bool

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

func (*GetExternalAssetsOK) IsServerError

func (o *GetExternalAssetsOK) IsServerError() bool

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

func (*GetExternalAssetsOK) IsSuccess

func (o *GetExternalAssetsOK) IsSuccess() bool

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

func (*GetExternalAssetsOK) String

func (o *GetExternalAssetsOK) String() string

type GetExternalAssetsParams

type GetExternalAssetsParams struct {

	/* Ids.

	   One or more asset IDs (max: 100). Find asset IDs with GET `/fem/queries/external-assets/v1`
	*/
	Ids []string

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

GetExternalAssetsParams contains all the parameters to send to the API endpoint

for the get external assets operation.

Typically these are written to a http.Request.

func NewGetExternalAssetsParams

func NewGetExternalAssetsParams() *GetExternalAssetsParams

NewGetExternalAssetsParams creates a new GetExternalAssetsParams 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 NewGetExternalAssetsParamsWithContext

func NewGetExternalAssetsParamsWithContext(ctx context.Context) *GetExternalAssetsParams

NewGetExternalAssetsParamsWithContext creates a new GetExternalAssetsParams object with the ability to set a context for a request.

func NewGetExternalAssetsParamsWithHTTPClient

func NewGetExternalAssetsParamsWithHTTPClient(client *http.Client) *GetExternalAssetsParams

NewGetExternalAssetsParamsWithHTTPClient creates a new GetExternalAssetsParams object with the ability to set a custom HTTPClient for a request.

func NewGetExternalAssetsParamsWithTimeout

func NewGetExternalAssetsParamsWithTimeout(timeout time.Duration) *GetExternalAssetsParams

NewGetExternalAssetsParamsWithTimeout creates a new GetExternalAssetsParams object with the ability to set a timeout on a request.

func (*GetExternalAssetsParams) SetContext

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

SetContext adds the context to the get external assets params

func (*GetExternalAssetsParams) SetDefaults

func (o *GetExternalAssetsParams) SetDefaults()

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

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

func (*GetExternalAssetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get external assets params

func (*GetExternalAssetsParams) SetIds

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

SetIds adds the ids to the get external assets params

func (*GetExternalAssetsParams) SetTimeout

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

SetTimeout adds the timeout to the get external assets params

func (*GetExternalAssetsParams) WithContext

WithContext adds the context to the get external assets params

func (*GetExternalAssetsParams) WithDefaults

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

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

func (*GetExternalAssetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get external assets params

func (*GetExternalAssetsParams) WithIds

WithIds adds the ids to the get external assets params

func (*GetExternalAssetsParams) WithTimeout

WithTimeout adds the timeout to the get external assets params

func (*GetExternalAssetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetExternalAssetsReader

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

GetExternalAssetsReader is a Reader for the GetExternalAssets structure.

func (*GetExternalAssetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetExternalAssetsTooManyRequests

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

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

Too Many Requests

func NewGetExternalAssetsTooManyRequests

func NewGetExternalAssetsTooManyRequests() *GetExternalAssetsTooManyRequests

NewGetExternalAssetsTooManyRequests creates a GetExternalAssetsTooManyRequests with default headers values

func (*GetExternalAssetsTooManyRequests) Code

Code gets the status code for the get external assets too many requests response

func (*GetExternalAssetsTooManyRequests) Error

func (*GetExternalAssetsTooManyRequests) GetPayload

func (*GetExternalAssetsTooManyRequests) IsClientError

func (o *GetExternalAssetsTooManyRequests) IsClientError() bool

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

func (*GetExternalAssetsTooManyRequests) IsCode

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

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

func (*GetExternalAssetsTooManyRequests) IsRedirect

func (o *GetExternalAssetsTooManyRequests) IsRedirect() bool

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

func (*GetExternalAssetsTooManyRequests) IsServerError

func (o *GetExternalAssetsTooManyRequests) IsServerError() bool

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

func (*GetExternalAssetsTooManyRequests) IsSuccess

func (o *GetExternalAssetsTooManyRequests) IsSuccess() bool

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

func (*GetExternalAssetsTooManyRequests) String

type PatchExternalAssetsBadRequest

type PatchExternalAssetsBadRequest struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Bad Request

func NewPatchExternalAssetsBadRequest

func NewPatchExternalAssetsBadRequest() *PatchExternalAssetsBadRequest

NewPatchExternalAssetsBadRequest creates a PatchExternalAssetsBadRequest with default headers values

func (*PatchExternalAssetsBadRequest) Code

Code gets the status code for the patch external assets bad request response

func (*PatchExternalAssetsBadRequest) Error

func (*PatchExternalAssetsBadRequest) GetPayload

func (*PatchExternalAssetsBadRequest) IsClientError

func (o *PatchExternalAssetsBadRequest) IsClientError() bool

IsClientError returns true when this patch external assets bad request response has a 4xx status code

func (*PatchExternalAssetsBadRequest) IsCode

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

IsCode returns true when this patch external assets bad request response a status code equal to that given

func (*PatchExternalAssetsBadRequest) IsRedirect

func (o *PatchExternalAssetsBadRequest) IsRedirect() bool

IsRedirect returns true when this patch external assets bad request response has a 3xx status code

func (*PatchExternalAssetsBadRequest) IsServerError

func (o *PatchExternalAssetsBadRequest) IsServerError() bool

IsServerError returns true when this patch external assets bad request response has a 5xx status code

func (*PatchExternalAssetsBadRequest) IsSuccess

func (o *PatchExternalAssetsBadRequest) IsSuccess() bool

IsSuccess returns true when this patch external assets bad request response has a 2xx status code

func (*PatchExternalAssetsBadRequest) String

type PatchExternalAssetsForbidden

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

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

Forbidden

func NewPatchExternalAssetsForbidden

func NewPatchExternalAssetsForbidden() *PatchExternalAssetsForbidden

NewPatchExternalAssetsForbidden creates a PatchExternalAssetsForbidden with default headers values

func (*PatchExternalAssetsForbidden) Code

Code gets the status code for the patch external assets forbidden response

func (*PatchExternalAssetsForbidden) Error

func (*PatchExternalAssetsForbidden) GetPayload

func (*PatchExternalAssetsForbidden) IsClientError

func (o *PatchExternalAssetsForbidden) IsClientError() bool

IsClientError returns true when this patch external assets forbidden response has a 4xx status code

func (*PatchExternalAssetsForbidden) IsCode

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

IsCode returns true when this patch external assets forbidden response a status code equal to that given

func (*PatchExternalAssetsForbidden) IsRedirect

func (o *PatchExternalAssetsForbidden) IsRedirect() bool

IsRedirect returns true when this patch external assets forbidden response has a 3xx status code

func (*PatchExternalAssetsForbidden) IsServerError

func (o *PatchExternalAssetsForbidden) IsServerError() bool

IsServerError returns true when this patch external assets forbidden response has a 5xx status code

func (*PatchExternalAssetsForbidden) IsSuccess

func (o *PatchExternalAssetsForbidden) IsSuccess() bool

IsSuccess returns true when this patch external assets forbidden response has a 2xx status code

func (*PatchExternalAssetsForbidden) String

type PatchExternalAssetsInternalServerError

type PatchExternalAssetsInternalServerError struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Internal Server Error

func NewPatchExternalAssetsInternalServerError

func NewPatchExternalAssetsInternalServerError() *PatchExternalAssetsInternalServerError

NewPatchExternalAssetsInternalServerError creates a PatchExternalAssetsInternalServerError with default headers values

func (*PatchExternalAssetsInternalServerError) Code

Code gets the status code for the patch external assets internal server error response

func (*PatchExternalAssetsInternalServerError) Error

func (*PatchExternalAssetsInternalServerError) GetPayload

func (*PatchExternalAssetsInternalServerError) IsClientError

func (o *PatchExternalAssetsInternalServerError) IsClientError() bool

IsClientError returns true when this patch external assets internal server error response has a 4xx status code

func (*PatchExternalAssetsInternalServerError) IsCode

IsCode returns true when this patch external assets internal server error response a status code equal to that given

func (*PatchExternalAssetsInternalServerError) IsRedirect

IsRedirect returns true when this patch external assets internal server error response has a 3xx status code

func (*PatchExternalAssetsInternalServerError) IsServerError

func (o *PatchExternalAssetsInternalServerError) IsServerError() bool

IsServerError returns true when this patch external assets internal server error response has a 5xx status code

func (*PatchExternalAssetsInternalServerError) IsSuccess

IsSuccess returns true when this patch external assets internal server error response has a 2xx status code

func (*PatchExternalAssetsInternalServerError) String

type PatchExternalAssetsOK

type PatchExternalAssetsOK 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.DomainExternalAssetsAPITypeV1
}

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

OK

func NewPatchExternalAssetsOK

func NewPatchExternalAssetsOK() *PatchExternalAssetsOK

NewPatchExternalAssetsOK creates a PatchExternalAssetsOK with default headers values

func (*PatchExternalAssetsOK) Code

func (o *PatchExternalAssetsOK) Code() int

Code gets the status code for the patch external assets o k response

func (*PatchExternalAssetsOK) Error

func (o *PatchExternalAssetsOK) Error() string

func (*PatchExternalAssetsOK) GetPayload

func (*PatchExternalAssetsOK) IsClientError

func (o *PatchExternalAssetsOK) IsClientError() bool

IsClientError returns true when this patch external assets o k response has a 4xx status code

func (*PatchExternalAssetsOK) IsCode

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

IsCode returns true when this patch external assets o k response a status code equal to that given

func (*PatchExternalAssetsOK) IsRedirect

func (o *PatchExternalAssetsOK) IsRedirect() bool

IsRedirect returns true when this patch external assets o k response has a 3xx status code

func (*PatchExternalAssetsOK) IsServerError

func (o *PatchExternalAssetsOK) IsServerError() bool

IsServerError returns true when this patch external assets o k response has a 5xx status code

func (*PatchExternalAssetsOK) IsSuccess

func (o *PatchExternalAssetsOK) IsSuccess() bool

IsSuccess returns true when this patch external assets o k response has a 2xx status code

func (*PatchExternalAssetsOK) String

func (o *PatchExternalAssetsOK) String() string

type PatchExternalAssetsParams

type PatchExternalAssetsParams struct {

	// Body.
	Body *models.DomainExternalAssetAPIPatchRequestV1

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

PatchExternalAssetsParams contains all the parameters to send to the API endpoint

for the patch external assets operation.

Typically these are written to a http.Request.

func NewPatchExternalAssetsParams

func NewPatchExternalAssetsParams() *PatchExternalAssetsParams

NewPatchExternalAssetsParams creates a new PatchExternalAssetsParams 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 NewPatchExternalAssetsParamsWithContext

func NewPatchExternalAssetsParamsWithContext(ctx context.Context) *PatchExternalAssetsParams

NewPatchExternalAssetsParamsWithContext creates a new PatchExternalAssetsParams object with the ability to set a context for a request.

func NewPatchExternalAssetsParamsWithHTTPClient

func NewPatchExternalAssetsParamsWithHTTPClient(client *http.Client) *PatchExternalAssetsParams

NewPatchExternalAssetsParamsWithHTTPClient creates a new PatchExternalAssetsParams object with the ability to set a custom HTTPClient for a request.

func NewPatchExternalAssetsParamsWithTimeout

func NewPatchExternalAssetsParamsWithTimeout(timeout time.Duration) *PatchExternalAssetsParams

NewPatchExternalAssetsParamsWithTimeout creates a new PatchExternalAssetsParams object with the ability to set a timeout on a request.

func (*PatchExternalAssetsParams) SetBody

SetBody adds the body to the patch external assets params

func (*PatchExternalAssetsParams) SetContext

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

SetContext adds the context to the patch external assets params

func (*PatchExternalAssetsParams) SetDefaults

func (o *PatchExternalAssetsParams) SetDefaults()

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

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

func (*PatchExternalAssetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch external assets params

func (*PatchExternalAssetsParams) SetTimeout

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

SetTimeout adds the timeout to the patch external assets params

func (*PatchExternalAssetsParams) WithBody

WithBody adds the body to the patch external assets params

func (*PatchExternalAssetsParams) WithContext

WithContext adds the context to the patch external assets params

func (*PatchExternalAssetsParams) WithDefaults

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

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

func (*PatchExternalAssetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch external assets params

func (*PatchExternalAssetsParams) WithTimeout

WithTimeout adds the timeout to the patch external assets params

func (*PatchExternalAssetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchExternalAssetsReader

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

PatchExternalAssetsReader is a Reader for the PatchExternalAssets structure.

func (*PatchExternalAssetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchExternalAssetsTooManyRequests

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

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

Too Many Requests

func NewPatchExternalAssetsTooManyRequests

func NewPatchExternalAssetsTooManyRequests() *PatchExternalAssetsTooManyRequests

NewPatchExternalAssetsTooManyRequests creates a PatchExternalAssetsTooManyRequests with default headers values

func (*PatchExternalAssetsTooManyRequests) Code

Code gets the status code for the patch external assets too many requests response

func (*PatchExternalAssetsTooManyRequests) Error

func (*PatchExternalAssetsTooManyRequests) GetPayload

func (*PatchExternalAssetsTooManyRequests) IsClientError

func (o *PatchExternalAssetsTooManyRequests) IsClientError() bool

IsClientError returns true when this patch external assets too many requests response has a 4xx status code

func (*PatchExternalAssetsTooManyRequests) IsCode

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

func (*PatchExternalAssetsTooManyRequests) IsRedirect

func (o *PatchExternalAssetsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this patch external assets too many requests response has a 3xx status code

func (*PatchExternalAssetsTooManyRequests) IsServerError

func (o *PatchExternalAssetsTooManyRequests) IsServerError() bool

IsServerError returns true when this patch external assets too many requests response has a 5xx status code

func (*PatchExternalAssetsTooManyRequests) IsSuccess

IsSuccess returns true when this patch external assets too many requests response has a 2xx status code

func (*PatchExternalAssetsTooManyRequests) String

type QueryExternalAssetsBadRequest

type QueryExternalAssetsBadRequest struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Bad Request

func NewQueryExternalAssetsBadRequest

func NewQueryExternalAssetsBadRequest() *QueryExternalAssetsBadRequest

NewQueryExternalAssetsBadRequest creates a QueryExternalAssetsBadRequest with default headers values

func (*QueryExternalAssetsBadRequest) Code

Code gets the status code for the query external assets bad request response

func (*QueryExternalAssetsBadRequest) Error

func (*QueryExternalAssetsBadRequest) GetPayload

func (*QueryExternalAssetsBadRequest) IsClientError

func (o *QueryExternalAssetsBadRequest) IsClientError() bool

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

func (*QueryExternalAssetsBadRequest) IsCode

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

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

func (*QueryExternalAssetsBadRequest) IsRedirect

func (o *QueryExternalAssetsBadRequest) IsRedirect() bool

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

func (*QueryExternalAssetsBadRequest) IsServerError

func (o *QueryExternalAssetsBadRequest) IsServerError() bool

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

func (*QueryExternalAssetsBadRequest) IsSuccess

func (o *QueryExternalAssetsBadRequest) IsSuccess() bool

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

func (*QueryExternalAssetsBadRequest) String

type QueryExternalAssetsForbidden

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

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

Forbidden

func NewQueryExternalAssetsForbidden

func NewQueryExternalAssetsForbidden() *QueryExternalAssetsForbidden

NewQueryExternalAssetsForbidden creates a QueryExternalAssetsForbidden with default headers values

func (*QueryExternalAssetsForbidden) Code

Code gets the status code for the query external assets forbidden response

func (*QueryExternalAssetsForbidden) Error

func (*QueryExternalAssetsForbidden) GetPayload

func (*QueryExternalAssetsForbidden) IsClientError

func (o *QueryExternalAssetsForbidden) IsClientError() bool

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

func (*QueryExternalAssetsForbidden) IsCode

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

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

func (*QueryExternalAssetsForbidden) IsRedirect

func (o *QueryExternalAssetsForbidden) IsRedirect() bool

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

func (*QueryExternalAssetsForbidden) IsServerError

func (o *QueryExternalAssetsForbidden) IsServerError() bool

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

func (*QueryExternalAssetsForbidden) IsSuccess

func (o *QueryExternalAssetsForbidden) IsSuccess() bool

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

func (*QueryExternalAssetsForbidden) String

type QueryExternalAssetsInternalServerError

type QueryExternalAssetsInternalServerError struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecResponseFields
}

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

Internal Server Error

func NewQueryExternalAssetsInternalServerError

func NewQueryExternalAssetsInternalServerError() *QueryExternalAssetsInternalServerError

NewQueryExternalAssetsInternalServerError creates a QueryExternalAssetsInternalServerError with default headers values

func (*QueryExternalAssetsInternalServerError) Code

Code gets the status code for the query external assets internal server error response

func (*QueryExternalAssetsInternalServerError) Error

func (*QueryExternalAssetsInternalServerError) GetPayload

func (*QueryExternalAssetsInternalServerError) IsClientError

func (o *QueryExternalAssetsInternalServerError) IsClientError() bool

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

func (*QueryExternalAssetsInternalServerError) IsCode

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

func (*QueryExternalAssetsInternalServerError) IsRedirect

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

func (*QueryExternalAssetsInternalServerError) IsServerError

func (o *QueryExternalAssetsInternalServerError) IsServerError() bool

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

func (*QueryExternalAssetsInternalServerError) IsSuccess

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

func (*QueryExternalAssetsInternalServerError) String

type QueryExternalAssetsOK

type QueryExternalAssetsOK struct {

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

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaspecQueryResponse
}

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

OK

func NewQueryExternalAssetsOK

func NewQueryExternalAssetsOK() *QueryExternalAssetsOK

NewQueryExternalAssetsOK creates a QueryExternalAssetsOK with default headers values

func (*QueryExternalAssetsOK) Code

func (o *QueryExternalAssetsOK) Code() int

Code gets the status code for the query external assets o k response

func (*QueryExternalAssetsOK) Error

func (o *QueryExternalAssetsOK) Error() string

func (*QueryExternalAssetsOK) GetPayload

func (*QueryExternalAssetsOK) IsClientError

func (o *QueryExternalAssetsOK) IsClientError() bool

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

func (*QueryExternalAssetsOK) IsCode

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

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

func (*QueryExternalAssetsOK) IsRedirect

func (o *QueryExternalAssetsOK) IsRedirect() bool

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

func (*QueryExternalAssetsOK) IsServerError

func (o *QueryExternalAssetsOK) IsServerError() bool

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

func (*QueryExternalAssetsOK) IsSuccess

func (o *QueryExternalAssetsOK) IsSuccess() bool

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

func (*QueryExternalAssetsOK) String

func (o *QueryExternalAssetsOK) String() string

type QueryExternalAssetsParams

type QueryExternalAssetsParams struct {

	/* Filter.

	     Filter assets using an FQL query. Common filter options include:<ul><li>asset_type:'ip'</li><li>last_seen_timestamp:>'now-7d'</li></ul>
				</br>Available filter fields that support exact match: asset_id, asset_type, confidence, connectivity_status, criticality, criticality_description, criticality_timestamp, criticality_username, data_providers, discovered_by, dns_domain.fqdn, dns_domain.isps, dns_domain.parent_domain, dns_domain.resolved_ips, dns_domain.services.applications.category, dns_domain.services.applications.cpe, dns_domain.services.applications.name, dns_domain.services.applications.vendor, dns_domain.services.applications.version, dns_domain.services.cloud_provider, dns_domain.services.cpes, dns_domain.services.hosting_provider, dns_domain.services.last_seen, dns_domain.services.platform_name, dns_domain.services.port, dns_domain.services.protocol, dns_domain.services.protocol_port, dns_domain.services.status, dns_domain.services.status_code, dns_domain.services.transport, dns_domain.type, first_seen, id, internet_exposure, ip.asn, ip.cloud_vm.description, ip.cloud_vm.instance_id, ip.cloud_vm.lifecycle, ip.cloud_vm.mac_address, ip.cloud_vm.owner_id, ip.cloud_vm.platform, ip.cloud_vm.private_ip, ip.cloud_vm.public_ip, ip.cloud_vm.region, ip.cloud_vm.security_groups, ip.cloud_vm.source, ip.cloud_vm.status, ip.fqdns, ip.ip_address, ip.isp, ip.location.area_code, ip.location.city, ip.location.country_code, ip.location.country_name, ip.location.postal_code, ip.location.region_code, ip.location.region_name, ip.location.timezone, ip.ptr, ip.aid, ip.services.applications.category, ip.services.applications.cpe, ip.services.applications.name, ip.services.applications.vendor, ip.services.applications.version, ip.services.cloud_provider, ip.services.cpes, ip.services.first_seen, ip.services.last_seen, ip.services.platform_name, ip.services.port, ip.services.protocol, ip.services.protocol_port, ip.services.status, ip.services.status_code, ip.services.transport, last_seen, manual, perimeter, subsidiaries.id, subsidiaries.name, triage.action, triage.assigned_to, triage.status, triage.updated_by, triage.updated_timestamp
				</br>Available filter fields that supports wildcard (*): asset_id, asset_type, confidence, connectivity_status, criticality, criticality_username, data_providers, discovered_by, dns_domain.fqdn, dns_domain.isps, dns_domain.parent_domain, dns_domain.resolved_ips, dns_domain.services.applications.category, dns_domain.services.applications.cpe, dns_domain.services.applications.name, dns_domain.services.applications.vendor, dns_domain.services.applications.version, dns_domain.services.cloud_provider, dns_domain.services.cpes, dns_domain.services.hosting_provider, dns_domain.services.id, dns_domain.services.platform_name, dns_domain.services.port, dns_domain.services.protocol, dns_domain.services.protocol_port, dns_domain.services.status, dns_domain.services.status_code, dns_domain.services.transport, dns_domain.type, id, internet_exposure, ip.asn, ip.cloud_vm.instance_id, ip.cloud_vm.lifecycle, ip.cloud_vm.mac_address, ip.cloud_vm.owner_id, ip.cloud_vm.platform, ip.cloud_vm.private_ip, ip.cloud_vm.public_ip, ip.cloud_vm.region, ip.cloud_vm.security_groups, ip.cloud_vm.source, ip.cloud_vm.status, ip.fqdns, ip.ip_address, ip.isp, ip.location.area_code, ip.location.city, ip.location.country_code, ip.location.country_name, ip.location.postal_code, ip.location.region_code, ip.location.region_name, ip.location.timezone, ip.ptr, ip.aid, ip.services.applications.category, ip.services.applications.cpe, ip.services.applications.name, ip.services.applications.vendor, ip.services.applications.version, ip.services.cloud_provider, ip.services.cpes, ip.services.platform_name, ip.services.port, ip.services.protocol, ip.services.protocol_port, ip.services.status, ip.services.status_code, ip.services.transport, manual, perimeter, subsidiaries.id, subsidiaries.name, triage.action, triage.assigned_to, triage.status, triage.updated_by
				</br>Available filter fields that supports in ([v1, v2]): asset_id, asset_type, confidence, connectivity_status, criticality, criticality_username, data_providers, discovered_by, dns_domain.fqdn, dns_domain.isps, dns_domain.parent_domain, dns_domain.services.applications.category, dns_domain.services.applications.cpe, dns_domain.services.applications.name, dns_domain.services.applications.vendor, dns_domain.services.applications.version, dns_domain.services.cloud_provider, dns_domain.services.cpes, dns_domain.services.id, dns_domain.services.platform_name, dns_domain.services.port, dns_domain.services.protocol, dns_domain.services.protocol_port, dns_domain.services.status, dns_domain.services.status_code, dns_domain.services.transport, dns_domain.type, id, internet_exposure, ip.asn, ip.cloud_vm.instance_id, ip.cloud_vm.lifecycle, ip.cloud_vm.mac_address, ip.cloud_vm.owner_id, ip.cloud_vm.platform, ip.cloud_vm.region, ip.cloud_vm.security_groups, ip.cloud_vm.source, ip.cloud_vm.status, ip.fqdns, ip.isp, ip.location.area_code, ip.location.city, ip.location.country_code, ip.location.country_name, ip.location.postal_code, ip.location.region_code, ip.location.region_name, ip.location.timezone, ip.ptr, ip.aid, ip.services.applications.category, ip.services.applications.cpe, ip.services.applications.name, ip.services.applications.vendor, ip.services.applications.version, ip.services.cloud_provider, ip.services.cpes, ip.services.platform_name, ip.services.port, ip.services.protocol, ip.services.protocol_port, ip.services.status, ip.services.status_code, ip.services.transport, manual, perimeter, subsidiaries.id, subsidiaries.name, triage.action, triage.assigned_to, triage.status, triage.updated_by
				</br>Available filter fields that supports range comparisons (>, <, >=, <=): criticality_timestamp, dns_domain.resolved_ips, dns_domain.services.first_seen, dns_domain.services.last_seen, dns_domain.services.port, dns_domain.services.status_code, first_seen, ip.cloud_vm.private_ip, ip.cloud_vm.public_ip, ip.ip_address, ip.services.first_seen, ip.services.last_seen, ip.services.port, ip.services.status_code, last_seen, triage.updated_timestamp
				</br>All filter fields and operations supports negation (!).
	*/
	Filter *string

	/* Limit.

	   Number of IDs to return.
	*/
	Limit *int64

	/* Offset.

	   Starting index of result set from which to return IDs.
	*/
	Offset *string

	/* Sort.

	   Order by fields.
	*/
	Sort *string

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

QueryExternalAssetsParams contains all the parameters to send to the API endpoint

for the query external assets operation.

Typically these are written to a http.Request.

func NewQueryExternalAssetsParams

func NewQueryExternalAssetsParams() *QueryExternalAssetsParams

NewQueryExternalAssetsParams creates a new QueryExternalAssetsParams 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 NewQueryExternalAssetsParamsWithContext

func NewQueryExternalAssetsParamsWithContext(ctx context.Context) *QueryExternalAssetsParams

NewQueryExternalAssetsParamsWithContext creates a new QueryExternalAssetsParams object with the ability to set a context for a request.

func NewQueryExternalAssetsParamsWithHTTPClient

func NewQueryExternalAssetsParamsWithHTTPClient(client *http.Client) *QueryExternalAssetsParams

NewQueryExternalAssetsParamsWithHTTPClient creates a new QueryExternalAssetsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryExternalAssetsParamsWithTimeout

func NewQueryExternalAssetsParamsWithTimeout(timeout time.Duration) *QueryExternalAssetsParams

NewQueryExternalAssetsParamsWithTimeout creates a new QueryExternalAssetsParams object with the ability to set a timeout on a request.

func (*QueryExternalAssetsParams) SetContext

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

SetContext adds the context to the query external assets params

func (*QueryExternalAssetsParams) SetDefaults

func (o *QueryExternalAssetsParams) SetDefaults()

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

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

func (*QueryExternalAssetsParams) SetFilter

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

SetFilter adds the filter to the query external assets params

func (*QueryExternalAssetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query external assets params

func (*QueryExternalAssetsParams) SetLimit

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

SetLimit adds the limit to the query external assets params

func (*QueryExternalAssetsParams) SetOffset

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

SetOffset adds the offset to the query external assets params

func (*QueryExternalAssetsParams) SetSort

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

SetSort adds the sort to the query external assets params

func (*QueryExternalAssetsParams) SetTimeout

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

SetTimeout adds the timeout to the query external assets params

func (*QueryExternalAssetsParams) WithContext

WithContext adds the context to the query external assets params

func (*QueryExternalAssetsParams) WithDefaults

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

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

func (*QueryExternalAssetsParams) WithFilter

WithFilter adds the filter to the query external assets params

func (*QueryExternalAssetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query external assets params

func (*QueryExternalAssetsParams) WithLimit

WithLimit adds the limit to the query external assets params

func (*QueryExternalAssetsParams) WithOffset

WithOffset adds the offset to the query external assets params

func (*QueryExternalAssetsParams) WithSort

WithSort adds the sort to the query external assets params

func (*QueryExternalAssetsParams) WithTimeout

WithTimeout adds the timeout to the query external assets params

func (*QueryExternalAssetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryExternalAssetsReader

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

QueryExternalAssetsReader is a Reader for the QueryExternalAssets structure.

func (*QueryExternalAssetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryExternalAssetsTooManyRequests

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

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

Too Many Requests

func NewQueryExternalAssetsTooManyRequests

func NewQueryExternalAssetsTooManyRequests() *QueryExternalAssetsTooManyRequests

NewQueryExternalAssetsTooManyRequests creates a QueryExternalAssetsTooManyRequests with default headers values

func (*QueryExternalAssetsTooManyRequests) Code

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

func (*QueryExternalAssetsTooManyRequests) Error

func (*QueryExternalAssetsTooManyRequests) GetPayload

func (*QueryExternalAssetsTooManyRequests) IsClientError

func (o *QueryExternalAssetsTooManyRequests) IsClientError() bool

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

func (*QueryExternalAssetsTooManyRequests) IsCode

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

func (*QueryExternalAssetsTooManyRequests) IsRedirect

func (o *QueryExternalAssetsTooManyRequests) IsRedirect() bool

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

func (*QueryExternalAssetsTooManyRequests) IsServerError

func (o *QueryExternalAssetsTooManyRequests) IsServerError() bool

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

func (*QueryExternalAssetsTooManyRequests) IsSuccess

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

func (*QueryExternalAssetsTooManyRequests) String

Jump to

Keyboard shortcuts

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