##
#    This code was generated by
#    ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
#     |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
#     |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
#
#    Twilio - Accounts
#    This is the public Twilio REST API.
#
#    NOTE: This class is auto generated by OpenAPI Generator.
#    https://openapi-generator.tech
#    Do not edit the class manually.
#

module Twilio
    module REST
        class Accounts
            class V1 < Version
                ##
                # Initialize the V1 version of Accounts
                def initialize(domain)
                    super
                    @version = 'v1'
                    @auth_token_promotion = nil
                    @bulk_consents = nil
                    @bulk_contacts = nil
                    @credentials = nil
                    @messaging_geopermissions = nil
                    @safelist = nil
                    @secondary_auth_token = nil
                end

                ##
                # @return [Twilio::REST::Accounts::V1::authTokenPromotionContext]
                def auth_token_promotion
                    @auth_token_promotion ||= AuthTokenPromotionContext.new self
                end
                ##
                # @return [Twilio::REST::Accounts::V1::BulkConsentsList]
                def bulk_consents
                    @bulk_consents ||= BulkConsentsList.new self
                end
                ##
                # @return [Twilio::REST::Accounts::V1::BulkContactsList]
                def bulk_contacts
                    @bulk_contacts ||= BulkContactsList.new self
                end
                ##
                # @return [Twilio::REST::Accounts::V1::CredentialList]
                def credentials
                    @credentials ||= CredentialList.new self
                end
                ##
                # @return [Twilio::REST::Accounts::V1::MessagingGeopermissionsList]
                def messaging_geopermissions
                    @messaging_geopermissions ||= MessagingGeopermissionsList.new self
                end
                ##
                # @return [Twilio::REST::Accounts::V1::SafelistList]
                def safelist
                    @safelist ||= SafelistList.new self
                end
                ##
                # @return [Twilio::REST::Accounts::V1::secondaryAuthTokenContext]
                def secondary_auth_token
                    @secondary_auth_token ||= SecondaryAuthTokenContext.new self
                end
                ##
                # Provide a user friendly representation
                def to_s
                    '<Twilio::REST::Accounts::V1>';
                end
            end
        end
    end
end
