JobConfigurationExtract.fromJson constructor

JobConfigurationExtract.fromJson(
  1. Map json_
)

Implementation

JobConfigurationExtract.fromJson(core.Map json_)
    : this(
        compression: json_.containsKey('compression')
            ? json_['compression'] as core.String
            : null,
        destinationFormat: json_.containsKey('destinationFormat')
            ? json_['destinationFormat'] as core.String
            : null,
        destinationUri: json_.containsKey('destinationUri')
            ? json_['destinationUri'] as core.String
            : null,
        destinationUris: json_.containsKey('destinationUris')
            ? (json_['destinationUris'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        fieldDelimiter: json_.containsKey('fieldDelimiter')
            ? json_['fieldDelimiter'] as core.String
            : null,
        modelExtractOptions: json_.containsKey('modelExtractOptions')
            ? ModelExtractOptions.fromJson(json_['modelExtractOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        printHeader: json_.containsKey('printHeader')
            ? json_['printHeader'] as core.bool
            : null,
        sourceModel: json_.containsKey('sourceModel')
            ? ModelReference.fromJson(
                json_['sourceModel'] as core.Map<core.String, core.dynamic>)
            : null,
        sourceTable: json_.containsKey('sourceTable')
            ? TableReference.fromJson(
                json_['sourceTable'] as core.Map<core.String, core.dynamic>)
            : null,
        useAvroLogicalTypes: json_.containsKey('useAvroLogicalTypes')
            ? json_['useAvroLogicalTypes'] as core.bool
            : null,
      );