View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsCommunicationPhoneType (google_api_content_warehouse v0.4.0)

The type of contact (mobile, home, work, etc). NOTE: Unfortunately the name of this message is a misnomer. Contact type would be a better name.

Attributes

  • evalData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t, default: nil) - Required, but should only be used inside Aqua and must not be used by outside clients!!
  • isAnnotatedFromText (type: boolean(), default: nil) - Whether the annotation is from $Text.
  • normalizedText (type: String.t, default: nil) - Normalized (canonicalized) text, e.g. "mobile".
  • originalText (type: String.t, default: nil) - Original text in query, e.g. "cell".
  • rawText (type: String.t, default: nil) - DEPRECATED. Used original_text instead.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsCommunicationPhoneType{
    evalData:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t()
      | nil,
    isAnnotatedFromText: boolean() | nil,
    normalizedText: String.t() | nil,
    originalText: String.t() | nil,
    rawText: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.