def get(self, Muted=None, Page=None, PageSize=None, AfterSid=None): """ Fetch the participants of a conference. :var Muted: Only show participants that are muted or unmuted. Either `True` or `False`. :vartype Muted: bool :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, Status=None, FriendlyName=None, DateCreated=None, DateCreatedGT=None, DateCreatedLT=None, DateUpdated=None, DateUpdatedGT=None, DateUpdatedLT=None, Page=None, PageSize=None, AfterSid=None): """ Fetch the calls made to or from an account. :var Status: Only show conferences currently in with this status. May be `init`, `in-progress`, or `completed`. :vartype Status: str :var FriendlyName: List conferences who's FriendlyName is the exact match of this string. :vartype FriendlyName: str :var DateCreated: Only show conferences that started on this date, given as YYYY-MM-DD. :vartype DateCreated: str :var DateCreatedGT: Greater than inequality for DateCreated, use it for conferences that started at or after midnight on a date (generates DateCreated>=YYYY-MM-DD). :vartype DateCreatedGT: str :var DateCreatedLT: Lower than inequality for DateCreated, use it for conferences that started at or before midnight on a date (generates DateCreated<=YYYY-MM-DD). :vartype DateCreatedGT: str :var DateUpdated: Only show conferences that were last updated on this date, given as YYYY-MM-DD. :vartype DateUpdated: str :var DateUpdatedGT: Greater than inequality for DateUpdated, use it for conferences that were last updated at or after midnight on a date (generates DateUpdated>=YYYY-MM-DD). :vartype DateUpdatedGT: str :var DateUpdatedLT: Lower than inequality for DateUpdated, use it for conferences that were last updated at or before midnight on a date (generates DateUpdated<=YYYY-MM-DD). :vartype DateUpdatedGT: str :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, ShortCode=None, FriendlyName=None, Page=None, PageSize=None, AfterSid=None): """ Fetch the list of short codes for an account. :var ShortCode: Only show the ShortCode resources that match this pattern. You can specify partial numbers and use `*` as a wildcard for any digit. :vartype ShortCode: str :var FriendlyName: Only show the ShortCode resources with friendly names that exactly match this name. :vartype FriendlyName: str :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, PhoneNumber=None, FriendlyName=None, Page=None, PageSize=None, AfterSid=None): """ Fetch outgoing caller ids for an account. :var PhoneNumber: Only show the incoming phone number resources that match this pattern. You can specify partial numbers and use `*` as a wildcard for any digit. :vartype PhoneNumber: str :var FriendlyName: Only show the incoming phone number resources with friendly names that exactly match this name. :vartype FriendlyName: str :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, Recurring=None, UsageCategory=None, TriggerBy=None, Page=None, PageSize=None, AfterSid=None): """ Fetch a list of usage triggers resource representations. :var Recurring: Only show usage triggers that count over this interval. One of daily, monthly, or yearly. To retrieve non-recurring triggers, leave this empty or use alltime. :vartype Recurring: str :var UsageCategory: Only include usage triggers that watch this usage category. :vartype UsageCategory: str :var TriggerBy: Only show usage triggers that trigger by this field in the usage record. Must be one of: count, usage, or price. :vartype TriggerBy: str :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, FriendlyName=None, Page=None, PageSize=None, AfterSid=None): """ Fetch the Applications belonging to an account. :var FriendlyName: Only return the Account resources with friendly names that exactly match this name. :vartype FriendlyName: str :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, FriendlyName=None, Status=None, Page=None, PageSize=None, AfterSid=None): """ Fetch the (sub)accounts belonging to this account. :var FriendlyName: Only return the Account resources with friendly names that exactly match this name. :vartype FriendlyName: str :var Status: Only return Account resources with the given status. Can be `closed`, `suspended` or `active`. :vartype Status: str :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, AreaCode=None, Contains=None, InRegion=None, InPostalCode=None, NearLatLong=None, NearNumber=None, InLata=None, InRateCenter=None, Distance=None): """ Fetch available local phone numbers for an account. :var AreaCode: Find phone numbers in the specified area code. :vartype AreaCode: str :var Contains: A pattern to match phone numbers on. Valid characters are `*` and [0-9a-zA-Z]. The `*` character will match any single digit. :vartype Contains: str :var InRegion: Limit results to a particular region (State/Province). Given a phone number, search within the same Region as that number. (US and Canada only) :vartype InRegion: str :var InPostalCode: Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. (US and Canada only) :vartype InPostalCode: str :var NearLatLong: Given a latitude/longitude pair lat,long find geographically close numbers within Distance miles. (US and Canada only) :vartype NearLatLong: str :var NearNumber: Given a phone number, find a geographically close number within Distance miles. Distance defaults to 25 miles. (US and Canada only) :vartype NearNumber: str :var InLata: Limit results to a specific Local access and transport area (LATA). Given a phone number, search within the same LATA as that number. (US and Canada only) :vartype InLata: str :var InRateCenter: Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires InLata to be set as well. (US and Canada only) :vartype InRateCenter: str :var InDistance: Specifies the search radius for a Near- query in miles. If not specified this defaults to 25 miles. (US and Canada only) :vartype InDistance: int """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, To=None, From=None, Status=None, StartTime=None, StartTimeGT=None, StartTimeLT=None, ParentCallSid=None, Page=None, PageSize=None, AfterSid=None): """ Fetch the calls made to or from an account. :var To: Only show calls to this phone number or Client identifier. :vartype To: str :var From: Only show calls from this phone number or Client identifier. :vartype From: str :var Status: Only show calls currently in this status. May be `queued`, `ringing`, `in-progress`, `completed`, `failed`, `busy` or `no-answer`. :vartype Status: str :var StartTime: Only show calls that started on this date, given as YYYY-MM-DD. :vartype StartTime: str :var StartTimeGT: Greater than inequality for StartTime, use it for calls that started at or after midnight on a date (generates StartTime>=YYYY-MM-DD). :vartype StartTimeGT: str :var StartTimeLT: Lower than inequality for StartTime, use it for calls that started at or before midnight on a date (generates StartTime<=YYYY-MM-DD). :vartype StartTimeGT: str :var ParentCallSid: Only show calls spawned by the call with this Sid. :vartype ParentCallSid: str :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, To=None, From=None, DateSent=None, DateSentGT=None, DateSentLT=None, Page=None, PageSize=None, AfterSid=None): """ Fetch the list of SMS messages associated with an account. :var To: Only show SMS messages to this phone number. :vartype To: str :var From: Only show SMS messages from this phone number. :vartype From: str :var DateSent: Only show SMS messages on this date, given as YYYY-MM-DD. :vartype DateSent: str :var DateSentGT: Greater than inequality for DateSent, use it for message sent at or after midnight on a date (generates DateSent>=YYYY-MM-DD). :vartype DateSentGT: str :var DateSentLT: Lower than inequality for DateSent, use it for messages sent at or before midnight on a date (generates DateSent<=YYYY-MM-DD). :vartype DateSentGT: str :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, AreaCode=None, Contains=None): """ Fetch available toll-free phone numbers for an account. :var AreaCode: Find phone numbers in the specified area code. :vartype AreaCode: str :var Contains: A pattern to match phone numbers on. Valid characters are `*` and [0-9a-zA-Z]. The `*` character will match any single digit. :vartype Contains: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, Category=None, StartDate=None, EndDate=None, Page=None, PageSize=None, AfterSid=None): """ Fetch a list of usage records. :var Category: Only include usage records of this usage category. :vartype Category: str :var StartDate: Only include usage that has occurred on or after this date. Format is YYYY-MM-DD. All dates are in GMT. As a convenience, you can also specify offsets to today. For example, StartDate=-30days will make StartDate be 30 days before today. :vartype StartDate: str :var EndDate: Only include usage that has occurred on or before this date. Format is YYYY-MM-DD. All dates are in GMT. As a convenience, you can also specify offsets to today. For example, EndDate=+30days will make EndDate be 30 days from today. :vartype EndDate: str :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, Page=None, PageSize=None, AfterSid=None): """ Fetch the list of conferences of an account. :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, CallSid=None, DateCreated=None, DateCreatedGT=None, DateCreatedLT=None, Page=None, PageSize=None, AfterSid=None): """ Fetch the list of transcriptions for an account or call. :var CallSid: Show only recordings made during the call given by this sid. :vartype CallSid: str :var DateCreated: Only show recordings created on this date, given as YYYY-MM-DD. :vartype DateCreated: str :var DateCreatedGT: Greater than inequality for DateCreated, use it for recordings created at or after midnight on a date (generates DateCreated>=YYYY-MM-DD). :vartype DateCreatedGT: str :var DateCreatedLT: Lower than inequality for DateCreated, use it for recordings created at or before midnight on a date (generates DateCreated<=YYYY-MM-DD). :vartype DateCreatedGT: str :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json
def get(self, Log=None, MessageDate=None, MessageDateGT=None, MessageDateLT=None, Page=None, PageSize=None, AfterSid=None): """ Fetch notifications for an account or call. :var Log: Only show notifications for this log, using the integer log values. :vartype Log: int :var MessageDate: Only show notifications for this date, given as YYYY-MM-DD. :vartype MessageDate: str :var MessageDateGT: Greater than inequality for MessageDate, use it for messages logged at or after midnight on a date (generates MessageDate>=YYYY-MM-DD). :vartype MessageDateGT: str :var MessageDateLT: Lower than inequality for MessageDate, use it for messages logged at or before midnight on a date (generates MessageDate<=YYYY-MM-DD). :vartype MessageDateGT: str :var Page: The current page number. Zero-indexed, so the first page is 0. :vartype Page: int :var PageSize: How many resources to return in each list page. The default is 50, and the maximum is 1000. :vartype PageSize: int :var AfterSid: The last Sid returned in the previous page, used to avoid listing duplicated resources if new ones are created while paging. :vartype AfterSid: str """ params = resource.get_params(None, locals()) request = http.Request('GET', self.get_url(), params) return request, parsers.parse_json