# Class Domains

GenericResource is the class every model should use for initialization. It provides the functions to check the mandatory, optional arguments provided

  Catapult\GenericResource
  Catapult\Domains

Final
Namespace: Catapult
Located at models/Domains.php

## Methods summary

`public` | # `__construct( )` construct the domains as initiated or new. Domains should have functions to access their endpoints as well construct the domains as initiated or new. Domains should have functions to access their endpoints as well init forms GET: Domains('domain-id') Domains() POST Domains(array)
`public` | # `listEndpoints( )` List all the endpoints for a given Domain. List all the endpoints for a given Domain. #### Returns EndpointsCollection

### Methods inherited from Catapult\GenericResource

`__call()`, `__toString()`, `_init()`, `_list()`, `check()`, `create()`, `delete()`, `get()`, `getAudioUrl()`, `getObjClass()`, `getPath()`, `getSchemaString()`, `get_sub_function()`, `load()`, `reload()`, `toArray()`, `update()`

## Properties summary

### Properties inherited from Catapult\GenericResource

`$lastUpdate`, `$paths`