Package app.knock.api.models.recipients
Class RecipientReference.ObjectReference
-
- All Implemented Interfaces:
public final class RecipientReference.ObjectReferenceA reference to a recipient object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRecipientReference.ObjectReference.BuilderA builder for ObjectReference.
-
Method Summary
Modifier and Type Method Description final Optional<String>id()An identifier for the recipient object. final Optional<String>collection()The collection the recipient object belongs to. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_collection()Returns the raw JSON value of collection. final Map<String, JsonValue>_additionalProperties()final RecipientReference.ObjectReference.BuildertoBuilder()final RecipientReference.ObjectReferencevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RecipientReference.ObjectReference.Builderbuilder()Returns a mutable builder for constructing an instance of ObjectReference. -
-
Method Detail
-
collection
final Optional<String> collection()
The collection the recipient object belongs to.
-
_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.
-
_collection
final JsonField<String> _collection()
Returns the raw JSON value of collection.
Unlike collection, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RecipientReference.ObjectReference.Builder toBuilder()
-
validate
final RecipientReference.ObjectReference validate()
-
builder
final static RecipientReference.ObjectReference.Builder builder()
Returns a mutable builder for constructing an instance of ObjectReference.
-
-
-
-