modern-events-calendar-lite/app/api/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesChannelEndpointAssignmentOptions.php

101 lines
3 KiB
PHP
Raw Permalink Normal View History

2024-10-15 12:04:03 +02:00
<?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 . ']';
}
}