'Create a new RoleInstance
:param unicode friendly_name: The friendly_name
:param RoleInstance.RoleType type: The type
:param unicode permission: The permission
:returns: Newly created RoleInstance
:rtype: twilio.rest.chat.v1.service.role.RoleInstance'

def create(self, friendly_name, type, permission):

    data = values.of({'FriendlyName': friendly_name, 'Type': type, 'Permission': permission})
    payload = self._version.create('POST', self._uri, data=data)
    return RoleInstance(self._version, payload, service_sid=self._solution['service_sid'])
