Class TripAttribute
Describes a trip attribute as a key-value pair. The "key:value" string length
cannot exceed 256 characters.
Inheritance
TripAttribute
Assembly: Google.Maps.FleetEngine.V1.dll
Syntax
public sealed class TripAttribute : IMessage<TripAttribute>, IEquatable<TripAttribute>, IDeepCloneable<TripAttribute>, IBufferMessage, IMessage
Constructors
TripAttribute()
Declaration
TripAttribute(TripAttribute)
Declaration
public TripAttribute(TripAttribute other)
Parameters
Properties
BoolValue
Boolean typed attribute value.
Declaration
public bool BoolValue { get; set; }
Property Value
HasBoolValue
Gets whether the "bool_value" field is set
Declaration
public bool HasBoolValue { get; }
Property Value
HasNumberValue
Gets whether the "number_value" field is set
Declaration
public bool HasNumberValue { get; }
Property Value
HasStringValue
Gets whether the "string_value" field is set
Declaration
public bool HasStringValue { get; }
Property Value
Key
The attribute's key. Keys may not contain the colon character (:).
Declaration
public string Key { get; set; }
Property Value
NumberValue
Double typed attribute value.
Declaration
public double NumberValue { get; set; }
Property Value
StringValue
String typed attribute value.
Declaration
public string StringValue { get; set; }
Property Value
TripAttributeValueCase
Declaration
public TripAttribute.TripAttributeValueOneofCase TripAttributeValueCase { get; }
Property Value