##
# This code was generated by
# \ / _    _  _|   _  _
#  | (_)\/(_)(_|\/| |(/_  v1.0.0
#       /       /
#
# frozen_string_literal: true

module Twilio
  module REST
    class Voice
      class V1 < Version
        ##
        # Initialize the V1 version of Voice
        def initialize(domain)
          super
          @version = 'v1'
          @dialing_permissions = nil
        end

        ##
        # @return [Twilio::REST::Voice::V1::DialingPermissionsContext]
        def dialing_permissions
          @dialing_permissions ||= DialingPermissionsList.new self
        end

        ##
        # Provide a user friendly representation
        def to_s
          '<Twilio::REST::Voice::V1>'
        end
      end
    end
  end
end