public class PassportElementErrorUnspecified extends Object implements PassportElementError
| Constructor and Description |
|---|
PassportElementErrorUnspecified() |
PassportElementErrorUnspecified(String type,
String elementHash,
String message) |
| Modifier and Type | Method and Description |
|---|---|
String |
getElementHash() |
String |
getMessage() |
String |
getSource() |
String |
getType() |
PassportElementErrorUnspecified |
setElementHash(String elementHash) |
PassportElementErrorUnspecified |
setMessage(String message) |
PassportElementErrorUnspecified |
setType(String type) |
String |
toString() |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
public String getType()
public PassportElementErrorUnspecified setType(String type)
public String getSource()
public String getElementHash()
public PassportElementErrorUnspecified setElementHash(String elementHash)
public String getMessage()
public PassportElementErrorUnspecified setMessage(String message)
public void validate()
throws TelegramApiValidationException
Validablevalidate in interface ValidableTelegramApiValidationException - If any mandatory field is emptyCopyright © 2019. All rights reserved.