def serialize(self):
    data = {'type': self.type, 'websiteURL': self.websiteURL, 'websiteKey': self.websiteKey}
    if (self.websiteSToken is not None):
        data['websiteSToken'] = self.websiteSToken
    if (self.isInvisible is not None):
        data['isInvisible'] = self.isInvisible
    return data
def serialize(self):
    data = {'type': self.type, 'websiteURL': self.websiteURL, 'websiteKey': self.websiteKey}
    if (self.websiteSToken is not None):
        data['websiteSToken'] = self.websiteSToken
    if (self.isInvisible is not None):
        data['isInvisible'] = self.isInvisible
    return data