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