class

Twilio::QueuesApi

Inherits Reference / Object

Constants

CREATE_QUEUE_MAX_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_QUEUE_MIN_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_QUEUE_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
DELETE_QUEUE_MAX_LENGTH_FOR_ACCOUNT_SID = 34
DELETE_QUEUE_MAX_LENGTH_FOR_SID = 34
DELETE_QUEUE_MIN_LENGTH_FOR_ACCOUNT_SID = 34
DELETE_QUEUE_MIN_LENGTH_FOR_SID = 34
DELETE_QUEUE_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
DELETE_QUEUE_PATTERN_FOR_SID = /^QU[0-9a-fA-F]{32}$/
FETCH_MEMBER_MAX_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_MEMBER_MAX_LENGTH_FOR_QUEUE_SID = 34
FETCH_MEMBER_MIN_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_MEMBER_MIN_LENGTH_FOR_QUEUE_SID = 34
FETCH_MEMBER_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
FETCH_MEMBER_PATTERN_FOR_QUEUE_SID = /^QU[0-9a-fA-F]{32}$/
FETCH_QUEUE_MAX_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_QUEUE_MAX_LENGTH_FOR_SID = 34
FETCH_QUEUE_MIN_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_QUEUE_MIN_LENGTH_FOR_SID = 34
FETCH_QUEUE_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
FETCH_QUEUE_PATTERN_FOR_SID = /^QU[0-9a-fA-F]{32}$/
LIST_MEMBER_MAX_FOR_PAGE_SIZE = Int32.new("1000")
LIST_MEMBER_MAX_LENGTH_FOR_ACCOUNT_SID = 34
LIST_MEMBER_MAX_LENGTH_FOR_QUEUE_SID = 34
LIST_MEMBER_MIN_FOR_PAGE_SIZE = Int32.new("1")
LIST_MEMBER_MIN_LENGTH_FOR_ACCOUNT_SID = 34
LIST_MEMBER_MIN_LENGTH_FOR_QUEUE_SID = 34
LIST_MEMBER_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
LIST_MEMBER_PATTERN_FOR_QUEUE_SID = /^QU[0-9a-fA-F]{32}$/
LIST_QUEUE_MAX_FOR_PAGE_SIZE = Int32.new("1000")
LIST_QUEUE_MAX_LENGTH_FOR_ACCOUNT_SID = 34
LIST_QUEUE_MIN_FOR_PAGE_SIZE = Int32.new("1")
LIST_QUEUE_MIN_LENGTH_FOR_ACCOUNT_SID = 34
LIST_QUEUE_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
UPDATE_MEMBER_MAX_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_MEMBER_MAX_LENGTH_FOR_QUEUE_SID = 34
UPDATE_MEMBER_MIN_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_MEMBER_MIN_LENGTH_FOR_QUEUE_SID = 34
UPDATE_MEMBER_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
UPDATE_MEMBER_PATTERN_FOR_QUEUE_SID = /^QU[0-9a-fA-F]{32}$/
UPDATE_QUEUE_MAX_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_QUEUE_MAX_LENGTH_FOR_SID = 34
UPDATE_QUEUE_MIN_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_QUEUE_MIN_LENGTH_FOR_SID = 34
UPDATE_QUEUE_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
UPDATE_QUEUE_PATTERN_FOR_SID = /^QU[0-9a-fA-F]{32}$/

Constructors

new(api_client : Twilio::ApiClient = ApiClient.default)
Source

Instance methods

account_sid
Source
account_sid=(account_sid : String)
Source
api_client
Source
api_client=(api_client : ApiClient)
Source
build_api_request_for_create_queue(*, account_sid : String | Nil = @account_sid, friendly_name : String | Nil = nil, max_size : Int32 | Nil = nil) : Crest::Request

@return Crest::Request

