<?php

namespace Dyplsapi\Request\V20170525;

/**
 * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
 *
 * Request of BindAxn
 *
 * @method string getResourceOwnerId()
 * @method string getCallDisplayType()
 * @method string getPhoneNoX()
 * @method string getRingConfig()
 * @method string getPhoneNoB()
 * @method string getPhoneNoA()
 * @method string getExpectCity()
 * @method string getResourceOwnerAccount()
 * @method string getOwnerId()
 * @method string getOutOrderId()
 * @method string getPoolKey()
 * @method string getExpiration()
 * @method string getIsRecordingEnabled()
 * @method string getOutId()
 * @method string getNoType()
 */
class BindAxnRequest extends \RpcAcsRequest
{

    /**
     * @var string
     */
    protected $method = 'POST';

    /**
     * Class constructor.
     */
    public function __construct()
    {
        parent::__construct(
            'Dyplsapi',
            '2017-05-25',
            'BindAxn',
            'dypls'
        );
    }

    /**
     * @param string $resourceOwnerId
     *
     * @return $this
     */
    public function setResourceOwnerId($resourceOwnerId)
    {
        $this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
        $this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;

        return $this;
    }

    /**
     * @param string $callDisplayType
     *
     * @return $this
     */
    public function setCallDisplayType($callDisplayType)
    {
        $this->requestParameters['CallDisplayType'] = $callDisplayType;
        $this->queryParameters['CallDisplayType'] = $callDisplayType;

        return $this;
    }

    /**
     * @param string $phoneNoX
     *
     * @return $this
     */
    public function setPhoneNoX($phoneNoX)
    {
        $this->requestParameters['PhoneNoX'] = $phoneNoX;
        $this->queryParameters['PhoneNoX'] = $phoneNoX;

        return $this;
    }

    /**
     * @param string $ringConfig
     *
     * @return $this
     */
    public function setRingConfig($ringConfig)
    {
        $this->requestParameters['RingConfig'] = $ringConfig;
        $this->queryParameters['RingConfig'] = $ringConfig;

        return $this;
    }

    /**
     * @param string $phoneNoB
     *
     * @return $this
     */
    public function setPhoneNoB($phoneNoB)
    {
        $this->requestParameters['PhoneNoB'] = $phoneNoB;
        $this->queryParameters['PhoneNoB'] = $phoneNoB;

        return $this;
    }

    /**
     * @param string $phoneNoA
     *
     * @return $this
     */
    public function setPhoneNoA($phoneNoA)
    {
        $this->requestParameters['PhoneNoA'] = $phoneNoA;
        $this->queryParameters['PhoneNoA'] = $phoneNoA;

        return $this;
    }

    /**
     * @param string $expectCity
     *
     * @return $this
     */
    public function setExpectCity($expectCity)
    {
        $this->requestParameters['ExpectCity'] = $expectCity;
        $this->queryParameters['ExpectCity'] = $expectCity;

        return $this;
    }

    /**
     * @param string $resourceOwnerAccount
     *
     * @return $this
     */
    public function setResourceOwnerAccount($resourceOwnerAccount)
    {
        $this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
        $this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;

        return $this;
    }

    /**
     * @param string $ownerId
     *
     * @return $this
     */
    public function setOwnerId($ownerId)
    {
        $this->requestParameters['OwnerId'] = $ownerId;
        $this->queryParameters['OwnerId'] = $ownerId;

        return $this;
    }

    /**
     * @param string $outOrderId
     *
     * @return $this
     */
    public function setOutOrderId($outOrderId)
    {
        $this->requestParameters['OutOrderId'] = $outOrderId;
        $this->queryParameters['OutOrderId'] = $outOrderId;

        return $this;
    }

    /**
     * @param string $poolKey
     *
     * @return $this
     */
    public function setPoolKey($poolKey)
    {
        $this->requestParameters['PoolKey'] = $poolKey;
        $this->queryParameters['PoolKey'] = $poolKey;

        return $this;
    }

    /**
     * @param string $expiration
     *
     * @return $this
     */
    public function setExpiration($expiration)
    {
        $this->requestParameters['Expiration'] = $expiration;
        $this->queryParameters['Expiration'] = $expiration;

        return $this;
    }

    /**
     * @param string $isRecordingEnabled
     *
     * @return $this
     */
    public function setIsRecordingEnabled($isRecordingEnabled)
    {
        $this->requestParameters['IsRecordingEnabled'] = $isRecordingEnabled;
        $this->queryParameters['IsRecordingEnabled'] = $isRecordingEnabled;

        return $this;
    }

    /**
     * @param string $outId
     *
     * @return $this
     */
    public function setOutId($outId)
    {
        $this->requestParameters['OutId'] = $outId;
        $this->queryParameters['OutId'] = $outId;

        return $this;
    }

    /**
     * @param string $noType
     *
     * @return $this
     */
    public function setNoType($noType)
    {
        $this->requestParameters['NoType'] = $noType;
        $this->queryParameters['NoType'] = $noType;

        return $this;
    }
}
