ConsumptionPreferencesCategory

public struct ConsumptionPreferencesCategory : Codable, Equatable

The consumption preferences that the service inferred from the input content.

  • The unique, non-localized identifier of the consumption preferences category to which the results pertain. IDs have the form consumption_preferences_{category}.

    Declaration

    Swift

    public var consumptionPreferenceCategoryID: String
  • The user-visible name of the consumption preferences category.

    Declaration

    Swift

    public var name: String
  • Detailed results inferred from the input text for the individual preferences of the category.

    Declaration

    Swift

    public var consumptionPreferences: [ConsumptionPreferences]