public class SeverityLevel
extends java.lang.Object
implements java.io.Serializable
JSON-formatted pair of strings consisting of a code and name that represent a severity level that can be applied to a support case.
| コンストラクタと説明 |
|---|
SeverityLevel() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
String that represents one of four values: "low," "medium," "high,"
and "urgent".
|
java.lang.String |
getName()
Name of severity levels that correspond to the severity level codes.
|
int |
hashCode() |
void |
setCode(java.lang.String code)
String that represents one of four values: "low," "medium," "high,"
and "urgent".
|
void |
setName(java.lang.String name)
Name of severity levels that correspond to the severity level codes.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SeverityLevel |
withCode(java.lang.String code)
String that represents one of four values: "low," "medium," "high,"
and "urgent".
|
SeverityLevel |
withName(java.lang.String name)
Name of severity levels that correspond to the severity level codes.
|
public java.lang.String getCode()
SeverityLevel.name.SeverityLevel.name.public void setCode(java.lang.String code)
SeverityLevel.name.code - String that represents one of four values: "low," "medium," "high,"
and "urgent". These values correspond to response times returned to
the caller in the string SeverityLevel.name.public SeverityLevel withCode(java.lang.String code)
SeverityLevel.name.
Returns a reference to this object so that method calls can be chained together.
code - String that represents one of four values: "low," "medium," "high,"
and "urgent". These values correspond to response times returned to
the caller in the string SeverityLevel.name.public java.lang.String getName()
public void setName(java.lang.String name)
name - Name of severity levels that correspond to the severity level codes.public SeverityLevel withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
name - Name of severity levels that correspond to the severity level codes.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object