toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allNamespaces != null) 'allNamespaces': allNamespaces!,
      if (clusterMetadata != null) 'clusterMetadata': clusterMetadata!,
      if (completeTime != null) 'completeTime': completeTime!,
      if (configBackupSizeBytes != null)
        'configBackupSizeBytes': configBackupSizeBytes!,
      if (containsSecrets != null) 'containsSecrets': containsSecrets!,
      if (containsVolumeData != null)
        'containsVolumeData': containsVolumeData!,
      if (createTime != null) 'createTime': createTime!,
      if (deleteLockDays != null) 'deleteLockDays': deleteLockDays!,
      if (deleteLockExpireTime != null)
        'deleteLockExpireTime': deleteLockExpireTime!,
      if (description != null) 'description': description!,
      if (encryptionKey != null) 'encryptionKey': encryptionKey!,
      if (etag != null) 'etag': etag!,
      if (labels != null) 'labels': labels!,
      if (manual != null) 'manual': manual!,
      if (name != null) 'name': name!,
      if (permissiveMode != null) 'permissiveMode': permissiveMode!,
      if (podCount != null) 'podCount': podCount!,
      if (resourceCount != null) 'resourceCount': resourceCount!,
      if (retainDays != null) 'retainDays': retainDays!,
      if (retainExpireTime != null) 'retainExpireTime': retainExpireTime!,
      if (selectedApplications != null)
        'selectedApplications': selectedApplications!,
      if (selectedNamespaces != null)
        'selectedNamespaces': selectedNamespaces!,
      if (sizeBytes != null) 'sizeBytes': sizeBytes!,
      if (state != null) 'state': state!,
      if (stateReason != null) 'stateReason': stateReason!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (volumeCount != null) 'volumeCount': volumeCount!,
    };