UserFacingWarningDetail Class
- java.
lang. Object - com.
azure. resourcemanager. dataprotection. models. UserFacingWarningDetail
- com.
Implements
public final class UserFacingWarningDetail
implements JsonSerializable<UserFacingWarningDetail>
Warning object used by layers that have access to localized content, and propagate that to user.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
User |
fromJson(JsonReader jsonReader)
Reads an instance of User |
| String |
resourceName()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
|
User |
warning()
Get the warning property: Error details for the warning. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static UserFacingWarningDetail fromJson(JsonReader jsonReader)
Reads an instance of UserFacingWarningDetail from the JsonReader.
Parameters:
Returns:
Throws:
resourceName
public String resourceName()
Get the resourceName property: Name of resource for which warning is raised.
Returns:
toJson
warning
public UserFacingError warning()
Get the warning property: Error details for the warning.
Returns: