'Initializes the Twilio Client
:param str username: Username to authenticate with
:param str password: Password to authenticate with
:param str account_sid: Account Sid, defaults to Username
:param str region: Twilio Region to make requests to
:param HttpClient http_client: HttpClient, defaults to TwilioHttpClient
:param dict environment: Environment to look for auth details, defaults to os.environ
:returns: Twilio Client
:rtype: twilio.rest.Client'

def __init__(self, username=None, password=None, account_sid=None, region=None, http_client=None, environment=None):

    environment = (environment or os.environ)
    self.username = (username or environment.get('TWILIO_ACCOUNT_SID'))
    '    :type    :    str    '
    self.password = (password or environment.get('TWILIO_AUTH_TOKEN'))
    '    :type    :    str    '
    self.account_sid = (account_sid or self.username)
    '    :type    :    str    '
    self.region = region
    '    :type    :    str    '
    if ((not self.username) or (not self.password)):
        raise TwilioException('Credentials    are    required    to    create    a    TwilioClient')
    self.auth = (self.username, self.password)
    '    :type    :    tuple(str,    str)    '
    self.http_client = (http_client or TwilioHttpClient())
    '    :type    :    HttpClient    '
    self._accounts = None
    self._api = None
    self._chat = None
    self._fax = None
    self._ip_messaging = None
    self._lookups = None
    self._monitor = None
    self._notify = None
    self._preview = None
    self._pricing = None
    self._taskrouter = None
    self._trunking = None
    self._video = None
    self._messaging = None
    self._wireless = None
    self._sync = None
