<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for CreateScheduledAppointmentResponse StructType
 * @subpackage Structs
 */
class CreateScheduledAppointmentResponse extends AbstractStructBase
{
    /**
     * The CreateScheduledAppointmentResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \CustomerManagement\StructType\CreateScheduledAppointmentOutput
     */
    public $CreateScheduledAppointmentResult;
    /**
     * Constructor method for CreateScheduledAppointmentResponse
     * @uses CreateScheduledAppointmentResponse::setCreateScheduledAppointmentResult()
     * @param \CustomerManagement\StructType\CreateScheduledAppointmentOutput $createScheduledAppointmentResult
     */
    public function __construct(\CustomerManagement\StructType\CreateScheduledAppointmentOutput $createScheduledAppointmentResult = null)
    {
        $this
            ->setCreateScheduledAppointmentResult($createScheduledAppointmentResult);
    }
    /**
     * Get CreateScheduledAppointmentResult value
     * @return \CustomerManagement\StructType\CreateScheduledAppointmentOutput|null
     */
    public function getCreateScheduledAppointmentResult()
    {
        return $this->CreateScheduledAppointmentResult;
    }
    /**
     * Set CreateScheduledAppointmentResult value
     * @param \CustomerManagement\StructType\CreateScheduledAppointmentOutput $createScheduledAppointmentResult
     * @return \CustomerManagement\StructType\CreateScheduledAppointmentResponse
     */
    public function setCreateScheduledAppointmentResult(\CustomerManagement\StructType\CreateScheduledAppointmentOutput $createScheduledAppointmentResult = null)
    {
        $this->CreateScheduledAppointmentResult = $createScheduledAppointmentResult;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \CustomerManagement\StructType\CreateScheduledAppointmentResponse
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
