public function getAsset($id)
    {
        $params = array( 'id' => $id );
        $params = $this->validator->validate($params);

        try {
            return $this->client->sendRequest('assets/{id}', $params, 'GET');
        } catch (\Exception $ex) {
            throw $ex;
        }
    }
public function getAsset($id)
    {
        $params = array( 'id' => $id );
        $params = $this->validator->validate($params);

        try {
            return $this->client->sendRequest('assets/{id}', $params, 'GET');
        } catch (\Exception $ex) {
            throw $ex;
        }
    }
public function getAsset ( $ id ) { $ params = array ( 'id' => $ id ) ; $ params = $ this -> validator -> validate ( $ params ) ; try { return $ this -> client -> sendRequest ( 'assets/{id}' , $ params , 'GET' ) ; } catch ( \ Exception $ ex ) { throw $ ex ; } }
Downloads asset from server by id

@param string $id    ID of the asset
@return response
@throws \Exception
Downloads asset from server by id