options['inboundParticipantStatus'] = $inboundParticipantStatus; $this->options['outboundParticipantStatus'] = $outboundParticipantStatus; } /** * The Inbound Participant Status of this Interaction. One of `completed`, `in-progress` or `failed`. * * @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 `completed`, `in-progress` or `failed`. * * @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.Preview.Proxy.ReadInteractionOptions ' . implode(' ', $options) . ']'; } }