toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final attached = this.attached;
  final autoGrownSizeGib = this.autoGrownSizeGib;
  final bootVolume = this.bootVolume;
  final currentSizeGib = this.currentSizeGib;
  final emergencySizeGib = this.emergencySizeGib;
  final expireTime = this.expireTime;
  final id = this.id;
  final instances = this.instances;
  final labels = this.labels;
  final maxSizeGib = this.maxSizeGib;
  final name = this.name;
  final notes = this.notes;
  final originallyRequestedSizeGib = this.originallyRequestedSizeGib;
  final performanceTier = this.performanceTier;
  final pod = this.pod;
  final protocol = this.protocol;
  final remainingSpaceGib = this.remainingSpaceGib;
  final requestedSizeGib = this.requestedSizeGib;
  final snapshotAutoDeleteBehavior = this.snapshotAutoDeleteBehavior;
  final snapshotEnabled = this.snapshotEnabled;
  final snapshotReservationDetail = this.snapshotReservationDetail;
  final state = this.state;
  final storageType = this.storageType;
  final workloadProfile = this.workloadProfile;
  return {
    'attached': ?attached,
    'autoGrownSizeGib': ?autoGrownSizeGib,
    'bootVolume': ?bootVolume,
    'currentSizeGib': ?currentSizeGib,
    'emergencySizeGib': ?emergencySizeGib,
    'expireTime': ?expireTime,
    'id': ?id,
    'instances': ?instances,
    'labels': ?labels,
    'maxSizeGib': ?maxSizeGib,
    'name': ?name,
    'notes': ?notes,
    'originallyRequestedSizeGib': ?originallyRequestedSizeGib,
    'performanceTier': ?performanceTier,
    'pod': ?pod,
    'protocol': ?protocol,
    'remainingSpaceGib': ?remainingSpaceGib,
    'requestedSizeGib': ?requestedSizeGib,
    'snapshotAutoDeleteBehavior': ?snapshotAutoDeleteBehavior,
    'snapshotEnabled': ?snapshotEnabled,
    'snapshotReservationDetail': ?snapshotReservationDetail,
    'state': ?state,
    'storageType': ?storageType,
    'workloadProfile': ?workloadProfile,
  };
}