toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bucket != null) 'bucket': bucket!,
      if (clientVersion != null) 'clientVersion': clientVersion!,
      if (collectionDays != null) 'collectionDays': collectionDays!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (eulaUri != null) 'eulaUri': eulaUri!,
      if (expectedAssetCount != null)
        'expectedAssetCount': expectedAssetCount!,
      if (guestOsScan != null) 'guestOsScan': guestOsScan!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (vsphereScan != null) 'vsphereScan': vsphereScan!,
    };