@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") @Beta public class CustomAttribute extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CustomAttribute.TypeEnum
The type of the attribute.
|
Constructor and Description |
---|
CustomAttribute() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getId()
The ID of the attribute.
|
String |
getLabel()
The label which represents how the attribute should be presented to end users.
|
CustomAttribute.TypeEnum |
getType()
The type of the attribute.
|
String |
getValue()
The value of the attribute.
|
int |
hashCode() |
CustomAttribute |
id(String id)
Set the id of this
CustomAttribute instance and return the same instance. |
CustomAttribute |
label(String label)
Set the label of this
CustomAttribute instance and return the same instance. |
void |
setId(String id)
Set the id of this
CustomAttribute instance. |
void |
setLabel(String label)
Set the label of this
CustomAttribute instance. |
void |
setType(CustomAttribute.TypeEnum type)
Set the type of this
CustomAttribute instance. |
void |
setValue(String value)
Set the value of this
CustomAttribute instance. |
String |
toString() |
CustomAttribute |
type(CustomAttribute.TypeEnum type)
Set the type of this
CustomAttribute instance and return the same instance. |
CustomAttribute |
value(String value)
Set the value of this
CustomAttribute instance and return the same instance. |
@Nonnull public CustomAttribute id(@Nonnull String id)
CustomAttribute
instance and return the same instance.id
- The ID of the attribute.CustomAttribute
class@Nonnull public String getId()
CustomAttribute
instance.public void setId(@Nonnull String id)
CustomAttribute
instance.id
- The ID of the attribute.@Nonnull public CustomAttribute label(@Nonnull String label)
CustomAttribute
instance and return the same instance.label
- The label which represents how the attribute should be presented to end users.CustomAttribute
class@Nonnull public String getLabel()
CustomAttribute
instance.public void setLabel(@Nonnull String label)
CustomAttribute
instance.label
- The label which represents how the attribute should be presented to end users.@Nonnull public CustomAttribute value(@Nonnull String value)
CustomAttribute
instance and return the same instance.value
- The value of the attribute.CustomAttribute
class@Nonnull public String getValue()
CustomAttribute
instance.public void setValue(@Nonnull String value)
CustomAttribute
instance.value
- The value of the attribute.@Nonnull public CustomAttribute type(@Nonnull CustomAttribute.TypeEnum type)
CustomAttribute
instance and return the same instance.type
- The type of the attribute.CustomAttribute
class@Nonnull public CustomAttribute.TypeEnum getType()
CustomAttribute
instance.public void setType(@Nonnull CustomAttribute.TypeEnum type)
CustomAttribute
instance.type
- The type of the attribute.Copyright © 2020 SAP SE. All rights reserved.