'Initialize the SegmentList
:param Version version: Version that contains the resource
:param service_sid: The service_sid
:returns: twilio.rest.notify.v1.service.segment.SegmentList
:rtype: twilio.rest.notify.v1.service.segment.SegmentList'

def __init__(self, version, service_sid):

    super(SegmentList, self).__init__(version)
    self._solution = {'service_sid': service_sid}
    self._uri = '/Services/{service_sid}/Segments'.format(**self._solution)
