Package com.sap.ai.sdk.core.model
Class BckndServiceServicePlanItem
java.lang.Object
com.sap.ai.sdk.core.model.BckndServiceServicePlanItem
BckndServiceServicePlanItem
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndServiceServicePlanItem. -
Method Summary
Modifier and TypeMethodDescriptionstatic BckndServiceServicePlanItemcreate()Create a newBckndServiceServicePlanIteminstance.description(String description) Set the description of thisBckndServiceServicePlanIteminstance and return the same instance.booleanSet the free of thisBckndServiceServicePlanIteminstance and return the same instance.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndServiceServicePlanItem.description of the service plangetId()id of the service planGet metadatagetName()name of the service planinthashCode()Set the id of thisBckndServiceServicePlanIteminstance and return the same instance.isFree()if the service plan freemetadata(BckndServiceServicePlanItemMetadata metadata) Set the metadata of thisBckndServiceServicePlanIteminstance and return the same instance.Set the name of thisBckndServiceServicePlanIteminstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndServiceServicePlanIteminstance.voidsetDescription(String description) Set the description of thisBckndServiceServicePlanIteminstance.voidSet the free of thisBckndServiceServicePlanIteminstance.voidSet the id of thisBckndServiceServicePlanIteminstance.voidSet the metadata of thisBckndServiceServicePlanIteminstance.voidSet the name of thisBckndServiceServicePlanIteminstance.toMap()Get the value of all properties of thisBckndServiceServicePlanIteminstance including unrecognized properties.toString()
-
Constructor Details
-
BckndServiceServicePlanItem
protected BckndServiceServicePlanItem()Default constructor for BckndServiceServicePlanItem.
-
-
Method Details
-
description
Set the description of thisBckndServiceServicePlanIteminstance and return the same instance.- Parameters:
description- description of the service plan- Returns:
- The same instance of this
BckndServiceServicePlanItemclass
-
getDescription
description of the service plan- Returns:
- description The description of this
BckndServiceServicePlanIteminstance.
-
setDescription
Set the description of thisBckndServiceServicePlanIteminstance.- Parameters:
description- description of the service plan
-
free
Set the free of thisBckndServiceServicePlanIteminstance and return the same instance.- Parameters:
free- if the service plan free- Returns:
- The same instance of this
BckndServiceServicePlanItemclass
-
isFree
if the service plan free- Returns:
- free The free of this
BckndServiceServicePlanIteminstance.
-
setFree
Set the free of thisBckndServiceServicePlanIteminstance.- Parameters:
free- if the service plan free
-
id
Set the id of thisBckndServiceServicePlanIteminstance and return the same instance.- Parameters:
id- id of the service plan- Returns:
- The same instance of this
BckndServiceServicePlanItemclass
-
getId
id of the service plan- Returns:
- id The id of this
BckndServiceServicePlanIteminstance.
-
setId
Set the id of thisBckndServiceServicePlanIteminstance.- Parameters:
id- id of the service plan
-
name
Set the name of thisBckndServiceServicePlanIteminstance and return the same instance.- Parameters:
name- name of the service plan- Returns:
- The same instance of this
BckndServiceServicePlanItemclass
-
getName
name of the service plan- Returns:
- name The name of this
BckndServiceServicePlanIteminstance.
-
setName
Set the name of thisBckndServiceServicePlanIteminstance.- Parameters:
name- name of the service plan
-
metadata
@Nonnull public BckndServiceServicePlanItem metadata(@Nullable BckndServiceServicePlanItemMetadata metadata) Set the metadata of thisBckndServiceServicePlanIteminstance and return the same instance.- Parameters:
metadata- The metadata of thisBckndServiceServicePlanItem- Returns:
- The same instance of this
BckndServiceServicePlanItemclass
-
getMetadata
Get metadata- Returns:
- metadata The metadata of this
BckndServiceServicePlanIteminstance.
-
setMetadata
Set the metadata of thisBckndServiceServicePlanIteminstance.- Parameters:
metadata- The metadata of thisBckndServiceServicePlanItem
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndServiceServicePlanItem.- 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 thisBckndServiceServicePlanIteminstance.- 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 thisBckndServiceServicePlanIteminstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndServiceServicePlanIteminstance. 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 newBckndServiceServicePlanIteminstance. No arguments are required.
-
toMap()instead.