@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") @Beta public class ElementValues extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ElementValues.TypeEnum
Value help type of the Element - User defined Static Value list (U), External OData Value Service(O)
|
Constructor and Description |
---|
ElementValues() |
Modifier and Type | Method and Description |
---|---|
ElementValues |
addEnumerationItem(ElementValuesEnumeration enumerationItem)
Add one Enumeration instance to this
ElementValues . |
ElementValues |
enumeration(List<ElementValuesEnumeration> enumeration)
Set the enumeration of this
ElementValues instance and return the same instance. |
boolean |
equals(Object o) |
ElementValues |
fields(ElementValuesFields fields)
Set the fields of this
ElementValues instance and return the same instance. |
List<ElementValuesEnumeration> |
getEnumeration()
List of static value enumerations.
|
ElementValuesFields |
getFields()
Get fields
|
ElementValues.TypeEnum |
getType()
Value help type of the Element - User defined Static Value list (U), External OData Value Service(O)
|
String |
getUrl()
Relative Service URL to value list on external system.
|
int |
hashCode() |
void |
setEnumeration(List<ElementValuesEnumeration> enumeration)
Set the enumeration of this
ElementValues instance. |
void |
setFields(ElementValuesFields fields)
Set the fields of this
ElementValues instance. |
void |
setType(ElementValues.TypeEnum type)
Set the type of this
ElementValues instance. |
void |
setUrl(String url)
Set the url of this
ElementValues instance. |
String |
toString() |
ElementValues |
type(ElementValues.TypeEnum type)
Set the type of this
ElementValues instance and return the same instance. |
ElementValues |
url(String url)
Set the url of this
ElementValues instance and return the same instance. |
@Nonnull public ElementValues type(@Nonnull ElementValues.TypeEnum type)
ElementValues
instance and return the same instance.type
- Value help type of the Element - User defined Static Value list (U), External OData Value Service(O)ElementValues
class@Nonnull public ElementValues.TypeEnum getType()
ElementValues
instance.public void setType(@Nonnull ElementValues.TypeEnum type)
ElementValues
instance.type
- Value help type of the Element - User defined Static Value list (U), External OData Value Service(O)@Nonnull public ElementValues url(@Nonnull String url)
ElementValues
instance and return the same instance.url
- Relative Service URL to value list on external system. Relevant for value help type O. If the value
help has to be fetched from https://\\<host>/sap/c4c/odata/v1/c4codata/AccountABCClassification,
a managed system must be created with destination having the url https://\\<host> and the
relative service url must be set as /sap/c4c/odata/v1/c4codata/AccountABCClassificationElementValues
class@Nonnull public String getUrl()
ElementValues
instance.public void setUrl(@Nonnull String url)
ElementValues
instance.url
- Relative Service URL to value list on external system. Relevant for value help type O. If the value
help has to be fetched from https://\\<host>/sap/c4c/odata/v1/c4codata/AccountABCClassification,
a managed system must be created with destination having the url https://\\<host> and the
relative service url must be set as /sap/c4c/odata/v1/c4codata/AccountABCClassification@Nonnull public ElementValues fields(@Nonnull ElementValuesFields fields)
ElementValues
instance and return the same instance.fields
- The fields of this ElementValues
ElementValues
class@Nonnull public ElementValuesFields getFields()
ElementValues
instance.public void setFields(@Nonnull ElementValuesFields fields)
ElementValues
instance.fields
- The fields of this ElementValues
@Nonnull public ElementValues enumeration(@Nonnull List<ElementValuesEnumeration> enumeration)
ElementValues
instance and return the same instance.enumeration
- List of static value enumerations. Relevant for value help type 'U'ElementValues
class@Nonnull public ElementValues addEnumerationItem(@Nonnull ElementValuesEnumeration enumerationItem)
ElementValues
.enumerationItem
- The Enumeration that should be addedElementValues
@Nonnull public List<ElementValuesEnumeration> getEnumeration()
ElementValues
instance.public void setEnumeration(@Nonnull List<ElementValuesEnumeration> enumeration)
ElementValues
instance.enumeration
- List of static value enumerations. Relevant for value help type 'U'Copyright © 2021 SAP SE. All rights reserved.