com.adyen.model.nexo.SoundContent Maven / Gradle / Ivy
package com.adyen.model.nexo;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Definition: Content of the Sound to play.
*
* Java class for SoundContent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SoundContent">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="SoundFormat" type="{}SoundFormatType" />
* <attribute name="Language" type="{}ISOLanguage2A" />
* <attribute name="ReferenceID" type="{}ReferenceID" />
* <attribute name="Text" type="{}Text" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SoundContent")
public class SoundContent {
@XmlElement(name = "SoundFormat")
@Schema(description = "Type of sound to play.")
protected SoundFormatType soundFormat;
@XmlElement(name = "Language")
@Schema(description = "Identification of a language.")
protected String language;
@XmlElement(name = "ReferenceID")
@Schema(description = "Identification of a predefined message to display, print or play. --Rule: Mandatory if SoundFormat is SoundRef or MessageRef.")
protected String referenceID;
@XmlElement(name = "Text")
@Schema(description = "Content of text message to display, print or play.")
protected String text;
/**
* Gets the value of the soundFormat property.
*
* @return possible object is
* {@link SoundFormatType }
*/
public SoundFormatType getSoundFormat() {
return soundFormat;
}
/**
* Sets the value of the soundFormat property.
*
* @param value allowed object is
* {@link SoundFormatType }
*/
public void setSoundFormat(SoundFormatType value) {
this.soundFormat = value;
}
/**
* Gets the value of the language property.
*
* @return possible object is
* {@link String }
*/
public String getLanguage() {
return language;
}
/**
* Sets the value of the language property.
*
* @param value allowed object is
* {@link String }
*/
public void setLanguage(String value) {
this.language = value;
}
/**
* Gets the value of the referenceID property.
*
* @return possible object is
* {@link String }
*/
public String getReferenceID() {
return referenceID;
}
/**
* Sets the value of the referenceID property.
*
* @param value allowed object is
* {@link String }
*/
public void setReferenceID(String value) {
this.referenceID = value;
}
/**
* Gets the value of the text property.
*
* @return possible object is
* {@link String }
*/
public String getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value allowed object is
* {@link String }
*/
public void setText(String value) {
this.text = value;
}
}