public class Representation extends Object
Modifier and Type | Class and Description |
---|---|
class |
Representation.Content
Representation's content.
|
class |
Representation.Info
Representation's info URL.
|
class |
Representation.Metadata
Representation's metadata which is a set of dynamic properties about this specific representation of this
specific file.
|
class |
Representation.Properties
A set of static properties to distinguish between subtypes of a given representation,
for example, different sizes of jpg's.
|
class |
Representation.Status
Representation's status.
|
Constructor and Description |
---|
Representation(JsonObject representationJson)
Construct a representation from JsonObject.
|
Modifier and Type | Method and Description |
---|---|
String |
getAssetPath()
Get representation's asset path.
|
Representation.Content |
getContent()
Get representation's content which includes a url template.
|
Representation.Info |
getInfo()
Get Info which has an opaque URL which will return status information about the file.
|
Representation.Metadata |
getMetadata()
Get representation's metadata.
|
Representation.Properties |
getProperties()
Get representation's set of static properties to distinguish between subtypes of a given representation,
for example, different sizes of jpg's.
|
String |
getRepresentation()
Get the extension of the format, but occasionally a name of a standard (potentially de facto) format
or a proprietary format that Box supports.
|
Representation.Status |
getStatus()
A string with one of the following values: 'none', 'pending', 'viewable', 'error' and 'success'.
|
public Representation(JsonObject representationJson)
representationJson
- representaion entrypublic String getRepresentation()
public Representation.Properties getProperties()
public Representation.Metadata getMetadata()
public String getAssetPath()
public Representation.Info getInfo()
public Representation.Content getContent()
public Representation.Status getStatus()