Skip to content

Commit

Permalink
Automated commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
maxio-sdk committed Mar 13, 2024
1 parent f1f480b commit a4d9c54
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion doc/models/event.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

| Name | Type | Tags | Description | Getter | Setter |
| --- | --- | --- | --- | --- | --- |
| `Id` | `int` | Required | - | int getId() | setId(int id) |
| `Id` | `long` | Required | - | long getId() | setId(long id) |
| `Key` | `String` | Required | **Constraints**: *Minimum Length*: `1` | String getKey() | setKey(String key) |
| `Message` | `String` | Required | **Constraints**: *Minimum Length*: `1` | String getMessage() | setMessage(String message) |
| `SubscriptionId` | `Integer` | Required | - | Integer getSubscriptionId() | setSubscriptionId(Integer subscriptionId) |
Expand Down
24 changes: 12 additions & 12 deletions src/main/java/com/maxio/advancedbilling/models/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/
public class Event
extends BaseModel {
private int id;
private long id;
private String key;
private String message;
private Integer subscriptionId;
Expand All @@ -36,7 +36,7 @@ public Event() {

/**
* Initialization constructor.
* @param id int value for id.
* @param id long value for id.
* @param key String value for key.
* @param message String value for message.
* @param subscriptionId Integer value for subscriptionId.
Expand All @@ -45,7 +45,7 @@ public Event() {
* @param eventSpecificData EventEventSpecificData value for eventSpecificData.
*/
public Event(
int id,
long id,
String key,
String message,
Integer subscriptionId,
Expand All @@ -63,19 +63,19 @@ public Event(

/**
* Getter for Id.
* @return Returns the int
* @return Returns the long
*/
@JsonGetter("id")
public int getId() {
public long getId() {
return id;
}

/**
* Setter for Id.
* @param id Value for int
* @param id Value for long
*/
@JsonSetter("id")
public void setId(int id) {
public void setId(long id) {
this.id = id;
}

Expand Down Expand Up @@ -216,7 +216,7 @@ public Builder toBuilder() {
* Class to build instances of {@link Event}.
*/
public static class Builder {
private int id;
private long id;
private String key;
private String message;
private Integer subscriptionId;
Expand All @@ -232,15 +232,15 @@ public Builder() {

/**
* Initialization constructor.
* @param id int value for id.
* @param id long value for id.
* @param key String value for key.
* @param message String value for message.
* @param subscriptionId Integer value for subscriptionId.
* @param customerId Integer value for customerId.
* @param createdAt ZonedDateTime value for createdAt.
* @param eventSpecificData EventEventSpecificData value for eventSpecificData.
*/
public Builder(int id, String key, String message, Integer subscriptionId,
public Builder(long id, String key, String message, Integer subscriptionId,
Integer customerId, ZonedDateTime createdAt,
EventEventSpecificData eventSpecificData) {
this.id = id;
Expand All @@ -254,10 +254,10 @@ public Builder(int id, String key, String message, Integer subscriptionId,

/**
* Setter for id.
* @param id int value for id.
* @param id long value for id.
* @return Builder
*/
public Builder id(int id) {
public Builder id(long id) {
this.id = id;
return this;
}
Expand Down

0 comments on commit a4d9c54

Please sign in to comment.