PhraseSet constructor
PhraseSet({
- String? name,
- String? uid,
- Iterable<
PhraseSet_Phrase> ? phrases, - double? boost,
- String? displayName,
- Timestamp? createTime,
- Timestamp? updateTime,
- Timestamp? deleteTime,
- Timestamp? expireTime,
- Map<
String, String> ? annotations, - String? etag,
- bool? reconciling,
- String? kmsKeyName,
- String? kmsKeyVersionName,
- PhraseSet_State? state,
Implementation
factory PhraseSet({
$core.String? name,
$core.String? uid,
$core.Iterable<PhraseSet_Phrase>? phrases,
$core.double? boost,
$core.String? displayName,
$3.Timestamp? createTime,
$3.Timestamp? updateTime,
$3.Timestamp? deleteTime,
$3.Timestamp? expireTime,
$core.Map<$core.String, $core.String>? annotations,
$core.String? etag,
$core.bool? reconciling,
$core.String? kmsKeyName,
$core.String? kmsKeyVersionName,
PhraseSet_State? state,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (uid != null) {
$result.uid = uid;
}
if (phrases != null) {
$result.phrases.addAll(phrases);
}
if (boost != null) {
$result.boost = boost;
}
if (displayName != null) {
$result.displayName = displayName;
}
if (createTime != null) {
$result.createTime = createTime;
}
if (updateTime != null) {
$result.updateTime = updateTime;
}
if (deleteTime != null) {
$result.deleteTime = deleteTime;
}
if (expireTime != null) {
$result.expireTime = expireTime;
}
if (annotations != null) {
$result.annotations.addAll(annotations);
}
if (etag != null) {
$result.etag = etag;
}
if (reconciling != null) {
$result.reconciling = reconciling;
}
if (kmsKeyName != null) {
$result.kmsKeyName = kmsKeyName;
}
if (kmsKeyVersionName != null) {
$result.kmsKeyVersionName = kmsKeyVersionName;
}
if (state != null) {
$result.state = state;
}
return $result;
}