io.logicdrop.openapi.models.ClientRegistration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sparks-openapi-models Show documentation
Show all versions of sparks-openapi-models Show documentation
Logicdrop Sparks OpenAPI client
/*
* Sparks OpenAPI
* Generated documentation for the Logicdrop Sparks API and OpenAPI clients. Logicdrop Sparks lets users build rules, analyze data, and automate documents. Use it to make decisions faster, generate documents better, and learn from your data. ### Documentation - [User Documentation](https://docs.logicdrop.com) ### Modules - [Sparks Compute](https://docs.logicdrop.com/rules/introduction) - [Sparks Decision Tables](https://docs.logicdrop.com/rules/authoring-decision-tables) - [Sparks Documents](https://docs.logicdrop.com/documents/introduction) ### Clients - [OpenAPI Clients](https://docs.logicdrop.com/development/sample-clients) ### Security - [Authorizing API Requests](https://docs.logicdrop.com/development/authorization)
*
* The version of the OpenAPI document: v_VERSION_, build# _BUILD_
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package io.logicdrop.openapi.models;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* ClientRegistration
*/
@JsonPropertyOrder({
ClientRegistration.JSON_PROPERTY_SUBSCRIPTION,
ClientRegistration.JSON_PROPERTY_CLIENT_NAME,
ClientRegistration.JSON_PROPERTY_COUPON_CODE,
ClientRegistration.JSON_PROPERTY_REFERRER,
ClientRegistration.JSON_PROPERTY_CAMPAIGN,
ClientRegistration.JSON_PROPERTY_SUBSCRIBER_ID,
ClientRegistration.JSON_PROPERTY_EMAIL,
ClientRegistration.JSON_PROPERTY_PICTURE,
ClientRegistration.JSON_PROPERTY_NAME,
ClientRegistration.JSON_PROPERTY_COMPANY_NAME,
ClientRegistration.JSON_PROPERTY_META_EMPLOYEES,
ClientRegistration.JSON_PROPERTY_META_ROLE,
ClientRegistration.JSON_PROPERTY_META_CHALLENGE,
ClientRegistration.JSON_PROPERTY_ADDRESS1,
ClientRegistration.JSON_PROPERTY_ADDRESS2,
ClientRegistration.JSON_PROPERTY_CITY,
ClientRegistration.JSON_PROPERTY_STATE,
ClientRegistration.JSON_PROPERTY_POSTAL_CODE,
ClientRegistration.JSON_PROPERTY_COUNTRY,
ClientRegistration.JSON_PROPERTY_PHONE_NUMBER,
ClientRegistration.JSON_PROPERTY_STRIPE_CUSTOMER_ID,
ClientRegistration.JSON_PROPERTY_STRIPE_SUBSCRIPTION_ID
})
public class ClientRegistration {
public static final String JSON_PROPERTY_SUBSCRIPTION = "subscription";
private String subscription;
public static final String JSON_PROPERTY_CLIENT_NAME = "clientName";
private String clientName;
public static final String JSON_PROPERTY_COUPON_CODE = "couponCode";
private String couponCode;
public static final String JSON_PROPERTY_REFERRER = "referrer";
private String referrer;
public static final String JSON_PROPERTY_CAMPAIGN = "campaign";
private String campaign;
public static final String JSON_PROPERTY_SUBSCRIBER_ID = "subscriberId";
private String subscriberId;
public static final String JSON_PROPERTY_EMAIL = "email";
private String email;
public static final String JSON_PROPERTY_PICTURE = "picture";
private String picture;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
public static final String JSON_PROPERTY_COMPANY_NAME = "companyName";
private String companyName;
public static final String JSON_PROPERTY_META_EMPLOYEES = "metaEmployees";
private String metaEmployees;
public static final String JSON_PROPERTY_META_ROLE = "metaRole";
private String metaRole;
public static final String JSON_PROPERTY_META_CHALLENGE = "metaChallenge";
private String metaChallenge;
public static final String JSON_PROPERTY_ADDRESS1 = "address1";
private String address1;
public static final String JSON_PROPERTY_ADDRESS2 = "address2";
private String address2;
public static final String JSON_PROPERTY_CITY = "city";
private String city;
public static final String JSON_PROPERTY_STATE = "state";
private String state;
public static final String JSON_PROPERTY_POSTAL_CODE = "postalCode";
private String postalCode;
public static final String JSON_PROPERTY_COUNTRY = "country";
private String country;
public static final String JSON_PROPERTY_PHONE_NUMBER = "phoneNumber";
private String phoneNumber;
public static final String JSON_PROPERTY_STRIPE_CUSTOMER_ID = "stripeCustomerId";
private String stripeCustomerId;
public static final String JSON_PROPERTY_STRIPE_SUBSCRIPTION_ID = "stripeSubscriptionId";
private String stripeSubscriptionId;
public ClientRegistration subscription(String subscription) {
this.subscription = subscription;
return this;
}
/**
* Get subscription
* @return subscription
**/
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_SUBSCRIPTION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getSubscription() {
return subscription;
}
public void setSubscription(String subscription) {
this.subscription = subscription;
}
public ClientRegistration clientName(String clientName) {
this.clientName = clientName;
return this;
}
/**
* Get clientName
* @return clientName
**/
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_CLIENT_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getClientName() {
return clientName;
}
public void setClientName(String clientName) {
this.clientName = clientName;
}
public ClientRegistration couponCode(String couponCode) {
this.couponCode = couponCode;
return this;
}
/**
* Get couponCode
* @return couponCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_COUPON_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCouponCode() {
return couponCode;
}
public void setCouponCode(String couponCode) {
this.couponCode = couponCode;
}
public ClientRegistration referrer(String referrer) {
this.referrer = referrer;
return this;
}
/**
* Get referrer
* @return referrer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_REFERRER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getReferrer() {
return referrer;
}
public void setReferrer(String referrer) {
this.referrer = referrer;
}
public ClientRegistration campaign(String campaign) {
this.campaign = campaign;
return this;
}
/**
* Get campaign
* @return campaign
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CAMPAIGN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCampaign() {
return campaign;
}
public void setCampaign(String campaign) {
this.campaign = campaign;
}
public ClientRegistration subscriberId(String subscriberId) {
this.subscriberId = subscriberId;
return this;
}
/**
* Get subscriberId
* @return subscriberId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_SUBSCRIBER_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSubscriberId() {
return subscriberId;
}
public void setSubscriberId(String subscriberId) {
this.subscriberId = subscriberId;
}
public ClientRegistration email(String email) {
this.email = email;
return this;
}
/**
* Get email
* @return email
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_EMAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public ClientRegistration picture(String picture) {
this.picture = picture;
return this;
}
/**
* Get picture
* @return picture
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PICTURE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPicture() {
return picture;
}
public void setPicture(String picture) {
this.picture = picture;
}
public ClientRegistration name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public ClientRegistration companyName(String companyName) {
this.companyName = companyName;
return this;
}
/**
* Get companyName
* @return companyName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_COMPANY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
public ClientRegistration metaEmployees(String metaEmployees) {
this.metaEmployees = metaEmployees;
return this;
}
/**
* Get metaEmployees
* @return metaEmployees
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_META_EMPLOYEES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMetaEmployees() {
return metaEmployees;
}
public void setMetaEmployees(String metaEmployees) {
this.metaEmployees = metaEmployees;
}
public ClientRegistration metaRole(String metaRole) {
this.metaRole = metaRole;
return this;
}
/**
* Get metaRole
* @return metaRole
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_META_ROLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMetaRole() {
return metaRole;
}
public void setMetaRole(String metaRole) {
this.metaRole = metaRole;
}
public ClientRegistration metaChallenge(String metaChallenge) {
this.metaChallenge = metaChallenge;
return this;
}
/**
* Get metaChallenge
* @return metaChallenge
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_META_CHALLENGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMetaChallenge() {
return metaChallenge;
}
public void setMetaChallenge(String metaChallenge) {
this.metaChallenge = metaChallenge;
}
public ClientRegistration address1(String address1) {
this.address1 = address1;
return this;
}
/**
* Get address1
* @return address1
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ADDRESS1)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAddress1() {
return address1;
}
public void setAddress1(String address1) {
this.address1 = address1;
}
public ClientRegistration address2(String address2) {
this.address2 = address2;
return this;
}
/**
* Get address2
* @return address2
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ADDRESS2)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAddress2() {
return address2;
}
public void setAddress2(String address2) {
this.address2 = address2;
}
public ClientRegistration city(String city) {
this.city = city;
return this;
}
/**
* Get city
* @return city
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CITY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public ClientRegistration state(String state) {
this.state = state;
return this;
}
/**
* Get state
* @return state
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_STATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public ClientRegistration postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
/**
* Get postalCode
* @return postalCode
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_POSTAL_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public ClientRegistration country(String country) {
this.country = country;
return this;
}
/**
* Get country
* @return country
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_COUNTRY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public ClientRegistration phoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* Get phoneNumber
* @return phoneNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PHONE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public ClientRegistration stripeCustomerId(String stripeCustomerId) {
this.stripeCustomerId = stripeCustomerId;
return this;
}
/**
* Get stripeCustomerId
* @return stripeCustomerId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_STRIPE_CUSTOMER_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getStripeCustomerId() {
return stripeCustomerId;
}
public void setStripeCustomerId(String stripeCustomerId) {
this.stripeCustomerId = stripeCustomerId;
}
public ClientRegistration stripeSubscriptionId(String stripeSubscriptionId) {
this.stripeSubscriptionId = stripeSubscriptionId;
return this;
}
/**
* Get stripeSubscriptionId
* @return stripeSubscriptionId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_STRIPE_SUBSCRIPTION_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getStripeSubscriptionId() {
return stripeSubscriptionId;
}
public void setStripeSubscriptionId(String stripeSubscriptionId) {
this.stripeSubscriptionId = stripeSubscriptionId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ClientRegistration clientRegistration = (ClientRegistration) o;
return Objects.equals(this.subscription, clientRegistration.subscription) &&
Objects.equals(this.clientName, clientRegistration.clientName) &&
Objects.equals(this.couponCode, clientRegistration.couponCode) &&
Objects.equals(this.referrer, clientRegistration.referrer) &&
Objects.equals(this.campaign, clientRegistration.campaign) &&
Objects.equals(this.subscriberId, clientRegistration.subscriberId) &&
Objects.equals(this.email, clientRegistration.email) &&
Objects.equals(this.picture, clientRegistration.picture) &&
Objects.equals(this.name, clientRegistration.name) &&
Objects.equals(this.companyName, clientRegistration.companyName) &&
Objects.equals(this.metaEmployees, clientRegistration.metaEmployees) &&
Objects.equals(this.metaRole, clientRegistration.metaRole) &&
Objects.equals(this.metaChallenge, clientRegistration.metaChallenge) &&
Objects.equals(this.address1, clientRegistration.address1) &&
Objects.equals(this.address2, clientRegistration.address2) &&
Objects.equals(this.city, clientRegistration.city) &&
Objects.equals(this.state, clientRegistration.state) &&
Objects.equals(this.postalCode, clientRegistration.postalCode) &&
Objects.equals(this.country, clientRegistration.country) &&
Objects.equals(this.phoneNumber, clientRegistration.phoneNumber) &&
Objects.equals(this.stripeCustomerId, clientRegistration.stripeCustomerId) &&
Objects.equals(this.stripeSubscriptionId, clientRegistration.stripeSubscriptionId);
}
@Override
public int hashCode() {
return Objects.hash(subscription, clientName, couponCode, referrer, campaign, subscriberId, email, picture, name, companyName, metaEmployees, metaRole, metaChallenge, address1, address2, city, state, postalCode, country, phoneNumber, stripeCustomerId, stripeSubscriptionId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ClientRegistration {\n");
sb.append(" subscription: ").append(toIndentedString(subscription)).append("\n");
sb.append(" clientName: ").append(toIndentedString(clientName)).append("\n");
sb.append(" couponCode: ").append(toIndentedString(couponCode)).append("\n");
sb.append(" referrer: ").append(toIndentedString(referrer)).append("\n");
sb.append(" campaign: ").append(toIndentedString(campaign)).append("\n");
sb.append(" subscriberId: ").append(toIndentedString(subscriberId)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" picture: ").append(toIndentedString(picture)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n");
sb.append(" metaEmployees: ").append(toIndentedString(metaEmployees)).append("\n");
sb.append(" metaRole: ").append(toIndentedString(metaRole)).append("\n");
sb.append(" metaChallenge: ").append(toIndentedString(metaChallenge)).append("\n");
sb.append(" address1: ").append(toIndentedString(address1)).append("\n");
sb.append(" address2: ").append(toIndentedString(address2)).append("\n");
sb.append(" city: ").append(toIndentedString(city)).append("\n");
sb.append(" state: ").append(toIndentedString(state)).append("\n");
sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n");
sb.append(" country: ").append(toIndentedString(country)).append("\n");
sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
sb.append(" stripeCustomerId: ").append(toIndentedString(stripeCustomerId)).append("\n");
sb.append(" stripeSubscriptionId: ").append(toIndentedString(stripeSubscriptionId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}