
com.bronto.api.model.ApiTokenObject Maven / Gradle / Ivy
package com.bronto.api.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Java class for apiTokenObject complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="apiTokenObject">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="permissions" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="created" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="modified" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="accountId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "apiTokenObject", propOrder = {
"id",
"name",
"permissions",
"active",
"created",
"modified",
"accountId"
})
public class ApiTokenObject {
protected String id;
protected String name;
protected int permissions;
protected boolean active;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar created;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar modified;
protected String accountId;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the permissions property.
*
*/
public int getPermissions() {
return permissions;
}
/**
* Sets the value of the permissions property.
*
*/
public void setPermissions(int value) {
this.permissions = value;
}
/**
* Gets the value of the active property.
*
*/
public boolean isActive() {
return active;
}
/**
* Sets the value of the active property.
*
*/
public void setActive(boolean value) {
this.active = value;
}
/**
* Gets the value of the created property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCreated() {
return created;
}
/**
* Sets the value of the created property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCreated(XMLGregorianCalendar value) {
this.created = value;
}
/**
* Gets the value of the modified property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getModified() {
return modified;
}
/**
* Sets the value of the modified property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setModified(XMLGregorianCalendar value) {
this.modified = value;
}
/**
* Gets the value of the accountId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccountId() {
return accountId;
}
/**
* Sets the value of the accountId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccountId(String value) {
this.accountId = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy