GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse.fromJson constructor

GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse.fromJson(
  core.Map json_,
) : this(
      createField:
          json_.containsKey('createField')
              ? GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse.fromJson(
                json_['createField'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      createSelectionChoice:
          json_.containsKey('createSelectionChoice')
              ? GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse.fromJson(
                json_['createSelectionChoice']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      deleteField:
          json_.containsKey('deleteField')
              ? GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse.fromJson(
                json_['deleteField'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      deleteSelectionChoice:
          json_.containsKey('deleteSelectionChoice')
              ? GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse.fromJson(
                json_['deleteSelectionChoice']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      disableField:
          json_.containsKey('disableField')
              ? GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse.fromJson(
                json_['disableField'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      disableSelectionChoice:
          json_.containsKey('disableSelectionChoice')
              ? GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse.fromJson(
                json_['disableSelectionChoice']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      enableField:
          json_.containsKey('enableField')
              ? GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse.fromJson(
                json_['enableField'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      enableSelectionChoice:
          json_.containsKey('enableSelectionChoice')
              ? GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse.fromJson(
                json_['enableSelectionChoice']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      updateField:
          json_.containsKey('updateField')
              ? GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse.fromJson(
                json_['updateField'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      updateFieldType:
          json_.containsKey('updateFieldType')
              ? GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse.fromJson(
                json_['updateFieldType']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      updateLabel:
          json_.containsKey('updateLabel')
              ? GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse.fromJson(
                json_['updateLabel'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      updateSelectionChoiceProperties:
          json_.containsKey('updateSelectionChoiceProperties')
              ? GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse.fromJson(
                json_['updateSelectionChoiceProperties']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );