toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (applianceInfrastructureVersion != null)
        'applianceInfrastructureVersion': applianceInfrastructureVersion!,
      if (applianceSoftwareVersion != null)
        'applianceSoftwareVersion': applianceSoftwareVersion!,
      if (availableVersions != null) 'availableVersions': availableVersions!,
      if (bucket != null) 'bucket': bucket!,
      if (createTime != null) 'createTime': createTime!,
      if (error != null) 'error': error!,
      if (name != null) 'name': name!,
      if (registrationId != null) 'registrationId': registrationId!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (state != null) 'state': state!,
      if (stateTime != null) 'stateTime': stateTime!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (upgradeStatus != null) 'upgradeStatus': upgradeStatus!,
      if (version != null) 'version': version!,
    };