src/Entity/XiboDataSet.php
public function getById($id)
    {
        $this->getLogger()->info('Getting dataSet ID ' . $id);
        $response = $this->doGet($this->url, [
            'dataSetId' => $id
        ]);

        if (count($response) <= 0)
            throw new XiboApiException('Expecting a single record, found ' . count($response));

        return clone $this->hydrate($response[0]);
    }
public function getById($id)
    {
        $this->getLogger()->info('Getting dataSet ID ' . $id);
        $response = $this->doGet($this->url, [
            'dataSetId' => $id
        ]);

        if (count($response) <= 0)
            throw new XiboApiException('Expecting a single record, found ' . count($response));

        return clone $this->hydrate($response[0]);
    }
public function getById ( $ id ) { $ this -> getLogger ( ) -> info ( 'Getting dataSet ID ' . $ id ) ; $ response = $ this -> doGet ( $ this -> url , [ 'dataSetId' => $ id ] ) ; if ( count ( $ response ) <= 0 ) throw new XiboApiException ( 'Expecting a single record, found ' . count ( $ response ) ) ; return clone $ this -> hydrate ( $ response [ 0 ] ) ; }
Get the DataSet by DataSetId.

@param int $id the DataSetId to find
@return XiboDataSet
@throws XiboApiException
Get the DataSet by DataSetId .