StorageVersionStatus class
API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend.
Constructors
-
StorageVersionStatus({String? commonEncodingVersion, List<
StorageVersionCondition> ? conditions, List<ServerStorageVersion> ? storageVersions}) -
Default constructor.
const
-
StorageVersionStatus.fromJson(Map<
String, dynamic> json) -
Creates a StorageVersionStatus from JSON data.
factory
Properties
- commonEncodingVersion → String?
-
If all API server instances agree on the same encoding storage version, then this field is set to that version. Otherwise this field is left empty. API servers should finish updating its storageVersionStatus entry before serving write operations, so that this field will be in sync with the reality.
final
-
conditions
→ List<
StorageVersionCondition> ? -
The latest available observations of the storageVersion's state.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storageVersions
→ List<
ServerStorageVersion> ? -
The reported versions per API server instance.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a StorageVersionStatus instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited