<?php

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

namespace AlibabaCloud\SDK\Dingtalk\Vexclusive_1_0\Models;

use AlibabaCloud\Tea\Model;

class GetDocCreatedSummaryResponseBody extends Model
{
    /**
     * @example 100
     *
     * @var string
     */
    public $docCreateUserCnt1d;

    /**
     * @example 100
     *
     * @var string
     */
    public $docCreatedCnt;
    protected $_name = [
        'docCreateUserCnt1d' => 'docCreateUserCnt1d',
        'docCreatedCnt' => 'docCreatedCnt',
    ];

    public function validate() {}

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

        return $res;
    }

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

        return $model;
    }
}
