GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest.fromJson constructor

GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest.fromJson(core.Map json_)
    : this(
        createField: json_.containsKey('createField')
            ? GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest
                .fromJson(json_['createField']
                    as core.Map<core.String, core.dynamic>)
            : null,
        createSelectionChoice: json_.containsKey('createSelectionChoice')
            ? GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest
                .fromJson(json_['createSelectionChoice']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deleteField: json_.containsKey('deleteField')
            ? GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest
                .fromJson(json_['deleteField']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deleteSelectionChoice: json_.containsKey('deleteSelectionChoice')
            ? GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest
                .fromJson(json_['deleteSelectionChoice']
                    as core.Map<core.String, core.dynamic>)
            : null,
        disableField: json_.containsKey('disableField')
            ? GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest
                .fromJson(json_['disableField']
                    as core.Map<core.String, core.dynamic>)
            : null,
        disableSelectionChoice: json_.containsKey('disableSelectionChoice')
            ? GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest
                .fromJson(json_['disableSelectionChoice']
                    as core.Map<core.String, core.dynamic>)
            : null,
        enableField: json_.containsKey('enableField')
            ? GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest
                .fromJson(json_['enableField']
                    as core.Map<core.String, core.dynamic>)
            : null,
        enableSelectionChoice: json_.containsKey('enableSelectionChoice')
            ? GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest
                .fromJson(json_['enableSelectionChoice']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateField: json_.containsKey('updateField')
            ? GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest
                .fromJson(json_['updateField']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateFieldType: json_.containsKey('updateFieldType')
            ? GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest
                .fromJson(json_['updateFieldType']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateLabel: json_.containsKey('updateLabel')
            ? GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest
                .fromJson(json_['updateLabel']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateSelectionChoiceProperties: json_
                .containsKey('updateSelectionChoiceProperties')
            ? GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest
                .fromJson(json_['updateSelectionChoiceProperties']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );