GoogleCloudDatacatalogV1ColumnSchema.fromJson constructor

GoogleCloudDatacatalogV1ColumnSchema.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatacatalogV1ColumnSchema.fromJson(core.Map json_)
    : this(
        column: json_.containsKey('column')
            ? json_['column'] as core.String
            : null,
        defaultValue: json_.containsKey('defaultValue')
            ? json_['defaultValue'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        gcRule: json_.containsKey('gcRule')
            ? json_['gcRule'] as core.String
            : null,
        highestIndexingType: json_.containsKey('highestIndexingType')
            ? json_['highestIndexingType'] as core.String
            : null,
        lookerColumnSpec: json_.containsKey('lookerColumnSpec')
            ? GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec.fromJson(
                json_['lookerColumnSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
        ordinalPosition: json_.containsKey('ordinalPosition')
            ? json_['ordinalPosition'] as core.int
            : null,
        rangeElementType: json_.containsKey('rangeElementType')
            ? GoogleCloudDatacatalogV1ColumnSchemaFieldElementType.fromJson(
                json_['rangeElementType']
                    as core.Map<core.String, core.dynamic>)
            : null,
        subcolumns: json_.containsKey('subcolumns')
            ? (json_['subcolumns'] as core.List)
                .map((value) => GoogleCloudDatacatalogV1ColumnSchema.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );