<?php

namespace \Losc\CucmBundle\Model\Webservice\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddCallingPartyTransformationPatternReq StructType
 * @subpackage Structs
 */
class AddCallingPartyTransformationPatternReq extends APIRequest
{
    /**
     * The callingPartyTransformationPattern
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XCallingPartyTransformationPattern
     */
    public $callingPartyTransformationPattern;
    /**
     * Constructor method for AddCallingPartyTransformationPatternReq
     * @uses AddCallingPartyTransformationPatternReq::setCallingPartyTransformationPattern()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XCallingPartyTransformationPattern $callingPartyTransformationPattern
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XCallingPartyTransformationPattern $callingPartyTransformationPattern = null)
    {
        $this
            ->setCallingPartyTransformationPattern($callingPartyTransformationPattern);
    }
    /**
     * Get callingPartyTransformationPattern value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XCallingPartyTransformationPattern|null
     */
    public function getCallingPartyTransformationPattern()
    {
        return $this->callingPartyTransformationPattern;
    }
    /**
     * Set callingPartyTransformationPattern value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XCallingPartyTransformationPattern $callingPartyTransformationPattern
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AddCallingPartyTransformationPatternReq
     */
    public function setCallingPartyTransformationPattern(\\Losc\CucmBundle\Model\Webservice\StructType\XCallingPartyTransformationPattern $callingPartyTransformationPattern = null)
    {
        $this->callingPartyTransformationPattern = $callingPartyTransformationPattern;
        return $this;
    }
}
