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

An Ordinal message represents a single ordinal component of a page number. It encodes the printed or inferred numbering style (Roman, ASCII, etc.) and the ordinal value of the component. An optional set of variable is defined in order to express a sectioned ordinal. A sectioned ordinal may appear in certain page numbering styles, for example "12-1" where "12" identifies a chapter and "1" identifies the page within it. This case will be encoded with value 1 and section_value 12 both of type ASCII.

Attributes

  • implicit (type: String.t, default: nil) -
  • sectionStringValue (type: String.t, default: nil) -
  • sectionValue (type: integer(), default: nil) -
  • sectionValueType (type: String.t, default: nil) - The following vars describe the section component of an ordinal (if exists). They are used to express situation where a page number has a section component, usually denoating the chapter number. For example pages 5-14, 5-15 will both have the common section 5. (If exists). The semantcis of the section variables correspond to that of the primary part of the ordinal. (Described above).
  • stringValue (type: String.t, default: nil) - The string page value.
  • value (type: integer(), default: nil) - The numeric page value.
  • valueDelta (type: String.t, default: nil) - The delta in which the value increases between pages.
  • valueType (type: String.t, default: nil) - A value type from the Type enum above.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocOrdinal{
  implicit: String.t() | nil,
  sectionStringValue: String.t() | nil,
  sectionValue: integer() | nil,
  sectionValueType: String.t() | nil,
  stringValue: String.t() | nil,
  value: integer() | nil,
  valueDelta: String.t() | nil,
  valueType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.