# Class Endpoint

An endpoint serves as a location which receives and emits API interactions. It will therefore also host particular API resources. Each endpoint object has different access methods - one receives network connections over the public Internet, another receives traffic through an internal network. You will be able to access the latter from a Server, for example, in the same Region - which will incur no bandwidth charges, and be quicker.

Namespace: OpenCloud\Common\Service
Located at OpenCloud/Common/Service/Endpoint.php

Methods summary
`public static `OpenCloud\Common\Service\Endpoint`` | # `factory( mixed $object )` #### Parameters $object `mixed` $object #### Returns ``OpenCloud\Common\Service\Endpoint``
`public mixed` | # `setPublicUrl( mixed $publicUrl )` #### Parameters $publicUrl `mixed` $publicUrl #### Returns `mixed` $this
`public Guzzle\Http\Url` | # `getPublicUrl( )` #### Returns `Guzzle\Http\Url`
`public mixed` | # `setPrivateUrl( mixed $privateUrl )` #### Parameters $privateUrl `mixed` $privateUrl #### Returns `mixed` $this
`public Guzzle\Http\Url` | # `getPrivateUrl( )` #### Returns `Guzzle\Http\Url`
`public mixed` | # `setRegion( mixed $region )` #### Parameters $region `mixed` $region #### Returns `mixed` $this
`public string` | # `getRegion( )` #### Returns `string`