CategoryScores
struct CategoryScores : Codable
Response model for category success
-
hate: optional
Declaration
Swift
public let hate: Double?
-
hate_threatening: optional
Declaration
Swift
public let hate_threatening: Double?
-
self_harm: optional
Declaration
Swift
public let self_harm: Double?
-
sexual: optional
Declaration
Swift
public let sexual: Double?
-
sexual_minors: optional
Declaration
Swift
public let sexual_minors: Double?
-
violence: optional
Declaration
Swift
public let violence: Double?
-
violence_graphic: optional
Declaration
Swift
public let violence_graphic: Double?
-
Init function for decoding response
Declaration
Swift
public init(from decoder: Decoder) throws