options['sim'] = $sim; $this->options['status'] = $status; } /** * Filter the Settings Updates by a Super SIM's SID or UniqueName. * * @param string $sim Filter the Settings Updates by a Super SIM's SID or UniqueName. * @return $this Fluent Builder */ public function setSim(string $sim): self { $this->options['sim'] = $sim; return $this; } /** * Filter the Settings Updates by status. Can be `scheduled`, `in-progress`, `successful`, or `failed`. * * @param string $status Filter the Settings Updates by status. Can be `scheduled`, `in-progress`, `successful`, or `failed`. * @return $this Fluent Builder */ public function setStatus(string $status): self { $this->options['status'] = $status; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString(): string { $options = \http_build_query(Values::of($this->options), '', ' '); return '[Twilio.Supersim.V1.ReadSettingsUpdateOptions ' . $options . ']'; } }