ResourceCollection

ResourceCollection class

Represents a collection of

The ResourceCollection type exposes the following members:

Properties

NameDescription
parent_projectGets the parent project of the ResourceCollection object.

Methods

NameDescription
add()Adds new resource at the last position of a project resources collection.
add(resource_name)Adds new resource at the last position of a project resources collection.
add(resource_name, before_resource_id)Adds new resource at the specified position of a project resources collection.
to_list()Converts the ResourceCollection object to a list of
get_by_id(id)Returns a resource with the specified id.
get_by_uid(uid)Returns a resource with the specified Uid.

See Also