##
 # This code was generated by
 # ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 #  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 #  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
 #
 # NOTE: This class is auto generated by OpenAPI Generator.
 # https://openapi-generator.tech
 # Do not edit the class manually.
# frozen_string_literal: true
module Twilio
  module REST
    class ApiBase < Domain
      ##
      # Initialize api domain
      #
      # @param twilio - The twilio client
      #
      def initialize(twilio)
        super(twilio)
        @base_url =  "https://api.twilio.com"
        @host = "api.twilio.com"
        @port = 443
        @v2010 = nil
      end

      def v2010
        @v2010 ||= Api::V2010.new self
      end

      ##
      # Provide a user friendly representation
      def to_s
        '<Twilio::REST::Api::V2010>';
      end
    end
  end
end
