UsageChunkResource ⇐ GenericResource

The UsageFileResource class provides methods to access the usage file
endpoint of the Cloud Blue Connect API.

Kind: global class
Extends: GenericResource
Category: Resources

new UsageChunkResource(client)

Creates a new instance of the UsageChunkResource class.

Returns: UsageChunkResource – An instance of the UsageFileResource class.

Param Type Description
client ConnectClient An instance of the ConnectClient class.

usageChunkResource.close(id, externalBillingId, externalBillingNote) ⇒ UsageChunkResource

Close Chunk File.

Kind: instance method of UsageChunkResource
Returns: UsageChunkResource – An instance of the UsageChunkResource.

Param Type Description
id string The unique identifier of the Usage File.
externalBillingId string Id of the billing to close chunk
externalBillingNote string Note of the billing to close chunk

usageChunkResource.download(id) ⇒ UsageChunckResource

Download Chunk File.

Kind: instance method of UsageChunkResource
Returns: UsageChunckResource – An instance of the UsageChunkResource

Param Type Description
id string The unique identifier of the Usage File.

usageChunkResource.regenerate(id) ⇒ UsageChunckResource

Regenerate Chunk File.

Kind: instance method of UsageChunkResource
Returns: UsageChunckResource – An instance of the UsageChunkResource

Param Type Description
id string The unique identifier of the Usage File.
Is this page helpful?
Translate with Google
Copied to clipboard