operations

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddResourcesBadRequest

type AddResourcesBadRequest struct {
	Payload *models.Error
}

AddResourcesBadRequest handles this case with default header values.

Bad request

func NewAddResourcesBadRequest

func NewAddResourcesBadRequest() *AddResourcesBadRequest

NewAddResourcesBadRequest creates a AddResourcesBadRequest with default headers values

func (*AddResourcesBadRequest) Error

func (o *AddResourcesBadRequest) Error() string

func (*AddResourcesBadRequest) GetPayload

func (o *AddResourcesBadRequest) GetPayload() *models.Error

type AddResourcesCreated

type AddResourcesCreated struct {
}

AddResourcesCreated handles this case with default header values.

OK

func NewAddResourcesCreated

func NewAddResourcesCreated() *AddResourcesCreated

NewAddResourcesCreated creates a AddResourcesCreated with default headers values

func (*AddResourcesCreated) Error

func (o *AddResourcesCreated) Error() string

type AddResourcesInternalServerError

type AddResourcesInternalServerError struct {
}

AddResourcesInternalServerError handles this case with default header values.

Internal server error

func NewAddResourcesInternalServerError

func NewAddResourcesInternalServerError() *AddResourcesInternalServerError

NewAddResourcesInternalServerError creates a AddResourcesInternalServerError with default headers values

func (*AddResourcesInternalServerError) Error

type AddResourcesParams

type AddResourcesParams struct {

	/*Body*/
	Body *models.AddResources

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

AddResourcesParams contains all the parameters to send to the API endpoint for the add resources operation typically these are written to a http.Request

func NewAddResourcesParams

func NewAddResourcesParams() *AddResourcesParams

NewAddResourcesParams creates a new AddResourcesParams object with the default values initialized.

func NewAddResourcesParamsWithContext

func NewAddResourcesParamsWithContext(ctx context.Context) *AddResourcesParams

NewAddResourcesParamsWithContext creates a new AddResourcesParams object with the default values initialized, and the ability to set a context for a request

func NewAddResourcesParamsWithHTTPClient

func NewAddResourcesParamsWithHTTPClient(client *http.Client) *AddResourcesParams

NewAddResourcesParamsWithHTTPClient creates a new AddResourcesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddResourcesParamsWithTimeout

func NewAddResourcesParamsWithTimeout(timeout time.Duration) *AddResourcesParams

NewAddResourcesParamsWithTimeout creates a new AddResourcesParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddResourcesParams) SetBody

func (o *AddResourcesParams) SetBody(body *models.AddResources)

SetBody adds the body to the add resources params

func (*AddResourcesParams) SetContext

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

SetContext adds the context to the add resources params

