toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'orgID'] = orgID;
  json[r'name'] = name;
  if (description != null) {
    json[r'description'] = description;
  }
  if (rp != null) {
    json[r'rp'] = rp;
  }
  json[r'retentionRules'] = retentionRules;
  if (schemaType != null) {
    json[r'schemaType'] = schemaType;
  }
  return json;
}