You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Twilio/Rest/Conversations/V1/ConversationOptions.php
-86
Original file line number
Diff line number
Diff line change
@@ -78,26 +78,6 @@ public static function delete(
78
78
}
79
79
80
80
81
-
/**
82
-
* @param string $startDate Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
83
-
* @param string $endDate End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
84
-
* @param string $state State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
85
-
* @return ReadConversationOptions Options builder
86
-
*/
87
-
publicstaticfunctionread(
88
-
89
-
string$startDate = Values::NONE,
90
-
string$endDate = Values::NONE,
91
-
string$state = Values::NONE
92
-
93
-
): ReadConversationOptions
94
-
{
95
-
returnnewReadConversationOptions(
96
-
$startDate,
97
-
$endDate,
98
-
$state
99
-
);
100
-
}
101
81
102
82
/**
103
83
* @param string $friendlyName The human-readable name of this conversation, limited to 256 characters. Optional.
@@ -351,72 +331,6 @@ public function __toString(): string
351
331
}
352
332
353
333
354
-
class ReadConversationOptions extends Options
355
-
{
356
-
/**
357
-
* @param string $startDate Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
358
-
* @param string $endDate End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
359
-
* @param string $state State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
360
-
*/
361
-
publicfunction__construct(
362
-
363
-
string$startDate = Values::NONE,
364
-
string$endDate = Values::NONE,
365
-
string$state = Values::NONE
366
-
367
-
) {
368
-
$this->options['startDate'] = $startDate;
369
-
$this->options['endDate'] = $endDate;
370
-
$this->options['state'] = $state;
371
-
}
372
-
373
-
/**
374
-
* Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
375
-
*
376
-
* @param string $startDate Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
* End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
387
-
*
388
-
* @param string $endDate End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
389
-
* @return $this Fluent Builder
390
-
*/
391
-
publicfunctionsetEndDate(string$endDate): self
392
-
{
393
-
$this->options['endDate'] = $endDate;
394
-
return$this;
395
-
}
396
-
397
-
/**
398
-
* State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
399
-
*
400
-
* @param string $state State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
Copy file name to clipboardExpand all lines: src/Twilio/Rest/Conversations/V1/Service/ConversationOptions.php
-86
Original file line number
Diff line number
Diff line change
@@ -78,26 +78,6 @@ public static function delete(
78
78
}
79
79
80
80
81
-
/**
82
-
* @param string $startDate Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
83
-
* @param string $endDate End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
84
-
* @param string $state State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
85
-
* @return ReadConversationOptions Options builder
86
-
*/
87
-
publicstaticfunctionread(
88
-
89
-
string$startDate = Values::NONE,
90
-
string$endDate = Values::NONE,
91
-
string$state = Values::NONE
92
-
93
-
): ReadConversationOptions
94
-
{
95
-
returnnewReadConversationOptions(
96
-
$startDate,
97
-
$endDate,
98
-
$state
99
-
);
100
-
}
101
81
102
82
/**
103
83
* @param string $friendlyName The human-readable name of this conversation, limited to 256 characters. Optional.
@@ -351,72 +331,6 @@ public function __toString(): string
351
331
}
352
332
353
333
354
-
class ReadConversationOptions extends Options
355
-
{
356
-
/**
357
-
* @param string $startDate Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
358
-
* @param string $endDate End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
359
-
* @param string $state State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
360
-
*/
361
-
publicfunction__construct(
362
-
363
-
string$startDate = Values::NONE,
364
-
string$endDate = Values::NONE,
365
-
string$state = Values::NONE
366
-
367
-
) {
368
-
$this->options['startDate'] = $startDate;
369
-
$this->options['endDate'] = $endDate;
370
-
$this->options['state'] = $state;
371
-
}
372
-
373
-
/**
374
-
* Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
375
-
*
376
-
* @param string $startDate Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
* End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
387
-
*
388
-
* @param string $endDate End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
389
-
* @return $this Fluent Builder
390
-
*/
391
-
publicfunctionsetEndDate(string$endDate): self
392
-
{
393
-
$this->options['endDate'] = $endDate;
394
-
return$this;
395
-
}
396
-
397
-
/**
398
-
* State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
399
-
*
400
-
* @param string $state State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
0 commit comments