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

Represents HTML text associated with a feature.

Attributes

  • text (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreLanguageTaggedTextProto.t), default: nil) - Zero or more texts of the specified type, in various languages. If this is a HTML_DESCRIPTION blob then these texts would hold the description in English, German, and so forth. The text is an HTML fragment, not a full page. The fragment should be suitable for including in a DIV. It must have balanced HTML tags. It may use HTML's "class" attributes to assign classes to HTML elements. This allows the HTML to be formatted by an (external) style sheet. The HTML should not have embedded style sheet definitions, nor should it have embedded JavaScript.
  • type (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreHtmlTextProto{
  text:
    [GoogleApi.ContentWarehouse.V1.Model.GeostoreLanguageTaggedTextProto.t()]
    | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.