Package com.sap.ai.sdk.core.model
Class BckndResourcePatchBody
java.lang.Object
com.sap.ai.sdk.core.model.BckndResourcePatchBody
BckndResourcePatchBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndResourcePatchBody. -
Method Summary
Modifier and TypeMethodDescriptionaddResourcePlansItem(BckndResourcePatchNodes resourcePlansItem) Add one resourcePlans instance to thisBckndResourcePatchBody.create()Create a type-safe, fluent-api builder object to construct a newBckndResourcePatchBodyinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndResourcePatchBody.Get resourcePlansinthashCode()resourcePlans(List<BckndResourcePatchNodes> resourcePlans) Set the resourcePlans of thisBckndResourcePatchBodyinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndResourcePatchBodyinstance.voidsetResourcePlans(List<BckndResourcePatchNodes> resourcePlans) Set the resourcePlans of thisBckndResourcePatchBodyinstance.toMap()Get the value of all properties of thisBckndResourcePatchBodyinstance including unrecognized properties.toString()
-
Constructor Details
-
BckndResourcePatchBody
protected BckndResourcePatchBody()Default constructor for BckndResourcePatchBody.
-
-
Method Details
-
resourcePlans
@Nonnull public BckndResourcePatchBody resourcePlans(@Nonnull List<BckndResourcePatchNodes> resourcePlans) Set the resourcePlans of thisBckndResourcePatchBodyinstance and return the same instance.- Parameters:
resourcePlans- The resourcePlans of thisBckndResourcePatchBody- Returns:
- The same instance of this
BckndResourcePatchBodyclass
-
addResourcePlansItem
@Nonnull public BckndResourcePatchBody addResourcePlansItem(@Nonnull BckndResourcePatchNodes resourcePlansItem) Add one resourcePlans instance to thisBckndResourcePatchBody.- Parameters:
resourcePlansItem- The resourcePlans that should be added- Returns:
- The same instance of type
BckndResourcePatchBody
-
getResourcePlans
Get resourcePlans- Returns:
- resourcePlans The resourcePlans of this
BckndResourcePatchBodyinstance.
-
setResourcePlans
Set the resourcePlans of thisBckndResourcePatchBodyinstance.- Parameters:
resourcePlans- The resourcePlans of thisBckndResourcePatchBody
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndResourcePatchBody.- 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 thisBckndResourcePatchBodyinstance.- 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 thisBckndResourcePatchBodyinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndResourcePatchBodyinstance. 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 type-safe, fluent-api builder object to construct a newBckndResourcePatchBodyinstance with all required arguments.
-
toMap()instead.