Package com.sap.ai.sdk.core.model
Class BckndobjectStoreSecretStatusResponse
java.lang.Object
com.sap.ai.sdk.core.model.BckndobjectStoreSecretStatusResponse
This represents a list of meta-data of a stored secret. The 'data' field of the secret is
never retrieved.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndobjectStoreSecretStatusResponse. -
Method Summary
Modifier and TypeMethodDescriptionaddResourcesItem(BckndobjectStoreSecretStatus resourcesItem) Add one resources instance to thisBckndobjectStoreSecretStatusResponse.Set the count of thisBckndobjectStoreSecretStatusResponseinstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newBckndobjectStoreSecretStatusResponseinstance with all required arguments.booleangetCount()Number of the resource instances in the listgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndobjectStoreSecretStatusResponse.Get resourcesinthashCode()resources(List<BckndobjectStoreSecretStatus> resources) Set the resources of thisBckndobjectStoreSecretStatusResponseinstance and return the same instance.voidSet the count of thisBckndobjectStoreSecretStatusResponseinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndobjectStoreSecretStatusResponseinstance.voidsetResources(List<BckndobjectStoreSecretStatus> resources) Set the resources of thisBckndobjectStoreSecretStatusResponseinstance.toMap()Get the value of all properties of thisBckndobjectStoreSecretStatusResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
BckndobjectStoreSecretStatusResponse
protected BckndobjectStoreSecretStatusResponse()Default constructor for BckndobjectStoreSecretStatusResponse.
-
-
Method Details
-
count
Set the count of thisBckndobjectStoreSecretStatusResponseinstance and return the same instance.- Parameters:
count- Number of the resource instances in the list- Returns:
- The same instance of this
BckndobjectStoreSecretStatusResponseclass
-
getCount
Number of the resource instances in the list- Returns:
- count The count of this
BckndobjectStoreSecretStatusResponseinstance.
-
setCount
Set the count of thisBckndobjectStoreSecretStatusResponseinstance.- Parameters:
count- Number of the resource instances in the list
-
resources
@Nonnull public BckndobjectStoreSecretStatusResponse resources(@Nonnull List<BckndobjectStoreSecretStatus> resources) Set the resources of thisBckndobjectStoreSecretStatusResponseinstance and return the same instance.- Parameters:
resources- The resources of thisBckndobjectStoreSecretStatusResponse- Returns:
- The same instance of this
BckndobjectStoreSecretStatusResponseclass
-
addResourcesItem
@Nonnull public BckndobjectStoreSecretStatusResponse addResourcesItem(@Nonnull BckndobjectStoreSecretStatus resourcesItem) Add one resources instance to thisBckndobjectStoreSecretStatusResponse.- Parameters:
resourcesItem- The resources that should be added- Returns:
- The same instance of type
BckndobjectStoreSecretStatusResponse
-
getResources
Get resources- Returns:
- resources The resources of this
BckndobjectStoreSecretStatusResponseinstance.
-
setResources
Set the resources of thisBckndobjectStoreSecretStatusResponseinstance.- Parameters:
resources- The resources of thisBckndobjectStoreSecretStatusResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndobjectStoreSecretStatusResponse.- 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 thisBckndobjectStoreSecretStatusResponseinstance.- 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 thisBckndobjectStoreSecretStatusResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndobjectStoreSecretStatusResponseinstance. 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 newBckndobjectStoreSecretStatusResponseinstance with all required arguments.
-
toMap()instead.