RepoPutRecordInput constructor
- @JsonSerializable(includeIfNull: false)
const
RepoPutRecordInput(
{ - required String repo,
- required String collection,
- required String rkey,
- bool? validate,
- required Map<String, dynamic> record,
- String? swapRecord,
- String? swapCommit,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory RepoPutRecordInput({
/// The handle or DID of the repo (aka, current account).
required String repo,
/// The NSID of the record collection.
required String collection,
/// The Record Key.
required String rkey,
/// Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons.
bool? validate,
required Map<String, dynamic> record,
/// Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation
String? swapRecord,
/// Compare and swap with the previous commit by CID.
String? swapCommit,
Map<String, dynamic>? $unknown,
}) = _RepoPutRecordInput;