Skip to content

Commit 9a8e022

Browse files
Merge pull request #16 from sendinblue/FixCredits
Fixed issue due to swagger file improvement needed
2 parents ec64d4b + 35b06ad commit 9a8e022

6 files changed

+26
-25
lines changed

docs/GetTransacBlockedContactsContacts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
**email** | **String** | Email address of the blocked or unsubscribed contact |
88
**senderEmail** | **String** | Sender email address of the blocked or unsubscribed contact |
99
**reason** | [**GetTransacBlockedContactsReason**](GetTransacBlockedContactsReason.md) | |
10-
**blockedAt** | [**LocalDate**](LocalDate.md) | Date when the contact was blocked or unsubscribed on |
10+
**blockedAt** | [**OffsetDateTime**] | Date when the contact was blocked or unsubscribed on |
1111

1212

1313

docs/RemainingCreditModelChild.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**sms** | **Long** | SMS Credits remaining for child account |
8-
**email** | **Long** | Email Credits remaining for child account |
7+
**sms** | **Double** | SMS Credits remaining for child account |
8+
**email** | **Double** | Email Credits remaining for child account |
99

1010

1111

docs/RemainingCreditModelReseller.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**sms** | **Long** | SMS Credits remaining for reseller account |
8-
**email** | **Long** | Email Credits remaining for reseller account |
7+
**sms** | **Double** | SMS Credits remaining for reseller account |
8+
**email** | **Double** | Email Credits remaining for reseller account |
99

1010

1111

src/main/java/sibModel/GetTransacBlockedContactsContacts.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import io.swagger.annotations.ApiModelProperty;
2424
import java.io.IOException;
2525
import org.threeten.bp.LocalDate;
26+
import org.threeten.bp.OffsetDateTime;
2627
import sibModel.GetTransacBlockedContactsReason;
2728

2829
/**
@@ -40,7 +41,7 @@ public class GetTransacBlockedContactsContacts {
4041
private GetTransacBlockedContactsReason reason = null;
4142

4243
@SerializedName("blockedAt")
43-
private LocalDate blockedAt = null;
44+
private OffsetDateTime blockedAt = null;
4445

4546
public GetTransacBlockedContactsContacts email(String email) {
4647
this.email = email;
@@ -96,7 +97,7 @@ public void setReason(GetTransacBlockedContactsReason reason) {
9697
this.reason = reason;
9798
}
9899

99-
public GetTransacBlockedContactsContacts blockedAt(LocalDate blockedAt) {
100+
public GetTransacBlockedContactsContacts blockedAt(OffsetDateTime blockedAt) {
100101
this.blockedAt = blockedAt;
101102
return this;
102103
}
@@ -106,11 +107,11 @@ public GetTransacBlockedContactsContacts blockedAt(LocalDate blockedAt) {
106107
* @return blockedAt
107108
**/
108109
@ApiModelProperty(example = "2017-05-01T12:30:00Z", required = true, value = "Date when the contact was blocked or unsubscribed on")
109-
public LocalDate getBlockedAt() {
110+
public OffsetDateTime getBlockedAt() {
110111
return blockedAt;
111112
}
112113

113-
public void setBlockedAt(LocalDate blockedAt) {
114+
public void setBlockedAt(OffsetDateTime blockedAt) {
114115
this.blockedAt = blockedAt;
115116
}
116117

src/main/java/sibModel/RemainingCreditModelChild.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-03-23T17:54:09.105+05:30")
3131
public class RemainingCreditModelChild {
3232
@SerializedName("sms")
33-
private Long sms = null;
33+
private Double sms = null;
3434

3535
@SerializedName("email")
36-
private Long email = null;
36+
private Double email = null;
3737

38-
public RemainingCreditModelChild sms(Long sms) {
38+
public RemainingCreditModelChild sms(Double sms) {
3939
this.sms = sms;
4040
return this;
4141
}
@@ -45,15 +45,15 @@ public RemainingCreditModelChild sms(Long sms) {
4545
* @return sms
4646
**/
4747
@ApiModelProperty(example = "500", required = true, value = "SMS Credits remaining for child account")
48-
public Long getSms() {
48+
public Double getSms() {
4949
return sms;
5050
}
5151

52-
public void setSms(Long sms) {
52+
public void setSms(Double sms) {
5353
this.sms = sms;
5454
}
5555

56-
public RemainingCreditModelChild email(Long email) {
56+
public RemainingCreditModelChild email(Double email) {
5757
this.email = email;
5858
return this;
5959
}
@@ -63,11 +63,11 @@ public RemainingCreditModelChild email(Long email) {
6363
* @return email
6464
**/
6565
@ApiModelProperty(example = "2000", required = true, value = "Email Credits remaining for child account")
66-
public Long getEmail() {
66+
public Double getEmail() {
6767
return email;
6868
}
6969

70-
public void setEmail(Long email) {
70+
public void setEmail(Long Double) {
7171
this.email = email;
7272
}
7373

src/main/java/sibModel/RemainingCreditModelReseller.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-03-23T17:54:09.105+05:30")
3030
public class RemainingCreditModelReseller {
3131
@SerializedName("sms")
32-
private Long sms = null;
32+
private Double sms = null;
3333

3434
@SerializedName("email")
35-
private Long email = null;
35+
private Double email = null;
3636

37-
public RemainingCreditModelReseller sms(Long sms) {
37+
public RemainingCreditModelReseller sms(Double sms) {
3838
this.sms = sms;
3939
return this;
4040
}
@@ -44,15 +44,15 @@ public RemainingCreditModelReseller sms(Long sms) {
4444
* @return sms
4545
**/
4646
@ApiModelProperty(example = "12900", required = true, value = "SMS Credits remaining for reseller account")
47-
public Long getSms() {
47+
public Double getSms() {
4848
return sms;
4949
}
5050

51-
public void setSms(Long sms) {
51+
public void setSms(Double sms) {
5252
this.sms = sms;
5353
}
5454

55-
public RemainingCreditModelReseller email(Long email) {
55+
public RemainingCreditModelReseller email(Double email) {
5656
this.email = email;
5757
return this;
5858
}
@@ -62,11 +62,11 @@ public RemainingCreditModelReseller email(Long email) {
6262
* @return email
6363
**/
6464
@ApiModelProperty(example = "2000000", required = true, value = "Email Credits remaining for reseller account")
65-
public Long getEmail() {
65+
public Double getEmail() {
6666
return email;
6767
}
6868

69-
public void setEmail(Long email) {
69+
public void setEmail(Double email) {
7070
this.email = email;
7171
}
7272

0 commit comments

Comments
 (0)