All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lob.model.BillingGroupEditable Maven / Gradle / Ivy

The newest version!
/*
 * Lob
 * The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors. 

Looking for our [previous documentation](https://lob.github.io/legacy-docs/)? * * The version of the OpenAPI document: 1.3.0 * 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 com.lob.model; import java.util.Objects; import java.util.Arrays; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import com.google.gson.Gson; import java.util.HashMap; import java.util.Map; /** * BillingGroupEditable */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class BillingGroupEditable { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) private String description; /** * Description of the billing group. * @return description **/ @javax.annotation.Nullable @ApiModelProperty(value = "Description of the billing group.") public String getDescription() { return description; } public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) private String name; /** * Name of the billing group. * @return name **/ @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "Name of the billing group.") public String getName() { return name; } /* public BillingGroupEditable description(String description) { this.description = description; return this; } */ public void setDescription(String description) { this.description = description; } /* public BillingGroupEditable name(String name) { this.name = name; return this; } */ public void setName(String name) { this.name = name; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } BillingGroupEditable billingGroupEditable = (BillingGroupEditable) o; return Objects.equals(this.description, billingGroupEditable.description) && Objects.equals(this.name, billingGroupEditable.name); } @Override public int hashCode() { return Objects.hash(description, name); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } public Map toMap() { Map localMap = new HashMap(); localMap.put("description", description); localMap.put("name", name); return localMap; } /** * Convert the given object to string with each line indented by 4 spaces * (except the first line). */ private String toIndentedString(Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy