Struct AdapterSize
Adapter size for tuning. This enum is not supported in Gemini API.
[JsonConverter(typeof(AdapterSizeConverter))]
public readonly record struct AdapterSize : IEquatable<AdapterSize>
- Implements
- Inherited Members
Properties
AdapterSizeEight
Adapter size 8.
public static AdapterSize AdapterSizeEight { get; }
Property Value
AdapterSizeFour
Adapter size 4.
public static AdapterSize AdapterSizeFour { get; }
Property Value
AdapterSizeOne
Adapter size 1.
public static AdapterSize AdapterSizeOne { get; }
Property Value
AdapterSizeSixteen
Adapter size 16.
public static AdapterSize AdapterSizeSixteen { get; }
Property Value
AdapterSizeThirtyTwo
Adapter size 32.
public static AdapterSize AdapterSizeThirtyTwo { get; }
Property Value
AdapterSizeTwo
Adapter size 2.
public static AdapterSize AdapterSizeTwo { get; }
Property Value
AdapterSizeUnspecified
Adapter size is unspecified.
public static AdapterSize AdapterSizeUnspecified { get; }
Property Value
AllValues
public static IReadOnlyList<AdapterSize> AllValues { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(AdapterSize)
public bool Equals(AdapterSize other)
Parameters
otherAdapterSize
Returns
FromString(string)
public static AdapterSize FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator AdapterSize(string)
public static implicit operator AdapterSize(string value)
Parameters
valuestring