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

# Class Model

Default model created when commands create service description model responses

  Guzzle\Common\Collection implements ArrayAccess, IteratorAggregate, Countable, Guzzle\Common\ToArrayInterface
  Guzzle\Service\Resource\Model

Namespace: Guzzle\Service\Resource
Located at Guzzle/Service/Resource/Model.php

## Methods summary

- `public` `__construct ( array $data = array(), Guzzle\Service\Description\Parameter $structure = null )`
- `public` `getStructure ( )`

  Get the structure of the model

- `public` `__toString ( )`

  Provides debug information about the model object

## Methods detail

# `public`
`__construct( array $data = array(), `Guzzle\Service\Description\Parameter` $structure = null )`

#### Parameters

$data
  `array`
  $data Data contained by the model
$structure
  ``Guzzle\Service\Description\Parameter``
  $structure The structure of the model

#### Overrides

`Guzzle\Common\Collection::__construct`
# `public `Guzzle\Service\Description\Parameter``
`getStructure( )`

Get the structure of the model

#### Returns

``Guzzle\Service\Description\Parameter``
# `public string`
`__toString( )`

Provides debug information about the model object

#### Returns

`string`

### Methods inherited from Guzzle\Common\Collection

`add()`, `clear()`, `count()`, `filter()`, `fromConfig()`, `get()`, `getAll()`, `getIterator()`, `getKeys()`, `getPath()`, `hasKey()`, `hasValue()`, `keySearch()`, `map()`, `merge()`, `offsetExists()`, `offsetGet()`, `offsetSet()`, `offsetUnset()`, `overwriteWith()`, `remove()`, `replace()`, `set()`, `setPath()`, `toArray()`

### Magic methods summary

## Properties summary

`protected `Guzzle\Service\Description\Parameter`` | $structure | # Structure of the model

### Properties inherited from Guzzle\Common\Collection

`$data`