ManagedFieldsEntry class

ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.

Constructors

ManagedFieldsEntry({String? apiVersion, String? fieldsType, FieldsV1? fieldsV1, String? manager, String? operation, String? subresource, DateTime? time})
Default constructor.
const
ManagedFieldsEntry.fromJson(Map<String, dynamic> json)
Creates a ManagedFieldsEntry from JSON data.
factory

Properties

apiVersion String?
APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
final
fieldsType String?
FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1".
final
fieldsV1 FieldsV1?
FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
final
hashCode int
The hash code for this object.
no setterinherited
manager String?
Manager is an identifier of the workflow managing these fields.
final
operation String?
Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subresource String?
Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.
final
time DateTime?
Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a ManagedFieldsEntry instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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