Class V1alpha2ResourceFilter
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2ResourceFilter
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1alpha2ResourceFilter
extends Object
ResourceFilter is a filter for resources from one particular driver.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondriverName(String driverName) booleanstatic V1alpha2ResourceFilterCreate an instance of V1alpha2ResourceFilter given an JSON stringDriverName is the name used by the DRA driver kubelet plugin.Get namedResourcesinthashCode()namedResources(V1alpha2NamedResourcesFilter namedResources) voidsetDriverName(String driverName) voidsetNamedResources(V1alpha2NamedResourcesFilter namedResources) toJson()Convert an instance of V1alpha2ResourceFilter to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DRIVER_NAME
- See Also:
-
SERIALIZED_NAME_NAMED_RESOURCES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha2ResourceFilter
public V1alpha2ResourceFilter()
-
-
Method Details
-
driverName
-
getDriverName
DriverName is the name used by the DRA driver kubelet plugin.- Returns:
- driverName
-
setDriverName
-
namedResources
-
getNamedResources
Get namedResources- Returns:
- namedResources
-
setNamedResources
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to V1alpha2ResourceFilter
-
fromJson
Create an instance of V1alpha2ResourceFilter given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1alpha2ResourceFilter
- Throws:
IOException- if the JSON string is invalid with respect to V1alpha2ResourceFilter
-
toJson
Convert an instance of V1alpha2ResourceFilter to an JSON string- Returns:
- JSON string
-