FetchInventoryResponse.fromJson constructor

FetchInventoryResponse.fromJson(
  1. Map json_
)

Implementation

FetchInventoryResponse.fromJson(core.Map json_)
    : this(
        awsVms: json_.containsKey('awsVms')
            ? AwsVmsDetails.fromJson(
                json_['awsVms'] as core.Map<core.String, core.dynamic>)
            : null,
        azureVms: json_.containsKey('azureVms')
            ? AzureVmsDetails.fromJson(
                json_['azureVms'] as core.Map<core.String, core.dynamic>)
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        vmwareVms: json_.containsKey('vmwareVms')
            ? VmwareVmsDetails.fromJson(
                json_['vmwareVms'] as core.Map<core.String, core.dynamic>)
            : null,
      );