Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteResourcesID(params *DeleteResourcesIDParams) (*DeleteResourcesIDAccepted, *DeleteResourcesIDNoContent, error)
- func (a *Client) GetResourcesIDMeasures(params *GetResourcesIDMeasuresParams) (*GetResourcesIDMeasuresOK, *GetResourcesIDMeasuresNoContent, error)
- func (a *Client) PatchResourcesID(params *PatchResourcesIDParams) (*PatchResourcesIDOK, *PatchResourcesIDAccepted, *PatchResourcesIDNoContent, ...)
- func (a *Client) PutResourcesID(params *PutResourcesIDParams) (*PutResourcesIDCreated, *PutResourcesIDAccepted, *PutResourcesIDNoContent, ...)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteResourcesIDAccepted
- type DeleteResourcesIDAcceptedBody
- type DeleteResourcesIDBadRequest
- type DeleteResourcesIDBadRequestBody
- type DeleteResourcesIDInternalServerError
- type DeleteResourcesIDInternalServerErrorBody
- type DeleteResourcesIDNoContent
- type DeleteResourcesIDNotFound
- type DeleteResourcesIDNotFoundBody
- type DeleteResourcesIDParams
- func NewDeleteResourcesIDParams() *DeleteResourcesIDParams
- func NewDeleteResourcesIDParamsWithContext(ctx context.Context) *DeleteResourcesIDParams
- func NewDeleteResourcesIDParamsWithHTTPClient(client *http.Client) *DeleteResourcesIDParams
- func NewDeleteResourcesIDParamsWithTimeout(timeout time.Duration) *DeleteResourcesIDParams
- func (o *DeleteResourcesIDParams) SetContext(ctx context.Context)
- func (o *DeleteResourcesIDParams) SetDate(date strfmt.DateTime)
- func (o *DeleteResourcesIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteResourcesIDParams) SetID(id string)
- func (o *DeleteResourcesIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteResourcesIDParams) SetXCallbackID(xCallbackID string)
- func (o *DeleteResourcesIDParams) SetXCallbackURL(xCallbackURL string)
- func (o *DeleteResourcesIDParams) SetXSignature(xSignature string)
- func (o *DeleteResourcesIDParams) SetXSignedHeaders(xSignedHeaders string)
- func (o *DeleteResourcesIDParams) WithContext(ctx context.Context) *DeleteResourcesIDParams
- func (o *DeleteResourcesIDParams) WithDate(date strfmt.DateTime) *DeleteResourcesIDParams
- func (o *DeleteResourcesIDParams) WithHTTPClient(client *http.Client) *DeleteResourcesIDParams
- func (o *DeleteResourcesIDParams) WithID(id string) *DeleteResourcesIDParams
- func (o *DeleteResourcesIDParams) WithTimeout(timeout time.Duration) *DeleteResourcesIDParams
- func (o *DeleteResourcesIDParams) WithXCallbackID(xCallbackID string) *DeleteResourcesIDParams
- func (o *DeleteResourcesIDParams) WithXCallbackURL(xCallbackURL string) *DeleteResourcesIDParams
- func (o *DeleteResourcesIDParams) WithXSignature(xSignature string) *DeleteResourcesIDParams
- func (o *DeleteResourcesIDParams) WithXSignedHeaders(xSignedHeaders string) *DeleteResourcesIDParams
- func (o *DeleteResourcesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteResourcesIDReader
- type DeleteResourcesIDUnauthorized
- type DeleteResourcesIDUnauthorizedBody
- type GetResourcesIDMeasuresBadRequest
- type GetResourcesIDMeasuresBadRequestBody
- type GetResourcesIDMeasuresInternalServerError
- type GetResourcesIDMeasuresInternalServerErrorBody
- type GetResourcesIDMeasuresNoContent
- type GetResourcesIDMeasuresNotFound
- type GetResourcesIDMeasuresNotFoundBody
- type GetResourcesIDMeasuresOK
- type GetResourcesIDMeasuresParams
- func NewGetResourcesIDMeasuresParams() *GetResourcesIDMeasuresParams
- func NewGetResourcesIDMeasuresParamsWithContext(ctx context.Context) *GetResourcesIDMeasuresParams
- func NewGetResourcesIDMeasuresParamsWithHTTPClient(client *http.Client) *GetResourcesIDMeasuresParams
- func NewGetResourcesIDMeasuresParamsWithTimeout(timeout time.Duration) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) SetContext(ctx context.Context)
- func (o *GetResourcesIDMeasuresParams) SetHTTPClient(client *http.Client)
- func (o *GetResourcesIDMeasuresParams) SetID(id string)
- func (o *GetResourcesIDMeasuresParams) SetPeriodEnd(periodEnd strfmt.DateTime)
- func (o *GetResourcesIDMeasuresParams) SetPeriodStart(periodStart strfmt.DateTime)
- func (o *GetResourcesIDMeasuresParams) SetTimeout(timeout time.Duration)
- func (o *GetResourcesIDMeasuresParams) WithContext(ctx context.Context) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) WithHTTPClient(client *http.Client) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) WithID(id string) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) WithPeriodEnd(periodEnd strfmt.DateTime) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) WithPeriodStart(periodStart strfmt.DateTime) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) WithTimeout(timeout time.Duration) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourcesIDMeasuresReader
- type GetResourcesIDMeasuresUnauthorized
- type GetResourcesIDMeasuresUnauthorizedBody
- type PatchResourcesIDAccepted
- type PatchResourcesIDAcceptedBody
- type PatchResourcesIDBadRequest
- type PatchResourcesIDBadRequestBody
- type PatchResourcesIDInternalServerError
- type PatchResourcesIDInternalServerErrorBody
- type PatchResourcesIDNoContent
- type PatchResourcesIDNotFound
- type PatchResourcesIDNotFoundBody
- type PatchResourcesIDOK
- type PatchResourcesIDOKBody
- type PatchResourcesIDParams
- func NewPatchResourcesIDParams() *PatchResourcesIDParams
- func NewPatchResourcesIDParamsWithContext(ctx context.Context) *PatchResourcesIDParams
- func NewPatchResourcesIDParamsWithHTTPClient(client *http.Client) *PatchResourcesIDParams
- func NewPatchResourcesIDParamsWithTimeout(timeout time.Duration) *PatchResourcesIDParams
- func (o *PatchResourcesIDParams) SetBody(body *models.ResourcePlanChangeRequest)
- func (o *PatchResourcesIDParams) SetContext(ctx context.Context)
- func (o *PatchResourcesIDParams) SetDate(date strfmt.DateTime)
- func (o *PatchResourcesIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchResourcesIDParams) SetID(id string)
- func (o *PatchResourcesIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchResourcesIDParams) SetXCallbackID(xCallbackID string)
- func (o *PatchResourcesIDParams) SetXCallbackURL(xCallbackURL string)
- func (o *PatchResourcesIDParams) SetXSignature(xSignature string)
- func (o *PatchResourcesIDParams) SetXSignedHeaders(xSignedHeaders string)
- func (o *PatchResourcesIDParams) WithBody(body *models.ResourcePlanChangeRequest) *PatchResourcesIDParams
- func (o *PatchResourcesIDParams) WithContext(ctx context.Context) *PatchResourcesIDParams
- func (o *PatchResourcesIDParams) WithDate(date strfmt.DateTime) *PatchResourcesIDParams
- func (o *PatchResourcesIDParams) WithHTTPClient(client *http.Client) *PatchResourcesIDParams
- func (o *PatchResourcesIDParams) WithID(id string) *PatchResourcesIDParams
- func (o *PatchResourcesIDParams) WithTimeout(timeout time.Duration) *PatchResourcesIDParams
- func (o *PatchResourcesIDParams) WithXCallbackID(xCallbackID string) *PatchResourcesIDParams
- func (o *PatchResourcesIDParams) WithXCallbackURL(xCallbackURL string) *PatchResourcesIDParams
- func (o *PatchResourcesIDParams) WithXSignature(xSignature string) *PatchResourcesIDParams
- func (o *PatchResourcesIDParams) WithXSignedHeaders(xSignedHeaders string) *PatchResourcesIDParams
- func (o *PatchResourcesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchResourcesIDReader
- type PatchResourcesIDUnauthorized
- type PatchResourcesIDUnauthorizedBody
- type PutResourcesIDAccepted
- type PutResourcesIDAcceptedBody
- type PutResourcesIDBadRequest
- type PutResourcesIDBadRequestBody
- type PutResourcesIDConflict
- type PutResourcesIDConflictBody
- type PutResourcesIDCreated
- type PutResourcesIDCreatedBody
- type PutResourcesIDInternalServerError
- type PutResourcesIDInternalServerErrorBody
- type PutResourcesIDNoContent
- type PutResourcesIDParams
- func NewPutResourcesIDParams() *PutResourcesIDParams
- func NewPutResourcesIDParamsWithContext(ctx context.Context) *PutResourcesIDParams
- func NewPutResourcesIDParamsWithHTTPClient(client *http.Client) *PutResourcesIDParams
- func NewPutResourcesIDParamsWithTimeout(timeout time.Duration) *PutResourcesIDParams
- func (o *PutResourcesIDParams) SetBody(body *models.ResourceRequest)
- func (o *PutResourcesIDParams) SetContext(ctx context.Context)
- func (o *PutResourcesIDParams) SetDate(date strfmt.DateTime)
- func (o *PutResourcesIDParams) SetHTTPClient(client *http.Client)
- func (o *PutResourcesIDParams) SetID(id string)
- func (o *PutResourcesIDParams) SetTimeout(timeout time.Duration)
- func (o *PutResourcesIDParams) SetXCallbackID(xCallbackID string)
- func (o *PutResourcesIDParams) SetXCallbackURL(xCallbackURL string)
- func (o *PutResourcesIDParams) SetXSignature(xSignature string)
- func (o *PutResourcesIDParams) SetXSignedHeaders(xSignedHeaders string)
- func (o *PutResourcesIDParams) WithBody(body *models.ResourceRequest) *PutResourcesIDParams
- func (o *PutResourcesIDParams) WithContext(ctx context.Context) *PutResourcesIDParams
- func (o *PutResourcesIDParams) WithDate(date strfmt.DateTime) *PutResourcesIDParams
- func (o *PutResourcesIDParams) WithHTTPClient(client *http.Client) *PutResourcesIDParams
- func (o *PutResourcesIDParams) WithID(id string) *PutResourcesIDParams
- func (o *PutResourcesIDParams) WithTimeout(timeout time.Duration) *PutResourcesIDParams
- func (o *PutResourcesIDParams) WithXCallbackID(xCallbackID string) *PutResourcesIDParams
- func (o *PutResourcesIDParams) WithXCallbackURL(xCallbackURL string) *PutResourcesIDParams
- func (o *PutResourcesIDParams) WithXSignature(xSignature string) *PutResourcesIDParams
- func (o *PutResourcesIDParams) WithXSignedHeaders(xSignedHeaders string) *PutResourcesIDParams
- func (o *PutResourcesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutResourcesIDReader
- type PutResourcesIDUnauthorized
- type PutResourcesIDUnauthorizedBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for resource API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new resource API client.
func (*Client) DeleteResourcesID ¶
func (a *Client) DeleteResourcesID(params *DeleteResourcesIDParams) (*DeleteResourcesIDAccepted, *DeleteResourcesIDNoContent, error)
DeleteResourcesID deprovisions
Manifold calls this endpoint to request a resource be deprovisioned. When a resource is deprovisioned, all attached credentials are assumed to be deprovisioned as well.
If the resource has already been deprovisioned, then the provider should return a 404 response.
A response should only be returned once an error has occurred *or* when the resource is no longer accessible by the user. If a requested action could take longer than 60s to complete, a callback *must* be used.
**Request Timeout**
If the request takes longer than 60 seconds, then it is assumed to have failed. Manifold will retry the request again in the future.
**Callback Timeout**
If a `202 Accepted` response is returned, Manifold will expect the provider to complete the deprovision flow by calling the callback url within 24 hours. If the callback is not invoked, Manifold will retry the request again.
If the deprovision was successful, then a `404 Not Found` response should be returned to Manifold.
func (*Client) GetResourcesIDMeasures ¶ added in v0.13.0
func (a *Client) GetResourcesIDMeasures(params *GetResourcesIDMeasuresParams) (*GetResourcesIDMeasuresOK, *GetResourcesIDMeasuresNoContent, error)
GetResourcesIDMeasures gets how much a resource has used its features
Manifold will call this endpoint daily to get usage information about a resource and its features.
The provider should only need to hold information about the time left in the current month and the previous month.
Months are defined by the Manifold billing period which starts at the first of each month in UTC-0 and ends at the start of the next.
func (*Client) PatchResourcesID ¶
func (a *Client) PatchResourcesID(params *PatchResourcesIDParams) (*PatchResourcesIDOK, *PatchResourcesIDAccepted, *PatchResourcesIDNoContent, error)
PatchResourcesID changes plan
Manifold will call this endpoint to request a change in plan of a resource (either an upgrade or downgrade). This route must support being called more than once with the same payload.
The `plan` property is the machine readable name of the plan that the resource is being resized to. The list of possible values are provided by the provider and stored in the Manifold Catalog.
A response should only be returned once an error has occurred *or* when the plan change has been completed. If a requested action could take longer than 60s to complete, a callback *must* be used.
**Request Timeout**
If the request takes longer than 60 seconds, then it is assumed to have failed. Manifold will retry the request again in the future.
**Callback Timeout**
If a `202 Accepted` response is returned, Manifold will expect the provider to complete the plan change flow by calling the callback url within 24 hours. If the callback is not invoked, Manifold will retry the request again.
If the resource's plan matches the given plan then a `200 Success` or `204 No Content` response should be returned.
func (*Client) PutResourcesID ¶
func (a *Client) PutResourcesID(params *PutResourcesIDParams) (*PutResourcesIDCreated, *PutResourcesIDAccepted, *PutResourcesIDNoContent, error)
PutResourcesID provisions
Manifold will call this endpoint to request the provisiong of a resource using the provided identifier. This route must support being called more than once with the same payload.
The `id` property is the unique identifier Manifold will map to this resource. Providers should use this value for mapping Manifold Resources to data inside their systems.
The `product`, `plan`, and `region` properties are machine readable names for the type of product, its plan, and the region in which the request resource is to be provisioned. These values map to configuration stored inside the Manifold Catalog.
A response should only be returned once an error has occurred *or* the provisioned resource is ready for a user to use. If a requested action could take longer than 60s to complete, a callback *must* be used.
**Request Timeout**
If the request takes longer than 60 seconds, then it is assumed to have failed. Manifold will retry the request again in the future.
**Callback Timeout**
If a `202 Accepted` response is returned, Manifold will expect the provider to complete the provision flow by calling the callback url within 24 hours. If the callback is not invoked, Manifold will retry the request again.
If the resource has been provisioned successfully with properties that match the request, then the provider should return a `201 Created` or `204 No Content` response. However, if the resource provisiong failed, a corresponding error should be returned.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteResourcesIDAccepted ¶
type DeleteResourcesIDAccepted struct {
Payload DeleteResourcesIDAcceptedBody
}
DeleteResourcesIDAccepted handles this case with default header values.
Acknowledgement of the deprovision request with a corresponding message to be displayed to the user. The provider will call the callback url once resource has been deprovisioned successfully or a failure has occurred.
func NewDeleteResourcesIDAccepted ¶
func NewDeleteResourcesIDAccepted() *DeleteResourcesIDAccepted
NewDeleteResourcesIDAccepted creates a DeleteResourcesIDAccepted with default headers values
func (*DeleteResourcesIDAccepted) Error ¶
func (o *DeleteResourcesIDAccepted) Error() string
type DeleteResourcesIDAcceptedBody ¶
type DeleteResourcesIDAcceptedBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
DeleteResourcesIDAcceptedBody Object used to display a message back to the user after a change has been // made to a Resource. // swagger:model DeleteResourcesIDAcceptedBody
type DeleteResourcesIDBadRequest ¶
type DeleteResourcesIDBadRequest struct {
Payload DeleteResourcesIDBadRequestBody
}
DeleteResourcesIDBadRequest handles this case with default header values.
Request denied due to invalid request body.
func NewDeleteResourcesIDBadRequest ¶
func NewDeleteResourcesIDBadRequest() *DeleteResourcesIDBadRequest
NewDeleteResourcesIDBadRequest creates a DeleteResourcesIDBadRequest with default headers values
func (*DeleteResourcesIDBadRequest) Error ¶
func (o *DeleteResourcesIDBadRequest) Error() string
type DeleteResourcesIDBadRequestBody ¶
type DeleteResourcesIDBadRequestBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
DeleteResourcesIDBadRequestBody delete resources ID bad request body swagger:model DeleteResourcesIDBadRequestBody
type DeleteResourcesIDInternalServerError ¶
type DeleteResourcesIDInternalServerError struct {
Payload DeleteResourcesIDInternalServerErrorBody
}
DeleteResourcesIDInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewDeleteResourcesIDInternalServerError ¶
func NewDeleteResourcesIDInternalServerError() *DeleteResourcesIDInternalServerError
NewDeleteResourcesIDInternalServerError creates a DeleteResourcesIDInternalServerError with default headers values
func (*DeleteResourcesIDInternalServerError) Error ¶
func (o *DeleteResourcesIDInternalServerError) Error() string
type DeleteResourcesIDInternalServerErrorBody ¶
type DeleteResourcesIDInternalServerErrorBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
DeleteResourcesIDInternalServerErrorBody delete resources ID internal server error body swagger:model DeleteResourcesIDInternalServerErrorBody
type DeleteResourcesIDNoContent ¶
type DeleteResourcesIDNoContent struct { }
DeleteResourcesIDNoContent handles this case with default header values.
Resource deprovisioned successfully.
func NewDeleteResourcesIDNoContent ¶
func NewDeleteResourcesIDNoContent() *DeleteResourcesIDNoContent
NewDeleteResourcesIDNoContent creates a DeleteResourcesIDNoContent with default headers values
func (*DeleteResourcesIDNoContent) Error ¶
func (o *DeleteResourcesIDNoContent) Error() string
type DeleteResourcesIDNotFound ¶
type DeleteResourcesIDNotFound struct {
Payload DeleteResourcesIDNotFoundBody
}
DeleteResourcesIDNotFound handles this case with default header values.
Requested entity could not be found.
func NewDeleteResourcesIDNotFound ¶
func NewDeleteResourcesIDNotFound() *DeleteResourcesIDNotFound
NewDeleteResourcesIDNotFound creates a DeleteResourcesIDNotFound with default headers values
func (*DeleteResourcesIDNotFound) Error ¶
func (o *DeleteResourcesIDNotFound) Error() string
type DeleteResourcesIDNotFoundBody ¶
type DeleteResourcesIDNotFoundBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
DeleteResourcesIDNotFoundBody delete resources ID not found body swagger:model DeleteResourcesIDNotFoundBody
type DeleteResourcesIDParams ¶
type DeleteResourcesIDParams struct { /*Date Timestamp of when the request was issued from Manifold in UTC. */ Date strfmt.DateTime /*XCallbackID ID of the Callback for completing this request if the provider returns a `202 Accepted`, stored as a base 32 encoded 18 byte identifier. */ XCallbackID string /*XCallbackURL The URL the provider calls to complete the request if a `202 Accepted` is returned. */ XCallbackURL string /*XSignature Header containing the signature, ephemeral public key, and signature of the used public key signed by the Manifold root signing key to prove authenticity of the request. “` X-Signature: [request-signature] [public-key-value] [signature-of-public-key] “` examples: “` X-Signature: 96afMc5FVZjhGQ4YLPyRW9tcYoPKyj1EMUxkzma_Q4c WydEYGQb7Y4ER6KPAc-YuIwAqFUpII5P9U3MAZ3wxAQ ozhcosOmuWltP8r1BAs-0kccV1AkbHcKYLSjU0dGUHY “` */ XSignature string /*XSignedHeaders Comma delimited ordered list of header fields used in generating the request signature. */ XSignedHeaders string /*ID ID of a Resource object, stored as a base32 encoded 18 byte identifier. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteResourcesIDParams contains all the parameters to send to the API endpoint for the delete resources ID operation typically these are written to a http.Request
func NewDeleteResourcesIDParams ¶
func NewDeleteResourcesIDParams() *DeleteResourcesIDParams
NewDeleteResourcesIDParams creates a new DeleteResourcesIDParams object with the default values initialized.
func NewDeleteResourcesIDParamsWithContext ¶
func NewDeleteResourcesIDParamsWithContext(ctx context.Context) *DeleteResourcesIDParams
NewDeleteResourcesIDParamsWithContext creates a new DeleteResourcesIDParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteResourcesIDParamsWithHTTPClient ¶
func NewDeleteResourcesIDParamsWithHTTPClient(client *http.Client) *DeleteResourcesIDParams
NewDeleteResourcesIDParamsWithHTTPClient creates a new DeleteResourcesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteResourcesIDParamsWithTimeout ¶
func NewDeleteResourcesIDParamsWithTimeout(timeout time.Duration) *DeleteResourcesIDParams
NewDeleteResourcesIDParamsWithTimeout creates a new DeleteResourcesIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteResourcesIDParams) SetContext ¶
func (o *DeleteResourcesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete resources ID params
func (*DeleteResourcesIDParams) SetDate ¶
func (o *DeleteResourcesIDParams) SetDate(date strfmt.DateTime)
SetDate adds the date to the delete resources ID params
func (*DeleteResourcesIDParams) SetHTTPClient ¶
func (o *DeleteResourcesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete resources ID params
func (*DeleteResourcesIDParams) SetID ¶
func (o *DeleteResourcesIDParams) SetID(id string)
SetID adds the id to the delete resources ID params
func (*DeleteResourcesIDParams) SetTimeout ¶
func (o *DeleteResourcesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete resources ID params
func (*DeleteResourcesIDParams) SetXCallbackID ¶
func (o *DeleteResourcesIDParams) SetXCallbackID(xCallbackID string)
SetXCallbackID adds the xCallbackId to the delete resources ID params
func (*DeleteResourcesIDParams) SetXCallbackURL ¶
func (o *DeleteResourcesIDParams) SetXCallbackURL(xCallbackURL string)
SetXCallbackURL adds the xCallbackUrl to the delete resources ID params
func (*DeleteResourcesIDParams) SetXSignature ¶
func (o *DeleteResourcesIDParams) SetXSignature(xSignature string)
SetXSignature adds the xSignature to the delete resources ID params
func (*DeleteResourcesIDParams) SetXSignedHeaders ¶
func (o *DeleteResourcesIDParams) SetXSignedHeaders(xSignedHeaders string)
SetXSignedHeaders adds the xSignedHeaders to the delete resources ID params
func (*DeleteResourcesIDParams) WithContext ¶
func (o *DeleteResourcesIDParams) WithContext(ctx context.Context) *DeleteResourcesIDParams
WithContext adds the context to the delete resources ID params
func (*DeleteResourcesIDParams) WithDate ¶
func (o *DeleteResourcesIDParams) WithDate(date strfmt.DateTime) *DeleteResourcesIDParams
WithDate adds the date to the delete resources ID params
func (*DeleteResourcesIDParams) WithHTTPClient ¶
func (o *DeleteResourcesIDParams) WithHTTPClient(client *http.Client) *DeleteResourcesIDParams
WithHTTPClient adds the HTTPClient to the delete resources ID params
func (*DeleteResourcesIDParams) WithID ¶
func (o *DeleteResourcesIDParams) WithID(id string) *DeleteResourcesIDParams
WithID adds the id to the delete resources ID params
func (*DeleteResourcesIDParams) WithTimeout ¶
func (o *DeleteResourcesIDParams) WithTimeout(timeout time.Duration) *DeleteResourcesIDParams
WithTimeout adds the timeout to the delete resources ID params
func (*DeleteResourcesIDParams) WithXCallbackID ¶
func (o *DeleteResourcesIDParams) WithXCallbackID(xCallbackID string) *DeleteResourcesIDParams
WithXCallbackID adds the xCallbackID to the delete resources ID params
func (*DeleteResourcesIDParams) WithXCallbackURL ¶
func (o *DeleteResourcesIDParams) WithXCallbackURL(xCallbackURL string) *DeleteResourcesIDParams
WithXCallbackURL adds the xCallbackURL to the delete resources ID params
func (*DeleteResourcesIDParams) WithXSignature ¶
func (o *DeleteResourcesIDParams) WithXSignature(xSignature string) *DeleteResourcesIDParams
WithXSignature adds the xSignature to the delete resources ID params
func (*DeleteResourcesIDParams) WithXSignedHeaders ¶
func (o *DeleteResourcesIDParams) WithXSignedHeaders(xSignedHeaders string) *DeleteResourcesIDParams
WithXSignedHeaders adds the xSignedHeaders to the delete resources ID params
func (*DeleteResourcesIDParams) WriteToRequest ¶
func (o *DeleteResourcesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteResourcesIDReader ¶
type DeleteResourcesIDReader struct {
// contains filtered or unexported fields
}
DeleteResourcesIDReader is a Reader for the DeleteResourcesID structure.
func (*DeleteResourcesIDReader) ReadResponse ¶
func (o *DeleteResourcesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteResourcesIDUnauthorized ¶
type DeleteResourcesIDUnauthorized struct {
}DeleteResourcesIDUnauthorized handles this case with default header values.
Request authenticity could not be validated.
func NewDeleteResourcesIDUnauthorized ¶
func NewDeleteResourcesIDUnauthorized() *DeleteResourcesIDUnauthorized
NewDeleteResourcesIDUnauthorized creates a DeleteResourcesIDUnauthorized with default headers values
func (*DeleteResourcesIDUnauthorized) Error ¶
func (o *DeleteResourcesIDUnauthorized) Error() string
type DeleteResourcesIDUnauthorizedBody ¶
type DeleteResourcesIDUnauthorizedBody struct { // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
DeleteResourcesIDUnauthorizedBody delete resources ID unauthorized body swagger:model DeleteResourcesIDUnauthorizedBody
type GetResourcesIDMeasuresBadRequest ¶ added in v0.13.0
type GetResourcesIDMeasuresBadRequest struct {
Payload GetResourcesIDMeasuresBadRequestBody
}
GetResourcesIDMeasuresBadRequest handles this case with default header values.
Request denied due to invalid request body.
func NewGetResourcesIDMeasuresBadRequest ¶ added in v0.13.0
func NewGetResourcesIDMeasuresBadRequest() *GetResourcesIDMeasuresBadRequest
NewGetResourcesIDMeasuresBadRequest creates a GetResourcesIDMeasuresBadRequest with default headers values
func (*GetResourcesIDMeasuresBadRequest) Error ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresBadRequest) Error() string
type GetResourcesIDMeasuresBadRequestBody ¶ added in v0.13.0
type GetResourcesIDMeasuresBadRequestBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
GetResourcesIDMeasuresBadRequestBody get resources ID measures bad request body swagger:model GetResourcesIDMeasuresBadRequestBody
type GetResourcesIDMeasuresInternalServerError ¶ added in v0.13.0
type GetResourcesIDMeasuresInternalServerError struct {
Payload GetResourcesIDMeasuresInternalServerErrorBody
}
GetResourcesIDMeasuresInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewGetResourcesIDMeasuresInternalServerError ¶ added in v0.13.0
func NewGetResourcesIDMeasuresInternalServerError() *GetResourcesIDMeasuresInternalServerError
NewGetResourcesIDMeasuresInternalServerError creates a GetResourcesIDMeasuresInternalServerError with default headers values
func (*GetResourcesIDMeasuresInternalServerError) Error ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresInternalServerError) Error() string
type GetResourcesIDMeasuresInternalServerErrorBody ¶ added in v0.13.0
type GetResourcesIDMeasuresInternalServerErrorBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
GetResourcesIDMeasuresInternalServerErrorBody get resources ID measures internal server error body swagger:model GetResourcesIDMeasuresInternalServerErrorBody
type GetResourcesIDMeasuresNoContent ¶ added in v0.13.0
type GetResourcesIDMeasuresNoContent struct { }
GetResourcesIDMeasuresNoContent handles this case with default header values.
The resource was found, but no measurable data is available yet.
func NewGetResourcesIDMeasuresNoContent ¶ added in v0.13.0
func NewGetResourcesIDMeasuresNoContent() *GetResourcesIDMeasuresNoContent
NewGetResourcesIDMeasuresNoContent creates a GetResourcesIDMeasuresNoContent with default headers values
func (*GetResourcesIDMeasuresNoContent) Error ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresNoContent) Error() string
type GetResourcesIDMeasuresNotFound ¶ added in v0.13.0
type GetResourcesIDMeasuresNotFound struct {
Payload GetResourcesIDMeasuresNotFoundBody
}
GetResourcesIDMeasuresNotFound handles this case with default header values.
Requested entity could not be found.
func NewGetResourcesIDMeasuresNotFound ¶ added in v0.13.0
func NewGetResourcesIDMeasuresNotFound() *GetResourcesIDMeasuresNotFound
NewGetResourcesIDMeasuresNotFound creates a GetResourcesIDMeasuresNotFound with default headers values
func (*GetResourcesIDMeasuresNotFound) Error ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresNotFound) Error() string
type GetResourcesIDMeasuresNotFoundBody ¶ added in v0.13.0
type GetResourcesIDMeasuresNotFoundBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
GetResourcesIDMeasuresNotFoundBody get resources ID measures not found body swagger:model GetResourcesIDMeasuresNotFoundBody
type GetResourcesIDMeasuresOK ¶ added in v0.13.0
type GetResourcesIDMeasuresOK struct {
Payload *models.ResourceMeasures
}
GetResourcesIDMeasuresOK handles this case with default header values.
A response should contain a measures map in which the key represents a resource feature and the value is the most updated usage value of the feature. This usage value is assumed to be the sum total of usage for that feature for the billing period
func NewGetResourcesIDMeasuresOK ¶ added in v0.13.0
func NewGetResourcesIDMeasuresOK() *GetResourcesIDMeasuresOK
NewGetResourcesIDMeasuresOK creates a GetResourcesIDMeasuresOK with default headers values
func (*GetResourcesIDMeasuresOK) Error ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresOK) Error() string
type GetResourcesIDMeasuresParams ¶ added in v0.13.0
type GetResourcesIDMeasuresParams struct { /*ID ID of a Resource object, stored as a base32 encoded 18 byte identifier. */ ID string /*PeriodEnd*/ PeriodEnd strfmt.DateTime /*PeriodStart*/ PeriodStart strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourcesIDMeasuresParams contains all the parameters to send to the API endpoint for the get resources ID measures operation typically these are written to a http.Request
func NewGetResourcesIDMeasuresParams ¶ added in v0.13.0
func NewGetResourcesIDMeasuresParams() *GetResourcesIDMeasuresParams
NewGetResourcesIDMeasuresParams creates a new GetResourcesIDMeasuresParams object with the default values initialized.
func NewGetResourcesIDMeasuresParamsWithContext ¶ added in v0.13.0
func NewGetResourcesIDMeasuresParamsWithContext(ctx context.Context) *GetResourcesIDMeasuresParams
NewGetResourcesIDMeasuresParamsWithContext creates a new GetResourcesIDMeasuresParams object with the default values initialized, and the ability to set a context for a request
func NewGetResourcesIDMeasuresParamsWithHTTPClient ¶ added in v0.13.0
func NewGetResourcesIDMeasuresParamsWithHTTPClient(client *http.Client) *GetResourcesIDMeasuresParams
NewGetResourcesIDMeasuresParamsWithHTTPClient creates a new GetResourcesIDMeasuresParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetResourcesIDMeasuresParamsWithTimeout ¶ added in v0.13.0
func NewGetResourcesIDMeasuresParamsWithTimeout(timeout time.Duration) *GetResourcesIDMeasuresParams
NewGetResourcesIDMeasuresParamsWithTimeout creates a new GetResourcesIDMeasuresParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetResourcesIDMeasuresParams) SetContext ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) SetContext(ctx context.Context)
SetContext adds the context to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) SetHTTPClient ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) SetID ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) SetID(id string)
SetID adds the id to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) SetPeriodEnd ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) SetPeriodEnd(periodEnd strfmt.DateTime)
SetPeriodEnd adds the periodEnd to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) SetPeriodStart ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) SetPeriodStart(periodStart strfmt.DateTime)
SetPeriodStart adds the periodStart to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) SetTimeout ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WithContext ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) WithContext(ctx context.Context) *GetResourcesIDMeasuresParams
WithContext adds the context to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WithHTTPClient ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) WithHTTPClient(client *http.Client) *GetResourcesIDMeasuresParams
WithHTTPClient adds the HTTPClient to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WithID ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) WithID(id string) *GetResourcesIDMeasuresParams
WithID adds the id to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WithPeriodEnd ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) WithPeriodEnd(periodEnd strfmt.DateTime) *GetResourcesIDMeasuresParams
WithPeriodEnd adds the periodEnd to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WithPeriodStart ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) WithPeriodStart(periodStart strfmt.DateTime) *GetResourcesIDMeasuresParams
WithPeriodStart adds the periodStart to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WithTimeout ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) WithTimeout(timeout time.Duration) *GetResourcesIDMeasuresParams
WithTimeout adds the timeout to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WriteToRequest ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourcesIDMeasuresReader ¶ added in v0.13.0
type GetResourcesIDMeasuresReader struct {
// contains filtered or unexported fields
}
GetResourcesIDMeasuresReader is a Reader for the GetResourcesIDMeasures structure.
func (*GetResourcesIDMeasuresReader) ReadResponse ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourcesIDMeasuresUnauthorized ¶ added in v0.13.0
type GetResourcesIDMeasuresUnauthorized struct {
}GetResourcesIDMeasuresUnauthorized handles this case with default header values.
Request authenticity could not be validated.
func NewGetResourcesIDMeasuresUnauthorized ¶ added in v0.13.0
func NewGetResourcesIDMeasuresUnauthorized() *GetResourcesIDMeasuresUnauthorized
NewGetResourcesIDMeasuresUnauthorized creates a GetResourcesIDMeasuresUnauthorized with default headers values
func (*GetResourcesIDMeasuresUnauthorized) Error ¶ added in v0.13.0
func (o *GetResourcesIDMeasuresUnauthorized) Error() string
type GetResourcesIDMeasuresUnauthorizedBody ¶ added in v0.13.0
type GetResourcesIDMeasuresUnauthorizedBody struct { // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
GetResourcesIDMeasuresUnauthorizedBody get resources ID measures unauthorized body swagger:model GetResourcesIDMeasuresUnauthorizedBody
type PatchResourcesIDAccepted ¶
type PatchResourcesIDAccepted struct {
Payload PatchResourcesIDAcceptedBody
}
PatchResourcesIDAccepted handles this case with default header values.
Acknowledgement of the plan change request with a corresponding message to be displayed to the user. The provider will call the callback url once resource's plan has been changed successfully or a failure has occurred.
func NewPatchResourcesIDAccepted ¶
func NewPatchResourcesIDAccepted() *PatchResourcesIDAccepted
NewPatchResourcesIDAccepted creates a PatchResourcesIDAccepted with default headers values
func (*PatchResourcesIDAccepted) Error ¶
func (o *PatchResourcesIDAccepted) Error() string
type PatchResourcesIDAcceptedBody ¶
type PatchResourcesIDAcceptedBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PatchResourcesIDAcceptedBody Object used to display a message back to the user after a change has been // made to a Resource. // swagger:model PatchResourcesIDAcceptedBody
type PatchResourcesIDBadRequest ¶
type PatchResourcesIDBadRequest struct {
Payload PatchResourcesIDBadRequestBody
}
PatchResourcesIDBadRequest handles this case with default header values.
Request denied due to invalid request body.
func NewPatchResourcesIDBadRequest ¶
func NewPatchResourcesIDBadRequest() *PatchResourcesIDBadRequest
NewPatchResourcesIDBadRequest creates a PatchResourcesIDBadRequest with default headers values
func (*PatchResourcesIDBadRequest) Error ¶
func (o *PatchResourcesIDBadRequest) Error() string
type PatchResourcesIDBadRequestBody ¶
type PatchResourcesIDBadRequestBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PatchResourcesIDBadRequestBody patch resources ID bad request body swagger:model PatchResourcesIDBadRequestBody
type PatchResourcesIDInternalServerError ¶
type PatchResourcesIDInternalServerError struct {
Payload PatchResourcesIDInternalServerErrorBody
}
PatchResourcesIDInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewPatchResourcesIDInternalServerError ¶
func NewPatchResourcesIDInternalServerError() *PatchResourcesIDInternalServerError
NewPatchResourcesIDInternalServerError creates a PatchResourcesIDInternalServerError with default headers values
func (*PatchResourcesIDInternalServerError) Error ¶
func (o *PatchResourcesIDInternalServerError) Error() string
type PatchResourcesIDInternalServerErrorBody ¶
type PatchResourcesIDInternalServerErrorBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PatchResourcesIDInternalServerErrorBody patch resources ID internal server error body swagger:model PatchResourcesIDInternalServerErrorBody
type PatchResourcesIDNoContent ¶
type PatchResourcesIDNoContent struct { }
PatchResourcesIDNoContent handles this case with default header values.
The plan has been changed successfully and there is no message to display to the user.
func NewPatchResourcesIDNoContent ¶
func NewPatchResourcesIDNoContent() *PatchResourcesIDNoContent
NewPatchResourcesIDNoContent creates a PatchResourcesIDNoContent with default headers values
func (*PatchResourcesIDNoContent) Error ¶
func (o *PatchResourcesIDNoContent) Error() string
type PatchResourcesIDNotFound ¶
type PatchResourcesIDNotFound struct {
Payload PatchResourcesIDNotFoundBody
}
PatchResourcesIDNotFound handles this case with default header values.
Requested entity could not be found.
func NewPatchResourcesIDNotFound ¶
func NewPatchResourcesIDNotFound() *PatchResourcesIDNotFound
NewPatchResourcesIDNotFound creates a PatchResourcesIDNotFound with default headers values
func (*PatchResourcesIDNotFound) Error ¶
func (o *PatchResourcesIDNotFound) Error() string
type PatchResourcesIDNotFoundBody ¶
type PatchResourcesIDNotFoundBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PatchResourcesIDNotFoundBody patch resources ID not found body swagger:model PatchResourcesIDNotFoundBody
type PatchResourcesIDOK ¶
type PatchResourcesIDOK struct {
Payload PatchResourcesIDOKBody
}
PatchResourcesIDOK handles this case with default header values.
The plan has been changed successfully. The corresponding message is to be displayed to the user on the Manifold dashboard.
func NewPatchResourcesIDOK ¶
func NewPatchResourcesIDOK() *PatchResourcesIDOK
NewPatchResourcesIDOK creates a PatchResourcesIDOK with default headers values
func (*PatchResourcesIDOK) Error ¶
func (o *PatchResourcesIDOK) Error() string
type PatchResourcesIDOKBody ¶
type PatchResourcesIDOKBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PatchResourcesIDOKBody Object used to display a message back to the user after a change has been // made to a Resource. // swagger:model PatchResourcesIDOKBody
type PatchResourcesIDParams ¶
type PatchResourcesIDParams struct { /*Date Timestamp of when the request was issued from Manifold in UTC. */ Date strfmt.DateTime /*XCallbackID ID of the Callback for completing this request if the provider returns a `202 Accepted`, stored as a base 32 encoded 18 byte identifier. */ XCallbackID string /*XCallbackURL The URL the provider calls to complete the request if a `202 Accepted` is returned. */ XCallbackURL string /*XSignature Header containing the signature, ephemeral public key, and signature of the used public key signed by the Manifold root signing key to prove authenticity of the request. “` X-Signature: [request-signature] [public-key-value] [signature-of-public-key] “` examples: “` X-Signature: 96afMc5FVZjhGQ4YLPyRW9tcYoPKyj1EMUxkzma_Q4c WydEYGQb7Y4ER6KPAc-YuIwAqFUpII5P9U3MAZ3wxAQ ozhcosOmuWltP8r1BAs-0kccV1AkbHcKYLSjU0dGUHY “` */ XSignature string /*XSignedHeaders Comma delimited ordered list of header fields used in generating the request signature. */ XSignedHeaders string /*Body Resource Provisioning Request */ Body *models.ResourcePlanChangeRequest /*ID ID of a Resource object, stored as a base32 encoded 18 byte identifier. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchResourcesIDParams contains all the parameters to send to the API endpoint for the patch resources ID operation typically these are written to a http.Request
func NewPatchResourcesIDParams ¶
func NewPatchResourcesIDParams() *PatchResourcesIDParams
NewPatchResourcesIDParams creates a new PatchResourcesIDParams object with the default values initialized.
func NewPatchResourcesIDParamsWithContext ¶
func NewPatchResourcesIDParamsWithContext(ctx context.Context) *PatchResourcesIDParams
NewPatchResourcesIDParamsWithContext creates a new PatchResourcesIDParams object with the default values initialized, and the ability to set a context for a request
func NewPatchResourcesIDParamsWithHTTPClient ¶
func NewPatchResourcesIDParamsWithHTTPClient(client *http.Client) *PatchResourcesIDParams
NewPatchResourcesIDParamsWithHTTPClient creates a new PatchResourcesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchResourcesIDParamsWithTimeout ¶
func NewPatchResourcesIDParamsWithTimeout(timeout time.Duration) *PatchResourcesIDParams
NewPatchResourcesIDParamsWithTimeout creates a new PatchResourcesIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchResourcesIDParams) SetBody ¶
func (o *PatchResourcesIDParams) SetBody(body *models.ResourcePlanChangeRequest)
SetBody adds the body to the patch resources ID params
func (*PatchResourcesIDParams) SetContext ¶
func (o *PatchResourcesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch resources ID params
func (*PatchResourcesIDParams) SetDate ¶
func (o *PatchResourcesIDParams) SetDate(date strfmt.DateTime)
SetDate adds the date to the patch resources ID params
func (*PatchResourcesIDParams) SetHTTPClient ¶
func (o *PatchResourcesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch resources ID params
func (*PatchResourcesIDParams) SetID ¶
func (o *PatchResourcesIDParams) SetID(id string)
SetID adds the id to the patch resources ID params
func (*PatchResourcesIDParams) SetTimeout ¶
func (o *PatchResourcesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch resources ID params
func (*PatchResourcesIDParams) SetXCallbackID ¶
func (o *PatchResourcesIDParams) SetXCallbackID(xCallbackID string)
SetXCallbackID adds the xCallbackId to the patch resources ID params
func (*PatchResourcesIDParams) SetXCallbackURL ¶
func (o *PatchResourcesIDParams) SetXCallbackURL(xCallbackURL string)
SetXCallbackURL adds the xCallbackUrl to the patch resources ID params
func (*PatchResourcesIDParams) SetXSignature ¶
func (o *PatchResourcesIDParams) SetXSignature(xSignature string)
SetXSignature adds the xSignature to the patch resources ID params
func (*PatchResourcesIDParams) SetXSignedHeaders ¶
func (o *PatchResourcesIDParams) SetXSignedHeaders(xSignedHeaders string)
SetXSignedHeaders adds the xSignedHeaders to the patch resources ID params
func (*PatchResourcesIDParams) WithBody ¶
func (o *PatchResourcesIDParams) WithBody(body *models.ResourcePlanChangeRequest) *PatchResourcesIDParams
WithBody adds the body to the patch resources ID params
func (*PatchResourcesIDParams) WithContext ¶
func (o *PatchResourcesIDParams) WithContext(ctx context.Context) *PatchResourcesIDParams
WithContext adds the context to the patch resources ID params
func (*PatchResourcesIDParams) WithDate ¶
func (o *PatchResourcesIDParams) WithDate(date strfmt.DateTime) *PatchResourcesIDParams
WithDate adds the date to the patch resources ID params
func (*PatchResourcesIDParams) WithHTTPClient ¶
func (o *PatchResourcesIDParams) WithHTTPClient(client *http.Client) *PatchResourcesIDParams
WithHTTPClient adds the HTTPClient to the patch resources ID params
func (*PatchResourcesIDParams) WithID ¶
func (o *PatchResourcesIDParams) WithID(id string) *PatchResourcesIDParams
WithID adds the id to the patch resources ID params
func (*PatchResourcesIDParams) WithTimeout ¶
func (o *PatchResourcesIDParams) WithTimeout(timeout time.Duration) *PatchResourcesIDParams
WithTimeout adds the timeout to the patch resources ID params
func (*PatchResourcesIDParams) WithXCallbackID ¶
func (o *PatchResourcesIDParams) WithXCallbackID(xCallbackID string) *PatchResourcesIDParams
WithXCallbackID adds the xCallbackID to the patch resources ID params
func (*PatchResourcesIDParams) WithXCallbackURL ¶
func (o *PatchResourcesIDParams) WithXCallbackURL(xCallbackURL string) *PatchResourcesIDParams
WithXCallbackURL adds the xCallbackURL to the patch resources ID params
func (*PatchResourcesIDParams) WithXSignature ¶
func (o *PatchResourcesIDParams) WithXSignature(xSignature string) *PatchResourcesIDParams
WithXSignature adds the xSignature to the patch resources ID params
func (*PatchResourcesIDParams) WithXSignedHeaders ¶
func (o *PatchResourcesIDParams) WithXSignedHeaders(xSignedHeaders string) *PatchResourcesIDParams
WithXSignedHeaders adds the xSignedHeaders to the patch resources ID params
func (*PatchResourcesIDParams) WriteToRequest ¶
func (o *PatchResourcesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchResourcesIDReader ¶
type PatchResourcesIDReader struct {
// contains filtered or unexported fields
}
PatchResourcesIDReader is a Reader for the PatchResourcesID structure.
func (*PatchResourcesIDReader) ReadResponse ¶
func (o *PatchResourcesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchResourcesIDUnauthorized ¶
type PatchResourcesIDUnauthorized struct {
}PatchResourcesIDUnauthorized handles this case with default header values.
Request authenticity could not be validated.
func NewPatchResourcesIDUnauthorized ¶
func NewPatchResourcesIDUnauthorized() *PatchResourcesIDUnauthorized
NewPatchResourcesIDUnauthorized creates a PatchResourcesIDUnauthorized with default headers values
func (*PatchResourcesIDUnauthorized) Error ¶
func (o *PatchResourcesIDUnauthorized) Error() string
type PatchResourcesIDUnauthorizedBody ¶
type PatchResourcesIDUnauthorizedBody struct { // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PatchResourcesIDUnauthorizedBody patch resources ID unauthorized body swagger:model PatchResourcesIDUnauthorizedBody
type PutResourcesIDAccepted ¶
type PutResourcesIDAccepted struct {
Payload PutResourcesIDAcceptedBody
}
PutResourcesIDAccepted handles this case with default header values.
Acknowledgement of the provisioning request with a corresponding message to be displayed to the user. The provider will call the callback url once provisioning has succeed or a failure has occurred.
func NewPutResourcesIDAccepted ¶
func NewPutResourcesIDAccepted() *PutResourcesIDAccepted
NewPutResourcesIDAccepted creates a PutResourcesIDAccepted with default headers values
func (*PutResourcesIDAccepted) Error ¶
func (o *PutResourcesIDAccepted) Error() string
type PutResourcesIDAcceptedBody ¶
type PutResourcesIDAcceptedBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutResourcesIDAcceptedBody Object used to display a message back to the user after a change has been // made to a Resource. // swagger:model PutResourcesIDAcceptedBody
type PutResourcesIDBadRequest ¶
type PutResourcesIDBadRequest struct {
Payload PutResourcesIDBadRequestBody
}
PutResourcesIDBadRequest handles this case with default header values.
Request denied due to invalid request body.
func NewPutResourcesIDBadRequest ¶
func NewPutResourcesIDBadRequest() *PutResourcesIDBadRequest
NewPutResourcesIDBadRequest creates a PutResourcesIDBadRequest with default headers values
func (*PutResourcesIDBadRequest) Error ¶
func (o *PutResourcesIDBadRequest) Error() string
type PutResourcesIDBadRequestBody ¶
type PutResourcesIDBadRequestBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutResourcesIDBadRequestBody put resources ID bad request body swagger:model PutResourcesIDBadRequestBody
type PutResourcesIDConflict ¶
type PutResourcesIDConflict struct {
Payload PutResourcesIDConflictBody
}
PutResourcesIDConflict handles this case with default header values.
An entity already exists with that identifier and the request contents do not match the current object. If an entity does exist with that identifier and the request contents do match then a success response should be returned.
func NewPutResourcesIDConflict ¶
func NewPutResourcesIDConflict() *PutResourcesIDConflict
NewPutResourcesIDConflict creates a PutResourcesIDConflict with default headers values
func (*PutResourcesIDConflict) Error ¶
func (o *PutResourcesIDConflict) Error() string
type PutResourcesIDConflictBody ¶
type PutResourcesIDConflictBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutResourcesIDConflictBody put resources ID conflict body swagger:model PutResourcesIDConflictBody
type PutResourcesIDCreated ¶
type PutResourcesIDCreated struct {
Payload PutResourcesIDCreatedBody
}
PutResourcesIDCreated handles this case with default header values.
Successful provisioning request, with an attached message to be displayed to the user.
func NewPutResourcesIDCreated ¶
func NewPutResourcesIDCreated() *PutResourcesIDCreated
NewPutResourcesIDCreated creates a PutResourcesIDCreated with default headers values
func (*PutResourcesIDCreated) Error ¶
func (o *PutResourcesIDCreated) Error() string
type PutResourcesIDCreatedBody ¶
type PutResourcesIDCreatedBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutResourcesIDCreatedBody Object used to display a message back to the user after a change has been // made to a Resource. // swagger:model PutResourcesIDCreatedBody
type PutResourcesIDInternalServerError ¶
type PutResourcesIDInternalServerError struct {
Payload PutResourcesIDInternalServerErrorBody
}
PutResourcesIDInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewPutResourcesIDInternalServerError ¶
func NewPutResourcesIDInternalServerError() *PutResourcesIDInternalServerError
NewPutResourcesIDInternalServerError creates a PutResourcesIDInternalServerError with default headers values
func (*PutResourcesIDInternalServerError) Error ¶
func (o *PutResourcesIDInternalServerError) Error() string
type PutResourcesIDInternalServerErrorBody ¶
type PutResourcesIDInternalServerErrorBody struct { // message // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutResourcesIDInternalServerErrorBody put resources ID internal server error body swagger:model PutResourcesIDInternalServerErrorBody
type PutResourcesIDNoContent ¶
type PutResourcesIDNoContent struct { }
PutResourcesIDNoContent handles this case with default header values.
Successful provisioning request, with no message to be displayed to the user.
func NewPutResourcesIDNoContent ¶
func NewPutResourcesIDNoContent() *PutResourcesIDNoContent
NewPutResourcesIDNoContent creates a PutResourcesIDNoContent with default headers values
func (*PutResourcesIDNoContent) Error ¶
func (o *PutResourcesIDNoContent) Error() string
type PutResourcesIDParams ¶
type PutResourcesIDParams struct { /*Date Timestamp of when the request was issued from Manifold in UTC. */ Date strfmt.DateTime /*XCallbackID ID of the Callback for completing this request if the provider returns a `202 Accepted`, stored as a base 32 encoded 18 byte identifier. */ XCallbackID string /*XCallbackURL The URL the provider calls to complete the request if a `202 Accepted` is returned. */ XCallbackURL string /*XSignature Header containing the signature, ephemeral public key, and signature of the used public key signed by the Manifold root signing key to prove authenticity of the request. “` X-Signature: [request-signature] [public-key-value] [signature-of-public-key] “` examples: “` X-Signature: 96afMc5FVZjhGQ4YLPyRW9tcYoPKyj1EMUxkzma_Q4c WydEYGQb7Y4ER6KPAc-YuIwAqFUpII5P9U3MAZ3wxAQ ozhcosOmuWltP8r1BAs-0kccV1AkbHcKYLSjU0dGUHY “` */ XSignature string /*XSignedHeaders Comma delimited ordered list of header fields used in generating the request signature. */ XSignedHeaders string /*Body Resource Provisioning Request */ Body *models.ResourceRequest /*ID ID of a Resource object, stored as a base32 encoded 18 byte identifier. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutResourcesIDParams contains all the parameters to send to the API endpoint for the put resources ID operation typically these are written to a http.Request
func NewPutResourcesIDParams ¶
func NewPutResourcesIDParams() *PutResourcesIDParams
NewPutResourcesIDParams creates a new PutResourcesIDParams object with the default values initialized.
func NewPutResourcesIDParamsWithContext ¶
func NewPutResourcesIDParamsWithContext(ctx context.Context) *PutResourcesIDParams
NewPutResourcesIDParamsWithContext creates a new PutResourcesIDParams object with the default values initialized, and the ability to set a context for a request
func NewPutResourcesIDParamsWithHTTPClient ¶
func NewPutResourcesIDParamsWithHTTPClient(client *http.Client) *PutResourcesIDParams
NewPutResourcesIDParamsWithHTTPClient creates a new PutResourcesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutResourcesIDParamsWithTimeout ¶
func NewPutResourcesIDParamsWithTimeout(timeout time.Duration) *PutResourcesIDParams
NewPutResourcesIDParamsWithTimeout creates a new PutResourcesIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutResourcesIDParams) SetBody ¶
func (o *PutResourcesIDParams) SetBody(body *models.ResourceRequest)
SetBody adds the body to the put resources ID params
func (*PutResourcesIDParams) SetContext ¶
func (o *PutResourcesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put resources ID params
func (*PutResourcesIDParams) SetDate ¶
func (o *PutResourcesIDParams) SetDate(date strfmt.DateTime)
SetDate adds the date to the put resources ID params
func (*PutResourcesIDParams) SetHTTPClient ¶
func (o *PutResourcesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put resources ID params
func (*PutResourcesIDParams) SetID ¶
func (o *PutResourcesIDParams) SetID(id string)
SetID adds the id to the put resources ID params
func (*PutResourcesIDParams) SetTimeout ¶
func (o *PutResourcesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put resources ID params
func (*PutResourcesIDParams) SetXCallbackID ¶
func (o *PutResourcesIDParams) SetXCallbackID(xCallbackID string)
SetXCallbackID adds the xCallbackId to the put resources ID params
func (*PutResourcesIDParams) SetXCallbackURL ¶
func (o *PutResourcesIDParams) SetXCallbackURL(xCallbackURL string)
SetXCallbackURL adds the xCallbackUrl to the put resources ID params
func (*PutResourcesIDParams) SetXSignature ¶
func (o *PutResourcesIDParams) SetXSignature(xSignature string)
SetXSignature adds the xSignature to the put resources ID params
func (*PutResourcesIDParams) SetXSignedHeaders ¶
func (o *PutResourcesIDParams) SetXSignedHeaders(xSignedHeaders string)
SetXSignedHeaders adds the xSignedHeaders to the put resources ID params
func (*PutResourcesIDParams) WithBody ¶
func (o *PutResourcesIDParams) WithBody(body *models.ResourceRequest) *PutResourcesIDParams
WithBody adds the body to the put resources ID params
func (*PutResourcesIDParams) WithContext ¶
func (o *PutResourcesIDParams) WithContext(ctx context.Context) *PutResourcesIDParams
WithContext adds the context to the put resources ID params
func (*PutResourcesIDParams) WithDate ¶
func (o *PutResourcesIDParams) WithDate(date strfmt.DateTime) *PutResourcesIDParams
WithDate adds the date to the put resources ID params
func (*PutResourcesIDParams) WithHTTPClient ¶
func (o *PutResourcesIDParams) WithHTTPClient(client *http.Client) *PutResourcesIDParams
WithHTTPClient adds the HTTPClient to the put resources ID params
func (*PutResourcesIDParams) WithID ¶
func (o *PutResourcesIDParams) WithID(id string) *PutResourcesIDParams
WithID adds the id to the put resources ID params
func (*PutResourcesIDParams) WithTimeout ¶
func (o *PutResourcesIDParams) WithTimeout(timeout time.Duration) *PutResourcesIDParams
WithTimeout adds the timeout to the put resources ID params
func (*PutResourcesIDParams) WithXCallbackID ¶
func (o *PutResourcesIDParams) WithXCallbackID(xCallbackID string) *PutResourcesIDParams
WithXCallbackID adds the xCallbackID to the put resources ID params
func (*PutResourcesIDParams) WithXCallbackURL ¶
func (o *PutResourcesIDParams) WithXCallbackURL(xCallbackURL string) *PutResourcesIDParams
WithXCallbackURL adds the xCallbackURL to the put resources ID params
func (*PutResourcesIDParams) WithXSignature ¶
func (o *PutResourcesIDParams) WithXSignature(xSignature string) *PutResourcesIDParams
WithXSignature adds the xSignature to the put resources ID params
func (*PutResourcesIDParams) WithXSignedHeaders ¶
func (o *PutResourcesIDParams) WithXSignedHeaders(xSignedHeaders string) *PutResourcesIDParams
WithXSignedHeaders adds the xSignedHeaders to the put resources ID params
func (*PutResourcesIDParams) WriteToRequest ¶
func (o *PutResourcesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutResourcesIDReader ¶
type PutResourcesIDReader struct {
// contains filtered or unexported fields
}
PutResourcesIDReader is a Reader for the PutResourcesID structure.
func (*PutResourcesIDReader) ReadResponse ¶
func (o *PutResourcesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutResourcesIDUnauthorized ¶
type PutResourcesIDUnauthorized struct {
}PutResourcesIDUnauthorized handles this case with default header values.
Request authenticity could not be validated.
func NewPutResourcesIDUnauthorized ¶
func NewPutResourcesIDUnauthorized() *PutResourcesIDUnauthorized
NewPutResourcesIDUnauthorized creates a PutResourcesIDUnauthorized with default headers values
func (*PutResourcesIDUnauthorized) Error ¶
func (o *PutResourcesIDUnauthorized) Error() string
type PutResourcesIDUnauthorizedBody ¶
type PutResourcesIDUnauthorizedBody struct { // Required: true // Max Length: 256 // Min Length: 3 Message *string `json:"message"` }
PutResourcesIDUnauthorizedBody put resources ID unauthorized body swagger:model PutResourcesIDUnauthorizedBody