Source
build_api_request_for_delete_queue(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Crest::Request

@return Crest::Request

Source
build_api_request_for_fetch_member(*, account_sid : String | Nil = @account_sid, queue_sid : String | Nil = nil, call_sid : String | Nil = nil) : Crest::Request

@return Crest::Request

Source
build_api_request_for_fetch_queue(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Crest::Request

@return Crest::Request

Source
build_api_request_for_list_member(*, account_sid : String | Nil = @account_sid, queue_sid : String | Nil = nil, page_size : Int32 | Nil = nil) : Crest::Request

@return Crest::Request

Source
build_api_request_for_list_queue(*, account_sid : String | Nil = @account_sid, page_size : Int32 | Nil = nil) : Crest::Request

@return Crest::Request

Source
build_api_request_for_update_member(*, account_sid : String | Nil = @account_sid, queue_sid : String | Nil = nil, call_sid : String | Nil = nil, url : String | Nil = nil, method : Twilio::HttpMethod | Nil = nil) : Crest::Request

@return Crest::Request

Source
build_api_request_for_update_queue(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, friendly_name : String | Nil = nil, max_size : Int32 | Nil = nil) : Crest::Request

@return Crest::Request

Source
client_side_validation?(*args, **options)
Source
client_side_validation?(*args, **options, &)
Source
create_queue(*, account_sid : String | Nil = @account_sid, friendly_name : String | Nil = nil, max_size : Int32 | Nil = nil) : Twilio::Queue

Create a queue @required @param account_sid [String?] The SID of the Account that will create the resource. @required @param friendly_name [String?] A descriptive string that you created to describe this resource. It can be up to 64 characters long. @optional @param max_size [Int32?] The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000. @return [Twilio::Queue]

Source
create_queue(*, account_sid : String | Nil = @account_sid, friendly_name : String | Nil = nil, max_size : Int32 | Nil = nil, &block : Crest::Response -> ) : Nil

Create a queue @required @param account_sid [String?] The SID of the Account that will create the resource. @required @param friendly_name [String?] A descriptive string that you created to describe this resource. It can be up to 64 characters long. @optional @param max_size [Int32?] The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000. @return nil

Source
create_queue_with_http_info(*, account_sid : String | Nil = @account_sid, friendly_name : String | Nil = nil, max_size : Int32 | Nil = nil) : Tuple(Twilio::Queue, Int32, Hash(String, Array(String) | String))

Create a queue @required @param account_sid [String?] The SID of the Account that will create the resource. @required @param friendly_name [String?] A descriptive string that you created to describe this resource. It can be up to 64 characters long. @optional @param max_size [Int32?] The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000. @return [Tuple(Twilio::Queue, Integer, Hash)] Twilio::Queue, response status code and response headers

Source
debugging?(*args, **options)
Source
debugging?(*args, **options, &)
Source
delete_queue(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Nil

Remove an empty queue @required @param account_sid [String?] The SID of the Account that created the Queue resource to delete. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Queue resource to delete @return [Nil]

Source
delete_queue(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil

Remove an empty queue @required @param account_sid [String?] The SID of the Account that created the Queue resource to delete. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Queue resource to delete @return nil

Source
delete_queue_with_http_info(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String))

Remove an empty queue @required @param account_sid [String?] The SID of the Account that created the Queue resource to delete. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Queue resource to delete @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers

Source
fetch_member(*, account_sid : String | Nil = @account_sid, queue_sid : String | Nil = nil, call_sid : String | Nil = nil) : Twilio::QueueMember

Fetch a specific member from the queue @required @param account_sid [String?] The SID of the Account that created the Member resource(s) to fetch. @required @param queue_sid [String?] The SID of the Queue in which to find the members to fetch. @required @param call_sid [String?] The Call SID of the resource(s) to fetch. @return [Twilio::QueueMember]

Source
fetch_member(*, account_sid : String | Nil = @account_sid, queue_sid : String | Nil = nil, call_sid : String | Nil = nil, &block : Crest::Response -> ) : Nil

Fetch a specific member from the queue @required @param account_sid [String?] The SID of the Account that created the Member resource(s) to fetch. @required @param queue_sid [String?] The SID of the Queue in which to find the members to fetch. @required @param call_sid [String?] The Call SID of the resource(s) to fetch. @return nil

Source
fetch_member_with_http_info(*, account_sid : String | Nil = @account_sid, queue_sid : String | Nil = nil, call_sid : String | Nil = nil) : Tuple(Twilio::QueueMember, Int32, Hash(String, Array(String) | String))

Fetch a specific member from the queue @required @param account_sid [String?] The SID of the Account that created the Member resource(s) to fetch. @required @param queue_sid [String?] The SID of the Queue in which to find the members to fetch. @required @param call_sid [String?] The Call SID of the resource(s) to fetch. @return [Tuple(Twilio::QueueMember, Integer, Hash)] Twilio::QueueMember, response status code and response headers

Source
fetch_queue(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Twilio::Queue

Fetch an instance of a queue identified by the QueueSid @required @param account_sid [String?] The SID of the Account that created the Queue resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Queue resource to fetch @return [Twilio::Queue]

Source
fetch_queue(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil

Fetch an instance of a queue identified by the QueueSid @required @param account_sid [String?] The SID of the Account that created the Queue resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Queue resource to fetch @return nil

Source
fetch_queue_with_http_info(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Tuple(Twilio::Queue, Int32, Hash(String, Array(String) | String))

Fetch an instance of a queue identified by the QueueSid @required @param account_sid [String?] The SID of the Account that created the Queue resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Queue resource to fetch @return [Tuple(Twilio::Queue, Integer, Hash)] Twilio::Queue, response status code and response headers

Source
list_member(*, account_sid : String | Nil = @account_sid, queue_sid : String | Nil = nil, page_size : Int32 | Nil = nil) : Twilio::ListMemberResponse

Retrieve the members of the queue @required @param account_sid [String?] The SID of the Account that created the Member resource(s) to read. @required @param queue_sid [String?] The SID of the Queue in which to find the members @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Twilio::ListMemberResponse]

Source
list_member(*, account_sid : String | Nil = @account_sid, queue_sid : String | Nil = nil, page_size : Int32 | Nil = nil, &block : Crest::Response -> ) : Nil

Retrieve the members of the queue @required @param account_sid [String?] The SID of the Account that created the Member resource(s) to read. @required @param queue_sid [String?] The SID of the Queue in which to find the members @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return nil

Source
list_member_with_http_info(*, account_sid : String | Nil = @account_sid, queue_sid : String | Nil = nil, page_size : Int32 | Nil = nil) : Tuple(Twilio::ListMemberResponse, Int32, Hash(String, Array(String) | String))

Retrieve the members of the queue @required @param account_sid [String?] The SID of the Account that created the Member resource(s) to read. @required @param queue_sid [String?] The SID of the Queue in which to find the members @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Tuple(Twilio::ListMemberResponse, Integer, Hash)] Twilio::ListMemberResponse, response status code and response headers

Source
list_queue(*, account_sid : String | Nil = @account_sid, page_size : Int32 | Nil = nil) : Twilio::ListQueueResponse

Retrieve a list of queues belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the Queue resources to read. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Twilio::ListQueueResponse]

Source
list_queue(*, account_sid : String | Nil = @account_sid, page_size : Int32 | Nil = nil, &block : Crest::Response -> ) : Nil

Retrieve a list of queues belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the Queue resources to read. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return nil

Source
list_queue_with_http_info(*, account_sid : String | Nil = @account_sid, page_size : Int32 | Nil = nil) : Tuple(Twilio::ListQueueResponse, Int32, Hash(String, Array(String) | String))

Retrieve a list of queues belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the Queue resources to read. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Tuple(Twilio::ListQueueResponse, Integer, Hash)] Twilio::ListQueueResponse, response status code and response headers

Source
update_member(*, account_sid : String | Nil = @account_sid, queue_sid : String | Nil = nil, call_sid : String | Nil = nil, url : String | Nil = nil, method : Twilio::HttpMethod | Nil = nil) : Twilio::QueueMember

Dequeue a member from a queue and have the member's call begin executing the TwiML document at that URL @required @param account_sid [String?] The SID of the Account that created the Member resource(s) to update. @required @param queue_sid [String?] The SID of the Queue in which to find the members to update. @required @param call_sid [String?] The Call SID of the resource(s) to update. @required @param url [String?] The absolute URL of the Queue resource. @optional @param method [Twilio::HttpMethod?] @return [Twilio::QueueMember]

Source
update_member(*, account_sid : String | Nil = @account_sid, queue_sid : String | Nil = nil, call_sid : String | Nil = nil, url : String | Nil = nil, method : Twilio::HttpMethod | Nil = nil, &block : Crest::Response -> ) : Nil

Dequeue a member from a queue and have the member's call begin executing the TwiML document at that URL @required @param account_sid [String?] The SID of the Account that created the Member resource(s) to update. @required @param queue_sid [String?] The SID of the Queue in which to find the members to update. @required @param call_sid [String?] The Call SID of the resource(s) to update. @required @param url [String?] The absolute URL of the Queue resource. @optional @param method [Twilio::HttpMethod?] @return nil

Source
update_member_with_http_info(*, account_sid : String | Nil = @account_sid, queue_sid : String | Nil = nil, call_sid : String | Nil = nil, url : String | Nil = nil, method : Twilio::HttpMethod | Nil = nil) : Tuple(Twilio::QueueMember, Int32, Hash(String, Array(String) | String))

Dequeue a member from a queue and have the member's call begin executing the TwiML document at that URL @required @param account_sid [String?] The SID of the Account that created the Member resource(s) to update. @required @param queue_sid [String?] The SID of the Queue in which to find the members to update. @required @param call_sid [String?] The Call SID of the resource(s) to update. @required @param url [String?] The absolute URL of the Queue resource. @optional @param method [Twilio::HttpMethod?] @return [Tuple(Twilio::QueueMember, Integer, Hash)] Twilio::QueueMember, response status code and response headers

Source
update_queue(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, friendly_name : String | Nil = nil, max_size : Int32 | Nil = nil) : Twilio::Queue

Update the queue with the new parameters @required @param account_sid [String?] The SID of the Account that created the Queue resource to update. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Queue resource to update @optional @param friendly_name [String?] A descriptive string that you created to describe this resource. It can be up to 64 characters long. @optional @param max_size [Int32?] The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000. @return [Twilio::Queue]

Source
update_queue(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, friendly_name : String | Nil = nil, max_size : Int32 | Nil = nil, &block : Crest::Response -> ) : Nil

Update the queue with the new parameters @required @param account_sid [String?] The SID of the Account that created the Queue resource to update. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Queue resource to update @optional @param friendly_name [String?] A descriptive string that you created to describe this resource. It can be up to 64 characters long. @optional @param max_size [Int32?] The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000. @return nil

Source
update_queue_with_http_info(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, friendly_name : String | Nil = nil, max_size : Int32 | Nil = nil) : Tuple(Twilio::Queue, Int32, Hash(String, Array(String) | String))

Update the queue with the new parameters @required @param account_sid [String?] The SID of the Account that created the Queue resource to update. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Queue resource to update @optional @param friendly_name [String?] A descriptive string that you created to describe this resource. It can be up to 64 characters long. @optional @param max_size [Int32?] The maximum number of calls allowed to be in the queue. The default is 100. The maximum is 5000. @return [Tuple(Twilio::Queue, Integer, Hash)] Twilio::Queue, response status code and response headers

Source