pub struct ListCallNotificationParams {
pub account_sid: String,
pub call_sid: String,
pub log: Option<i32>,
pub message_date: Option<String>,
pub message_date_less_than: Option<String>,
pub message_date_greater_than: Option<String>,
pub page_size: Option<i32>,
pub page: Option<i32>,
pub page_token: Option<String>,
}
Expand description
struct for passing parameters to the method list_call_notification
Fields§
§account_sid: String
The SID of the Account that created the Call Notification resources to read.
call_sid: String
The Call SID of the Call Notification resources to read.
log: Option<i32>
Only read notifications of the specified log level. Can be: 0
to read only ERROR notifications or 1
to read only WARNING notifications. By default, all notifications are read.
message_date: Option<String>
Only show notifications for the specified date, formatted as YYYY-MM-DD
. You can also specify an inequality, such as <=YYYY-MM-DD
for messages logged at or before midnight on a date, or >=YYYY-MM-DD
for messages logged at or after midnight on a date.
message_date_less_than: Option<String>
Only show notifications for the specified date, formatted as YYYY-MM-DD
. You can also specify an inequality, such as <=YYYY-MM-DD
for messages logged at or before midnight on a date, or >=YYYY-MM-DD
for messages logged at or after midnight on a date.
message_date_greater_than: Option<String>
Only show notifications for the specified date, formatted as YYYY-MM-DD
. You can also specify an inequality, such as <=YYYY-MM-DD
for messages logged at or before midnight on a date, or >=YYYY-MM-DD
for messages logged at or after midnight on a date.
page_size: Option<i32>
How many resources to return in each list page. The default is 50, and the maximum is 1000.
page: Option<i32>
The page index. This value is simply for client state.
page_token: Option<String>
The page token. This is provided by the API.
Trait Implementations§
Source§impl Clone for ListCallNotificationParams
impl Clone for ListCallNotificationParams
Source§fn clone(&self) -> ListCallNotificationParams
fn clone(&self) -> ListCallNotificationParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more