<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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