SearchJobsRequest.fromJson constructor

SearchJobsRequest.fromJson(
  1. Map json_
)

Implementation

SearchJobsRequest.fromJson(core.Map json_)
    : this(
        disableKeywordMatch: json_.containsKey('disableKeywordMatch')
            ? json_['disableKeywordMatch'] as core.bool
            : null,
        diversificationLevel: json_.containsKey('diversificationLevel')
            ? json_['diversificationLevel'] as core.String
            : null,
        enableBroadening: json_.containsKey('enableBroadening')
            ? json_['enableBroadening'] as core.bool
            : null,
        histogramFacets: json_.containsKey('histogramFacets')
            ? HistogramFacets.fromJson(json_['histogramFacets']
                as core.Map<core.String, core.dynamic>)
            : null,
        jobQuery: json_.containsKey('jobQuery')
            ? JobQuery.fromJson(
                json_['jobQuery'] as core.Map<core.String, core.dynamic>)
            : null,
        jobView: json_.containsKey('jobView')
            ? json_['jobView'] as core.String
            : null,
        offset:
            json_.containsKey('offset') ? json_['offset'] as core.int : null,
        orderBy: json_.containsKey('orderBy')
            ? json_['orderBy'] as core.String
            : null,
        pageSize: json_.containsKey('pageSize')
            ? json_['pageSize'] as core.int
            : null,
        pageToken: json_.containsKey('pageToken')
            ? json_['pageToken'] as core.String
            : null,
        requestMetadata: json_.containsKey('requestMetadata')
            ? RequestMetadata.fromJson(json_['requestMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
        requirePreciseResultSize:
            json_.containsKey('requirePreciseResultSize')
                ? json_['requirePreciseResultSize'] as core.bool
                : null,
        searchMode: json_.containsKey('searchMode')
            ? json_['searchMode'] as core.String
            : null,
      );