<?php

/**
 * This code was generated by
 * \ / _    _  _|   _  _
 * | (_)\/(_)(_|\/| |(/_  v1.0.0
 * /       /
 */

namespace Twilio\TwiML\Voice;

use Twilio\TwiML\TwiML;

class ConversationRelaySession extends TwiML {
    /**
     * ConversationRelaySession constructor.
     *
     * @param array $attributes Optional attributes
     */
    public function __construct($attributes = []) {
        parent::__construct('ConversationRelaySession', null, $attributes);
    }

    /**
     * Add Connector attribute.
     *
     * @param string $connector The unique name or installed add-on sid that
     *                          identifies the installed addon resource for the
     *                          ConversationRelaySession Connector
     */
    public function setConnector($connector): self {
        return $this->setAttribute('connector', $connector);
    }

    /**
     * Add SessionConfiguration attribute.
     *
     * @param string $sessionConfiguration The unique name or id of the
     *                                     ConversationRelaySession  Configuration
     *                                     resource.
     */
    public function setSessionConfiguration($sessionConfiguration): self {
        return $this->setAttribute('sessionConfiguration', $sessionConfiguration);
    }
}