Domain

Domain

Domain class, access domains with this.

Constructor

# new Domain(meta_data)

Parameters:
Name Type Description
meta_data Object The raw JSON meta data of the domain.
Source:

Methods

# getDomain() → {String}

Get the domain name.
Source:
Returns:
The domain name what else.
Type
String

# getImageViews() → {Number}

Sum of views of all the files uploaded to this domain.
Source:
Returns:
Views of all the images in the domain.
Type
Number

# getUploadCount() → {Number}

Get the number of files uploaded to this domain.
Source:
Returns:
Number of uploaded images to this domain.
Type
Number

# isPublic() → {Boolean}

Check if the domain is public or not.
Source:
Returns:
If the domain is public or not.
Type
Boolean