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

NOTE(gponcin) 2008/11 This is repeated for articles where we may have multiple links in one entity. From Vivek (Atlantis): "The block segmenter outputs a list of headlines on a page as a single logical entity that we attach to the logicalentity(1) for the goodoc."

Attributes

  • Anchor (type: String.t, default: nil) - The preferred way to link to an element is to create an AnchorLabel in the target element and name it here. Multiple elements may contain the same Anchor string.
  • BlockId (type: integer(), default: nil) -
  • DocId (type: integer(), default: nil) - Links may also specifically locate the target element with the following indices. Note that during the course of layout analysis, goodoc elements may move around, so such hard links should be created only very late (or not at all -- Anchors would be more reliable target addresses).
  • PageId (type: integer(), default: nil) -
  • ParagraphId (type: integer(), default: nil) -
  • RouteId (type: integer(), default: nil) -
  • SymbolId (type: integer(), default: nil) -
  • Url (type: String.t, default: nil) - If not defined, link points to the current doc
  • WordId (type: integer(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocLogicalEntityLink{
  Anchor: String.t() | nil,
  BlockId: integer() | nil,
  DocId: integer() | nil,
  PageId: integer() | nil,
  ParagraphId: integer() | nil,
  RouteId: integer() | nil,
  SymbolId: integer() | nil,
  Url: String.t() | nil,
  WordId: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.