!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/Service/Configuration/   drwxr-xr-x
Free 13.13 GB of 57.97 GB (22.65%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     NotificationOptions.php (16.96 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\Service\Configuration;

use 
Twilio\Options;
use 
Twilio\Values;

abstract class 
NotificationOptions {
    
/**
     * @param bool $logEnabled Weather the notification logging is enabled.
     * @param bool $newMessageEnabled Whether to send a notification when a new
     *                                message is added to a conversation.
     * @param string $newMessageTemplate The template to use to create the
     *                                   notification text displayed when a new
     *                                   message is added to a conversation.
     * @param string $newMessageSound The name of the sound to play when a new
     *                                message is added to a conversation.
     * @param bool $newMessageBadgeCountEnabled Whether the new message badge is
     *                                          enabled.
     * @param bool $addedToConversationEnabled Whether to send a notification when
     *                                         a participant is added to a
     *                                         conversation.
     * @param string $addedToConversationTemplate The template to use to create the
     *                                            notification text displayed when
     *                                            a participant is added to a
     *                                            conversation.
     * @param string $addedToConversationSound The name of the sound to play when a
     *                                         participant is added to a
     *                                         conversation.
     * @param bool $removedFromConversationEnabled Whether to send a notification
     *                                             to a user when they are removed
     *                                             from a conversation.
     * @param string $removedFromConversationTemplate The template to use to create
     *                                                the notification text
     *                                                displayed to a user when they
     *                                                are removed.
     * @param string $removedFromConversationSound The name of the sound to play to
     *                                             a user when they are removed
     *                                             from a conversation.
     * @param bool $newMessageWithMediaEnabled Whether to send a notification when
     *                                         a new message with media/file
     *                                         attachments is added to a
     *                                         conversation.
     * @param string $newMessageWithMediaTemplate The template to use to create the
     *                                            notification text displayed when
     *                                            a new message with media/file
     *                                            attachments is added to a
     *                                            conversation.
     * @return UpdateNotificationOptions Options builder
     */
    
public static function update(bool $logEnabled Values::NONEbool $newMessageEnabled Values::NONEstring $newMessageTemplate Values::NONEstring $newMessageSound Values::NONEbool $newMessageBadgeCountEnabled Values::NONEbool $addedToConversationEnabled Values::NONEstring $addedToConversationTemplate Values::NONEstring $addedToConversationSound Values::NONEbool $removedFromConversationEnabled Values::NONEstring $removedFromConversationTemplate Values::NONEstring $removedFromConversationSound Values::NONEbool $newMessageWithMediaEnabled Values::NONEstring $newMessageWithMediaTemplate Values::NONE): UpdateNotificationOptions {
        return new 
UpdateNotificationOptions($logEnabled$newMessageEnabled$newMessageTemplate$newMessageSound$newMessageBadgeCountEnabled$addedToConversationEnabled$addedToConversationTemplate$addedToConversationSound$removedFromConversationEnabled$removedFromConversationTemplate$removedFromConversationSound$newMessageWithMediaEnabled$newMessageWithMediaTemplate);
    }
}

class 
UpdateNotificationOptions extends Options {
    
/**
     * @param bool $logEnabled Weather the notification logging is enabled.
     * @param bool $newMessageEnabled Whether to send a notification when a new
     *                                message is added to a conversation.
     * @param string $newMessageTemplate The template to use to create the
     *                                   notification text displayed when a new
     *                                   message is added to a conversation.
     * @param string $newMessageSound The name of the sound to play when a new
     *                                message is added to a conversation.
     * @param bool $newMessageBadgeCountEnabled Whether the new message badge is
     *                                          enabled.
     * @param bool $addedToConversationEnabled Whether to send a notification when
     *                                         a participant is added to a
     *                                         conversation.
     * @param string $addedToConversationTemplate The template to use to create the
     *                                            notification text displayed when
     *                                            a participant is added to a
     *                                            conversation.
     * @param string $addedToConversationSound The name of the sound to play when a
     *                                         participant is added to a
     *                                         conversation.
     * @param bool $removedFromConversationEnabled Whether to send a notification
     *                                             to a user when they are removed
     *                                             from a conversation.
     * @param string $removedFromConversationTemplate The template to use to create
     *                                                the notification text
     *                                                displayed to a user when they
     *                                                are removed.
     * @param string $removedFromConversationSound The name of the sound to play to
     *                                             a user when they are removed
     *                                             from a conversation.
     * @param bool $newMessageWithMediaEnabled Whether to send a notification when
     *                                         a new message with media/file
     *                                         attachments is added to a
     *                                         conversation.
     * @param string $newMessageWithMediaTemplate The template to use to create the
     *                                            notification text displayed when
     *                                            a new message with media/file
     *                                            attachments is added to a
     *                                            conversation.
     */
    
public function __construct(bool $logEnabled Values::NONEbool $newMessageEnabled Values::NONEstring $newMessageTemplate Values::NONEstring $newMessageSound Values::NONEbool $newMessageBadgeCountEnabled Values::NONEbool $addedToConversationEnabled Values::NONEstring $addedToConversationTemplate Values::NONEstring $addedToConversationSound Values::NONEbool $removedFromConversationEnabled Values::NONEstring $removedFromConversationTemplate Values::NONEstring $removedFromConversationSound Values::NONEbool $newMessageWithMediaEnabled Values::NONEstring $newMessageWithMediaTemplate Values::NONE) {
        
$this->options['logEnabled'] = $logEnabled;
        
$this->options['newMessageEnabled'] = $newMessageEnabled;
        
$this->options['newMessageTemplate'] = $newMessageTemplate;
        
$this->options['newMessageSound'] = $newMessageSound;
        
$this->options['newMessageBadgeCountEnabled'] = $newMessageBadgeCountEnabled;
        
$this->options['addedToConversationEnabled'] = $addedToConversationEnabled;
        
$this->options['addedToConversationTemplate'] = $addedToConversationTemplate;
        
$this->options['addedToConversationSound'] = $addedToConversationSound;
        
$this->options['removedFromConversationEnabled'] = $removedFromConversationEnabled;
        
$this->options['removedFromConversationTemplate'] = $removedFromConversationTemplate;
        
$this->options['removedFromConversationSound'] = $removedFromConversationSound;
        
$this->options['newMessageWithMediaEnabled'] = $newMessageWithMediaEnabled;
        
$this->options['newMessageWithMediaTemplate'] = $newMessageWithMediaTemplate;
    }

    
/**
     * Weather the notification logging is enabled.
     *
     * @param bool $logEnabled Weather the notification logging is enabled.
     * @return $this Fluent Builder
     */
    
public function setLogEnabled(bool $logEnabled): self {
        
$this->options['logEnabled'] = $logEnabled;
        return 
$this;
    }

    
/**
     * Whether to send a notification when a new message is added to a conversation. The default is `false`.
     *
     * @param bool $newMessageEnabled Whether to send a notification when a new
     *                                message is added to a conversation.
     * @return $this Fluent Builder
     */
    
public function setNewMessageEnabled(bool $newMessageEnabled): self {
        
$this->options['newMessageEnabled'] = $newMessageEnabled;
        return 
$this;
    }

    
/**
     * The template to use to create the notification text displayed when a new message is added to a conversation and `new_message.enabled` is `true`.
     *
     * @param string $newMessageTemplate The template to use to create the
     *                                   notification text displayed when a new
     *                                   message is added to a conversation.
     * @return $this Fluent Builder
     */
    
public function setNewMessageTemplate(string $newMessageTemplate): self {
        
$this->options['newMessageTemplate'] = $newMessageTemplate;
        return 
$this;
    }

    
/**
     * The name of the sound to play when a new message is added to a conversation and `new_message.enabled` is `true`.
     *
     * @param string $newMessageSound The name of the sound to play when a new
     *                                message is added to a conversation.
     * @return $this Fluent Builder
     */
    
public function setNewMessageSound(string $newMessageSound): self {
        
$this->options['newMessageSound'] = $newMessageSound;
        return 
$this;
    }

    
/**
     * Whether the new message badge is enabled. The default is `false`.
     *
     * @param bool $newMessageBadgeCountEnabled Whether the new message badge is
     *                                          enabled.
     * @return $this Fluent Builder
     */
    
public function setNewMessageBadgeCountEnabled(bool $newMessageBadgeCountEnabled): self {
        
$this->options['newMessageBadgeCountEnabled'] = $newMessageBadgeCountEnabled;
        return 
$this;
    }

    
/**
     * Whether to send a notification when a participant is added to a conversation. The default is `false`.
     *
     * @param bool $addedToConversationEnabled Whether to send a notification when
     *                                         a participant is added to a
     *                                         conversation.
     * @return $this Fluent Builder
     */
    
public function setAddedToConversationEnabled(bool $addedToConversationEnabled): self {
        
$this->options['addedToConversationEnabled'] = $addedToConversationEnabled;
        return 
$this;
    }

    
/**
     * The template to use to create the notification text displayed when a participant is added to a conversation and `added_to_conversation.enabled` is `true`.
     *
     * @param string $addedToConversationTemplate The template to use to create the
     *                                            notification text displayed when
     *                                            a participant is added to a
     *                                            conversation.
     * @return $this Fluent Builder
     */
    
public function setAddedToConversationTemplate(string $addedToConversationTemplate): self {
        
$this->options['addedToConversationTemplate'] = $addedToConversationTemplate;
        return 
$this;
    }

    
/**
     * The name of the sound to play when a participant is added to a conversation and `added_to_conversation.enabled` is `true`.
     *
     * @param string $addedToConversationSound The name of the sound to play when a
     *                                         participant is added to a
     *                                         conversation.
     * @return $this Fluent Builder
     */
    
public function setAddedToConversationSound(string $addedToConversationSound): self {
        
$this->options['addedToConversationSound'] = $addedToConversationSound;
        return 
$this;
    }

    
/**
     * Whether to send a notification to a user when they are removed from a conversation. The default is `false`.
     *
     * @param bool $removedFromConversationEnabled Whether to send a notification
     *                                             to a user when they are removed
     *                                             from a conversation.
     * @return $this Fluent Builder
     */
    
public function setRemovedFromConversationEnabled(bool $removedFromConversationEnabled): self {
        
$this->options['removedFromConversationEnabled'] = $removedFromConversationEnabled;
        return 
$this;
    }

    
/**
     * The template to use to create the notification text displayed to a user when they are removed from a conversation and `removed_from_conversation.enabled` is `true`.
     *
     * @param string $removedFromConversationTemplate The template to use to create
     *                                                the notification text
     *                                                displayed to a user when they
     *                                                are removed.
     * @return $this Fluent Builder
     */
    
public function setRemovedFromConversationTemplate(string $removedFromConversationTemplate): self {
        
$this->options['removedFromConversationTemplate'] = $removedFromConversationTemplate;
        return 
$this;
    }

    
/**
     * The name of the sound to play to a user when they are removed from a conversation and `removed_from_conversation.enabled` is `true`.
     *
     * @param string $removedFromConversationSound The name of the sound to play to
     *                                             a user when they are removed
     *                                             from a conversation.
     * @return $this Fluent Builder
     */
    
public function setRemovedFromConversationSound(string $removedFromConversationSound): self {
        
$this->options['removedFromConversationSound'] = $removedFromConversationSound;
        return 
$this;
    }

    
/**
     * Whether to send a notification when a new message with media/file attachments is added to a conversation. The default is `false`.
     *
     * @param bool $newMessageWithMediaEnabled Whether to send a notification when
     *                                         a new message with media/file
     *                                         attachments is added to a
     *                                         conversation.
     * @return $this Fluent Builder
     */
    
public function setNewMessageWithMediaEnabled(bool $newMessageWithMediaEnabled): self {
        
$this->options['newMessageWithMediaEnabled'] = $newMessageWithMediaEnabled;
        return 
$this;
    }

    
/**
     * The template to use to create the notification text displayed when a new message with media/file attachments is added to a conversation and `new_message.attachments.enabled` is `true`.
     *
     * @param string $newMessageWithMediaTemplate The template to use to create the
     *                                            notification text displayed when
     *                                            a new message with media/file
     *                                            attachments is added to a
     *                                            conversation.
     * @return $this Fluent Builder
     */
    
public function setNewMessageWithMediaTemplate(string $newMessageWithMediaTemplate): self {
        
$this->options['newMessageWithMediaTemplate'] = $newMessageWithMediaTemplate;
        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.UpdateNotificationOptions ' $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.007 ]--