Skip to content

Commit c4349fa

Browse files
committed
DateTime field should not have length validation
1 parent 3c14b35 commit c4349fa

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

Model/PtsV2PayoutsPost201Response.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -318,18 +318,6 @@ public override int GetHashCode()
318318
yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Id, length must be less than 26.", new [] { "Id" });
319319
}
320320

321-
// SubmitTimeUtc (string) maxLength
322-
if(this.SubmitTimeUtc != null && this.SubmitTimeUtc.Length > 6)
323-
{
324-
yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SubmitTimeUtc, length must be less than 6.", new [] { "SubmitTimeUtc" });
325-
}
326-
327-
// SubmitTimeUtc (string) minLength
328-
if(this.SubmitTimeUtc != null && this.SubmitTimeUtc.Length < 6)
329-
{
330-
yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for SubmitTimeUtc, length must be greater than 6.", new [] { "SubmitTimeUtc" });
331-
}
332-
333321
// ReconciliationId (string) maxLength
334322
if(this.ReconciliationId != null && this.ReconciliationId.Length > 25)
335323
{

generator/cybersource-rest-spec.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12682,8 +12682,6 @@
1268212682
},
1268312683
"submitTimeUtc": {
1268412684
"type": "string",
12685-
"maxLength": 6,
12686-
"minLength": 6,
1268712685
"description": "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ`\n\nExample 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the\ntime. The Z indicates UTC.\n"
1268812686
},
1268912687
"status": {

0 commit comments

Comments
 (0)