Ctct\Components\Contacts\ContactList
Represents a single Contact List
- Author: Constant Contact
Synopsis
class ContactList
extends Component
{
- // members
- public $id;
- public $name;
- public $status;
- public $contact_count;
- // methods
- public void __construct()
- public static ContactList create()
- public void toJson()
- // Inherited methods from Component
- protected static mixed getValue()
Hierarchy
Extends
Members
public
- $contact_count
—
string
The number of contacts in the list - $id
—
string
Unique identifier of the contact list - $name
—
string
Name of the contact list - $status
—
string
Status of the contact list, must be one of "ACTIVE", "HIDDEN", "REMOVED"
Methods
public
- __construct()
- create() — Factory method to create a ContactList object from an array
- toJson()
Inherited from Ctct\Components\Component
protected
- getValue() — Get the requested value from an array, or return the default