toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activeDirectory != null) 'activeDirectory': activeDirectory!,
      if (allowAutoTiering != null) 'allowAutoTiering': allowAutoTiering!,
      if (capacityGib != null) 'capacityGib': capacityGib!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (encryptionType != null) 'encryptionType': encryptionType!,
      if (globalAccessAllowed != null)
        'globalAccessAllowed': globalAccessAllowed!,
      if (kmsConfig != null) 'kmsConfig': kmsConfig!,
      if (labels != null) 'labels': labels!,
      if (ldapEnabled != null) 'ldapEnabled': ldapEnabled!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (psaRange != null) 'psaRange': psaRange!,
      if (replicaZone != null) 'replicaZone': replicaZone!,
      if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (serviceLevel != null) 'serviceLevel': serviceLevel!,
      if (state != null) 'state': state!,
      if (stateDetails != null) 'stateDetails': stateDetails!,
      if (volumeCapacityGib != null) 'volumeCapacityGib': volumeCapacityGib!,
      if (volumeCount != null) 'volumeCount': volumeCount!,
      if (zone != null) 'zone': zone!,
    };