Skip to content

Commit

Permalink
Day of the week nullable Fix #131
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldwight committed Mar 3, 2025
1 parent 2560107 commit 19a6507
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class DocumentTemplateCurrency
public string Code { get; set; }

[JsonPropertyName("amount_1000")]
public long Amount1000 { get; set; }
public long? Amount1000 { get; set; }
}

public class DocumentTemplateDateTime
Expand All @@ -93,22 +93,22 @@ public class DocumentTemplateDateTime
public string FallbackValue { get; set; }

[JsonPropertyName("day_of_week")]
public long DayOfWeek { get; set; }
public long? DayOfWeek { get; set; }

[JsonPropertyName("year")]
public long Year { get; set; }
public long? Year { get; set; }

[JsonPropertyName("month")]
public long Month { get; set; }
public long? Month { get; set; }

[JsonPropertyName("day_of_month")]
public long DayOfMonth { get; set; }
public long? DayOfMonth { get; set; }

[JsonPropertyName("hour")]
public long Hour { get; set; }
public long? Hour { get; set; }

[JsonPropertyName("minute")]
public long Minute { get; set; }
public long? Minute { get; set; }

[JsonPropertyName("calendar")]
public string Calendar { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class ImageTemplateCurrency
public string Code { get; set; }

[JsonPropertyName("amount_1000")]
public long Amount1000 { get; set; }
public long? Amount1000 { get; set; }
}

public class ImageTemplateDateTime
Expand All @@ -93,22 +93,22 @@ public class ImageTemplateDateTime
public string FallbackValue { get; set; }

[JsonPropertyName("day_of_week")]
public long DayOfWeek { get; set; }
public long? DayOfWeek { get; set; }

[JsonPropertyName("year")]
public long Year { get; set; }
public long? Year { get; set; }

[JsonPropertyName("month")]
public long Month { get; set; }
public long? Month { get; set; }

[JsonPropertyName("day_of_month")]
public long DayOfMonth { get; set; }
public long? DayOfMonth { get; set; }

[JsonPropertyName("hour")]
public long Hour { get; set; }
public long? Hour { get; set; }

[JsonPropertyName("minute")]
public long Minute { get; set; }
public long? Minute { get; set; }

[JsonPropertyName("calendar")]
public string Calendar { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public class InteractiveMessageCurrency
public string Code { get; set; }

[JsonPropertyName("amount_1000")]
public long Amount1000 { get; set; }
public long? Amount1000 { get; set; }
}

public class InteractiveMessageDateTime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public class TemplateCurrency
public string Code { get; set; }

[JsonPropertyName("amount_1000")]
public long Amount1000 { get; set; }
public long? Amount1000 { get; set; }
}

public class TemplateDateTime
Expand All @@ -105,22 +105,22 @@ public class TemplateDateTime
public string FallbackValue { get; set; }

[JsonPropertyName("day_of_week")]
public long DayOfWeek { get; set; }
public long? DayOfWeek { get; set; }

[JsonPropertyName("year")]
public long Year { get; set; }
public long? Year { get; set; }

[JsonPropertyName("month")]
public long Month { get; set; }
public long? Month { get; set; }

[JsonPropertyName("day_of_month")]
public long DayOfMonth { get; set; }
public long? DayOfMonth { get; set; }

[JsonPropertyName("hour")]
public long Hour { get; set; }
public long? Hour { get; set; }

[JsonPropertyName("minute")]
public long Minute { get; set; }
public long? Minute { get; set; }

[JsonPropertyName("calendar")]
public string Calendar { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class VideoTemplateCurrency
public string Code { get; set; }

[JsonPropertyName("amount_1000")]
public long Amount1000 { get; set; }
public long? Amount1000 { get; set; }
}

public class VideoTemplateDateTime
Expand All @@ -93,22 +93,22 @@ public class VideoTemplateDateTime
public string FallbackValue { get; set; }

[JsonPropertyName("day_of_week")]
public long DayOfWeek { get; set; }
public long? DayOfWeek { get; set; }

[JsonPropertyName("year")]
public long Year { get; set; }
public long? Year { get; set; }

[JsonPropertyName("month")]
public long Month { get; set; }
public long? Month { get; set; }

[JsonPropertyName("day_of_month")]
public long DayOfMonth { get; set; }
public long? DayOfMonth { get; set; }

[JsonPropertyName("hour")]
public long Hour { get; set; }
public long? Hour { get; set; }

[JsonPropertyName("minute")]
public long Minute { get; set; }
public long? Minute { get; set; }

[JsonPropertyName("calendar")]
public string Calendar { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion WhatsappBusiness.CloudApi/WhatsappBusiness.CloudApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<RepositoryUrl>https://github.com/gabrieldwight/Whatsapp-Business-Cloud-Api-Net</RepositoryUrl>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<Version>1.0.54</Version>
<Version>1.0.55</Version>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net9.0'">
Expand Down

0 comments on commit 19a6507

Please sign in to comment.