Вход Регистрация
Файл: sngine-v2.8/Script/includes/libs/Twilio/Rest/Preview/Sync/Service/SyncList/SyncListItemOptions.php
Строк: 213
<?php

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

namespace TwilioRestPreviewSyncServiceSyncList;

use 
TwilioOptions;
use 
TwilioValues;

/**
 * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
 */
abstract class SyncListItemOptions {
    
/**
     * @param string $ifMatch The If-Match HTTP request header
     * @return DeleteSyncListItemOptions Options builder
     */
    
public static function delete(string $ifMatch Values::NONE): DeleteSyncListItemOptions {
        return new 
DeleteSyncListItemOptions($ifMatch);
    }

    
/**
     * @param string $order The order
     * @param string $from The from
     * @param string $bounds The bounds
     * @return ReadSyncListItemOptions Options builder
     */
    
public static function read(string $order Values::NONEstring $from Values::NONEstring $bounds Values::NONE): ReadSyncListItemOptions {
        return new 
ReadSyncListItemOptions($order$from$bounds);
    }

    
/**
     * @param string $ifMatch The If-Match HTTP request header
     * @return UpdateSyncListItemOptions Options builder
     */
    
public static function update(string $ifMatch Values::NONE): UpdateSyncListItemOptions {
        return new 
UpdateSyncListItemOptions($ifMatch);
    }
}

class 
DeleteSyncListItemOptions extends Options {
    
/**
     * @param string $ifMatch The If-Match HTTP request header
     */
    
public function __construct(string $ifMatch Values::NONE) {
        
$this->options['ifMatch'] = $ifMatch;
    }

    
/**
     * The If-Match HTTP request header
     *
     * @param string $ifMatch The If-Match HTTP request header
     * @return $this Fluent Builder
     */
    
public function setIfMatch(string $ifMatch): self {
        
$this->options['ifMatch'] = $ifMatch;
        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.Preview.Sync.DeleteSyncListItemOptions ' $options ']';
    }
}

class 
ReadSyncListItemOptions extends Options {
    
/**
     * @param string $order The order
     * @param string $from The from
     * @param string $bounds The bounds
     */
    
public function __construct(string $order Values::NONEstring $from Values::NONEstring $bounds Values::NONE) {
        
$this->options['order'] = $order;
        
$this->options['from'] = $from;
        
$this->options['bounds'] = $bounds;
    }

    
/**
     * The order
     *
     * @param string $order The order
     * @return $this Fluent Builder
     */
    
public function setOrder(string $order): self {
        
$this->options['order'] = $order;
        return 
$this;
    }

    
/**
     * The from
     *
     * @param string $from The from
     * @return $this Fluent Builder
     */
    
public function setFrom(string $from): self {
        
$this->options['from'] = $from;
        return 
$this;
    }

    
/**
     * The bounds
     *
     * @param string $bounds The bounds
     * @return $this Fluent Builder
     */
    
public function setBounds(string $bounds): self {
        
$this->options['bounds'] = $bounds;
        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.Preview.Sync.ReadSyncListItemOptions ' $options ']';
    }
}

class 
UpdateSyncListItemOptions extends Options {
    
/**
     * @param string $ifMatch The If-Match HTTP request header
     */
    
public function __construct(string $ifMatch Values::NONE) {
        
$this->options['ifMatch'] = $ifMatch;
    }

    
/**
     * The If-Match HTTP request header
     *
     * @param string $ifMatch The If-Match HTTP request header
     * @return $this Fluent Builder
     */
    
public function setIfMatch(string $ifMatch): self {
        
$this->options['ifMatch'] = $ifMatch;
        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.Preview.Sync.UpdateSyncListItemOptions ' $options ']';
    }
}
Онлайн: 2
Реклама