Copied!
  • property string $name The segment's unique descriptive name.
  • property int $segment_id The system generated number that uniquely identifies the segment.
  • property \PHPFUI\ConstantContact\DateTime $created_at The system generated date and time that the segment was created (ISO-8601 format).
  • property \PHPFUI\ConstantContact\DateTime $edited_at The system generated date and time that the segment's name or segment_criteria was last updated (ISO-8601 format).
CloneableInstantiable
Methods
public PHPFUI\ConstantContact\Definition\Base::__construct(array $initialValues = [])
public PHPFUI\ConstantContact\Definition\Base::__get(string $field) : ?mixed
 

Unset fields will return null

public PHPFUI\ConstantContact\Definition\Base::__set(string $field, ?mixed $value)
 
  • return mixed value being set to allow for assignment chaining
public PHPFUI\ConstantContact\Definition\Base::getData() : array
 
  • return array representation of data
public PHPFUI\ConstantContact\Definition\Base::getfields() : array
 
  • return array all the valid fields for the object. Index is field name and value is the type.
public PHPFUI\ConstantContact\Definition\Base::getJSON() : string
 
  • return string pretty print JSON
Properties
protected static array $fields = ['name' => 'string', 'segment_id' => 'int', 'created_at' => '\PHPFUI\ConstantContact\DateTime', 'edited_at' => '\PHPFUI\ConstantContact\DateTime']
protected static array PHPFUI\ConstantContact\Definition\Base::$maxLength = []
 
  • var array<string,int> maximum allowed values. Arrays are size, int and float are values, strings are length.
protected static array PHPFUI\ConstantContact\Definition\Base::$minLength = []
 
  • var array<string,int> minimum allowed values. Arrays are size, int and float are values, strings are length.
protected static array PHPFUI\ConstantContact\Definition\Base::$requiredFields = []
 
  • var string[] required fields.
Properties
protected static array $fields = ['name' => 'string', 'segment_id' => 'int', 'created_at' => '\PHPFUI\ConstantContact\DateTime', 'edited_at' => '\PHPFUI\ConstantContact\DateTime']
protected static array PHPFUI\ConstantContact\Definition\Base::$maxLength = []
 
  • var array<string,int> maximum allowed values. Arrays are size, int and float are values, strings are length.
protected static array PHPFUI\ConstantContact\Definition\Base::$minLength = []
 
  • var array<string,int> minimum allowed values. Arrays are size, int and float are values, strings are length.
protected static array PHPFUI\ConstantContact\Definition\Base::$requiredFields = []
 
  • var string[] required fields.
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration