<?php

// This file is auto-generated, don't edit it. Thanks.

namespace AlibabaCloud\SDK\Dingtalk\Vorg_culture_1_0\Models\DeductionPointBatchRequest;

use AlibabaCloud\Tea\Model;

class targetUserList extends Model
{
    /**
     * @description This parameter is required.
     *
     * @example 232344342
     *
     * @var string
     */
    public $outId;

    /**
     * @description This parameter is required.
     *
     * @example 01274411491620908910
     *
     * @var string
     */
    public $targetUserId;
    protected $_name = [
        'outId' => 'outId',
        'targetUserId' => 'targetUserId',
    ];

    public function validate() {}

    public function toMap()
    {
        $res = [];
        if (null !== $this->outId) {
            $res['outId'] = $this->outId;
        }
        if (null !== $this->targetUserId) {
            $res['targetUserId'] = $this->targetUserId;
        }

        return $res;
    }

    /**
     * @param array $map
     *
     * @return targetUserList
     */
    public static function fromMap($map = [])
    {
        $model = new self();
        if (isset($map['outId'])) {
            $model->outId = $map['outId'];
        }
        if (isset($map['targetUserId'])) {
            $model->targetUserId = $map['targetUserId'];
        }

        return $model;
    }
}
