com.akeyless.auth.swagger.model.CreatePolicyReplyObj 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: 0.0.1
*
*
* 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;
/**
* CreatePolicyReplyObj
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-08T10:19:11.231+03:00")
public class CreatePolicyReplyObj {
@SerializedName("policy_id")
private String policyId = null;
public CreatePolicyReplyObj policyId(String policyId) {
this.policyId = policyId;
return this;
}
/**
* Get policyId
* @return policyId
**/
@ApiModelProperty(value = "")
public String getPolicyId() {
return policyId;
}
public void setPolicyId(String policyId) {
this.policyId = policyId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CreatePolicyReplyObj createPolicyReplyObj = (CreatePolicyReplyObj) o;
return Objects.equals(this.policyId, createPolicyReplyObj.policyId);
}
@Override
public int hashCode() {
return Objects.hash(policyId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CreatePolicyReplyObj {\n");
sb.append(" policyId: ").append(toIndentedString(policyId)).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 ");
}
}