public function hydrate($data)
 {
     parent::hydrate($data);
     $object = Objects::create(ActivityFeedStoryEnum::$storyTypes[$this->story->storyType], []);
     $object->hydrate($this->story);
     $this->story = $object;
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->user)) {
         $this->user = AuthUserResponse::make($this->user);
     }
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->agent)) {
         $this->agent = EmployeeResponse::make($this->agent);
     }
 }
 /**
  * @param $data
  */
 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->template)) {
         $this->template = MessengerTemplateResponse::make($this->template);
     }
     if (!empty($this->campaign)) {
         $this->campaign = MessengerCampaignResponse::make($this->campaign);
     }
 }
예제 #5
0
 public function hydrate($data)
 {
     parent::hydrate($data);
     $items = [];
     foreach ($this->items as $k => $story) {
         $object = Objects::create(ActivityFeedStoryEnum::$storyTypes[$story->storyType], []);
         $object->hydrate($story);
         $items[$k] = $object;
     }
     $this->items = $items;
 }
예제 #6
0
 public function hydrate($data)
 {
     parent::hydrate($data);
     if ($this->affiliate) {
         $this->affiliate = AffiliateResponse::make($this->affiliate);
     }
     if ($this->company) {
         $this->company = CompanyResponse::make($this->company);
     }
     if ($this->pixels) {
         $this->pixels = VisitorPixelsResponse::make($this->pixels);
     }
 }
예제 #7
0
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Edge\\Responses\\EdgeResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Domain\\Responses\\Mailbox\\DomainMailboxResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Auth\\Responses\\OrganisationRegistrationAddressResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Auth\\Responses\\AuthLinkedExternalAccountResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Auth\\Responses\\AuthUserDetailsResponse');
 }
예제 #12
0
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('sections', '\\Fortifi\\FortifiApi\\Config\\Responses\\ConfigSectionResponse');
 }
예제 #13
0
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Ticket\\Responses\\SLA\\TicketSlaResponse');
 }
예제 #14
0
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('groups', '\\Fortifi\\FortifiApi\\Reporting\\Responses\\ReportGroupResponse');
     $this->_buildProperty('drillDowns', '\\Fortifi\\FortifiApi\\Reporting\\Responses\\ReportDrillDownResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Affiliate\\Responses\\Policies\\AutoTQP\\AffiliateAutoTQPResponse');
 }
예제 #16
0
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('conditionalStyling', '\\Fortifi\\FortifiApi\\Reporting\\Responses\\ReportConditionalStyleResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Affiliate\\Responses\\Visitor\\VisitorReferenceResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Call\\Responses\\CallTransferRecordResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Messenger\\Responses\\MessageGroups\\MessengerMessageGroupResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Notification\\Responses\\UserNotificationResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Affiliate\\Responses\\ActionCosts\\AffiliateCampaignActionCostResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('triggers', '\\Fortifi\\FortifiApi\\Workflow\\Responses\\WorkflowTriggerResponse');
 }
예제 #23
0
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Search\\Responses\\SearchLookupResultResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Affiliate\\Responses\\Policies\\CompanyView\\AffiliateCompanyViewPolicyResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('events', '\\Fortifi\\FortifiApi\\Event\\Responses\\EventWindowEventResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\ScreenShare\\Responses\\ScreenShareSessionResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Affiliate\\Responses\\Paychecks\\AffiliatePaycheckResponse');
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Call\\Responses\\CompanyPhoneNumberResponse');
 }
예제 #29
0
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->result = ValueAs::arr($this->result);
 }
 public function hydrate($data)
 {
     parent::hydrate($data);
     $this->_buildProperty('items', '\\Fortifi\\FortifiApi\\Payment\\Responses\\Account\\PaymentAccountResponse');
 }