<?php

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

namespace AlibabaCloud\SDK\Dingtalk\Vbizfinance_1_0\Models\CommitConsumeResponseBody;

use AlibabaCloud\Tea\Model;

class result extends Model
{
    /**
     * @var bool
     */
    public $isSuccess;
    protected $_name = [
        'isSuccess' => 'isSuccess',
    ];

    public function validate() {}

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

        return $res;
    }

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

        return $model;
    }
}
