Skip to content

Commit b2a201b

Browse files
Merge pull request #51 from kevingoad-arcfield/main
Update ValidFor to byte[]
2 parents bb824fa + a7fb911 commit b2a201b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/NetCoreForce.Client/Models/PicklistValue.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ public class PickListValue
2525
[JsonProperty(PropertyName = "label")]
2626
public string Label { get; set; }
2727

28-
// TODO: validate type of validFor field
29-
// [JsonProperty(PropertyName = "validFor")]
30-
// public string ValidFor { get; set; }
28+
/// <summary>
29+
/// Valid for property
30+
/// </summary>
31+
[JsonProperty(PropertyName = "validFor")]
32+
public byte[] ValidFor { get; set; }
3133

3234
/// <summary>
3335
/// Picklist item value
@@ -36,4 +38,4 @@ public class PickListValue
3638
[JsonProperty(PropertyName = "value")]
3739
public string Value { get; set; }
3840
}
39-
}
41+
}

0 commit comments

Comments
 (0)