You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -49,12 +45,10 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
49
45
returnnewDictionary<string,Action<IParseNode>>
50
46
{
51
47
{"canBeNegative", n =>{CanBeNegative=n.GetBoolValue();}},
52
-
{"geoLocationType", n =>{GeoLocationType=n.GetEnumValue<global::Bones.Api.Client.AutoGen.Models.GeoLocationType>();}},
53
48
{"isRequired", n =>{IsRequired=n.GetBoolValue()??thrownewNullReferenceException("Unexpected null value for non-nullable property: 'IsRequired'");}},
54
49
{"name", n =>{Name=n.GetStringValue()??thrownewNullReferenceException("Unexpected null value for non-nullable property: 'Name'");}},
55
50
{"possibleValues", n =>{PossibleValues=n.GetCollectionOfObjectValues<global::Bones.Api.Client.AutoGen.Models.StringStringValueMatchingTypeKeyValuePair>(global::Bones.Api.Client.AutoGen.Models.StringStringValueMatchingTypeKeyValuePair.CreateFromDiscriminatorValue)?.AsList()??thrownewNullReferenceException("Unexpected null value for non-nullable property: 'PossibleValues'");}},
56
51
{"projectId", n =>{ProjectId=n.GetGuidValue()??thrownewNullReferenceException("Unexpected null value for non-nullable property: 'ProjectId'");}},
57
-
{"requiredAddressFields", n =>{RequiredAddressFields=n.GetEnumValue<global::Bones.Api.Client.AutoGen.Models.AddressFields>();}},
58
52
{"type", n =>{Type=n.GetEnumValue<global::Bones.Api.Client.AutoGen.Models.FieldType>();}},
59
53
};
60
54
}
@@ -66,12 +60,10 @@ public virtual void Serialize(ISerializationWriter writer)
@@ -47,11 +43,9 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
47
43
returnnewDictionary<string,Action<IParseNode>>
48
44
{
49
45
{"canBeNegative", n =>{CanBeNegative=n.GetBoolValue();}},
50
-
{"geoLocationType", n =>{GeoLocationType=n.GetEnumValue<global::Bones.Api.Client.AutoGen.Models.GeoLocationType>();}},
51
46
{"isRequired", n =>{IsRequired=n.GetBoolValue()??thrownewNullReferenceException("Unexpected null value for non-nullable property: 'IsRequired'");}},
52
47
{"name", n =>{Name=n.GetStringValue()??thrownewNullReferenceException("Unexpected null value for non-nullable property: 'Name'");}},
53
48
{"possibleValues", n =>{PossibleValues=n.GetCollectionOfObjectValues<global::Bones.Api.Client.AutoGen.Models.StringStringValueMatchingTypeKeyValuePair>(global::Bones.Api.Client.AutoGen.Models.StringStringValueMatchingTypeKeyValuePair.CreateFromDiscriminatorValue)?.AsList()??thrownewNullReferenceException("Unexpected null value for non-nullable property: 'PossibleValues'");}},
54
-
{"requiredAddressFields", n =>{RequiredAddressFields=n.GetEnumValue<global::Bones.Api.Client.AutoGen.Models.AddressFields>();}},
55
49
{"type", n =>{Type=n.GetEnumValue<global::Bones.Api.Client.AutoGen.Models.FieldType>();}},
56
50
};
57
51
}
@@ -63,11 +57,9 @@ public virtual void Serialize(ISerializationWriter writer)
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
0 commit comments