Class TestEchoMessage
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.TestEchoMessage
-
- All Implemented Interfaces:
Serializable
public class TestEchoMessage extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="int" type="{http://www.w3.org/2001/XMLSchema}int"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TestEchoMessage()
Default no-arg constructorTestEchoMessage(String text, int _int)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getInt()
Gets the value of the int property.String
getText()
Gets the value of the text property.void
setInt(int value)
Sets the value of the int property.void
setText(String value)
Sets the value of the text property.TestEchoMessage
withInt(int value)
TestEchoMessage
withText(String value)
-
-
-
Field Detail
-
text
protected String text
-
_int
protected int _int
-
-
Constructor Detail
-
TestEchoMessage
public TestEchoMessage()
Default no-arg constructor
-
TestEchoMessage
public TestEchoMessage(String text, int _int)
Fully-initialising value constructor
-
-
Method Detail
-
getText
public String getText()
Gets the value of the text property.- Returns:
- possible object is
String
-
setText
public void setText(String value)
Sets the value of the text property.- Parameters:
value
- allowed object isString
-
getInt
public int getInt()
Gets the value of the int property.
-
setInt
public void setInt(int value)
Sets the value of the int property.
-
withText
public TestEchoMessage withText(String value)
-
withInt
public TestEchoMessage withInt(int value)
-
-