def customValidation(self):
    (information, warnings, critical) = ([], [], [])
    if (self.canonicalURL and (not self.canonicalURL.startswith('https://'))):
        warnings.append('.canonicalURL is not using SSL (https://). Consider using SSL to protect your data.')
    if self.public:
        for publisherType in self.publisherTypes:
            if (publisherType not in PUBLICPUBLISHERTYPES):
                critical.append(f"When EndpointResponse.public is set to True, then only a restricted set of types is allowed for EndpointResponse.publisherTypes: {PUBLICPUBLISHERTYPES}. You have '{publisherType}'")
    return (information, warnings, critical)
def customValidation(self):
    (information, warnings, critical) = ([], [], [])
    if (self.canonicalURL and (not self.canonicalURL.startswith('https://'))):
        warnings.append('.canonicalURL is not using SSL (https://). Consider using SSL to protect your data.')
    if self.public:
        for publisherType in self.publisherTypes:
            if (publisherType not in PUBLICPUBLISHERTYPES):
                critical.append(f"When EndpointResponse.public is set to True, then only a restricted set of types is allowed for EndpointResponse.publisherTypes: {PUBLICPUBLISHERTYPES}. You have '{publisherType}'")
    return (information, warnings, critical)