'Initialize the DayInstance
:returns: twilio.rest.preview.bulk_exports.export.day.DayInstance
:rtype: twilio.rest.preview.bulk_exports.export.day.DayInstance'

def __init__(self, version, payload, resource_type):

    super(DayInstance, self).__init__(version)
    self._properties = {'redirect_to': payload.get('redirect_to'), 'day': payload.get('day'), 'size': deserialize.integer(payload.get('size')), 'resource_type': payload.get('resource_type')}
    self._context = None
    self._solution = {'resource_type': resource_type}
