options['inboundParticipantStatus'] = $inboundParticipantStatus; $this->options['outboundParticipantStatus'] = $outboundParticipantStatus; } /** * The Inbound Participant Status of this Interaction. One of `accepted`, `answered`, `busy`, `canceled`, `completed`, `deleted`, `delivered`, `delivery-unknown`, `failed`, `in-progress`, `initiated`, `no-answer`, `queued`, `received`, `receiving`, `ringing`, `scheduled`, `sending`, `sent`, `undelivered` or `unknown`. * * @param string $inboundParticipantStatus The Inbound Participant Status of * this Interaction * @return $this Fluent Builder */ public function setInboundParticipantStatus($inboundParticipantStatus) { $this->options['inboundParticipantStatus'] = $inboundParticipantStatus; return $this; } /** * The Outbound Participant Status of this Interaction. One of `accepted`, `answered`, `busy`, `canceled`, `completed`, `deleted`, `delivered`, `delivery-unknown`, `failed`, `in-progress`, `initiated`, `no-answer`, `queued`, `received`, `receiving`, `ringing`, `scheduled`, `sending`, `sent`, `undelivered` or `unknown`. * * @param string $outboundParticipantStatus The Outbound Participant Status of * this Interaction * @return $this Fluent Builder */ public function setOutboundParticipantStatus($outboundParticipantStatus) { $this->options['outboundParticipantStatus'] = $outboundParticipantStatus; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.Proxy.V1.ReadInteractionOptions ' . implode(' ', $options) . ']'; } }