MutateDeployedIndexRequest.fromJson constructor
MutateDeployedIndexRequest.fromJson(
- Object? j
Implementation
factory MutateDeployedIndexRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return MutateDeployedIndexRequest(
indexEndpoint: switch (json['indexEndpoint']) {
null => '',
Object $1 => decodeString($1),
},
deployedIndex: switch (json['deployedIndex']) {
null => null,
Object $1 => DeployedIndex.fromJson($1),
},
);
}