package com.thesecretserver.service;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for Secret complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Secret">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Items" type="{urn:thesecretserver.com}ArrayOfSecretItem" minOccurs="0"/>
* <element name="Id" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="SecretTypeId" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="FolderId" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="IsWebLauncher" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="CheckOutMinutesRemaining" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="IsCheckedOut" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="CheckOutUserDisplayName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="CheckOutUserId" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="IsOutOfSync" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="IsRestricted" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="OutOfSyncReason" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="SecretSettings" type="{urn:thesecretserver.com}SecretSettings" minOccurs="0"/>
* <element name="SecretPermissions" type="{urn:thesecretserver.com}SecretPermissions" minOccurs="0"/>
* <element name="Active" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Secret", propOrder = {
"name",
"items",
"id",
"secretTypeId",
"folderId",
"isWebLauncher",
"checkOutMinutesRemaining",
"isCheckedOut",
"checkOutUserDisplayName",
"checkOutUserId",
"isOutOfSync",
"isRestricted",
"outOfSyncReason",
"secretSettings",
"secretPermissions",
"active"
})
public class Secret {
@XmlElement(name = "Name")
protected String name;
@XmlElement(name = "Items")
protected ArrayOfSecretItem items;
@XmlElement(name = "Id")
protected int id;
@XmlElement(name = "SecretTypeId")
protected int secretTypeId;
@XmlElement(name = "FolderId")
protected int folderId;
@XmlElement(name = "IsWebLauncher")
protected boolean isWebLauncher;
@XmlElement(name = "CheckOutMinutesRemaining", required = true, type = Integer.class, nillable = true)
protected Integer checkOutMinutesRemaining;
@XmlElement(name = "IsCheckedOut", required = true, type = Boolean.class, nillable = true)
protected Boolean isCheckedOut;
@XmlElement(name = "CheckOutUserDisplayName")
protected String checkOutUserDisplayName;
@XmlElement(name = "CheckOutUserId", required = true, type = Integer.class, nillable = true)
protected Integer checkOutUserId;
@XmlElement(name = "IsOutOfSync", required = true, type = Boolean.class, nillable = true)
protected Boolean isOutOfSync;
@XmlElement(name = "IsRestricted", required = true, type = Boolean.class, nillable = true)
protected Boolean isRestricted;
@XmlElement(name = "OutOfSyncReason")
protected String outOfSyncReason;
@XmlElement(name = "SecretSettings")
protected SecretSettings secretSettings;
@XmlElement(name = "SecretPermissions")
protected SecretPermissions secretPermissions;
@XmlElementRef(name = "Active", namespace = "urn:thesecretserver.com", type = JAXBElement.class, required = false)
protected JAXBElement<Boolean> active;
/**
* 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 items property.
*
* @return
* possible object is
* {@link ArrayOfSecretItem }
*
*/
public ArrayOfSecretItem getItems() {
return items;
}
/**
* Sets the value of the items property.
*
* @param value
* allowed object is
* {@link ArrayOfSecretItem }
*
*/
public void setItems(ArrayOfSecretItem value) {
this.items = value;
}
/**
* Gets the value of the id property.
*
*/
public int getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(int value) {
this.id = value;
}
/**
* Gets the value of the secretTypeId property.
*
*/
public int getSecretTypeId() {
return secretTypeId;
}
/**
* Sets the value of the secretTypeId property.
*
*/
public void setSecretTypeId(int value) {
this.secretTypeId = value;
}
/**
* Gets the value of the folderId property.
*
*/
public int getFolderId() {
return folderId;
}
/**
* Sets the value of the folderId property.
*
*/
public void setFolderId(int value) {
this.folderId = value;
}
/**
* Gets the value of the isWebLauncher property.
*
*/
public boolean isIsWebLauncher() {
return isWebLauncher;
}
/**
* Sets the value of the isWebLauncher property.
*
*/
public void setIsWebLauncher(boolean value) {
this.isWebLauncher = value;
}
/**
* Gets the value of the checkOutMinutesRemaining property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getCheckOutMinutesRemaining() {
return checkOutMinutesRemaining;
}
/**
* Sets the value of the checkOutMinutesRemaining property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setCheckOutMinutesRemaining(Integer value) {
this.checkOutMinutesRemaining = value;
}
/**
* Gets the value of the isCheckedOut property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsCheckedOut() {
return isCheckedOut;
}
/**
* Sets the value of the isCheckedOut property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsCheckedOut(Boolean value) {
this.isCheckedOut = value;
}
/**
* Gets the value of the checkOutUserDisplayName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCheckOutUserDisplayName() {
return checkOutUserDisplayName;
}
/**
* Sets the value of the checkOutUserDisplayName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCheckOutUserDisplayName(String value) {
this.checkOutUserDisplayName = value;
}
/**
* Gets the value of the checkOutUserId property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getCheckOutUserId() {
return checkOutUserId;
}
/**
* Sets the value of the checkOutUserId property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setCheckOutUserId(Integer value) {
this.checkOutUserId = value;
}
/**
* Gets the value of the isOutOfSync property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsOutOfSync() {
return isOutOfSync;
}
/**
* Sets the value of the isOutOfSync property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsOutOfSync(Boolean value) {
this.isOutOfSync = value;
}
/**
* Gets the value of the isRestricted property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsRestricted() {
return isRestricted;
}
/**
* Sets the value of the isRestricted property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsRestricted(Boolean value) {
this.isRestricted = value;
}
/**
* Gets the value of the outOfSyncReason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOutOfSyncReason() {
return outOfSyncReason;
}
/**
* Sets the value of the outOfSyncReason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOutOfSyncReason(String value) {
this.outOfSyncReason = value;
}
/**
* Gets the value of the secretSettings property.
*
* @return
* possible object is
* {@link SecretSettings }
*
*/
public SecretSettings getSecretSettings() {
return secretSettings;
}
/**
* Sets the value of the secretSettings property.
*
* @param value
* allowed object is
* {@link SecretSettings }
*
*/
public void setSecretSettings(SecretSettings value) {
this.secretSettings = value;
}
/**
* Gets the value of the secretPermissions property.
*
* @return
* possible object is
* {@link SecretPermissions }
*
*/
public SecretPermissions getSecretPermissions() {
return secretPermissions;
}
/**
* Sets the value of the secretPermissions property.
*
* @param value
* allowed object is
* {@link SecretPermissions }
*
*/
public void setSecretPermissions(SecretPermissions value) {
this.secretPermissions = value;
}
/**
* Gets the value of the active property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link Boolean }{@code >}
*
*/
public JAXBElement<Boolean> getActive() {
return active;
}
/**
* Sets the value of the active property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link Boolean }{@code >}
*
*/
public void setActive(JAXBElement<Boolean> value) {
this.active = value;
}
}