public class ShareResource
extends java.lang.Object
CloudAPI
class to retrieve resources to add to a share.Constructor and Description |
---|
ShareResource() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocation()
Get the location of the resource.
|
java.lang.String |
getName()
Get the name of the resource to be added to the share.
|
java.lang.Long |
getSize()
Get the size of the resource.
|
java.lang.String |
getSubType()
Get the subType of the resource to be added to the share.
|
java.lang.String |
getType()
Get the type of the resource to be added to the share.
|
void |
setLocation(java.lang.String location)
Set the location of the resource to be added to the share.
|
void |
setName(java.lang.String name)
Set the name of a resource to be added to the share.
|
void |
setSize(java.lang.Long size)
Set the size of the resource to be added to the share.
|
public java.lang.String getName()
public void setName(java.lang.String name)
ResourceItem.getName()
or ResourceItem.getName()
or ResourceItem.getName()
or ResourceItem.getName()
or ResourceItem.getName()
or ResourceItem.getName()
.
Name of a Playlist can be obtained from Playlist.getName()
.
Refer corresponding api method calls from CloudAPI
class to retrieve resources to add to the share.name
- the name of a resource to be added to the sharepublic java.lang.String getType()
public java.lang.String getSubType()
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
ResourceItem.getUri()
or ResourceItem.getUri()
or ResourceItem.getUri()
or ResourceItem.getUri()
or ResourceItem.getUri()
or ResourceItem.getUri()
.
Uri of a Playlist can be obtained from Playlist.getUri()
.
Refer corresponding api method calls from CloudAPI
class to retrieve resources to add to the share.location
- public java.lang.Long getSize()
public void setSize(java.lang.Long size)
ResourceItem.getSize()
or ResourceItem.getSize()
or ResourceItem.getSize()
or ResourceItem.getSize()
or ResourceItem.getSize()
or ResourceItem.getSize()
.
Set size as -1 for a folder or a playlist.
Refer corresponding api method calls from CloudAPI
class to retrieve resources to add to the share.size
-