Constructor
# new Domain(meta_data)
Parameters:
Name | Type | Description |
---|---|---|
meta_data |
Object | The raw JSON meta data of the domain. |
Methods
# getDomain() → {String}
Get the domain name.
Returns:
The domain name what else.
- Type
- String
# getImageViews() → {Number}
Sum of views of all the files uploaded to this domain.
Returns:
Views of all the images in the domain.
- Type
- Number
# getUploadCount() → {Number}
Get the number of files uploaded to this domain.
Returns:
Number of uploaded images to this domain.
- Type
- Number
# isPublic() → {Boolean}
Check if the domain is public or not.
Returns:
If the domain is public or not.
- Type
- Boolean