'Initialize the CredentialContext
:param Version version: Version that contains the resource
:param sid: The sid
:returns: twilio.rest.chat.v1.credential.CredentialContext
:rtype: twilio.rest.chat.v1.credential.CredentialContext'

def __init__(self, version, sid):

    super(CredentialContext, self).__init__(version)
    self._solution = {'sid': sid}
    self._uri = '/Credentials/{sid}'.format(**self._solution)
