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

A single understood lexicon of the |category| on byte range from |begin_offset| (inclusive) to |end_offset| (exclusive). The offsets are all byte offsets relative to the full original query and cover both the mentions and surrounding markers.

Attributes

  • beginOffset (type: integer(), default: nil) - Begin byte offset relative to the full original query.
  • category (type: String.t, default: nil) -
  • direction (type: String.t, default: nil) - Direction defines the relation between the measurable aspect and the facet.
  • endOffset (type: integer(), default: nil) - End byte offset relative to the full original query.
  • facetMid (type: String.t, default: nil) - The mid of the facet associated with ASPECT category.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefLexicalRange{
  beginOffset: integer() | nil,
  category: String.t() | nil,
  direction: String.t() | nil,
  endOffset: integer() | nil,
  facetMid: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.