Package com.sap.ai.sdk.core.model
Class TntTenantInfo
java.lang.Object
com.sap.ai.sdk.core.model.TntTenantInfo
TntTenantInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TntTenantInfo.Buildercreate()Create a type-safe, fluent-api builder object to construct a newTntTenantInfoinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theTntTenantInfo.Get servicePlanProvisioning status of the tenanttenant idinthashCode()servicePlan(String servicePlan) Set the servicePlan of thisTntTenantInfoinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisTntTenantInfoinstance.voidsetServicePlan(String servicePlan) Set the servicePlan of thisTntTenantInfoinstance.voidSet the status of thisTntTenantInfoinstance.voidsetTenantId(String tenantId) Set the tenantId of thisTntTenantInfoinstance.Set the status of thisTntTenantInfoinstance and return the same instance.Set the tenantId of thisTntTenantInfoinstance and return the same instance.toMap()Get the value of all properties of thisTntTenantInfoinstance including unrecognized properties.toString()
-
Constructor Details
-
TntTenantInfo
protected TntTenantInfo()Default constructor for TntTenantInfo.
-
-
Method Details
-
tenantId
Set the tenantId of thisTntTenantInfoinstance and return the same instance.- Parameters:
tenantId- tenant id- Returns:
- The same instance of this
TntTenantInfoclass
-
getTenantId
tenant id- Returns:
- tenantId The tenantId of this
TntTenantInfoinstance.
-
setTenantId
Set the tenantId of thisTntTenantInfoinstance.- Parameters:
tenantId- tenant id
-
servicePlan
Set the servicePlan of thisTntTenantInfoinstance and return the same instance.- Parameters:
servicePlan- The servicePlan of thisTntTenantInfo- Returns:
- The same instance of this
TntTenantInfoclass
-
getServicePlan
Get servicePlan- Returns:
- servicePlan The servicePlan of this
TntTenantInfoinstance.
-
setServicePlan
Set the servicePlan of thisTntTenantInfoinstance.- Parameters:
servicePlan- The servicePlan of thisTntTenantInfo
-
status
Set the status of thisTntTenantInfoinstance and return the same instance.- Parameters:
status- Provisioning status of the tenant- Returns:
- The same instance of this
TntTenantInfoclass
-
getStatus
Provisioning status of the tenant- Returns:
- status The status of this
TntTenantInfoinstance.
-
setStatus
Set the status of thisTntTenantInfoinstance.- Parameters:
status- Provisioning status of the tenant
-
getCustomFieldNames
Get the names of the unrecognizable properties of theTntTenantInfo.- 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 thisTntTenantInfoinstance.- 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 thisTntTenantInfoinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisTntTenantInfoinstance. 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 newTntTenantInfoinstance with all required arguments.
-
toMap()instead.