<?php
/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* CloudAppSecurityState File
* PHP version 7
*
* @category  Library
* @package   Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license   https://opensource.org/licenses/MIT MIT License
* @link      https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* CloudAppSecurityState class
*
* @category  Model
* @package   Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license   https://opensource.org/licenses/MIT MIT License
* @link      https://graph.microsoft.com
*/
class CloudAppSecurityState extends Entity
{
    /**
    * Gets the destinationServiceIp
    * Destination IP Address of the connection to the cloud application/service.
    *
    * @return string|null The destinationServiceIp
    */
    public function getDestinationServiceIp()
    {
        if (array_key_exists("destinationServiceIp", $this->_propDict)) {
            return $this->_propDict["destinationServiceIp"];
        } else {
            return null;
        }
    }

    /**
    * Sets the destinationServiceIp
    * Destination IP Address of the connection to the cloud application/service.
    *
    * @param string $val The value of the destinationServiceIp
    *
    * @return CloudAppSecurityState
    */
    public function setDestinationServiceIp($val)
    {
        $this->_propDict["destinationServiceIp"] = $val;
        return $this;
    }
    /**
    * Gets the destinationServiceName
    * Cloud application/service name (for example 'Salesforce', 'DropBox', etc.).
    *
    * @return string|null The destinationServiceName
    */
    public function getDestinationServiceName()
    {
        if (array_key_exists("destinationServiceName", $this->_propDict)) {
            return $this->_propDict["destinationServiceName"];
        } else {
            return null;
        }
    }

    /**
    * Sets the destinationServiceName
    * Cloud application/service name (for example 'Salesforce', 'DropBox', etc.).
    *
    * @param string $val The value of the destinationServiceName
    *
    * @return CloudAppSecurityState
    */
    public function setDestinationServiceName($val)
    {
        $this->_propDict["destinationServiceName"] = $val;
        return $this;
    }
    /**
    * Gets the riskScore
    * Provider-generated/calculated risk score of the Cloud Application/Service. Recommended value range of 0-1, which equates to a percentage.
    *
    * @return string|null The riskScore
    */
    public function getRiskScore()
    {
        if (array_key_exists("riskScore", $this->_propDict)) {
            return $this->_propDict["riskScore"];
        } else {
            return null;
        }
    }

    /**
    * Sets the riskScore
    * Provider-generated/calculated risk score of the Cloud Application/Service. Recommended value range of 0-1, which equates to a percentage.
    *
    * @param string $val The value of the riskScore
    *
    * @return CloudAppSecurityState
    */
    public function setRiskScore($val)
    {
        $this->_propDict["riskScore"] = $val;
        return $this;
    }
}
