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

com.ecwid.consul.v1.acl.model.UpdateAcl Maven / Gradle / Ivy

package com.ecwid.consul.v1.acl.model;

import com.google.gson.annotations.SerializedName;

/**
 * @author Vasily Vasilkov ([email protected])
 */
public class UpdateAcl {

	@SerializedName("ID")
	private String id;

	@SerializedName("Name")
	private String name;

	@SerializedName("Type")
	private AclType type;

	@SerializedName("Rules")
	private String rules;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public AclType getType() {
		return type;
	}

	public void setType(AclType type) {
		this.type = type;
	}

	public String getRules() {
		return rules;
	}

	public void setRules(String rules) {
		this.rules = rules;
	}

	@Override
	public String toString() {
		return "UpdateAcl{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				", type=" + type +
				", rules='" + rules + '\'' +
				'}';
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy