GoogleAppsDriveLabelsV2DisableLabelRequest.fromJson constructor

GoogleAppsDriveLabelsV2DisableLabelRequest.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2DisableLabelRequest.fromJson(core.Map json_)
    : this(
        disabledPolicy: json_.containsKey('disabledPolicy')
            ? GoogleAppsDriveLabelsV2LifecycleDisabledPolicy.fromJson(
                json_['disabledPolicy']
                    as core.Map<core.String, core.dynamic>)
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        updateMask: json_.containsKey('updateMask')
            ? json_['updateMask'] as core.String
            : null,
        useAdminAccess: json_.containsKey('useAdminAccess')
            ? json_['useAdminAccess'] as core.bool
            : null,
        writeControl: json_.containsKey('writeControl')
            ? GoogleAppsDriveLabelsV2WriteControl.fromJson(
                json_['writeControl'] as core.Map<core.String, core.dynamic>)
            : null,
      );