Resource

Resource
Resource

Base class for resources

JSON Example
{
    "_create_user": "string",
    "_create_time": 0,
    "_last_modified_user": "string",
    "_last_modified_time": 0,
    "_revision": 0,
    "_resource_type": "string",
    "_system_owned": false,
    "id": "string",
    "display_name": "string",
    "description": "string",
    "site_ids": [
        "string"
    ]
}
string
_create_user
Optional

ID of the user who created this resource

_create_time
Optional

Timestamp in milliseconds since epoch

string
_last_modified_user
Optional

ID of the user who last modified this resource

_last_modified_time
Optional

Timestamp in milliseconds since epoch

integer
_revision
Optional

The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.

string
_resource_type
Optional

The type of this resource.

boolean
_system_owned
Optional

Indicates system owned resource

string
id
Optional

Unique identifier of this resource

string
display_name
Optional
Constraints: maxLength: 255

Defaults to ID if not set

string
description
Optional
Constraints: maxLength: 1024

Description of this resource

array of string
site_ids
Optional

Identifiers of the local managers this resource corresponds to.