setMetadata Last update: 16.07.2025 public setMetadata(name: String, type: Variable.MetadataType, value: Any, access: Variable.MetadataAccess, archive: Boolean) Set a metadata value on a variable. Parameters name the metadata value's name type the type of metadata value the string representation of the value to set access the access (private, readonly, public) archive whether to save the data with the model