public function __construct() { $date = Date::Now()->ToIso(); $this->id = 1; $this->emailAddress = '*****@*****.**'; $this->firstName = 'first'; $this->lastName = 'last'; $this->language = 'language_code'; $this->lastLogin = $date; $this->organization = 'organization'; $this->phoneNumber = 'phone'; $this->statusId = 'statusId'; $this->timezone = 'timezone'; $this->username = '******'; $this->position = 'position'; $this->icsUrl = 'webcal://url/to/calendar'; $this->customAttributes = array(CustomAttributeResponse::Example()); $this->permissions = array(ResourceItemResponse::Example()); $this->groups = array(GroupItemResponse::Example()); }
public function __construct() { $this->groups = array(GroupItemResponse::Example()); }