toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cleanupPolicies != null) 'cleanupPolicies': cleanupPolicies!,
      if (cleanupPolicyDryRun != null)
        'cleanupPolicyDryRun': cleanupPolicyDryRun!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (disallowUnspecifiedMode != null)
        'disallowUnspecifiedMode': disallowUnspecifiedMode!,
      if (dockerConfig != null) 'dockerConfig': dockerConfig!,
      if (format != null) 'format': format!,
      if (kmsKeyName != null) 'kmsKeyName': kmsKeyName!,
      if (labels != null) 'labels': labels!,
      if (mavenConfig != null) 'mavenConfig': mavenConfig!,
      if (mode != null) 'mode': mode!,
      if (name != null) 'name': name!,
      if (remoteRepositoryConfig != null)
        'remoteRepositoryConfig': remoteRepositoryConfig!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (sizeBytes != null) 'sizeBytes': sizeBytes!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (virtualRepositoryConfig != null)
        'virtualRepositoryConfig': virtualRepositoryConfig!,
    };