<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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