com.volcengine.fwcenter.model.DataForDescribeAddressBookOutput Maven / Gradle / Ivy
/*
* fwcenter
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: common-version
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.volcengine.fwcenter.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.v3.oas.annotations.media.Schema;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* DataForDescribeAddressBookOutput
*/
public class DataForDescribeAddressBookOutput {
@SerializedName("AddressList")
private List addressList = null;
@SerializedName("Description")
private String description = null;
@SerializedName("GroupName")
private String groupName = null;
@SerializedName("GroupType")
private String groupType = null;
@SerializedName("GroupUuid")
private String groupUuid = null;
@SerializedName("RefCnt")
private Integer refCnt = null;
public DataForDescribeAddressBookOutput addressList(List addressList) {
this.addressList = addressList;
return this;
}
public DataForDescribeAddressBookOutput addAddressListItem(String addressListItem) {
if (this.addressList == null) {
this.addressList = new ArrayList();
}
this.addressList.add(addressListItem);
return this;
}
/**
* Get addressList
* @return addressList
**/
@Schema(description = "")
public List getAddressList() {
return addressList;
}
public void setAddressList(List addressList) {
this.addressList = addressList;
}
public DataForDescribeAddressBookOutput description(String description) {
this.description = description;
return this;
}
/**
* Get description
* @return description
**/
@Schema(description = "")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public DataForDescribeAddressBookOutput groupName(String groupName) {
this.groupName = groupName;
return this;
}
/**
* Get groupName
* @return groupName
**/
@Schema(description = "")
public String getGroupName() {
return groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public DataForDescribeAddressBookOutput groupType(String groupType) {
this.groupType = groupType;
return this;
}
/**
* Get groupType
* @return groupType
**/
@Schema(description = "")
public String getGroupType() {
return groupType;
}
public void setGroupType(String groupType) {
this.groupType = groupType;
}
public DataForDescribeAddressBookOutput groupUuid(String groupUuid) {
this.groupUuid = groupUuid;
return this;
}
/**
* Get groupUuid
* @return groupUuid
**/
@Schema(description = "")
public String getGroupUuid() {
return groupUuid;
}
public void setGroupUuid(String groupUuid) {
this.groupUuid = groupUuid;
}
public DataForDescribeAddressBookOutput refCnt(Integer refCnt) {
this.refCnt = refCnt;
return this;
}
/**
* Get refCnt
* @return refCnt
**/
@Schema(description = "")
public Integer getRefCnt() {
return refCnt;
}
public void setRefCnt(Integer refCnt) {
this.refCnt = refCnt;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DataForDescribeAddressBookOutput dataForDescribeAddressBookOutput = (DataForDescribeAddressBookOutput) o;
return Objects.equals(this.addressList, dataForDescribeAddressBookOutput.addressList) &&
Objects.equals(this.description, dataForDescribeAddressBookOutput.description) &&
Objects.equals(this.groupName, dataForDescribeAddressBookOutput.groupName) &&
Objects.equals(this.groupType, dataForDescribeAddressBookOutput.groupType) &&
Objects.equals(this.groupUuid, dataForDescribeAddressBookOutput.groupUuid) &&
Objects.equals(this.refCnt, dataForDescribeAddressBookOutput.refCnt);
}
@Override
public int hashCode() {
return Objects.hash(addressList, description, groupName, groupType, groupUuid, refCnt);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DataForDescribeAddressBookOutput {\n");
sb.append(" addressList: ").append(toIndentedString(addressList)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" groupName: ").append(toIndentedString(groupName)).append("\n");
sb.append(" groupType: ").append(toIndentedString(groupType)).append("\n");
sb.append(" groupUuid: ").append(toIndentedString(groupUuid)).append("\n");
sb.append(" refCnt: ").append(toIndentedString(refCnt)).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 ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy