Package com.sap.ai.sdk.core.model
Class BckndResourceGroupPatchRequest
java.lang.Object
com.sap.ai.sdk.core.model.BckndResourceGroupPatchRequest
BckndResourceGroupPatchRequest
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndResourceGroupPatchRequest. -
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem(BckndResourceGroupLabel labelsItem) Add one labels instance to thisBckndResourceGroupPatchRequest.create()Create a newBckndResourceGroupPatchRequestinstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndResourceGroupPatchRequest.Arbitrary labels as meta informationinthashCode()labels(List<BckndResourceGroupLabel> labels) Set the labels of thisBckndResourceGroupPatchRequestinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndResourceGroupPatchRequestinstance.voidsetLabels(List<BckndResourceGroupLabel> labels) Set the labels of thisBckndResourceGroupPatchRequestinstance.toMap()Get the value of all properties of thisBckndResourceGroupPatchRequestinstance including unrecognized properties.toString()
-
Constructor Details
-
BckndResourceGroupPatchRequest
protected BckndResourceGroupPatchRequest()Default constructor for BckndResourceGroupPatchRequest.
-
-
Method Details
-
labels
@Nonnull public BckndResourceGroupPatchRequest labels(@Nullable List<BckndResourceGroupLabel> labels) Set the labels of thisBckndResourceGroupPatchRequestinstance and return the same instance.- Parameters:
labels- Arbitrary labels as meta information- Returns:
- The same instance of this
BckndResourceGroupPatchRequestclass
-
addLabelsItem
@Nonnull public BckndResourceGroupPatchRequest addLabelsItem(@Nonnull BckndResourceGroupLabel labelsItem) Add one labels instance to thisBckndResourceGroupPatchRequest.- Parameters:
labelsItem- The labels that should be added- Returns:
- The same instance of type
BckndResourceGroupPatchRequest
-
getLabels
Arbitrary labels as meta information- Returns:
- labels The labels of this
BckndResourceGroupPatchRequestinstance.
-
setLabels
Set the labels of thisBckndResourceGroupPatchRequestinstance.- Parameters:
labels- Arbitrary labels as meta information
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndResourceGroupPatchRequest.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisBckndResourceGroupPatchRequestinstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisBckndResourceGroupPatchRequestinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndResourceGroupPatchRequestinstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a newBckndResourceGroupPatchRequestinstance. No arguments are required.
-
toMap()instead.