com.sportradar.uf.sportsapi.datamodel.Producer Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.05.22 at 02:21:20 PM CEST
//
package com.sportradar.uf.sportsapi.datamodel;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for producer complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="producer">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="description" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="api_url" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="active" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="scope" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="stateful_recovery_window_in_minutes" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "producer", namespace = "")
public class Producer {
@XmlAttribute(name = "id", required = true)
protected long id;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "description", required = true)
protected String description;
@XmlAttribute(name = "api_url", required = true)
protected String apiUrl;
@XmlAttribute(name = "active", required = true)
protected boolean active;
@XmlAttribute(name = "scope")
protected String scope;
@XmlAttribute(name = "stateful_recovery_window_in_minutes", required = true)
protected int statefulRecoveryWindowInMinutes;
/**
* Gets the value of the id property.
*
*/
public long getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(long 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 description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the apiUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getApiUrl() {
return apiUrl;
}
/**
* Sets the value of the apiUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setApiUrl(String value) {
this.apiUrl = 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 scope property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getScope() {
return scope;
}
/**
* Sets the value of the scope property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setScope(String value) {
this.scope = value;
}
/**
* Gets the value of the statefulRecoveryWindowInMinutes property.
*
*/
public int getStatefulRecoveryWindowInMinutes() {
return statefulRecoveryWindowInMinutes;
}
/**
* Sets the value of the statefulRecoveryWindowInMinutes property.
*
*/
public void setStatefulRecoveryWindowInMinutes(int value) {
this.statefulRecoveryWindowInMinutes = value;
}
}