RollbackFhirResourcesRequest.fromJson constructor

RollbackFhirResourcesRequest.fromJson(
  1. Map json_
)

Implementation

RollbackFhirResourcesRequest.fromJson(core.Map json_)
    : this(
        changeType: json_.containsKey('changeType')
            ? json_['changeType'] as core.String
            : null,
        excludeRollbacks: json_.containsKey('excludeRollbacks')
            ? json_['excludeRollbacks'] as core.bool
            : null,
        filteringFields: json_.containsKey('filteringFields')
            ? RollbackFhirResourceFilteringFields.fromJson(
                json_['filteringFields']
                    as core.Map<core.String, core.dynamic>)
            : null,
        force:
            json_.containsKey('force') ? json_['force'] as core.bool : null,
        inputGcsObject: json_.containsKey('inputGcsObject')
            ? json_['inputGcsObject'] as core.String
            : null,
        resultGcsBucket: json_.containsKey('resultGcsBucket')
            ? json_['resultGcsBucket'] as core.String
            : null,
        rollbackTime: json_.containsKey('rollbackTime')
            ? json_['rollbackTime'] as core.String
            : null,
        type: json_.containsKey('type')
            ? (json_['type'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );