Interface IAssetCollection
This object contains the information pertaining to an asset collection.
Namespace: Unity.Cloud.Assets
Syntax
public interface IAssetCollection
Properties
CatalogId
The id of an associated catalog.
Declaration
string CatalogId { get; }
Property Value
Type | Description |
---|---|
String |
Description
Describes the collection.
Declaration
string Description { get; }
Property Value
Type | Description |
---|---|
String |
Metadata
Additional serialized information about the collection.
Declaration
Dictionary<string, IDeserializable> Metadata { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<String, IDeserializable> |
Name
The name of the collection.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
String |
ParentPath
The path to the parent collection; can be empty.
Declaration
CollectionPath ParentPath { get; }
Property Value
Type | Description |
---|---|
CollectionPath |
Project
The project in which the collection resides.
Declaration
IProject Project { get; }
Property Value
Type | Description |
---|---|
IProject |
Methods
GetFullCollectionPath()
Returns the full path to the collection.
Declaration
string GetFullCollectionPath()
Returns
Type | Description |
---|---|
String | A path. |
SetDescription(String)
Implement this method to set the Description of the collection.
Declaration
void SetDescription(string description)
Parameters
Type | Name | Description |
---|---|---|
String | description | The description of the collection. |
SetName(String)
Implement this method to set the Name of the collection.
Declaration
void SetName(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the collection. |