Show / Hide Table of Contents

Class IntOrString

IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.

Inheritance
System.Object
IntOrString
Implements
IDirectResponseSchema
Namespace: Google.Apis.CloudRun.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class IntOrString : object, IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

IntVal

The int value.

Declaration
public virtual Nullable<int> IntVal { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

StrVal

The string value.

Declaration
public virtual string StrVal { get; set; }
Property Value
Type Description
System.String

Type

The type of the value.

Declaration
public virtual Nullable<int> Type { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Implements

IDirectResponseSchema
Back to top