<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Assign_Group_To_Dispatcher StructType
 * @subpackage Structs
 */
class Assign_Group_To_Dispatcher extends AbstractStructBase
{
    /**
     * The Login
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\Login
     */
    public $Login;
    /**
     * The AssignGroupToDispatcher
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\AssignGroupToDispatcher
     */
    public $AssignGroupToDispatcher;
    /**
     * Constructor method for Assign_Group_To_Dispatcher
     * @uses Assign_Group_To_Dispatcher::setLogin()
     * @uses Assign_Group_To_Dispatcher::setAssignGroupToDispatcher()
     * @param \StructType\Login $login
     * @param \StructType\AssignGroupToDispatcher $assignGroupToDispatcher
     */
    public function __construct(\StructType\Login $login = null, \StructType\AssignGroupToDispatcher $assignGroupToDispatcher = null)
    {
        $this
            ->setLogin($login)
            ->setAssignGroupToDispatcher($assignGroupToDispatcher);
    }
    /**
     * Get Login value
     * @return \StructType\Login|null
     */
    public function getLogin()
    {
        return $this->Login;
    }
    /**
     * Set Login value
     * @param \StructType\Login $login
     * @return \StructType\Assign_Group_To_Dispatcher
     */
    public function setLogin(\StructType\Login $login = null)
    {
        $this->Login = $login;
        return $this;
    }
    /**
     * Get AssignGroupToDispatcher value
     * @return \StructType\AssignGroupToDispatcher|null
     */
    public function getAssignGroupToDispatcher()
    {
        return $this->AssignGroupToDispatcher;
    }
    /**
     * Set AssignGroupToDispatcher value
     * @param \StructType\AssignGroupToDispatcher $assignGroupToDispatcher
     * @return \StructType\Assign_Group_To_Dispatcher
     */
    public function setAssignGroupToDispatcher(\StructType\AssignGroupToDispatcher $assignGroupToDispatcher = null)
    {
        $this->AssignGroupToDispatcher = $assignGroupToDispatcher;
        return $this;
    }
}
