Package com.sap.ai.sdk.core.model
Class BckndInstanceTypeGetResponse
java.lang.Object
com.sap.ai.sdk.core.model.BckndInstanceTypeGetResponse
BckndInstanceTypeGetResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndInstanceTypeGetResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newBckndInstanceTypeGetResponseinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndInstanceTypeGetResponse.Get instanceTypesinthashCode()instanceTypes(Map<String, BckndInstanceTypeValue> instanceTypes) Set the instanceTypes of thisBckndInstanceTypeGetResponseinstance and return the same instance.putinstanceTypesItem(String key, BckndInstanceTypeValue instanceTypesItem) Put one instanceTypes instance to thisBckndInstanceTypeGetResponseinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndInstanceTypeGetResponseinstance.voidsetInstanceTypes(Map<String, BckndInstanceTypeValue> instanceTypes) Set the instanceTypes of thisBckndInstanceTypeGetResponseinstance.toMap()Get the value of all properties of thisBckndInstanceTypeGetResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
BckndInstanceTypeGetResponse
protected BckndInstanceTypeGetResponse()Default constructor for BckndInstanceTypeGetResponse.
-
-
Method Details
-
instanceTypes
@Nonnull public BckndInstanceTypeGetResponse instanceTypes(@Nonnull Map<String, BckndInstanceTypeValue> instanceTypes) Set the instanceTypes of thisBckndInstanceTypeGetResponseinstance and return the same instance.- Parameters:
instanceTypes- The instanceTypes of thisBckndInstanceTypeGetResponse- Returns:
- The same instance of this
BckndInstanceTypeGetResponseclass
-
putinstanceTypesItem
@Nonnull public BckndInstanceTypeGetResponse putinstanceTypesItem(@Nonnull String key, @Nonnull BckndInstanceTypeValue instanceTypesItem) Put one instanceTypes instance to thisBckndInstanceTypeGetResponseinstance.- Parameters:
key- The String key of this instanceTypes instanceinstanceTypesItem- The instanceTypes that should be added under the given key- Returns:
- The same instance of type
BckndInstanceTypeGetResponse
-
getInstanceTypes
Get instanceTypes- Returns:
- instanceTypes The instanceTypes of this
BckndInstanceTypeGetResponseinstance.
-
setInstanceTypes
Set the instanceTypes of thisBckndInstanceTypeGetResponseinstance.- Parameters:
instanceTypes- The instanceTypes of thisBckndInstanceTypeGetResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndInstanceTypeGetResponse.- 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 thisBckndInstanceTypeGetResponseinstance.- 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 thisBckndInstanceTypeGetResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndInstanceTypeGetResponseinstance. 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 newBckndInstanceTypeGetResponseinstance with all required arguments.
-
toMap()instead.