View Source GoogleApi.ContentWarehouse.V1.Model.DrishtiLabelSetData (google_api_content_warehouse v0.3.0)

Attributes

  • extra (type: list(GoogleApi.ContentWarehouse.V1.Model.DrishtiFeatureExtra.t), default: nil) -
  • generalExtra (type: GoogleApi.ContentWarehouse.V1.Model.DrishtiFeatureExtra.t, default: nil) -
  • targetClass (type: list(String.t), default: nil) -
  • targetClassName (type: list(String.t), default: nil) -
  • targetValue (type: list(number()), default: nil) -
  • targetWeight (type: list(number()), default: nil) -
  • weight (type: number(), default: nil) - Weight assigned to this set of labels.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.DrishtiLabelSetData{
  extra: [GoogleApi.ContentWarehouse.V1.Model.DrishtiFeatureExtra.t()] | nil,
  generalExtra:
    GoogleApi.ContentWarehouse.V1.Model.DrishtiFeatureExtra.t() | nil,
  targetClass: [String.t()] | nil,
  targetClassName: [String.t()] | nil,
  targetValue: [number()] | nil,
  targetWeight: [number()] | nil,
  weight: number() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.