Show / Hide Table of Contents

Class DeliveryVehicleAttribute

Describes a vehicle attribute as a key-value pair. The "key:value" string length cannot exceed 256 characters.

Inheritance
object
DeliveryVehicleAttribute
Implements
IMessage<DeliveryVehicleAttribute>
IEquatable<DeliveryVehicleAttribute>
IDeepCloneable<DeliveryVehicleAttribute>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.FleetEngine.Delivery.V1
Assembly: Google.Maps.FleetEngine.Delivery.V1.dll
Syntax
public sealed class DeliveryVehicleAttribute : IMessage<DeliveryVehicleAttribute>, IEquatable<DeliveryVehicleAttribute>, IDeepCloneable<DeliveryVehicleAttribute>, IBufferMessage, IMessage

Constructors

DeliveryVehicleAttribute()

Declaration
public DeliveryVehicleAttribute()

DeliveryVehicleAttribute(DeliveryVehicleAttribute)

Declaration
public DeliveryVehicleAttribute(DeliveryVehicleAttribute other)
Parameters
Type Name Description
DeliveryVehicleAttribute other

Properties

BoolValue

Boolean typed attribute value.

Declaration
public bool BoolValue { get; set; }
Property Value
Type Description
bool

DeliveryVehicleAttributeValueCase

Declaration
public DeliveryVehicleAttribute.DeliveryVehicleAttributeValueOneofCase DeliveryVehicleAttributeValueCase { get; }
Property Value
Type Description
DeliveryVehicleAttribute.DeliveryVehicleAttributeValueOneofCase

HasBoolValue

Gets whether the "bool_value" field is set

Declaration
public bool HasBoolValue { get; }
Property Value
Type Description
bool

HasNumberValue

Gets whether the "number_value" field is set

Declaration
public bool HasNumberValue { get; }
Property Value
Type Description
bool

HasStringValue

Gets whether the "string_value" field is set

Declaration
public bool HasStringValue { get; }
Property Value
Type Description
bool

Key

The attribute's key.

Declaration
public string Key { get; set; }
Property Value
Type Description
string

NumberValue

Double typed attribute value.

Declaration
public double NumberValue { get; set; }
Property Value
Type Description
double

StringValue

String typed attribute value.

Note: This is identical to the value field which will eventually be deprecated. For create or update methods, either field can be used, but it's strongly recommended to use string_value. If both string_value and value are set, they must be identical or an error will be thrown. Both fields are populated in responses.

Declaration
public string StringValue { get; set; }
Property Value
Type Description
string

Value

The attribute's value.

Declaration
public string Value { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX