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

A link on an HTML page.

Attributes

  • anchorText (type: String.t, default: nil) - Clean anchor text (no HTML markup).
  • byteEnd (type: integer(), default: nil) - note: inclusive
  • byteStart (type: integer(), default: nil) - begin/end options are for goldmine AnnotationsFinder to locate the offsets of saft tokens. Start is inclusive by default and end is marked. The indices of the first and last byte covered by the hyperlink.
  • phrase (type: GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t, default: nil) - The indices of the first and last token covered by the hyperlink.
  • url (type: String.t, default: nil) - (Absolute) URL that the links to.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSaftHyperlink{
  anchorText: String.t() | nil,
  byteEnd: integer() | nil,
  byteStart: integer() | nil,
  phrase: GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t() | nil,
  url: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.