Package com.sap.ai.sdk.core.model
Class BcknddockerRegistrySecretStatusResponse
java.lang.Object
com.sap.ai.sdk.core.model.BcknddockerRegistrySecretStatusResponse
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 BcknddockerRegistrySecretStatusResponse. -
Method Summary
Modifier and TypeMethodDescriptionaddResourcesItem(BcknddockerRegistrySecretStatus resourcesItem) Add one resources instance to thisBcknddockerRegistrySecretStatusResponse.Set the count of thisBcknddockerRegistrySecretStatusResponseinstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newBcknddockerRegistrySecretStatusResponseinstance with all required arguments.booleangetCount()Number of the resource instances in the listgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBcknddockerRegistrySecretStatusResponse.Get resourcesinthashCode()resources(List<BcknddockerRegistrySecretStatus> resources) Set the resources of thisBcknddockerRegistrySecretStatusResponseinstance and return the same instance.voidSet the count of thisBcknddockerRegistrySecretStatusResponseinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBcknddockerRegistrySecretStatusResponseinstance.voidsetResources(List<BcknddockerRegistrySecretStatus> resources) Set the resources of thisBcknddockerRegistrySecretStatusResponseinstance.toMap()Get the value of all properties of thisBcknddockerRegistrySecretStatusResponseinstance including unrecognized properties.toString()
-
Constructor Details
-
BcknddockerRegistrySecretStatusResponse
protected BcknddockerRegistrySecretStatusResponse()Default constructor for BcknddockerRegistrySecretStatusResponse.
-
-
Method Details
-
count
Set the count of thisBcknddockerRegistrySecretStatusResponseinstance and return the same instance.- Parameters:
count- Number of the resource instances in the list- Returns:
- The same instance of this
BcknddockerRegistrySecretStatusResponseclass
-
getCount
Number of the resource instances in the list- Returns:
- count The count of this
BcknddockerRegistrySecretStatusResponseinstance.
-
setCount
Set the count of thisBcknddockerRegistrySecretStatusResponseinstance.- Parameters:
count- Number of the resource instances in the list
-
resources
@Nonnull public BcknddockerRegistrySecretStatusResponse resources(@Nonnull List<BcknddockerRegistrySecretStatus> resources) Set the resources of thisBcknddockerRegistrySecretStatusResponseinstance and return the same instance.- Parameters:
resources- The resources of thisBcknddockerRegistrySecretStatusResponse- Returns:
- The same instance of this
BcknddockerRegistrySecretStatusResponseclass
-
addResourcesItem
@Nonnull public BcknddockerRegistrySecretStatusResponse addResourcesItem(@Nonnull BcknddockerRegistrySecretStatus resourcesItem) Add one resources instance to thisBcknddockerRegistrySecretStatusResponse.- Parameters:
resourcesItem- The resources that should be added- Returns:
- The same instance of type
BcknddockerRegistrySecretStatusResponse
-
getResources
Get resources- Returns:
- resources The resources of this
BcknddockerRegistrySecretStatusResponseinstance.
-
setResources
Set the resources of thisBcknddockerRegistrySecretStatusResponseinstance.- Parameters:
resources- The resources of thisBcknddockerRegistrySecretStatusResponse
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBcknddockerRegistrySecretStatusResponse.- 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 thisBcknddockerRegistrySecretStatusResponseinstance.- 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 thisBcknddockerRegistrySecretStatusResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBcknddockerRegistrySecretStatusResponseinstance. 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 newBcknddockerRegistrySecretStatusResponseinstance with all required arguments.
-
toMap()instead.