func (a *Client) PutResourcesIDMeasures(params *PutResourcesIDMeasuresParams, authInfo runtime.ClientAuthInfoWriter) (*PutResourcesIDMeasuresNoContent, error) {
	if params == nil {
		params = NewPutResourcesIDMeasuresParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "PutResourcesIDMeasures",
		Method:             "PUT",
		PathPattern:        "/resources/{id}/measures",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &PutResourcesIDMeasuresReader{formats: a.formats},
		AuthInfo:           authInfo,
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*PutResourcesIDMeasuresNoContent), nil
}
/*
PutResourcesIDMeasures bs e t a set how much a resource has used of its features

*BETA** A provider can call this endpoint to set how much a resource
has used of its features during a period of time.
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) GetResourcesID(params *GetResourcesIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDOK, error) {
	if params == nil {
		params = NewGetResourcesIDParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetResourcesID",
		Method:             "GET",
		PathPattern:        "/resources/{id}",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetResourcesIDReader{formats: a.formats},
		AuthInfo:           authInfo,
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetResourcesIDOK), nil
}
func (a *Client) GetResourcesIDCredentials(params *GetResourcesIDCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDCredentialsOK, error) {
	if params == nil {
		params = NewGetResourcesIDCredentialsParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetResourcesIDCredentials",
		Method:             "GET",
		PathPattern:        "/resources/{id}/credentials",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetResourcesIDCredentialsReader{formats: a.formats},
		AuthInfo:           authInfo,
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetResourcesIDCredentialsOK), nil
}
func (a *Client) GetResourcesIDMeasures(params *GetResourcesIDMeasuresParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDMeasuresOK, 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},
		AuthInfo:           authInfo,
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetResourcesIDMeasuresOK), nil
}
func (a *Client) GetResourcesIDUsers(params *GetResourcesIDUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDUsersOK, error) {
	if params == nil {
		params = NewGetResourcesIDUsersParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetResourcesIDUsers",
		Method:             "GET",
		PathPattern:        "/resources/{id}/users",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetResourcesIDUsersReader{formats: a.formats},
		AuthInfo:           authInfo,
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetResourcesIDUsersOK), nil
}