GetContextResult class

Result data returned by getContext.

Constructors

GetContextResult({required String createTime, required String description, required String displayName, required String etag, required Map<String, String> labels, required Map<String, String> metadata, required String name, required List<String> parentContexts, required String schemaTitle, required String schemaVersion, required String updateTime})
Creates a new GetContextResult. createTime Timestamp when this Context was created. description Description of the Context displayName User provided display name of the Context. May be up to 128 Unicode characters. etag An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. labels The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded). metadata Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB. name Immutable. The resource name of the Context. parentContexts A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts. schemaTitle The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store. schemaVersion The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store. updateTime Timestamp when this Context was last updated.
const
GetContextResult.fromMap(Map<String, dynamic> map)
factory

Properties

createTime → String
Timestamp when this Context was created.
final
description → String
Description of the Context
final
displayName → String
User provided display name of the Context. May be up to 128 Unicode characters.
final
etag → String
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Map<String, String>
The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
final
metadata → Map<String, String>
Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
final
name → String
Immutable. The resource name of the Context.
final
parentContexts → List<String>
A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemaTitle → String
The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
final
schemaVersion → String
The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
final
updateTime → String
Timestamp when this Context was last updated.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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