NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class AbstractUploadId

An object that encapsulates the data identifying an upload

  Aws\Common\Model\MultipartUpload\AbstractUploadId implements Aws\Common\Model\MultipartUpload\UploadIdInterface

### Direct known subclasses

`Aws\Glacier\Model\MultipartUpload\UploadId`, `Aws\S3\Model\MultipartUpload\UploadId`

Abstract
Namespace: Aws\Common\Model\MultipartUpload
Located at Aws/Common/Model/MultipartUpload/AbstractUploadId.php

## Methods summary

- `public static` `fromParams ( array $data )`

  Create an UploadId from an array

- `public` `toParams ( )`

  Returns the array form of the upload identification for use as command params

- `public` `serialize ( )`
- `public` `unserialize ( mixed $serialized )`
- `protected` `loadData ( array $data )`

  Loads an array of data into the UploadId by extracting only the needed keys

## Methods detail

# `public static `Aws\Common\Model\MultipartUpload\AbstractUploadId``
`fromParams( array $data )`

Create an UploadId from an array

#### Parameters

$data
  `array`
  $data Data representing the upload identification

#### Returns

``Aws\Common\Model\MultipartUpload\AbstractUploadId``

#### Implementation of

`Aws\Common\Model\MultipartUpload\UploadIdInterface::fromParams()`
# `public array`
`toParams( )`

Returns the array form of the upload identification for use as command params

#### Returns

`array`

#### Implementation of

`Aws\Common\Model\MultipartUpload\UploadIdInterface::toParams()`
# `public`
`serialize( )`

#### Implementation of

`Serializable::serialize()`
# `public`
`unserialize( mixed $serialized )`

#### Implementation of

`Serializable::unserialize()`
# `protected`
`loadData( array $data )`

Loads an array of data into the UploadId by extracting only the needed keys

#### Parameters

$data
  `array`
  $data Data to load

#### Throws

``Aws\Common\Exception\InvalidArgumentException``
if a required key is missing

### Magic methods summary

## Properties summary

`protected static array` | $expectedValues | # Expected values (with defaults)
`protected array` | $data | # Params representing the identifying information