SpaceAllocation Class

Stores information on a user’s total space allocation.

Constructors

Name Description
SpaceAllocation(SpaceAllocationType, long) Creates a new instance of the SpaceAllocation class.

Properties

Name Type Description
Allocated System.Int Space allocated, in bytes.
Type DotNetBox.SpaceAllocationType Type of space allocation. Can be either individual allocation or team allocation.

Methods

Name Description
SpaceAllocation.FromJson(JObject) Creates a new instance of the SpaceAllocation class using a JSON object.
SpaceAllocation.ToString() Returns a string containing all of the class’ properties.