ErrorSummaryModel Class
- java.
lang. Object - com.
azure. resourcemanager. springappdiscovery. models. ErrorSummaryModel
- com.
Implements
public final class ErrorSummaryModel
implements JsonSerializable<ErrorSummaryModel>
ErrorSummary model.
Constructor Summary
| Constructor | Description |
|---|---|
| ErrorSummaryModel() |
Creates an instance of Error |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
affectedObjectsCount()
Get the affected |
| String |
affectedResourceType()
Get the affected |
|
static
Error |
fromJson(JsonReader jsonReader)
Reads an instance of Error |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Error |
withAffectedObjectsCount(Long affectedObjectsCount)
Set the affected |
|
Error |
withAffectedResourceType(String affectedResourceType)
Set the affected |
Methods inherited from java.lang.Object
Constructor Details
ErrorSummaryModel
public ErrorSummaryModel()
Creates an instance of ErrorSummaryModel class.
Method Details
affectedObjectsCount
public Long affectedObjectsCount()
Get the affectedObjectsCount property: The count.
Returns:
affectedResourceType
public String affectedResourceType()
Get the affectedResourceType property: The type of Object.
Returns:
fromJson
public static ErrorSummaryModel fromJson(JsonReader jsonReader)
Reads an instance of ErrorSummaryModel from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAffectedObjectsCount
public ErrorSummaryModel withAffectedObjectsCount(Long affectedObjectsCount)
Set the affectedObjectsCount property: The count.
Parameters:
Returns:
withAffectedResourceType
public ErrorSummaryModel withAffectedResourceType(String affectedResourceType)
Set the affectedResourceType property: The type of Object.
Parameters:
Returns: