Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including the integration id #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion src/main/java/io/smooch/client/model/AppUserLink.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public class AppUserLink {

@SerializedName("subject")
private String subject = null;

@SerializedName("integrationId")
private String integrationId = null;

@SerializedName("confirmation")
private Confirmation confirmation = null;
Expand Down Expand Up @@ -153,6 +156,24 @@ public void setSubject(String subject) {
this.subject = subject;
}

public AppUserLink integrationId(String integrationId) {
this.integrationId = integrationId;
return this;
}

/**
* Integration id for apps with more than one integrations. (Optional).
* @return integrationId
**/
@ApiModelProperty(value = "Integration id for apps with more than one integrations. (Optional). ")
public String getIntegrationId() {
return integrationId;
}

public void setIntegrationId(String integrationId) {
this.integrationId = integrationId;
}

public AppUserLink confirmation(Confirmation confirmation) {
this.confirmation = confirmation;
return this;
Expand Down Expand Up @@ -187,12 +208,13 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.givenName, appUserLink.givenName) &&
Objects.equals(this.surname, appUserLink.surname) &&
Objects.equals(this.subject, appUserLink.subject) &&
Objects.equals(this.integrationId, appUserLink.integrationId) &&
Objects.equals(this.confirmation, appUserLink.confirmation);
}

@Override
public int hashCode() {
return Objects.hash(type, phoneNumber, address, givenName, surname, subject, confirmation);
return Objects.hash(type, phoneNumber, address, givenName, surname, subject, integrationId, confirmation);
}


Expand All @@ -207,6 +229,7 @@ public String toString() {
sb.append(" givenName: ").append(toIndentedString(givenName)).append("\n");
sb.append(" surname: ").append(toIndentedString(surname)).append("\n");
sb.append(" subject: ").append(toIndentedString(subject)).append("\n");
sb.append(" integrationId: ").append(toIndentedString(integrationId)).append("\n");
sb.append(" confirmation: ").append(toIndentedString(confirmation)).append("\n");
sb.append("}");
return sb.toString();
Expand Down