Skip to content

Commit

Permalink
Merge pull request #51 from kevingoad-arcfield/main
Browse files Browse the repository at this point in the history
Update ValidFor to byte[]
  • Loading branch information
anthonyreilly authored Mar 29, 2024
2 parents bb824fa + a7fb911 commit b2a201b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/NetCoreForce.Client/Models/PicklistValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ public class PickListValue
[JsonProperty(PropertyName = "label")]
public string Label { get; set; }

// TODO: validate type of validFor field
// [JsonProperty(PropertyName = "validFor")]
// public string ValidFor { get; set; }
/// <summary>
/// Valid for property
/// </summary>
[JsonProperty(PropertyName = "validFor")]
public byte[] ValidFor { get; set; }

/// <summary>
/// Picklist item value
Expand All @@ -36,4 +38,4 @@ public class PickListValue
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
}
}
}

0 comments on commit b2a201b

Please sign in to comment.