<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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