MCPcopy
hub / github.com/google/earthengine-api / ISerializable

Interface ISerializable

javascript/src/eeapiclient/domain_object.ts:59–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58// tslint:disable-next-line:interface-name
59export interface ISerializable {
60 getClassMetadata(): ClassMetadata;
61 getConstructor(): SerializableCtor<ISerializable>;
62
63 /**
64 * Gets a value by the metadata key.
65 * Intended for internal use only.
66 */
67 // tslint:disable-next-line:no-any Serializables work with arbitrary data
68 Serializable$get(key: string): any;
69
70 /**
71 * Sets a value by the metadata key.
72 * Intended for internal use only.
73 */
74 // tslint:disable-next-line:no-any Serializables work with arbitrary data
75 Serializable$set(key: string, value: any): void;
76
77 /**
78 * Checks whether the key has a non-null and non-undefined value.
79 * Intended for internal use only.
80 */
81 Serializable$has(key: string): boolean;
82}
83
84/**
85 * Function that allows users to just specify the parts of ClassMetadata they

Callers 10

data.jsFile · 0.80
deepCopyMetadataFunction · 0.80
deepEqualsFunction · 0.80
cloneFunction · 0.80
serializeGetterFunction · 0.80
deepEqualsFunction · 0.80
hasAndIsNotEmptyArrayFunction · 0.80
deserializeSetterFunction · 0.80
data.jsFile · 0.80
hasAndIsNotEmptyArrayFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected