class Twilio::AuthorizedConnectAppsApi

Defined in:

twilio/api/authorized_connect_apps_api.cr

Constant Summary

FETCH_AUTHORIZED_CONNECT_APP_MAX_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_AUTHORIZED_CONNECT_APP_MAX_LENGTH_FOR_CONNECT_APP_SID = 34
FETCH_AUTHORIZED_CONNECT_APP_MIN_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_AUTHORIZED_CONNECT_APP_MIN_LENGTH_FOR_CONNECT_APP_SID = 34
FETCH_AUTHORIZED_CONNECT_APP_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
FETCH_AUTHORIZED_CONNECT_APP_PATTERN_FOR_CONNECT_APP_SID = /^CN[0-9a-fA-F]{32}$/
LIST_AUTHORIZED_CONNECT_APP_MAX_FOR_PAGE_SIZE = Int32.new("1000")
LIST_AUTHORIZED_CONNECT_APP_MAX_LENGTH_FOR_ACCOUNT_SID = 34
LIST_AUTHORIZED_CONNECT_APP_MIN_FOR_PAGE_SIZE = Int32.new("1")
LIST_AUTHORIZED_CONNECT_APP_MIN_LENGTH_FOR_ACCOUNT_SID = 34
LIST_AUTHORIZED_CONNECT_APP_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_client : Twilio::ApiClient = ApiClient.default) #

[View source]

Instance Method Detail

def account_sid : String #

[View source]
def account_sid=(account_sid : String) #

[View source]
def api_client : ApiClient #

[View source]
def api_client=(api_client : ApiClient) #

[View source]
def build_api_request_for_fetch_authorized_connect_app(*, account_sid : String | Nil = @account_sid, connect_app_sid : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_list_authorized_connect_app(*, account_sid : String | Nil = @account_sid, page_size : Int32 | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def client_side_validation?(*args, **options) #

[View source]
def client_side_validation?(*args, **options, &) #

[View source]
def debugging?(*args, **options) #

[View source]
def debugging?(*args, **options, &) #

[View source]
def fetch_authorized_connect_app(*, account_sid : String | Nil = @account_sid, connect_app_sid : String | Nil = nil) : Twilio::AuthorizedConnectApp #

Fetch an instance of an authorized-connect-app @required @param account_sid [String?] The SID of the Account that created the AuthorizedConnectApp resource to fetch. @required @param connect_app_sid [String?] The SID of the Connect App to fetch. @return [Twilio::AuthorizedConnectApp]


[View source]
def fetch_authorized_connect_app(*, account_sid : String | Nil = @account_sid, connect_app_sid : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Fetch an instance of an authorized-connect-app @required @param account_sid [String?] The SID of the Account that created the AuthorizedConnectApp resource to fetch. @required @param connect_app_sid [String?] The SID of the Connect App to fetch. @return nil


[View source]
def fetch_authorized_connect_app_with_http_info(*, account_sid : String | Nil = @account_sid, connect_app_sid : String | Nil = nil) : Tuple(Twilio::AuthorizedConnectApp, Int32, Hash(String, Array(String) | String)) #

Fetch an instance of an authorized-connect-app @required @param account_sid [String?] The SID of the Account that created the AuthorizedConnectApp resource to fetch. @required @param connect_app_sid [String?] The SID of the Connect App to fetch. @return [Tuple(Twilio::AuthorizedConnectApp, Integer, Hash)] Twilio::AuthorizedConnectApp, response status code and response headers


[View source]
def list_authorized_connect_app(*, account_sid : String | Nil = @account_sid, page_size : Int32 | Nil = nil) : Twilio::ListAuthorizedConnectAppResponse #

Retrieve a list of authorized-connect-apps belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the AuthorizedConnectApp 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::ListAuthorizedConnectAppResponse]


[View source]
def list_authorized_connect_app(*, account_sid : String | Nil = @account_sid, page_size : Int32 | Nil = nil, &block : Crest::Response -> ) : Nil #

Retrieve a list of authorized-connect-apps belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the AuthorizedConnectApp 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


[View source]
def list_authorized_connect_app_with_http_info(*, account_sid : String | Nil = @account_sid, page_size : Int32 | Nil = nil) : Tuple(Twilio::ListAuthorizedConnectAppResponse, Int32, Hash(String, Array(String) | String)) #

Retrieve a list of authorized-connect-apps belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the AuthorizedConnectApp 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::ListAuthorizedConnectAppResponse, Integer, Hash)] Twilio::ListAuthorizedConnectAppResponse, response status code and response headers


[View source]