Class ObjectReference
-
- All Implemented Interfaces:
public final class ObjectReferenceIndicates the event was copied from another object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classObjectReference.BuilderA builder for ObjectReference.
public final classObjectReference.ObjectTypeType of the object the event is originating from.
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the original event. final String_xactId()Transaction ID of the original event. final StringobjectId()ID of the object the event is originating from. final ObjectReference.ObjectTypeobjectType()Type of the object the event is originating from. final Optional<String>created()Created timestamp of the original event. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>__xactId()Returns the raw JSON value of _xactId. final JsonField<String>_objectId()Returns the raw JSON value of objectId. final JsonField<ObjectReference.ObjectType>_objectType()Returns the raw JSON value of objectType. final JsonField<String>_created()Returns the raw JSON value of created. final Map<String, JsonValue>_additionalProperties()final ObjectReferencevalidate()final ObjectReference.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ObjectReference.Builderbuilder()Returns a mutable builder for constructing an instance of ObjectReference. -
-
Method Detail
-
objectType
final ObjectReference.ObjectType objectType()
Type of the object the event is originating from.
-
created
final Optional<String> created()
Created timestamp of the original event. Used to help sort in the UI
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
__xactId
final JsonField<String> __xactId()
Returns the raw JSON value of _xactId.
Unlike _xactId, this method doesn't throw if the JSON field has an unexpected type.
-
_objectId
final JsonField<String> _objectId()
Returns the raw JSON value of objectId.
Unlike objectId, this method doesn't throw if the JSON field has an unexpected type.
-
_objectType
final JsonField<ObjectReference.ObjectType> _objectType()
Returns the raw JSON value of objectType.
Unlike objectType, this method doesn't throw if the JSON field has an unexpected type.
-
_created
final JsonField<String> _created()
Returns the raw JSON value of created.
Unlike created, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ObjectReference validate()
-
toBuilder
final ObjectReference.Builder toBuilder()
-
builder
final static ObjectReference.Builder builder()
Returns a mutable builder for constructing an instance of ObjectReference.
The following fields are required:
.id() ._xactId() .objectId() .objectType()
-
-
-
-