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

Attributes

  • compressedName (type: integer(), default: nil) - A fingerprint of the actual name of the field.
  • value (type: float(), default: nil) - The value, under various representations to get maximum compression. Exactly one of them is guaranteed to be filled. value as a double.
  • valueFloat (type: integer(), default: nil) - a floating value, represented as an integer by converting using floating_value * 1000. Useable for all floating values that need 3 digits of precision, and are small enough.
  • valueInt (type: integer(), default: nil) - value as an int32. When the value is encode-able as an integer.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.BiasingPerDocData2BiasingField{
  compressedName: integer() | nil,
  value: float() | nil,
  valueFloat: integer() | nil,
  valueInt: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.