View Source GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice (google_api_contact_center_insights v0.12.0)

Message representing a possible answer to the question.

Attributes

  • boolValue (type: boolean(), default: nil) - Boolean value.
  • key (type: String.t, default: nil) - A short string used as an identifier.
  • naValue (type: boolean(), default: nil) - A value of "Not Applicable (N/A)". If provided, this field may only be set to true. If a question receives this answer, it will be excluded from any score calculations.
  • numValue (type: float(), default: nil) - Numerical value.
  • score (type: float(), default: nil) - Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
  • strValue (type: String.t, default: nil) - String value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice{
    boolValue: boolean() | nil,
    key: String.t() | nil,
    naValue: boolean() | nil,
    numValue: float() | nil,
    score: float() | nil,
    strValue: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.