pub struct ListMediaParams {
pub account_sid: String,
pub message_sid: String,
pub date_created: Option<String>,
pub date_created_less_than: Option<String>,
pub date_created_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_media
Fields§
§account_sid: String
The SID of the Account that is associated with the Media resources.
message_sid: String
The SID of the Message resource that is associated with the Media resources.
date_created: Option<String>
Only include Media resources that were created on this date. Specify a date as YYYY-MM-DD
in GMT, for example: 2009-07-06
, to read Media that were created on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD
, to read Media that were created on or before midnight of this date, and StartTime>=YYYY-MM-DD
to read Media that were created on or after midnight of this date.
date_created_less_than: Option<String>
Only include Media resources that were created on this date. Specify a date as YYYY-MM-DD
in GMT, for example: 2009-07-06
, to read Media that were created on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD
, to read Media that were created on or before midnight of this date, and StartTime>=YYYY-MM-DD
to read Media that were created on or after midnight of this date.
date_created_greater_than: Option<String>
Only include Media resources that were created on this date. Specify a date as YYYY-MM-DD
in GMT, for example: 2009-07-06
, to read Media that were created on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD
, to read Media that were created on or before midnight of this date, and StartTime>=YYYY-MM-DD
to read Media that were created on or after midnight of this 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 ListMediaParams
impl Clone for ListMediaParams
Source§fn clone(&self) -> ListMediaParams
fn clone(&self) -> ListMediaParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more