get

static Optional<ObjectDefinitionget(int id)

Gets the object definition for the object with the specified ID. If this operation fails, the optional will be empty.