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

Leading text which may consist of multiple pieces.

Attributes

  • piece (type: list(GoogleApi.ContentWarehouse.V1.Model.SnippetsLeadingtextLeadingTextAnnotationPiece.t), default: nil) -
  • pieceType (type: String.t, default: nil) -
  • type (type: integer(), default: nil) - Type of this leading text. Should be an enum of LeadingTextInfo.LeadingTextType

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.SnippetsLeadingtextLeadingTextAnnotation{
    piece:
      [
        GoogleApi.ContentWarehouse.V1.Model.SnippetsLeadingtextLeadingTextAnnotationPiece.t()
      ]
      | nil,
    pieceType: String.t() | nil,
    type: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.