GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalStarRatings
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
Description
Star ratings constraints, mostly relevant for hotels. There is an implicit OR relation between these. E.g., for "three star or four star hotel" both three and four would be set to true. Next Available ID: 13.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
five
(type:boolean()
, default:nil
)
- -
four
(type:boolean()
, default:nil
)
- -
fourAndAHalf
(type:boolean()
, default:nil
)
- -
one
(type:boolean()
, default:nil
)
- -
oneAndAHalf
(type:boolean()
, default:nil
)
- -
orFewer
(type:boolean()
, default:nil
)
- -
orMore
(type:boolean()
, default:nil
)
- If this field is set, exactly one of the star classes above should be set, and the interpretation should be that at least that many stars should be present. -
three
(type:boolean()
, default:nil
)
- -
threeAndAHalf
(type:boolean()
, default:nil
)
- -
two
(type:boolean()
, default:nil
)
- -
twoAndAHalf
(type:boolean()
, default:nil
)
- -
unspecified
(type:boolean()
, default:nil
)
-
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalStarRatings{
five: boolean() | nil,
four: boolean() | nil,
fourAndAHalf: boolean() | nil,
one: boolean() | nil,
oneAndAHalf: boolean() | nil,
orFewer: boolean() | nil,
orMore: boolean() | nil,
three: boolean() | nil,
threeAndAHalf: boolean() | nil,
two: boolean() | nil,
twoAndAHalf: boolean() | nil,
unspecified: boolean() | nil
}
five: boolean() | nil,
four: boolean() | nil,
fourAndAHalf: boolean() | nil,
one: boolean() | nil,
oneAndAHalf: boolean() | nil,
orFewer: boolean() | nil,
orMore: boolean() | nil,
three: boolean() | nil,
threeAndAHalf: boolean() | nil,
two: boolean() | nil,
twoAndAHalf: boolean() | nil,
unspecified: boolean() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalStarRatings