GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice.fromJson constructor

GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice.fromJson(core.Map json_)
    : this(
        appliedCapabilities: json_.containsKey('appliedCapabilities')
            ? GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities
                .fromJson(json_['appliedCapabilities']
                    as core.Map<core.String, core.dynamic>)
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        creator: json_.containsKey('creator')
            ? GoogleAppsDriveLabelsV2UserInfo.fromJson(
                json_['creator'] as core.Map<core.String, core.dynamic>)
            : null,
        disableTime: json_.containsKey('disableTime')
            ? json_['disableTime'] as core.String
            : null,
        disabler: json_.containsKey('disabler')
            ? GoogleAppsDriveLabelsV2UserInfo.fromJson(
                json_['disabler'] as core.Map<core.String, core.dynamic>)
            : null,
        displayHints: json_.containsKey('displayHints')
            ? GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints
                .fromJson(json_['displayHints']
                    as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        lifecycle: json_.containsKey('lifecycle')
            ? GoogleAppsDriveLabelsV2Lifecycle.fromJson(
                json_['lifecycle'] as core.Map<core.String, core.dynamic>)
            : null,
        lockStatus: json_.containsKey('lockStatus')
            ? GoogleAppsDriveLabelsV2LockStatus.fromJson(
                json_['lockStatus'] as core.Map<core.String, core.dynamic>)
            : null,
        properties: json_.containsKey('properties')
            ? GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties
                .fromJson(json_['properties']
                    as core.Map<core.String, core.dynamic>)
            : null,
        publishTime: json_.containsKey('publishTime')
            ? json_['publishTime'] as core.String
            : null,
        publisher: json_.containsKey('publisher')
            ? GoogleAppsDriveLabelsV2UserInfo.fromJson(
                json_['publisher'] as core.Map<core.String, core.dynamic>)
            : null,
        schemaCapabilities: json_.containsKey('schemaCapabilities')
            ? GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities
                .fromJson(json_['schemaCapabilities']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        updater: json_.containsKey('updater')
            ? GoogleAppsDriveLabelsV2UserInfo.fromJson(
                json_['updater'] as core.Map<core.String, core.dynamic>)
            : null,
      );