Nextcloud PHP API (stable19)

IResourceMetadata

Interface IResourceMetadata

This interface provides keys for common metadata. Resource Backends are not limited to this list and can provide any metadata they want.

Tags
since
17.0.0

Table of Contents

CONTACT_PERSON  = '{http://nextcloud.com/ns}resource-contact-person'
Contact information about the person who is responsible to administer / maintain this resource This key stores a textual description of name and possible ways to contact the person
CONTACT_PERSON_VCARD  = '{http://nextcloud.com/ns}resource-contact-person-vcard'
Link to the vcard of the contact person
RESOURCE_TYPE  = '{http://nextcloud.com/ns}resource-type'
Type of resource
VEHICLE_IS_ELECTRIC  = '{http://nextcloud.com/ns}resource-vehicle-is-electric'
Whether or not the car is electric
VEHICLE_MAKE  = '{http://nextcloud.com/ns}resource-vehicle-make'
Make of the vehicle
VEHICLE_MODEL  = '{http://nextcloud.com/ns}resource-vehicle-model'
Model of the vehicle
VEHICLE_RANGE  = '{http://nextcloud.com/ns}resource-vehicle-range'
Range of vehicle with a full tank
VEHICLE_SEATING_CAPACITY  = '{http://nextcloud.com/ns}resource-vehicle-seating-capacity'
Seating capacity of the vehicle
VEHICLE_TYPE  = '{http://nextcloud.com/ns}resource-vehicle-type'
If resource is of type vehicle, this describes the type of vehicle

Constants

CONTACT_PERSON

Contact information about the person who is responsible to administer / maintain this resource This key stores a textual description of name and possible ways to contact the person

public mixed CONTACT_PERSON = '{http://nextcloud.com/ns}resource-contact-person'
Tags
since
17.0.0

CONTACT_PERSON_VCARD

Link to the vcard of the contact person

public mixed CONTACT_PERSON_VCARD = '{http://nextcloud.com/ns}resource-contact-person-vcard'
Tags
since
17.0.0

RESOURCE_TYPE

Type of resource

public mixed RESOURCE_TYPE = '{http://nextcloud.com/ns}resource-type'

Allowed values for this key include:

  • projector
  • tv
  • vehicle
  • other
Tags
since
17.0.0

VEHICLE_IS_ELECTRIC

Whether or not the car is electric

public mixed VEHICLE_IS_ELECTRIC = '{http://nextcloud.com/ns}resource-vehicle-is-electric'

use '1' for electric, '0' for non-electric

Tags
since
17.0.0

VEHICLE_MAKE

Make of the vehicle

public mixed VEHICLE_MAKE = '{http://nextcloud.com/ns}resource-vehicle-make'
Tags
since
17.0.0

VEHICLE_MODEL

Model of the vehicle

public mixed VEHICLE_MODEL = '{http://nextcloud.com/ns}resource-vehicle-model'
Tags
since
17.0.0

VEHICLE_RANGE

Range of vehicle with a full tank

public mixed VEHICLE_RANGE = '{http://nextcloud.com/ns}resource-vehicle-range'
Tags
since
17.0.0

VEHICLE_SEATING_CAPACITY

Seating capacity of the vehicle

public mixed VEHICLE_SEATING_CAPACITY = '{http://nextcloud.com/ns}resource-vehicle-seating-capacity'
Tags
since
17.0.0

VEHICLE_TYPE

If resource is of type vehicle, this describes the type of vehicle

public mixed VEHICLE_TYPE = '{http://nextcloud.com/ns}resource-vehicle-type'

Allowed values:

  • bicycle
  • scooter
  • motorbike
  • car
  • plane
  • helicopter
  • other
Tags
since
17.0.0

Search results