func (a *Client) GetResourcesIDMeasures(params *GetResourcesIDMeasuresParams) (*GetResourcesIDMeasuresOK, *GetResourcesIDMeasuresNoContent, error) {
	if params == nil {
		params = NewGetResourcesIDMeasuresParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetResourcesIDMeasures",
		Method:             "GET",
		PathPattern:        "/resources/{id}/measures",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetResourcesIDMeasuresReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, nil, err
	}
	switch value := result.(type) {
	case *GetResourcesIDMeasuresOK:
		return value, nil, nil
	case *GetResourcesIDMeasuresNoContent:
		return nil, value, nil
	}
	return nil, nil, nil
}
/*
GetResourcesIDMeasures gets how much a resource has used its features

Manifold will call this endpoint hourly to get usage information about
the metered features of a resource.

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.

It can be defined as `[period_start, period_end)`
where `period_start` is inclusive, and `period_end` is exclusive.

Period start and end are represented with the [RFC3339 Format](https://www.ietf.org/rfc/rfc3339.txt).
package resource
import (
	"github.com/go-openapi/runtime"
	strfmt "github.com/go-openapi/strfmt"
)
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client {
	return &Client{transport: transport, formats: formats}
}
type Client struct {
	transport runtime.ClientTransport
	formats   strfmt.Registry
}
func (a *Client) DeleteResourcesID(params *DeleteResourcesIDParams) (*DeleteResourcesIDAccepted, *DeleteResourcesIDNoContent, error) {
	if params == nil {
		params = NewDeleteResourcesIDParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "DeleteResourcesID",
		Method:             "DELETE",
		PathPattern:        "/resources/{id}",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &DeleteResourcesIDReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, nil, err
	}
	switch value := result.(type) {
	case *DeleteResourcesIDAccepted:
		return value, nil, nil
	case *DeleteResourcesIDNoContent:
		return nil, value, nil
	}
	return nil, nil, nil
}