GetRepoStatusOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const GetRepoStatusOutput({
  1. required String did,
  2. required bool active,
  3. @UGetRepoStatusStatusConverter() UGetRepoStatusStatus? status,
  4. String? rev,
  5. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory GetRepoStatusOutput({
  required String did,
  required bool active,

  /// If active=false, this optional field indicates a possible reason
  /// for why the account is not active. If active=false and no status
  /// is supplied, then the host makes no claim for why the repository
  /// is no longer being hosted.
  @UGetRepoStatusStatusConverter() UGetRepoStatusStatus? status,

  /// Optional field, the current rev of the repo, if active=true
  String? rev,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _GetRepoStatusOutput;