azure-storage-table/src/Table/Models/InsertEntityResult.php
public static function create($body, $headers, $odataSerializer)
    {
        $result = new InsertEntityResult();
        $entity = $odataSerializer->parseEntity($body);
        $entity->setETag(Utilities::tryGetValue($headers, Resources::ETAG));
        $result->setEntity($entity);

        return $result;
    }
public static function create($body, $headers, $odataSerializer)
    {
        $result = new InsertEntityResult();
        $entity = $odataSerializer->parseEntity($body);
        $entity->setETag(Utilities::tryGetValue($headers, Resources::ETAG));
        $result->setEntity($entity);

        return $result;
    }
Create InsertEntityResult object from HTTP response parts.

@param string              $body            The HTTP response body.
@param array               $headers         The HTTP response headers.
@param IODataReaderWriter  $odataSerializer The OData reader and writer.

@internal

@return InsertEntityResult