File "CustomerProfilesChannelEndpointAssignmentOptions.php"

Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/twilio/sdk/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesChannelEndpointAssignmentOptions.php
File size: 2.87 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * This code was generated by
 * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
 *
 * Twilio - Trusthub
 * This is the public Twilio REST API.
 *
 * NOTE: This class is auto generated by OpenAPI Generator.
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

namespace Twilio\Rest\Trusthub\V1\CustomerProfiles;

use Twilio\Options;
use Twilio\Values;

abstract class CustomerProfilesChannelEndpointAssignmentOptions
{



    /**
     * @param string $channelEndpointSid The SID of an channel endpoint
     * @param string $channelEndpointSids comma separated list of channel endpoint sids
     * @return ReadCustomerProfilesChannelEndpointAssignmentOptions Options builder
     */
    public static function read(
        
        string $channelEndpointSid = Values::NONE,
        string $channelEndpointSids = Values::NONE

    ): ReadCustomerProfilesChannelEndpointAssignmentOptions
    {
        return new ReadCustomerProfilesChannelEndpointAssignmentOptions(
            $channelEndpointSid,
            $channelEndpointSids
        );
    }

}




class ReadCustomerProfilesChannelEndpointAssignmentOptions extends Options
    {
    /**
     * @param string $channelEndpointSid The SID of an channel endpoint
     * @param string $channelEndpointSids comma separated list of channel endpoint sids
     */
    public function __construct(
        
        string $channelEndpointSid = Values::NONE,
        string $channelEndpointSids = Values::NONE

    ) {
        $this->options['channelEndpointSid'] = $channelEndpointSid;
        $this->options['channelEndpointSids'] = $channelEndpointSids;
    }

    /**
     * The SID of an channel endpoint
     *
     * @param string $channelEndpointSid The SID of an channel endpoint
     * @return $this Fluent Builder
     */
    public function setChannelEndpointSid(string $channelEndpointSid): self
    {
        $this->options['channelEndpointSid'] = $channelEndpointSid;
        return $this;
    }

    /**
     * comma separated list of channel endpoint sids
     *
     * @param string $channelEndpointSids comma separated list of channel endpoint sids
     * @return $this Fluent Builder
     */
    public function setChannelEndpointSids(string $channelEndpointSids): self
    {
        $this->options['channelEndpointSids'] = $channelEndpointSids;
        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.Trusthub.V1.ReadCustomerProfilesChannelEndpointAssignmentOptions ' . $options . ']';
    }
}