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

The fields hold "non-entity" annotations of text.

Attributes

  • segmentMentions (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefSegmentMentions.t), default: nil) - The actual mentions. Note SegmentMentions contains some fields specific to entity annotation, and those are typically not populated here.
  • type (type: String.t, default: nil) - The type of ranges contained in this message.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefRangeAnnotations{
  segmentMentions:
    [GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefSegmentMentions.t()]
    | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.