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

Other attributes of the object.

Attributes

  • cdata (type: String.t, default: nil) -
  • idata (type: String.t, default: nil) - idata holds integer data under the attribute name, and could be interpreted differently according to the attribute name. Example: stores the ImadeData.docid used to generate thumbnails. idata will not be automatically converted into xml (the default behavior), but the behavior can be overwritten if necessary.
  • name (type: String.t, default: nil) -
  • subobject (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - A data object can have other data objects nested inside it. This is needed to represent Microformats and RDFa which have nestings e.g., a review with a business with an address, or a review with a rating object. See the Webmaster Central 2009/05 blog on "Introducing Rich Snippets".
  • tokenize (type: boolean(), default: nil) - Whether we should tokenize the value and cdata when generating restricts from this attribute.
  • value (type: String.t, default: nil) - Either of cdata or value should be present.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RichsnippetsDataObjectAttribute{
  cdata: String.t() | nil,
  idata: String.t() | nil,
  name: String.t() | nil,
  subobject:
    GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  tokenize: boolean() | nil,
  value: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.