<?php

declare(strict_types=1);

/*
 * This file is part of JoliCode's Slack PHP API project.
 *
 * (c) JoliCode <coucou@jolicode.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace JoliCode\Slack\Api\Model;

class UsersIdentityGetResponse200Item1
{
    /**
     * @var bool|null
     */
    protected $ok;
    /**
     * @var UsersIdentityGetResponse200Item1Team|null
     */
    protected $team;
    /**
     * @var UsersIdentityGetResponse200Item1User|null
     */
    protected $user;

    public function getOk(): ?bool
    {
        return $this->ok;
    }

    public function setOk(?bool $ok): self
    {
        $this->ok = $ok;

        return $this;
    }

    public function getTeam(): ?UsersIdentityGetResponse200Item1Team
    {
        return $this->team;
    }

    public function setTeam(?UsersIdentityGetResponse200Item1Team $team): self
    {
        $this->team = $team;

        return $this;
    }

    public function getUser(): ?UsersIdentityGetResponse200Item1User
    {
        return $this->user;
    }

    public function setUser(?UsersIdentityGetResponse200Item1User $user): self
    {
        $this->user = $user;

        return $this;
    }
}
