def METHOD_NAME(self) -> None:
    if self.packageName == "":
        raise ChocolateyValidationError("`packageName` must be a non-empty string")
    if self.fileType not in CHOCO_FILE_TYPES:
        raise ChocolateyValidationError(
            f"`fileType`: expected one of: {', '.join(CHOCO_FILE_TYPES)} "
            f"got: '{self.fileType}'"
        )
    if (
        self.url is None
        and self.file is None
        and self.url64bit is None
        and self.file64 is None
    ):
        raise ChocolateyValidationError(
            "One of `file`, `url`, `file64`, or `url64bit` is required"
        )
    if self.url is not None and self.checksum is None:
        raise ChocolateyValidationError(
            "When specifying `url`, `checksum` is required."
        )
    if self.url64bit is not None and self.checksum64 is None:
        raise ChocolateyValidationError(
            "When specifying `url64bit`, `checksum64` is required."
        )
    if self.checksum is not None and self.checksumType not in CHOCO_CHECKSUM_TYPES:
        raise ChocolateyValidationError(
            f"`checksum`: expected one of: {', '.join(CHOCO_CHECKSUM_TYPES)} "
            f"got:' {self.checksum}'"
        )
    if (
        self.checksum64 is not None
        and self.checksumType64 not in CHOCO_CHECKSUM_TYPES
    ):
        raise ChocolateyValidationError(
            f"`checksum64`: expected one of: {', '.join(CHOCO_CHECKSUM_TYPES)} "
            f"got: '{self.checksum64}'"
        )