Class: Telnyx::Resources::FqdnConnections::FqdnAuthentication
- Inherits:
-
Object
- Object
- Telnyx::Resources::FqdnConnections::FqdnAuthentication
- Defined in:
- lib/telnyx/resources/fqdn_connections/fqdn_authentication.rb,
sig/telnyx/resources/fqdn_connections/fqdn_authentication.rbs
Overview
FQDN connection operations
Instance Method Summary collapse
-
#initialize(client:) ⇒ FqdnAuthentication
constructor
private
A new instance of FqdnAuthentication.
-
#list(fqdn_connection_id, request_options: {}) ⇒ Telnyx::Models::FqdnConnections::FqdnAuthenticationListResponse
Retrieves the details of an existing FQDN authentication strategy for a specific FQDN connection.
-
#patch_all(fqdn_connection_id, failover_url: nil, fqdn_outbound_authentication: nil, ip_authentication_method: nil, password: nil, txt_name: nil, txt_ttl: nil, txt_value: nil, user_name: nil, webhook_url: nil, request_options: {}) ⇒ Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllResponse
Updates the FQDN authentication strategy for a specific FQDN connection.
Constructor Details
#initialize(client:) ⇒ FqdnAuthentication
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of FqdnAuthentication.
72 73 74 |
# File 'lib/telnyx/resources/fqdn_connections/fqdn_authentication.rb', line 72 def initialize(client:) @client = client end |
Instance Method Details
#list(fqdn_connection_id, request_options: {}) ⇒ Telnyx::Models::FqdnConnections::FqdnAuthenticationListResponse
Retrieves the details of an existing FQDN authentication strategy for a specific FQDN connection.
20 21 22 23 24 25 26 27 |
# File 'lib/telnyx/resources/fqdn_connections/fqdn_authentication.rb', line 20 def list(fqdn_connection_id, params = {}) @client.request( method: :get, path: ["fqdn_connections/%1$s/fqdn_authentication", fqdn_connection_id], model: Telnyx::Models::FqdnConnections::FqdnAuthenticationListResponse, options: params[:request_options] ) end |
#patch_all(fqdn_connection_id, failover_url: nil, fqdn_outbound_authentication: nil, ip_authentication_method: nil, password: nil, txt_name: nil, txt_ttl: nil, txt_value: nil, user_name: nil, webhook_url: nil, request_options: {}) ⇒ Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllResponse
Updates the FQDN authentication strategy for a specific FQDN connection.
58 59 60 61 62 63 64 65 66 67 |
# File 'lib/telnyx/resources/fqdn_connections/fqdn_authentication.rb', line 58 def patch_all(fqdn_connection_id, params = {}) parsed, = Telnyx::FqdnConnections::FqdnAuthenticationPatchAllParams.dump_request(params) @client.request( method: :patch, path: ["fqdn_connections/%1$s/fqdn_authentication", fqdn_connection_id], body: parsed, model: Telnyx::Models::FqdnConnections::FqdnAuthenticationPatchAllResponse, options: ) end |