GeostoreTimeIntervalProto

GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeIntervalProto


Table of Contents ▼

Jump to a specific part of the page:

Description

No description given.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. begin (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeEndpointProto, default: nil)
    - Begin and end are used to specify a range of times: [begin, end). If one is present, the other must be present as well. Additionally, both must have matching time granularities - all fields specified in the begin TimeEndpointProto must be present in the end TimeEndpointProto and vice-versa. Hours are not allowed to wrap (begin.hour() <= end.hour()).
  2. end (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeEndpointProto, default: nil)
    -
  3. inverted (type: boolean(), default: nil)
    - If true, then this interval actually encodes the complement of the specified occasion or range. For example, the following TimeIntervalProto encodes all times other than the month of May. TimeIntervalProto[ type = TYPE_RANGE inverted = true begin = TimeEndpointProto[ month = MAY ] end = TimeEndpointProto[ month = JUNE ] ]
  4. occasion (type: String.t, default: nil)
    - clang-format on
  5. type (type: String.t, default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeIntervalProto{
begin: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeEndpointProto.t() | nil,
end: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeEndpointProto.t() | nil,
inverted: boolean() | nil,
occasion: String.t() | nil,
type: String.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeIntervalProto