Package com.sap.ai.sdk.core.model
Class BckndServiceServicePlanItemMetadata
java.lang.Object
com.sap.ai.sdk.core.model.BckndServiceServicePlanItemMetadata
BckndServiceServicePlanItemMetadata
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets supportedPlatforms -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndServiceServicePlanItemMetadata. -
Method Summary
Modifier and TypeMethodDescriptionaddSupportedPlatformsItem(BckndServiceServicePlanItemMetadata.SupportedPlatformsEnum supportedPlatformsItem) Add one supportedPlatforms instance to thisBckndServiceServicePlanItemMetadata.create()Create a newBckndServiceServicePlanItemMetadatainstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndServiceServicePlanItemMetadata.supported platforms of the service planinthashCode()voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndServiceServicePlanItemMetadatainstance.voidsetSupportedPlatforms(List<BckndServiceServicePlanItemMetadata.SupportedPlatformsEnum> supportedPlatforms) Set the supportedPlatforms of thisBckndServiceServicePlanItemMetadatainstance.supportedPlatforms(List<BckndServiceServicePlanItemMetadata.SupportedPlatformsEnum> supportedPlatforms) Set the supportedPlatforms of thisBckndServiceServicePlanItemMetadatainstance and return the same instance.toMap()Get the value of all properties of thisBckndServiceServicePlanItemMetadatainstance including unrecognized properties.toString()
-
Constructor Details
-
BckndServiceServicePlanItemMetadata
protected BckndServiceServicePlanItemMetadata()Default constructor for BckndServiceServicePlanItemMetadata.
-
-
Method Details
-
supportedPlatforms
@Nonnull public BckndServiceServicePlanItemMetadata supportedPlatforms(@Nullable List<BckndServiceServicePlanItemMetadata.SupportedPlatformsEnum> supportedPlatforms) Set the supportedPlatforms of thisBckndServiceServicePlanItemMetadatainstance and return the same instance.- Parameters:
supportedPlatforms- supported platforms of the service plan- Returns:
- The same instance of this
BckndServiceServicePlanItemMetadataclass
-
addSupportedPlatformsItem
@Nonnull public BckndServiceServicePlanItemMetadata addSupportedPlatformsItem(@Nonnull BckndServiceServicePlanItemMetadata.SupportedPlatformsEnum supportedPlatformsItem) Add one supportedPlatforms instance to thisBckndServiceServicePlanItemMetadata.- Parameters:
supportedPlatformsItem- The supportedPlatforms that should be added- Returns:
- The same instance of type
BckndServiceServicePlanItemMetadata
-
getSupportedPlatforms
@Nonnull public List<BckndServiceServicePlanItemMetadata.SupportedPlatformsEnum> getSupportedPlatforms()supported platforms of the service plan- Returns:
- supportedPlatforms The supportedPlatforms of this
BckndServiceServicePlanItemMetadatainstance.
-
setSupportedPlatforms
public void setSupportedPlatforms(@Nullable List<BckndServiceServicePlanItemMetadata.SupportedPlatformsEnum> supportedPlatforms) Set the supportedPlatforms of thisBckndServiceServicePlanItemMetadatainstance.- Parameters:
supportedPlatforms- supported platforms of the service plan
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndServiceServicePlanItemMetadata.- 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 thisBckndServiceServicePlanItemMetadatainstance.- 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 thisBckndServiceServicePlanItemMetadatainstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndServiceServicePlanItemMetadatainstance. 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 newBckndServiceServicePlanItemMetadatainstance. No arguments are required.
-
toMap()instead.