code: def create(self, unique_name=values.unset, date_expiry=values.unset,
                 ttl=values.unset, mode=values.unset, status=values.unset,
                 participants=values.unset):
          
          data = values.of({
              'UniqueName': unique_name,
              'DateExpiry': serialize.iso8601_datetime(date_expiry),
              'Ttl': ttl,
              'Mode': mode,
              'Status': status,
              'Participants': serialize.map(participants, lambda e: serialize.object(e)),
          })
  
          payload = self._version.create(
              'POST',
              self._uri,
              data=data,
          )
  
          return SessionInstance(self._version, payload, service_sid=self._solution['service_sid'], )
docs: Create a new SessionInstance
  
          :param unicode unique_name: An application-defined string that uniquely identifies the resource
          :param datetime date_expiry: The ISO 8601 date when the Session should expire
          :param unicode ttl: When the session will expire
          :param SessionInstance.Mode mode: The Mode of the Session
          :param SessionInstance.Status status: Session status
          :param dict participants: The Participant objects to include in the new session
  
          :returns: Newly created SessionInstance
          :rtype: twilio.rest.proxy.v1.service.session.SessionInstance