ComponentObjectRecord class

The component object body a v4 write answers, under custom_component_object: the fields a read nests there, with activity_logs beside them.

Inheritance

Constructors

ComponentObjectRecord({List<Object?>? accounts, List<Object?>? attributeGroups, List<Object?>? attributes, String? code, ComponentObjectCustomComponentObjectDetail? component, Object? createdBy, String? createdOn, ComponentObjectCustomComponentObjectCustomForm? customForm, List<Object?>? customObjects, String? href, String? id, List<Object?>? items, Object? lastUpdatedBy, String? lastUpdatedOn, String? object, List<Object?>? orders, List<ComponentObjectCustomComponentObjectParent?>? parents, List<Object?>? quotes, List<Object?>? restrictions, String? status, int? version, List<Object?>? workflowData, Object? workflowStage, Object? workflowStatus, Object? workflowStatusUuid, List<ComponentObjectRecordActivityLog?>? activityLogs})
const

Properties

accounts → List<Object?>?
final
activityLogs → List<ComponentObjectRecordActivityLog?>?
final
attributeGroups → List<Object?>?
final
attributes → List<Object?>?
final
code → String?
final
component → ComponentObjectCustomComponentObjectDetail?
final
createdBy → Object?
final
createdOn → String?
final
customForm → ComponentObjectCustomComponentObjectCustomForm?
final
customObjects → List<Object?>?
final
envelopeKey → String?
The key the API wraps this record in - 'account' for {"account": {...}}. readRecord unwraps it on the way in, toMap puts it back on the way out.
no setteroverride
fields → Map<String, Object?>
Every field this type declares, keyed by wire name, in the order it sends them.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
href → String?
final
id → String?
final
items → List<Object?>?
final
lastUpdatedBy → Object?
final
lastUpdatedOn → String?
final
object → String?
final
orders → List<Object?>?
final
parents → List<ComponentObjectCustomComponentObjectParent?>?
final
quotes → List<Object?>?
final
restrictions → List<Object?>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String?
final
topLevelFields → Set<String>
Fields that sit beside the envelope rather than inside it.
no setterinherited
version → int?
final
workflowData → List<Object?>?
final
workflowStage → Object?
final
workflowStatus → Object?
final
workflowStatusUuid → Object?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
The body this DTO stands for, envelope included.
inherited
toString() → String
Set fields, values under a secret-named key masked.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromMap(Object? body) → ComponentObjectRecord?