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
Copy file name to clipboardExpand all lines: src/src/Models/CardDto.cs
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -14,16 +14,22 @@ public partial class CardDto : IAdditionalDataHolder, IParsable
14
14
{
15
15
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
/// <summary>Determines if users can add a custom option value different from the predefined options in records for RADIO type fields. A custom value added in one record does not automatically become an option and will not appear as an option for other records.</summary>
20
-
publicbool?AllowCustomOption{get;set;}
21
-
/// <summary>Type of field that you are trying to create</summary>
/// <summary>Field key. For Custom Object it's formatted as "custom_object.{objectKey}.{fieldKey}". "custom_object" is a fixed prefix, "{objectKey}" is your custom object's identifier, and "{fieldKey}" is the unique field name within that object. Example: "custom_object.pet.name" for a "name" field in a "pet" custom object.</summary>
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
/// <summary>The key for your custom object. This key uniquely identifies the custom object. Example: "custom_object.pet" for a custom object related to pets.</summary>
/// <summary>Whether the field should be shown in forms</summary>
90
-
publicbool?ShowInForms{get;set;}
91
65
/// <summary>
92
66
/// Instantiates a new <see cref="global::Soenneker.HighLevel.OpenApiClient.Models.CreateCustomFieldsDTO"/> and sets the default values.
93
67
/// </summary>
@@ -113,19 +87,15 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
113
87
{
114
88
returnnewDictionary<string,Action<IParseNode>>
115
89
{
116
-
{"acceptedFormats", n =>{AcceptedFormats=n.GetEnumValue<global::Soenneker.HighLevel.OpenApiClient.Models.CreateCustomFieldsDTO_acceptedFormats>();}},
117
-
{"allowCustomOption", n =>{AllowCustomOption=n.GetBoolValue();}},
118
-
{"dataType", n =>{DataType=n.GetEnumValue<global::Soenneker.HighLevel.OpenApiClient.Models.CreateCustomFieldsDTO_dataType>();}},
119
-
{"description", n =>{Description=n.GetStringValue();}},
120
-
{"fieldKey", n =>{FieldKey=n.GetStringValue();}},
121
-
{"locationId", n =>{LocationId=n.GetStringValue();}},
122
-
{"maxFileLimit", n =>{MaxFileLimit=n.GetDoubleValue();}},
90
+
{"acceptedFormat", n =>{AcceptedFormat=n.GetCollectionOfPrimitiveValues<string>()?.AsList();}},
91
+
{"dataType", n =>{DataType=n.GetStringValue();}},
92
+
{"isMultipleFile", n =>{IsMultipleFile=n.GetBoolValue();}},
93
+
{"maxNumberOfFiles", n =>{MaxNumberOfFiles=n.GetDoubleValue();}},
94
+
{"model", n =>{Model=n.GetEnumValue<global::Soenneker.HighLevel.OpenApiClient.Models.CreateCustomFieldsDTO_model>();}},
123
95
{"name", n =>{Name=n.GetStringValue();}},
124
-
{"objectKey", n =>{ObjectKey=n.GetStringValue();}},
125
-
{"options", n =>{Options=n.GetCollectionOfObjectValues<global::Soenneker.HighLevel.OpenApiClient.Models.OptionDTO>(global::Soenneker.HighLevel.OpenApiClient.Models.OptionDTO.CreateFromDiscriminatorValue)?.AsList();}},
126
-
{"parentId", n =>{ParentId=n.GetStringValue();}},
127
96
{"placeholder", n =>{Placeholder=n.GetStringValue();}},
128
-
{"showInForms", n =>{ShowInForms=n.GetBoolValue();}},
97
+
{"position", n =>{Position=n.GetDoubleValue();}},
98
+
{"textBoxListOptions", n =>{TextBoxListOptions=n.GetCollectionOfObjectValues<global::Soenneker.HighLevel.OpenApiClient.Models.CreateCustomFieldsDTO.CreateCustomFieldsDTO_textBoxListOptions>(global::Soenneker.HighLevel.OpenApiClient.Models.CreateCustomFieldsDTO.CreateCustomFieldsDTO_textBoxListOptions.CreateFromDiscriminatorValue)?.AsList();}},
129
99
};
130
100
}
131
101
/// <summary>
@@ -135,21 +105,65 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
0 commit comments