func (*AddResourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add resources params

func (*AddResourcesParams) SetTimeout

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

SetTimeout adds the timeout to the add resources params

func (*AddResourcesParams) WithBody

WithBody adds the body to the add resources params

func (*AddResourcesParams) WithContext

WithContext adds the context to the add resources params

func (*AddResourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add resources params

func (*AddResourcesParams) WithTimeout

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

WithTimeout adds the timeout to the add resources params

func (*AddResourcesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddResourcesReader

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

AddResourcesReader is a Reader for the AddResources structure.

func (*AddResourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for operations API

func (*Client) AddResources

func (a *Client) AddResources(params *AddResourcesParams) (*AddResourcesCreated, error)

AddResources adds or replace resources across one or more accounts

func (*Client) DeleteResources

func (a *Client) DeleteResources(params *DeleteResourcesParams) (*DeleteResourcesOK, error)

DeleteResources deletes resources across multiple accounts

func (*Client) GetOrgOverview

func (a *Client) GetOrgOverview(params *GetOrgOverviewParams) (*GetOrgOverviewOK, error)

GetOrgOverview gets an overview of the resources in an organization

func (*Client) GetResource

func (a *Client) GetResource(params *GetResourceParams) (*GetResourceOK, error)

GetResource gets resource details

func (*Client) ListResources

func (a *Client) ListResources(params *ListResourcesParams) (*ListResourcesOK, error)

ListResources lists resources for a customer account

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService added in v1.0.1

type ClientService interface {
	AddResources(params *AddResourcesParams) (*AddResourcesCreated, error)

	DeleteResources(params *DeleteResourcesParams) (*DeleteResourcesOK, error)

	GetOrgOverview(params *GetOrgOverviewParams) (*GetOrgOverviewOK, error)

	GetResource(params *GetResourceParams) (*GetResourceOK, error)

	ListResources(params *ListResourcesParams) (*ListResourcesOK, 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 operations API client.

type DeleteResourcesBadRequest

type DeleteResourcesBadRequest struct {
	Payload *models.Error
}

DeleteResourcesBadRequest handles this case with default header values.

Bad request

func NewDeleteResourcesBadRequest

func NewDeleteResourcesBadRequest() *DeleteResourcesBadRequest

NewDeleteResourcesBadRequest creates a DeleteResourcesBadRequest with default headers values

func (*DeleteResourcesBadRequest) Error

func (o *DeleteResourcesBadRequest) Error() string

func (*DeleteResourcesBadRequest) GetPayload

func (o *DeleteResourcesBadRequest) GetPayload() *models.Error

type DeleteResourcesInternalServerError

type DeleteResourcesInternalServerError struct {
}

DeleteResourcesInternalServerError handles this case with default header values.

Internal server error

func NewDeleteResourcesInternalServerError

func NewDeleteResourcesInternalServerError() *DeleteResourcesInternalServerError

NewDeleteResourcesInternalServerError creates a DeleteResourcesInternalServerError with default headers values

func (*DeleteResourcesInternalServerError) Error

type DeleteResourcesOK

type DeleteResourcesOK struct {
}

DeleteResourcesOK handles this case with default header values.

OK

func NewDeleteResourcesOK

func NewDeleteResourcesOK() *DeleteResourcesOK

NewDeleteResourcesOK creates a DeleteResourcesOK with default headers values

func (*DeleteResourcesOK) Error

func (o *DeleteResourcesOK) Error() string

type DeleteResourcesParams

type DeleteResourcesParams struct {

	/*Body*/
	Body *models.DeleteResources

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

DeleteResourcesParams contains all the parameters to send to the API endpoint for the delete resources operation typically these are written to a http.Request

func NewDeleteResourcesParams

func NewDeleteResourcesParams() *DeleteResourcesParams

NewDeleteResourcesParams creates a new DeleteResourcesParams object with the default values initialized.

func NewDeleteResourcesParamsWithContext

func NewDeleteResourcesParamsWithContext(ctx context.Context) *DeleteResourcesParams

NewDeleteResourcesParamsWithContext creates a new DeleteResourcesParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteResourcesParamsWithHTTPClient

func NewDeleteResourcesParamsWithHTTPClient(client *http.Client) *DeleteResourcesParams

NewDeleteResourcesParamsWithHTTPClient creates a new DeleteResourcesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteResourcesParamsWithTimeout

func NewDeleteResourcesParamsWithTimeout(timeout time.Duration) *DeleteResourcesParams

NewDeleteResourcesParamsWithTimeout creates a new DeleteResourcesParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteResourcesParams) SetBody

func (o *DeleteResourcesParams) SetBody(body *models.DeleteResources)

SetBody adds the body to the delete resources params

func (*DeleteResourcesParams) SetContext

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

SetContext adds the context to the delete resources params

func (*DeleteResourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete resources params

func (*DeleteResourcesParams) SetTimeout

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

SetTimeout adds the timeout to the delete resources params

func (*DeleteResourcesParams) WithBody

WithBody adds the body to the delete resources params

func (*DeleteResourcesParams) WithContext

WithContext adds the context to the delete resources params

func (*DeleteResourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete resources params

func (*DeleteResourcesParams) WithTimeout

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

WithTimeout adds the timeout to the delete resources params

func (*DeleteResourcesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteResourcesReader

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

DeleteResourcesReader is a Reader for the DeleteResources structure.

func (*DeleteResourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrgOverviewBadRequest

type GetOrgOverviewBadRequest struct {
	Payload *models.Error
}

GetOrgOverviewBadRequest handles this case with default header values.

Bad request

func NewGetOrgOverviewBadRequest

func NewGetOrgOverviewBadRequest() *GetOrgOverviewBadRequest

NewGetOrgOverviewBadRequest creates a GetOrgOverviewBadRequest with default headers values

func (*GetOrgOverviewBadRequest) Error

func (o *GetOrgOverviewBadRequest) Error() string

func (*GetOrgOverviewBadRequest) GetPayload

func (o *GetOrgOverviewBadRequest) GetPayload() *models.Error

type GetOrgOverviewInternalServerError

type GetOrgOverviewInternalServerError struct {
}

GetOrgOverviewInternalServerError handles this case with default header values.

Internal server error

func NewGetOrgOverviewInternalServerError

func NewGetOrgOverviewInternalServerError() *GetOrgOverviewInternalServerError

NewGetOrgOverviewInternalServerError creates a GetOrgOverviewInternalServerError with default headers values

func (*GetOrgOverviewInternalServerError) Error

type GetOrgOverviewOK

type GetOrgOverviewOK struct {
	Payload *models.OrgOverview
}

GetOrgOverviewOK handles this case with default header values.

OK

func NewGetOrgOverviewOK

func NewGetOrgOverviewOK() *GetOrgOverviewOK

NewGetOrgOverviewOK creates a GetOrgOverviewOK with default headers values

func (*GetOrgOverviewOK) Error

func (o *GetOrgOverviewOK) Error() string

func (*GetOrgOverviewOK) GetPayload

func (o *GetOrgOverviewOK) GetPayload() *models.OrgOverview

type GetOrgOverviewParams

type GetOrgOverviewParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOrgOverviewParams contains all the parameters to send to the API endpoint for the get org overview operation typically these are written to a http.Request

func NewGetOrgOverviewParams

func NewGetOrgOverviewParams() *GetOrgOverviewParams

NewGetOrgOverviewParams creates a new GetOrgOverviewParams object with the default values initialized.

func NewGetOrgOverviewParamsWithContext

func NewGetOrgOverviewParamsWithContext(ctx context.Context) *GetOrgOverviewParams

NewGetOrgOverviewParamsWithContext creates a new GetOrgOverviewParams object with the default values initialized, and the ability to set a context for a request

func NewGetOrgOverviewParamsWithHTTPClient

func NewGetOrgOverviewParamsWithHTTPClient(client *http.Client) *GetOrgOverviewParams

NewGetOrgOverviewParamsWithHTTPClient creates a new GetOrgOverviewParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOrgOverviewParamsWithTimeout

func NewGetOrgOverviewParamsWithTimeout(timeout time.Duration) *GetOrgOverviewParams

NewGetOrgOverviewParamsWithTimeout creates a new GetOrgOverviewParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOrgOverviewParams) SetContext

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

SetContext adds the context to the get org overview params

func (*GetOrgOverviewParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get org overview params

func (*GetOrgOverviewParams) SetTimeout

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

SetTimeout adds the timeout to the get org overview params

func (*GetOrgOverviewParams) WithContext

WithContext adds the context to the get org overview params

func (*GetOrgOverviewParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get org overview params

func (*GetOrgOverviewParams) WithTimeout

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

WithTimeout adds the timeout to the get org overview params

func (*GetOrgOverviewParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOrgOverviewReader

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

GetOrgOverviewReader is a Reader for the GetOrgOverview structure.

func (*GetOrgOverviewReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourceBadRequest

type GetResourceBadRequest struct {
	Payload *models.Error
}

GetResourceBadRequest handles this case with default header values.

Bad request

func NewGetResourceBadRequest

func NewGetResourceBadRequest() *GetResourceBadRequest

NewGetResourceBadRequest creates a GetResourceBadRequest with default headers values

func (*GetResourceBadRequest) Error

func (o *GetResourceBadRequest) Error() string

func (*GetResourceBadRequest) GetPayload

func (o *GetResourceBadRequest) GetPayload() *models.Error

type GetResourceInternalServerError

type GetResourceInternalServerError struct {
}

GetResourceInternalServerError handles this case with default header values.

Internal server error

func NewGetResourceInternalServerError

func NewGetResourceInternalServerError() *GetResourceInternalServerError

NewGetResourceInternalServerError creates a GetResourceInternalServerError with default headers values

func (*GetResourceInternalServerError) Error

type GetResourceNotFound

type GetResourceNotFound struct {
}

GetResourceNotFound handles this case with default header values.

Resource does not exist

func NewGetResourceNotFound

func NewGetResourceNotFound() *GetResourceNotFound

NewGetResourceNotFound creates a GetResourceNotFound with default headers values

func (*GetResourceNotFound) Error

func (o *GetResourceNotFound) Error() string

type GetResourceOK

type GetResourceOK struct {
	Payload *models.Resource
}

GetResourceOK handles this case with default header values.

OK

func NewGetResourceOK

func NewGetResourceOK() *GetResourceOK

NewGetResourceOK creates a GetResourceOK with default headers values

func (*GetResourceOK) Error

func (o *GetResourceOK) Error() string

func (*GetResourceOK) GetPayload

func (o *GetResourceOK) GetPayload() *models.Resource

type GetResourceParams

type GetResourceParams struct {

	/*ResourceID
	  URL-encoded unique resource identifier

	*/
	ResourceID string

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

GetResourceParams contains all the parameters to send to the API endpoint for the get resource operation typically these are written to a http.Request

func NewGetResourceParams

func NewGetResourceParams() *GetResourceParams

NewGetResourceParams creates a new GetResourceParams object with the default values initialized.

func NewGetResourceParamsWithContext

func NewGetResourceParamsWithContext(ctx context.Context) *GetResourceParams

NewGetResourceParamsWithContext creates a new GetResourceParams object with the default values initialized, and the ability to set a context for a request

func NewGetResourceParamsWithHTTPClient

func NewGetResourceParamsWithHTTPClient(client *http.Client) *GetResourceParams

NewGetResourceParamsWithHTTPClient creates a new GetResourceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetResourceParamsWithTimeout

func NewGetResourceParamsWithTimeout(timeout time.Duration) *GetResourceParams

NewGetResourceParamsWithTimeout creates a new GetResourceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetResourceParams) SetContext

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

SetContext adds the context to the get resource params

func (*GetResourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resource params

func (*GetResourceParams) SetResourceID

func (o *GetResourceParams) SetResourceID(resourceID string)

SetResourceID adds the resourceId to the get resource params

func (*GetResourceParams) SetTimeout

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

SetTimeout adds the timeout to the get resource params

func (*GetResourceParams) WithContext

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

WithContext adds the context to the get resource params

func (*GetResourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get resource params

func (*GetResourceParams) WithResourceID

func (o *GetResourceParams) WithResourceID(resourceID string) *GetResourceParams

WithResourceID adds the resourceID to the get resource params

func (*GetResourceParams) WithTimeout

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

WithTimeout adds the timeout to the get resource params

func (*GetResourceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetResourceReader

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

GetResourceReader is a Reader for the GetResource structure.

func (*GetResourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListResourcesBadRequest

type ListResourcesBadRequest struct {
	Payload *models.Error
}

ListResourcesBadRequest handles this case with default header values.

Bad request

func NewListResourcesBadRequest

func NewListResourcesBadRequest() *ListResourcesBadRequest

NewListResourcesBadRequest creates a ListResourcesBadRequest with default headers values

func (*ListResourcesBadRequest) Error

func (o *ListResourcesBadRequest) Error() string

func (*ListResourcesBadRequest) GetPayload

func (o *ListResourcesBadRequest) GetPayload() *models.Error

type ListResourcesInternalServerError

type ListResourcesInternalServerError struct {
}

ListResourcesInternalServerError handles this case with default header values.

Internal server error

func NewListResourcesInternalServerError

func NewListResourcesInternalServerError() *ListResourcesInternalServerError

NewListResourcesInternalServerError creates a ListResourcesInternalServerError with default headers values

func (*ListResourcesInternalServerError) Error

type ListResourcesOK

type ListResourcesOK struct {
	Payload *models.ResourceList
}

ListResourcesOK handles this case with default header values.

OK

func NewListResourcesOK

func NewListResourcesOK() *ListResourcesOK

NewListResourcesOK creates a ListResourcesOK with default headers values

func (*ListResourcesOK) Error

func (o *ListResourcesOK) Error() string

func (*ListResourcesOK) GetPayload

func (o *ListResourcesOK) GetPayload() *models.ResourceList

type ListResourcesParams

type ListResourcesParams struct {

	/*ComplianceStatus
	  Only include resources with a specific compliance status

	*/
	ComplianceStatus *string
	/*Deleted
	  Only include resources which are or are not deleted

	*/
	Deleted *bool
	/*Fields
	  Resource fields to select (default - all except attributes)

	*/
	Fields []string
	/*IDContains
	  Only include resources whose ID contains this URL-encoded substring (case-insensitive)

	*/
	IDContains *string
	/*IntegrationID
	  Only include resources from this source integration

	*/
	IntegrationID *string
	/*IntegrationType
	  Only include resources from this integration type

	*/
	IntegrationType *string
	/*Page
	  Which page of results to retrieve

	*/
	Page *int64
	/*PageSize
	  Number of items in each page of results

	*/
	PageSize *int64
	/*SortBy
	  Name of the field to sort by

	*/
	SortBy *string
	/*SortDir
	  Sort direction

	*/
	SortDir *string
	/*Types
	  Only include resources which match one of these types

	*/
	Types []string

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

ListResourcesParams contains all the parameters to send to the API endpoint for the list resources operation typically these are written to a http.Request

func NewListResourcesParams

func NewListResourcesParams() *ListResourcesParams

NewListResourcesParams creates a new ListResourcesParams object with the default values initialized.

func NewListResourcesParamsWithContext

func NewListResourcesParamsWithContext(ctx context.Context) *ListResourcesParams

NewListResourcesParamsWithContext creates a new ListResourcesParams object with the default values initialized, and the ability to set a context for a request

func NewListResourcesParamsWithHTTPClient

func NewListResourcesParamsWithHTTPClient(client *http.Client) *ListResourcesParams

NewListResourcesParamsWithHTTPClient creates a new ListResourcesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListResourcesParamsWithTimeout

func NewListResourcesParamsWithTimeout(timeout time.Duration) *ListResourcesParams

NewListResourcesParamsWithTimeout creates a new ListResourcesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListResourcesParams) SetComplianceStatus

func (o *ListResourcesParams) SetComplianceStatus(complianceStatus *string)

SetComplianceStatus adds the complianceStatus to the list resources params

func (*ListResourcesParams) SetContext

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

SetContext adds the context to the list resources params

func (*ListResourcesParams) SetDeleted

func (o *ListResourcesParams) SetDeleted(deleted *bool)

SetDeleted adds the deleted to the list resources params

func (*ListResourcesParams) SetFields

func (o *ListResourcesParams) SetFields(fields []string)

SetFields adds the fields to the list resources params

func (*ListResourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list resources params

func (*ListResourcesParams) SetIDContains

func (o *ListResourcesParams) SetIDContains(iDContains *string)

SetIDContains adds the idContains to the list resources params

func (*ListResourcesParams) SetIntegrationID

func (o *ListResourcesParams) SetIntegrationID(integrationID *string)

SetIntegrationID adds the integrationId to the list resources params

func (*ListResourcesParams) SetIntegrationType

func (o *ListResourcesParams) SetIntegrationType(integrationType *string)

SetIntegrationType adds the integrationType to the list resources params

func (*ListResourcesParams) SetPage

func (o *ListResourcesParams) SetPage(page *int64)

SetPage adds the page to the list resources params

func (*ListResourcesParams) SetPageSize

func (o *ListResourcesParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list resources params

func (*ListResourcesParams) SetSortBy

func (o *ListResourcesParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the list resources params

func (*ListResourcesParams) SetSortDir

func (o *ListResourcesParams) SetSortDir(sortDir *string)

SetSortDir adds the sortDir to the list resources params

func (*ListResourcesParams) SetTimeout

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

SetTimeout adds the timeout to the list resources params

func (*ListResourcesParams) SetTypes

func (o *ListResourcesParams) SetTypes(types []string)

SetTypes adds the types to the list resources params

func (*ListResourcesParams) WithComplianceStatus

func (o *ListResourcesParams) WithComplianceStatus(complianceStatus *string) *ListResourcesParams

WithComplianceStatus adds the complianceStatus to the list resources params

func (*ListResourcesParams) WithContext

WithContext adds the context to the list resources params

func (*ListResourcesParams) WithDeleted

func (o *ListResourcesParams) WithDeleted(deleted *bool) *ListResourcesParams

WithDeleted adds the deleted to the list resources params

func (*ListResourcesParams) WithFields

func (o *ListResourcesParams) WithFields(fields []string) *ListResourcesParams

WithFields adds the fields to the list resources params

func (*ListResourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list resources params

func (*ListResourcesParams) WithIDContains

func (o *ListResourcesParams) WithIDContains(iDContains *string) *ListResourcesParams

WithIDContains adds the iDContains to the list resources params

func (*ListResourcesParams) WithIntegrationID

func (o *ListResourcesParams) WithIntegrationID(integrationID *string) *ListResourcesParams

WithIntegrationID adds the integrationID to the list resources params

func (*ListResourcesParams) WithIntegrationType

func (o *ListResourcesParams) WithIntegrationType(integrationType *string) *ListResourcesParams

WithIntegrationType adds the integrationType to the list resources params

func (*ListResourcesParams) WithPage

func (o *ListResourcesParams) WithPage(page *int64) *ListResourcesParams

WithPage adds the page to the list resources params

func (*ListResourcesParams) WithPageSize

func (o *ListResourcesParams) WithPageSize(pageSize *int64) *ListResourcesParams

WithPageSize adds the pageSize to the list resources params

func (*ListResourcesParams) WithSortBy

func (o *ListResourcesParams) WithSortBy(sortBy *string) *ListResourcesParams

WithSortBy adds the sortBy to the list resources params

func (*ListResourcesParams) WithSortDir

func (o *ListResourcesParams) WithSortDir(sortDir *string) *ListResourcesParams

WithSortDir adds the sortDir to the list resources params

func (*ListResourcesParams) WithTimeout

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

WithTimeout adds the timeout to the list resources params

func (*ListResourcesParams) WithTypes

func (o *ListResourcesParams) WithTypes(types []string) *ListResourcesParams

WithTypes adds the types to the list resources params

func (*ListResourcesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListResourcesReader

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

ListResourcesReader is a Reader for the ListResources structure.

func (*ListResourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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