ComponentPolicyStatesQueryResultsInner Class
- java.
lang. Object - com.
azure. resourcemanager. policyinsights. fluent. models. ComponentPolicyStatesQueryResultsInner
- com.
Implements
public final class ComponentPolicyStatesQueryResultsInner
implements JsonSerializable<ComponentPolicyStatesQueryResultsInner>
Query results.
Constructor Summary
| Constructor | Description |
|---|---|
| ComponentPolicyStatesQueryResultsInner() |
Creates an instance of Component |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Component |
fromJson(JsonReader jsonReader)
Reads an instance of Component |
| String |
odataContext()
Get the odata |
| Integer |
odataCount()
Get the odata |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
List<Component |
value()
Get the value property: Query results. |
|
Component |
withOdataContext(String odataContext)
Set the odata |
|
Component |
withOdataCount(Integer odataCount)
Set the odata |
|
Component |
withValue(List<ComponentPolicyState> value)
Set the value property: Query results. |
Methods inherited from java.lang.Object
Constructor Details
ComponentPolicyStatesQueryResultsInner
public ComponentPolicyStatesQueryResultsInner()
Creates an instance of ComponentPolicyStatesQueryResultsInner class.
Method Details
fromJson
public static ComponentPolicyStatesQueryResultsInner fromJson(JsonReader jsonReader)
Reads an instance of ComponentPolicyStatesQueryResultsInner from the JsonReader.
Parameters:
Returns:
Throws:
odataContext
public String odataContext()
Get the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.
Returns:
odataCount
public Integer odataCount()
Get the odataCount property: OData entity count; represents the number of policy state records returned.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public List<ComponentPolicyState> value()
Get the value property: Query results.
Returns:
withOdataContext
public ComponentPolicyStatesQueryResultsInner withOdataContext(String odataContext)
Set the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.
Parameters:
Returns:
withOdataCount
public ComponentPolicyStatesQueryResultsInner withOdataCount(Integer odataCount)
Set the odataCount property: OData entity count; represents the number of policy state records returned.
Parameters:
Returns:
withValue
public ComponentPolicyStatesQueryResultsInner withValue(List<ComponentPolicyState> value)
Set the value property: Query results.
Parameters:
Returns: