toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (activeDirectory != null) 'activeDirectory': activeDirectory!,
  if (backupConfig != null) 'backupConfig': backupConfig!,
  if (cacheParameters != null) 'cacheParameters': cacheParameters!,
  if (capacityGib != null) 'capacityGib': capacityGib!,
  if (coldTierSizeGib != null) 'coldTierSizeGib': coldTierSizeGib!,
  if (createTime != null) 'createTime': createTime!,
  if (description != null) 'description': description!,
  if (encryptionType != null) 'encryptionType': encryptionType!,
  if (exportPolicy != null) 'exportPolicy': exportPolicy!,
  if (hasReplication != null) 'hasReplication': hasReplication!,
  if (hotTierSizeUsedGib != null) 'hotTierSizeUsedGib': hotTierSizeUsedGib!,
  if (hybridReplicationParameters != null)
    'hybridReplicationParameters': hybridReplicationParameters!,
  if (kerberosEnabled != null) 'kerberosEnabled': kerberosEnabled!,
  if (kmsConfig != null) 'kmsConfig': kmsConfig!,
  if (labels != null) 'labels': labels!,
  if (largeCapacity != null) 'largeCapacity': largeCapacity!,
  if (ldapEnabled != null) 'ldapEnabled': ldapEnabled!,
  if (mountOptions != null) 'mountOptions': mountOptions!,
  if (multipleEndpoints != null) 'multipleEndpoints': multipleEndpoints!,
  if (name != null) 'name': name!,
  if (network != null) 'network': network!,
  if (protocols != null) 'protocols': protocols!,
  if (psaRange != null) 'psaRange': psaRange!,
  if (replicaZone != null) 'replicaZone': replicaZone!,
  if (restoreParameters != null) 'restoreParameters': restoreParameters!,
  if (restrictedActions != null) 'restrictedActions': restrictedActions!,
  if (securityStyle != null) 'securityStyle': securityStyle!,
  if (serviceLevel != null) 'serviceLevel': serviceLevel!,
  if (shareName != null) 'shareName': shareName!,
  if (smbSettings != null) 'smbSettings': smbSettings!,
  if (snapReserve != null) 'snapReserve': snapReserve!,
  if (snapshotDirectory != null) 'snapshotDirectory': snapshotDirectory!,
  if (snapshotPolicy != null) 'snapshotPolicy': snapshotPolicy!,
  if (state != null) 'state': state!,
  if (stateDetails != null) 'stateDetails': stateDetails!,
  if (storagePool != null) 'storagePool': storagePool!,
  if (throughputMibps != null) 'throughputMibps': throughputMibps!,
  if (tieringPolicy != null) 'tieringPolicy': tieringPolicy!,
  if (unixPermissions != null) 'unixPermissions': unixPermissions!,
  if (usedGib != null) 'usedGib': usedGib!,
  if (zone != null) 'zone': zone!,
};