Package com.sap.ai.sdk.core.model
Class BckndResourceGetResponse
java.lang.Object
com.sap.ai.sdk.core.model.BckndResourceGetResponse
BckndResourceGetResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndResourceGetResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newBckndResourceGetResponseinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndResourceGetResponse.Get resourcePlansinthashCode()putresourcePlansItem(String key, BckndResourceGetResourcePlansValue resourcePlansItem) Put one resourcePlans instance to thisBckndResourceGetResponseinstance.resourcePlans(Map<String, BckndResourceGetResourcePlansValue> resourcePlans) Set the resourcePlans of thisBckndResourceGetResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndResourceGetResponseinstance.voidsetResourcePlans(Map<String, BckndResourceGetResourcePlansValue> resourcePlans) Set the resourcePlans of thisBckndResourceGetResponseinstance.toMap()Get the value of all properties of thisBckndResourceGetResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
BckndResourceGetResponse
protected BckndResourceGetResponse()Default constructor for BckndResourceGetResponse.
-
-
Method Details
-
resourcePlans
@Nonnull public BckndResourceGetResponse resourcePlans(@Nonnull Map<String, BckndResourceGetResourcePlansValue> resourcePlans) Set the resourcePlans of thisBckndResourceGetResponseinstance and return the same instance.- Parameters:
resourcePlans- The resourcePlans of thisBckndResourceGetResponse- Returns:
- The same instance of this
BckndResourceGetResponseclass
-
putresourcePlansItem
@Nonnull public BckndResourceGetResponse putresourcePlansItem(@Nonnull String key, @Nonnull BckndResourceGetResourcePlansValue resourcePlansItem) Put one resourcePlans instance to thisBckndResourceGetResponseinstance.- Parameters:
key- The String key of this resourcePlans instanceresourcePlansItem- The resourcePlans that should be added under the given key- Returns:
- The same instance of type
BckndResourceGetResponse
-
getResourcePlans
Get resourcePlans- Returns:
- resourcePlans The resourcePlans of this
BckndResourceGetResponseinstance.
-
setResourcePlans
Set the resourcePlans of thisBckndResourceGetResponseinstance.- Parameters:
resourcePlans- The resourcePlans of thisBckndResourceGetResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndResourceGetResponse.- 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 thisBckndResourceGetResponseinstance.- 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 thisBckndResourceGetResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndResourceGetResponseinstance. 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 newBckndResourceGetResponseinstance with all required arguments.
-
toMap()instead.