<?php

namespace CustomerManagement\ServiceType;

use \WsdlToPhp\PackageBase\AbstractSoapClientBase;

/**
 * This class stands for Request ServiceType
 * @subpackage Services
 */
class Request extends AbstractSoapClientBase
{
    /**
     * Sets the Authentication SoapHeader param
     * @uses AbstractSoapClientBase::setSoapHeader()
     * @param \CustomerManagement\StructType\Authentication $authentication
     * @param string $nameSpace
     * @param bool $mustUnderstand
     * @param string $actor
     * @return bool
     */
    public function setSoapHeaderAuthentication(\CustomerManagement\StructType\Authentication $authentication, $nameSpace = 'http://www.alarm.com/WebServices', $mustUnderstand = false, $actor = null)
    {
        return $this->setSoapHeader($nameSpace, 'Authentication', $authentication, $mustUnderstand, $actor);
    }
    /**
     * Method to call the operation originally named RequestUploadOfPanelSettings
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * - documentation: Requests an upload from the panel. Note: this is beta and the method signature may change.
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestUploadOfPanelSettings $parameters
     * @return \CustomerManagement\StructType\RequestUploadOfPanelSettingsResponse|bool
     */
    public function RequestUploadOfPanelSettings(\CustomerManagement\StructType\RequestUploadOfPanelSettings $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestUploadOfPanelSettings($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named RequestZWaveEquipmentList
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * - documentation: Requests the z-wave equipment list from the panel.
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestZWaveEquipmentList $parameters
     * @return \CustomerManagement\StructType\RequestZWaveEquipmentListResponse|bool
     */
    public function RequestZWaveEquipmentList(\CustomerManagement\StructType\RequestZWaveEquipmentList $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestZWaveEquipmentList($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named RequestFirmwareUpgradeQolsys
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * - documentation: Requests a firmware update for a qolsys panel.
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestFirmwareUpgradeQolsys $parameters
     * @return \CustomerManagement\StructType\RequestFirmwareUpgradeQolsysResponse|bool
     */
    public function RequestFirmwareUpgradeQolsys(\CustomerManagement\StructType\RequestFirmwareUpgradeQolsys $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestFirmwareUpgradeQolsys($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named RequestFirmwareUpgradeQolsysCell
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * - documentation: Internal Use Only. Requests a firmware update for a Qolsys panel over cell.
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestFirmwareUpgradeQolsysCell $parameters
     * @return \CustomerManagement\StructType\RequestFirmwareUpgradeQolsysCellResponse|bool
     */
    public function RequestFirmwareUpgradeQolsysCell(\CustomerManagement\StructType\RequestFirmwareUpgradeQolsysCell $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestFirmwareUpgradeQolsysCell($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named RequestFirmwareUpgrade
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * - documentation: Requests a firmware update. A charge may be incurred when upgradePath: Standard is selected, however only some upgrades are eligible for Broadband. For questions please contact your Alarm.com Sales Representative.
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestFirmwareUpgrade $parameters
     * @return \CustomerManagement\StructType\RequestFirmwareUpgradeResponse|bool
     */
    public function RequestFirmwareUpgrade(\CustomerManagement\StructType\RequestFirmwareUpgrade $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestFirmwareUpgrade($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named RequestFirmwareUpgradeNonPanel
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * - documentation: Requests a firmware update. A charge may be incurred when upgradePath: Standard is selected, however only some upgrades are eligible for Broadband. For questions please contact your Alarm.com Sales Representative.
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestFirmwareUpgradeNonPanel $parameters
     * @return \CustomerManagement\StructType\RequestFirmwareUpgradeNonPanelResponse|bool
     */
    public function RequestFirmwareUpgradeNonPanel(\CustomerManagement\StructType\RequestFirmwareUpgradeNonPanel $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestFirmwareUpgradeNonPanel($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named RequestUpdatedEquipmentList
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * - documentation: Request updated equipment list for an NX panel.
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestUpdatedEquipmentList $parameters
     * @return \CustomerManagement\StructType\RequestUpdatedEquipmentListResponse|bool
     */
    public function RequestUpdatedEquipmentList(\CustomerManagement\StructType\RequestUpdatedEquipmentList $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestUpdatedEquipmentList($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named RequestAvailableWifiNetworkNames
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * - documentation: Request available wifi network names.
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestAvailableWifiNetworkNames $parameters
     * @return \CustomerManagement\StructType\RequestAvailableWifiNetworkNamesResponse|bool
     */
    public function RequestAvailableWifiNetworkNames(\CustomerManagement\StructType\RequestAvailableWifiNetworkNames $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestAvailableWifiNetworkNames($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named RequestRemoteRoutineInspectionData
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * - documentation: Schedule a Remote Routine Inspection for the Customer's Panel.
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestRemoteRoutineInspectionData $parameters
     * @return \CustomerManagement\StructType\RequestRemoteRoutineInspectionDataResponse|bool
     */
    public function RequestRemoteRoutineInspectionData(\CustomerManagement\StructType\RequestRemoteRoutineInspectionData $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestRemoteRoutineInspectionData($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named RequestRoundTripCsTest
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestRoundTripCsTest $parameters
     * @return \CustomerManagement\StructType\RequestRoundTripCsTestResponse|bool
     */
    public function RequestRoundTripCsTest(\CustomerManagement\StructType\RequestRoundTripCsTest $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestRoundTripCsTest($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named RequestSignalStrength
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestSignalStrength $parameters
     * @return \CustomerManagement\StructType\RequestSignalStrengthResponse|bool
     */
    public function RequestSignalStrength(\CustomerManagement\StructType\RequestSignalStrength $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestSignalStrength($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named RequestFirmwareVersionCommand
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * - documentation: Sends request firmware version command to the module
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestFirmwareVersionCommand $parameters
     * @return \CustomerManagement\StructType\RequestFirmwareVersionCommandResponse|bool
     */
    public function RequestFirmwareVersionCommand(\CustomerManagement\StructType\RequestFirmwareVersionCommand $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestFirmwareVersionCommand($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Method to call the operation originally named RequestSensorNames
     * Meta information extracted from the WSDL
     * - SOAPHeaderNames: Authentication
     * - SOAPHeaderNamespaces: http://www.alarm.com/WebServices
     * - SOAPHeaderTypes: \CustomerManagement\StructType\Authentication
     * - SOAPHeaders: required
     * - documentation: Sends a command to the module, asking it to send the sensor names that are programmed in the panel. NOTE: This will overwrite the sensor names that the user has entered on the website. The waitUntilPanelConnects controls whether the
     * command is sent immediately (false) or if we should wait until the modules connects to the server for something else to send the command (true). If this is a new customer, you should almost certainly pass true.
     * @uses AbstractSoapClientBase::getSoapClient()
     * @uses AbstractSoapClientBase::setResult()
     * @uses AbstractSoapClientBase::getResult()
     * @uses AbstractSoapClientBase::saveLastError()
     * @param \CustomerManagement\StructType\RequestSensorNames $parameters
     * @return \CustomerManagement\StructType\RequestSensorNamesResponse|bool
     */
    public function RequestSensorNames(\CustomerManagement\StructType\RequestSensorNames $parameters)
    {
        try {
            $this->setResult($this->getSoapClient()->RequestSensorNames($parameters));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }
    /**
     * Returns the result
     * @see AbstractSoapClientBase::getResult()
     * @return \CustomerManagement\StructType\RequestAvailableWifiNetworkNamesResponse|\CustomerManagement\StructType\RequestFirmwareUpgradeNonPanelResponse|\CustomerManagement\StructType\RequestFirmwareUpgradeQolsysCellResponse|\CustomerManagement\StructType\RequestFirmwareUpgradeQolsysResponse|\CustomerManagement\StructType\RequestFirmwareUpgradeResponse|\CustomerManagement\StructType\RequestFirmwareVersionCommandResponse|\CustomerManagement\StructType\RequestRemoteRoutineInspectionDataResponse|\CustomerManagement\StructType\RequestRoundTripCsTestResponse|\CustomerManagement\StructType\RequestSensorNamesResponse|\CustomerManagement\StructType\RequestSignalStrengthResponse|\CustomerManagement\StructType\RequestUpdatedEquipmentListResponse|\CustomerManagement\StructType\RequestUploadOfPanelSettingsResponse|\CustomerManagement\StructType\RequestZWaveEquipmentListResponse
     */
    public function getResult()
    {
        return parent::getResult();
    }
}
