<?php

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

namespace AlibabaCloud\SDK\Dingtalk\Vcalendar_1_0\Models\GetEventResponseBody;

use AlibabaCloud\SDK\Dingtalk\Vcalendar_1_0\Models\GetEventResponseBody\extendedProperties\sharedProperties;
use AlibabaCloud\Tea\Model;

class extendedProperties extends Model
{
    /**
     * @var sharedProperties
     */
    public $sharedProperties;
    protected $_name = [
        'sharedProperties' => 'sharedProperties',
    ];

    public function validate()
    {
    }

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

        return $res;
    }

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

        return $model;
    }
}
