<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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