com.akeyless.auth.swagger.model.GetAccountDetailsReplyObj Maven / Gradle / Ivy
/*
* Auth - Application API
* Auth manages access policies for services that need access policies management for their clients. Auth also issues temporary credentials for the services' clients and validates them for the services
*
* OpenAPI spec version: 1.0.2
* Contact: [email protected]
*
* 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.akeyless.auth.swagger.model;
import java.util.Objects;
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;
/**
* GetAccountDetailsReplyObj
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-11-21T16:11:23.052+02:00")
public class GetAccountDetailsReplyObj {
@SerializedName("account_id")
private String accountId = null;
@SerializedName("admin_user_policy_id")
private String adminUserPolicyId = null;
@SerializedName("customer_address")
private String customerAddress = null;
@SerializedName("customer_email")
private String customerEmail = null;
@SerializedName("customer_id")
private String customerId = null;
@SerializedName("customer_name")
private String customerName = null;
@SerializedName("customer_phone")
private String customerPhone = null;
@SerializedName("num_of_items")
private Long numOfItems = null;
@SerializedName("num_of_keys")
private Long numOfKeys = null;
@SerializedName("num_of_roles")
private Long numOfRoles = null;
@SerializedName("num_of_secrets")
private Long numOfSecrets = null;
@SerializedName("num_of_users")
private Long numOfUsers = null;
public GetAccountDetailsReplyObj accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* Get accountId
* @return accountId
**/
@ApiModelProperty(value = "")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public GetAccountDetailsReplyObj adminUserPolicyId(String adminUserPolicyId) {
this.adminUserPolicyId = adminUserPolicyId;
return this;
}
/**
* Get adminUserPolicyId
* @return adminUserPolicyId
**/
@ApiModelProperty(value = "")
public String getAdminUserPolicyId() {
return adminUserPolicyId;
}
public void setAdminUserPolicyId(String adminUserPolicyId) {
this.adminUserPolicyId = adminUserPolicyId;
}
public GetAccountDetailsReplyObj customerAddress(String customerAddress) {
this.customerAddress = customerAddress;
return this;
}
/**
* Get customerAddress
* @return customerAddress
**/
@ApiModelProperty(value = "")
public String getCustomerAddress() {
return customerAddress;
}
public void setCustomerAddress(String customerAddress) {
this.customerAddress = customerAddress;
}
public GetAccountDetailsReplyObj customerEmail(String customerEmail) {
this.customerEmail = customerEmail;
return this;
}
/**
* Get customerEmail
* @return customerEmail
**/
@ApiModelProperty(value = "")
public String getCustomerEmail() {
return customerEmail;
}
public void setCustomerEmail(String customerEmail) {
this.customerEmail = customerEmail;
}
public GetAccountDetailsReplyObj customerId(String customerId) {
this.customerId = customerId;
return this;
}
/**
* Get customerId
* @return customerId
**/
@ApiModelProperty(value = "")
public String getCustomerId() {
return customerId;
}
public void setCustomerId(String customerId) {
this.customerId = customerId;
}
public GetAccountDetailsReplyObj customerName(String customerName) {
this.customerName = customerName;
return this;
}
/**
* Get customerName
* @return customerName
**/
@ApiModelProperty(value = "")
public String getCustomerName() {
return customerName;
}
public void setCustomerName(String customerName) {
this.customerName = customerName;
}
public GetAccountDetailsReplyObj customerPhone(String customerPhone) {
this.customerPhone = customerPhone;
return this;
}
/**
* Get customerPhone
* @return customerPhone
**/
@ApiModelProperty(value = "")
public String getCustomerPhone() {
return customerPhone;
}
public void setCustomerPhone(String customerPhone) {
this.customerPhone = customerPhone;
}
public GetAccountDetailsReplyObj numOfItems(Long numOfItems) {
this.numOfItems = numOfItems;
return this;
}
/**
* Get numOfItems
* @return numOfItems
**/
@ApiModelProperty(value = "")
public Long getNumOfItems() {
return numOfItems;
}
public void setNumOfItems(Long numOfItems) {
this.numOfItems = numOfItems;
}
public GetAccountDetailsReplyObj numOfKeys(Long numOfKeys) {
this.numOfKeys = numOfKeys;
return this;
}
/**
* Get numOfKeys
* @return numOfKeys
**/
@ApiModelProperty(value = "")
public Long getNumOfKeys() {
return numOfKeys;
}
public void setNumOfKeys(Long numOfKeys) {
this.numOfKeys = numOfKeys;
}
public GetAccountDetailsReplyObj numOfRoles(Long numOfRoles) {
this.numOfRoles = numOfRoles;
return this;
}
/**
* Get numOfRoles
* @return numOfRoles
**/
@ApiModelProperty(value = "")
public Long getNumOfRoles() {
return numOfRoles;
}
public void setNumOfRoles(Long numOfRoles) {
this.numOfRoles = numOfRoles;
}
public GetAccountDetailsReplyObj numOfSecrets(Long numOfSecrets) {
this.numOfSecrets = numOfSecrets;
return this;
}
/**
* Get numOfSecrets
* @return numOfSecrets
**/
@ApiModelProperty(value = "")
public Long getNumOfSecrets() {
return numOfSecrets;
}
public void setNumOfSecrets(Long numOfSecrets) {
this.numOfSecrets = numOfSecrets;
}
public GetAccountDetailsReplyObj numOfUsers(Long numOfUsers) {
this.numOfUsers = numOfUsers;
return this;
}
/**
* Get numOfUsers
* @return numOfUsers
**/
@ApiModelProperty(value = "")
public Long getNumOfUsers() {
return numOfUsers;
}
public void setNumOfUsers(Long numOfUsers) {
this.numOfUsers = numOfUsers;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GetAccountDetailsReplyObj getAccountDetailsReplyObj = (GetAccountDetailsReplyObj) o;
return Objects.equals(this.accountId, getAccountDetailsReplyObj.accountId) &&
Objects.equals(this.adminUserPolicyId, getAccountDetailsReplyObj.adminUserPolicyId) &&
Objects.equals(this.customerAddress, getAccountDetailsReplyObj.customerAddress) &&
Objects.equals(this.customerEmail, getAccountDetailsReplyObj.customerEmail) &&
Objects.equals(this.customerId, getAccountDetailsReplyObj.customerId) &&
Objects.equals(this.customerName, getAccountDetailsReplyObj.customerName) &&
Objects.equals(this.customerPhone, getAccountDetailsReplyObj.customerPhone) &&
Objects.equals(this.numOfItems, getAccountDetailsReplyObj.numOfItems) &&
Objects.equals(this.numOfKeys, getAccountDetailsReplyObj.numOfKeys) &&
Objects.equals(this.numOfRoles, getAccountDetailsReplyObj.numOfRoles) &&
Objects.equals(this.numOfSecrets, getAccountDetailsReplyObj.numOfSecrets) &&
Objects.equals(this.numOfUsers, getAccountDetailsReplyObj.numOfUsers);
}
@Override
public int hashCode() {
return Objects.hash(accountId, adminUserPolicyId, customerAddress, customerEmail, customerId, customerName, customerPhone, numOfItems, numOfKeys, numOfRoles, numOfSecrets, numOfUsers);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GetAccountDetailsReplyObj {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" adminUserPolicyId: ").append(toIndentedString(adminUserPolicyId)).append("\n");
sb.append(" customerAddress: ").append(toIndentedString(customerAddress)).append("\n");
sb.append(" customerEmail: ").append(toIndentedString(customerEmail)).append("\n");
sb.append(" customerId: ").append(toIndentedString(customerId)).append("\n");
sb.append(" customerName: ").append(toIndentedString(customerName)).append("\n");
sb.append(" customerPhone: ").append(toIndentedString(customerPhone)).append("\n");
sb.append(" numOfItems: ").append(toIndentedString(numOfItems)).append("\n");
sb.append(" numOfKeys: ").append(toIndentedString(numOfKeys)).append("\n");
sb.append(" numOfRoles: ").append(toIndentedString(numOfRoles)).append("\n");
sb.append(" numOfSecrets: ").append(toIndentedString(numOfSecrets)).append("\n");
sb.append(" numOfUsers: ").append(toIndentedString(numOfUsers)).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 ");
}
}