class

PlaceOS::Client::APIWrapper::AssetInstances

Inherits PlaceOS::Client::APIWrapper::Endpoint::Destroy < PlaceOS::Client::APIWrapper::Endpoint::Fetch < PlaceOS::Client::APIWrapper::Endpoint < Reference < Object

Instance methods

base

The base route for the endpoint

Source
create(name : String, usage_start : Time, usage_end : Time)

Creates a new asset instance.

Source
search(q : String | Nil = nil, limit : Int = 20, offset : Int = 0)
Source
update(id : String, name : String | Nil = nil, purchase_date : Time | Nil = nil, identifier : String | Nil = nil, purchase_price : Int32 | Nil = nil)

Updates asset instance attributes or configuration.

Source