Documentation ¶
Index ¶
- type AddResourcesBadRequest
- type AddResourcesCreated
- type AddResourcesInternalServerError
- type AddResourcesParams
- func (o *AddResourcesParams) SetBody(body *models.AddResources)
- func (o *AddResourcesParams) SetContext(ctx context.Context)
- func (o *AddResourcesParams) SetHTTPClient(client *http.Client)
- func (o *AddResourcesParams) SetTimeout(timeout time.Duration)
- func (o *AddResourcesParams) WithBody(body *models.AddResources) *AddResourcesParams
- func (o *AddResourcesParams) WithContext(ctx context.Context) *AddResourcesParams
- func (o *AddResourcesParams) WithHTTPClient(client *http.Client) *AddResourcesParams
- func (o *AddResourcesParams) WithTimeout(timeout time.Duration) *AddResourcesParams
- func (o *AddResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddResourcesReader
- type Client
- func (a *Client) AddResources(params *AddResourcesParams) (*AddResourcesCreated, error)
- func (a *Client) DeleteResources(params *DeleteResourcesParams) (*DeleteResourcesOK, error)
- func (a *Client) GetOrgOverview(params *GetOrgOverviewParams) (*GetOrgOverviewOK, error)
- func (a *Client) GetResource(params *GetResourceParams) (*GetResourceOK, error)
- func (a *Client) ListResources(params *ListResourcesParams) (*ListResourcesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteResourcesBadRequest
- type DeleteResourcesInternalServerError
- type DeleteResourcesOK
- type DeleteResourcesParams
- func NewDeleteResourcesParams() *DeleteResourcesParams
- func NewDeleteResourcesParamsWithContext(ctx context.Context) *DeleteResourcesParams
- func NewDeleteResourcesParamsWithHTTPClient(client *http.Client) *DeleteResourcesParams
- func NewDeleteResourcesParamsWithTimeout(timeout time.Duration) *DeleteResourcesParams
- func (o *DeleteResourcesParams) SetBody(body *models.DeleteResources)
- func (o *DeleteResourcesParams) SetContext(ctx context.Context)
- func (o *DeleteResourcesParams) SetHTTPClient(client *http.Client)
- func (o *DeleteResourcesParams) SetTimeout(timeout time.Duration)
- func (o *DeleteResourcesParams) WithBody(body *models.DeleteResources) *DeleteResourcesParams
- func (o *DeleteResourcesParams) WithContext(ctx context.Context) *DeleteResourcesParams
- func (o *DeleteResourcesParams) WithHTTPClient(client *http.Client) *DeleteResourcesParams
- func (o *DeleteResourcesParams) WithTimeout(timeout time.Duration) *DeleteResourcesParams
- func (o *DeleteResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteResourcesReader
- type GetOrgOverviewBadRequest
- type GetOrgOverviewInternalServerError
- type GetOrgOverviewOK
- type GetOrgOverviewParams
- func NewGetOrgOverviewParams() *GetOrgOverviewParams
- func NewGetOrgOverviewParamsWithContext(ctx context.Context) *GetOrgOverviewParams
- func NewGetOrgOverviewParamsWithHTTPClient(client *http.Client) *GetOrgOverviewParams
- func NewGetOrgOverviewParamsWithTimeout(timeout time.Duration) *GetOrgOverviewParams
- func (o *GetOrgOverviewParams) SetContext(ctx context.Context)
- func (o *GetOrgOverviewParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgOverviewParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgOverviewParams) WithContext(ctx context.Context) *GetOrgOverviewParams
- func (o *GetOrgOverviewParams) WithHTTPClient(client *http.Client) *GetOrgOverviewParams
- func (o *GetOrgOverviewParams) WithTimeout(timeout time.Duration) *GetOrgOverviewParams
- func (o *GetOrgOverviewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgOverviewReader
- type GetResourceBadRequest
- type GetResourceInternalServerError
- type GetResourceNotFound
- type GetResourceOK
- type GetResourceParams
- func (o *GetResourceParams) SetContext(ctx context.Context)
- func (o *GetResourceParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceParams) SetResourceID(resourceID string)
- func (o *GetResourceParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceParams) WithContext(ctx context.Context) *GetResourceParams
- func (o *GetResourceParams) WithHTTPClient(client *http.Client) *GetResourceParams
- func (o *GetResourceParams) WithResourceID(resourceID string) *GetResourceParams
- func (o *GetResourceParams) WithTimeout(timeout time.Duration) *GetResourceParams
- func (o *GetResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceReader
- type ListResourcesBadRequest
- type ListResourcesInternalServerError
- type ListResourcesOK
- type ListResourcesParams
- func (o *ListResourcesParams) SetComplianceStatus(complianceStatus *string)
- func (o *ListResourcesParams) SetContext(ctx context.Context)
- func (o *ListResourcesParams) SetDeleted(deleted *bool)
- func (o *ListResourcesParams) SetFields(fields []string)
- func (o *ListResourcesParams) SetHTTPClient(client *http.Client)
- func (o *ListResourcesParams) SetIDContains(iDContains *string)
- func (o *ListResourcesParams) SetIntegrationID(integrationID *string)
- func (o *ListResourcesParams) SetIntegrationType(integrationType *string)
- func (o *ListResourcesParams) SetPage(page *int64)
- func (o *ListResourcesParams) SetPageSize(pageSize *int64)
- func (o *ListResourcesParams) SetSortBy(sortBy *string)
- func (o *ListResourcesParams) SetSortDir(sortDir *string)
- func (o *ListResourcesParams) SetTimeout(timeout time.Duration)
- func (o *ListResourcesParams) SetTypes(types []string)
- func (o *ListResourcesParams) WithComplianceStatus(complianceStatus *string) *ListResourcesParams
- func (o *ListResourcesParams) WithContext(ctx context.Context) *ListResourcesParams
- func (o *ListResourcesParams) WithDeleted(deleted *bool) *ListResourcesParams
- func (o *ListResourcesParams) WithFields(fields []string) *ListResourcesParams
- func (o *ListResourcesParams) WithHTTPClient(client *http.Client) *ListResourcesParams
- func (o *ListResourcesParams) WithIDContains(iDContains *string) *ListResourcesParams
- func (o *ListResourcesParams) WithIntegrationID(integrationID *string) *ListResourcesParams
- func (o *ListResourcesParams) WithIntegrationType(integrationType *string) *ListResourcesParams
- func (o *ListResourcesParams) WithPage(page *int64) *ListResourcesParams
- func (o *ListResourcesParams) WithPageSize(pageSize *int64) *ListResourcesParams
- func (o *ListResourcesParams) WithSortBy(sortBy *string) *ListResourcesParams
- func (o *ListResourcesParams) WithSortDir(sortDir *string) *ListResourcesParams
- func (o *ListResourcesParams) WithTimeout(timeout time.Duration) *ListResourcesParams
- func (o *ListResourcesParams) WithTypes(types []string) *ListResourcesParams
- func (o *ListResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListResourcesReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddResourcesBadRequest ¶
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 ¶
func (o *AddResourcesInternalServerError) Error() string
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 ¶
func (o *AddResourcesParams) WithBody(body *models.AddResources) *AddResourcesParams
WithBody adds the body to the add resources params
func (*AddResourcesParams) WithContext ¶
func (o *AddResourcesParams) WithContext(ctx context.Context) *AddResourcesParams
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 ¶
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 ¶
func (o *DeleteResourcesInternalServerError) Error() string
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 ¶
func (o *DeleteResourcesParams) WithBody(body *models.DeleteResources) *DeleteResourcesParams
WithBody adds the body to the delete resources params
func (*DeleteResourcesParams) WithContext ¶
func (o *DeleteResourcesParams) WithContext(ctx context.Context) *DeleteResourcesParams
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 ¶
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 ¶
func (o *GetOrgOverviewInternalServerError) Error() string
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 ¶
func (o *GetOrgOverviewParams) WithContext(ctx context.Context) *GetOrgOverviewParams
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 ¶
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 ¶
func (o *GetResourceInternalServerError) Error() string
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 ¶
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 ¶
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 ¶
func (o *ListResourcesInternalServerError) Error() string
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 ¶
func (o *ListResourcesParams) WithContext(ctx context.Context) *ListResourcesParams
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.
Source Files ¶
- add_resources_parameters.go
- add_resources_responses.go
- delete_resources_parameters.go
- delete_resources_responses.go
- get_org_overview_parameters.go
- get_org_overview_responses.go
- get_resource_parameters.go
- get_resource_responses.go
- list_resources_parameters.go
- list_resources_responses.go
- operations_client.go