public static function get(int $deviceServerId, array $customHeaders = []): BunqResponseDeviceServer
    {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->get(
            vsprintf(
                self::ENDPOINT_URL_READ,
                [$deviceServerId]
            ),
            [],
            $customHeaders
        );

        return BunqResponseDeviceServer::castFromBunqResponse(
            static::fromJson($responseRaw, self::OBJECT_TYPE_GET)
        );
    }
public static function get(int $deviceServerId, array $customHeaders = []): BunqResponseDeviceServer
    {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->get(
            vsprintf(
                self::ENDPOINT_URL_READ,
                [$deviceServerId]
            ),
            [],
            $customHeaders
        );

        return BunqResponseDeviceServer::castFromBunqResponse(
            static::fromJson($responseRaw, self::OBJECT_TYPE_GET)
        );
    }
public static function get ( int $ deviceServerId , array $ customHeaders = [ ] ) : BunqResponseDeviceServer { $ apiClient = new ApiClient ( static :: getApiContext ( ) ) ; $ responseRaw = $ apiClient -> get ( vsprintf ( self :: ENDPOINT_URL_READ , [ $ deviceServerId ] ) , [ ] , $ customHeaders ) ; return BunqResponseDeviceServer :: castFromBunqResponse ( static :: fromJson ( $ responseRaw , self :: OBJECT_TYPE_GET ) ) ; }
Get one of your DeviceServers.

@param int $deviceServerId
@param string[] $customHeaders

@return BunqResponseDeviceServer
Get one of your DeviceServers .