ProtocolDescriptionSupport
@Generated(value="com.genesyslab.platform.commons.protocol.generator.Generator", date="2021-06-14T15:46:12.394-07:00") public abstract class Reason extends CompoundValue
Constructor | Description |
---|---|
Reason() |
Modifier and Type | Method | Description |
---|---|---|
static Reason |
create() |
Creates instance of Reason with no parameters set.
|
static Reason |
create(java.lang.Integer code) |
Creates instance of Reason with required parameters set.
|
static Reason |
create(java.lang.Integer code,
java.lang.String text) |
Creates instance of Reason with all parameters set.
|
abstract java.lang.Integer |
getCode() |
The error code in an error Description.
|
abstract java.lang.String |
getText() |
Any arbitrary text.
|
abstract void |
setCode(int code) |
The error code in an error Description.
|
abstract void |
setCode(java.lang.Integer code) |
The error code in an error Description.
|
abstract void |
setText(java.lang.String text) |
Any arbitrary text.
|
getProtocolDescription
equals, hashCode, toString, toString
public static Reason create()
public static Reason create(java.lang.Integer code, java.lang.String text)
code
- Codetext
- Textpublic static Reason create(java.lang.Integer code)
code
- Codepublic abstract java.lang.Integer getCode()
public abstract void setCode(java.lang.Integer code)
public abstract void setCode(int code)
public abstract java.lang.String getText()
NoticeText
class this
could contain a URL if the NoticeType
is set to PushURL
or be empty for TypingStarted
notifications.public abstract void setText(java.lang.String text)
NoticeText
class this
could contain a URL if the NoticeType
is set to PushURL
or be empty for TypingStarted
notifications.Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.