@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") @Beta public class Ruleset extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Ruleset.PolicyEnum
Execution policy of the Ruleset.
|
Constructor and Description |
---|
Ruleset() |
Modifier and Type | Method and Description |
---|---|
Ruleset |
addAnnotationsItem(Object annotationsItem)
Add one Annotations instance to this
Ruleset . |
Ruleset |
addDescriptionItem(Object descriptionItem)
Add one Description instance to this
Ruleset . |
Ruleset |
addLabelItem(Object labelItem)
Add one Label instance to this
Ruleset . |
Ruleset |
addRuleItem(RulesetAllOfRule ruleItem)
Add one Rule instance to this
Ruleset . |
Ruleset |
annotations(List<Object> annotations)
Set the annotations of this
Ruleset instance and return the same instance. |
Ruleset |
changedBy(String changedBy)
Set the changedBy of this
Ruleset instance and return the same instance. |
Ruleset |
changedOn(OffsetDateTime changedOn)
Set the changedOn of this
Ruleset instance and return the same instance. |
Ruleset |
description(List<Object> description)
Set the description of this
Ruleset instance and return the same instance. |
boolean |
equals(Object o) |
List<Object> |
getAnnotations()
Annotations belonging to entity.
|
String |
getChangedBy()
The id of the user who performed the last update
|
OffsetDateTime |
getChangedOn()
The last updated time of the version
|
List<Object> |
getDescription()
Description of the entity
|
String |
getId()
ID of the entity(UUID)
|
List<Object> |
getLabel()
Label of the entity
|
String |
getName()
Name of the entity
|
Ruleset.PolicyEnum |
getPolicy()
Execution policy of the Ruleset.
|
Integer |
getPriority()
Priority of the Ruleset.
|
String |
getProject()
ID of the Project(UUID) that this entity belongs to
|
List<RulesetAllOfRule> |
getRule()
Get rule
|
RulesetAllOfRuleService |
getRuleService()
Get ruleService
|
RulesetAllOfVocabulary |
getVocabulary()
Get vocabulary
|
int |
hashCode() |
Ruleset |
id(String id)
Set the id of this
Ruleset instance and return the same instance. |
Ruleset |
label(List<Object> label)
Set the label of this
Ruleset instance and return the same instance. |
Ruleset |
name(String name)
Set the name of this
Ruleset instance and return the same instance. |
Ruleset |
policy(Ruleset.PolicyEnum policy)
Set the policy of this
Ruleset instance and return the same instance. |
Ruleset |
priority(Integer priority)
Set the priority of this
Ruleset instance and return the same instance. |
Ruleset |
project(String project)
Set the project of this
Ruleset instance and return the same instance. |
Ruleset |
rule(List<RulesetAllOfRule> rule)
Set the rule of this
Ruleset instance and return the same instance. |
Ruleset |
ruleService(RulesetAllOfRuleService ruleService)
Set the ruleService of this
Ruleset instance and return the same instance. |
void |
setAnnotations(List<Object> annotations)
Set the annotations of this
Ruleset instance. |
void |
setChangedBy(String changedBy)
Set the changedBy of this
Ruleset instance. |
void |
setChangedOn(OffsetDateTime changedOn)
Set the changedOn of this
Ruleset instance. |
void |
setDescription(List<Object> description)
Set the description of this
Ruleset instance. |
void |
setId(String id)
Set the id of this
Ruleset instance. |
void |
setLabel(List<Object> label)
Set the label of this
Ruleset instance. |
void |
setName(String name)
Set the name of this
Ruleset instance. |
void |
setPolicy(Ruleset.PolicyEnum policy)
Set the policy of this
Ruleset instance. |
void |
setPriority(Integer priority)
Set the priority of this
Ruleset instance. |
void |
setProject(String project)
Set the project of this
Ruleset instance. |
void |
setRule(List<RulesetAllOfRule> rule)
Set the rule of this
Ruleset instance. |
void |
setRuleService(RulesetAllOfRuleService ruleService)
Set the ruleService of this
Ruleset instance. |
void |
setVocabulary(RulesetAllOfVocabulary vocabulary)
Set the vocabulary of this
Ruleset instance. |
String |
toString() |
Ruleset |
vocabulary(RulesetAllOfVocabulary vocabulary)
Set the vocabulary of this
Ruleset instance and return the same instance. |
@Nonnull public Ruleset id(@Nonnull String id)
Ruleset
instance and return the same instance.id
- ID of the entity(UUID)Ruleset
class@Nonnull public String getId()
Ruleset
instance.public void setId(@Nonnull String id)
Ruleset
instance.id
- ID of the entity(UUID)@Nonnull public Ruleset project(@Nonnull String project)
Ruleset
instance and return the same instance.project
- ID of the Project(UUID) that this entity belongs toRuleset
class@Nonnull public String getProject()
Ruleset
instance.public void setProject(@Nonnull String project)
Ruleset
instance.project
- ID of the Project(UUID) that this entity belongs to@Nonnull public Ruleset name(@Nonnull String name)
Ruleset
instance and return the same instance.name
- Name of the entityRuleset
class@Nonnull public String getName()
Ruleset
instance.public void setName(@Nonnull String name)
Ruleset
instance.name
- Name of the entity@Nonnull public Ruleset description(@Nonnull List<Object> description)
Ruleset
instance and return the same instance.description
- Description of the entityRuleset
class@Nonnull public Ruleset addDescriptionItem(@Nonnull Object descriptionItem)
Ruleset
.descriptionItem
- The Description that should be addedRuleset
@Nonnull public List<Object> getDescription()
Ruleset
instance.public void setDescription(@Nonnull List<Object> description)
Ruleset
instance.description
- Description of the entity@Nonnull public Ruleset changedOn(@Nonnull OffsetDateTime changedOn)
Ruleset
instance and return the same instance.changedOn
- The last updated time of the versionRuleset
class@Nonnull public OffsetDateTime getChangedOn()
Ruleset
instance.public void setChangedOn(@Nonnull OffsetDateTime changedOn)
Ruleset
instance.changedOn
- The last updated time of the version@Nonnull public Ruleset changedBy(@Nonnull String changedBy)
Ruleset
instance and return the same instance.changedBy
- The id of the user who performed the last updateRuleset
class@Nonnull public String getChangedBy()
Ruleset
instance.public void setChangedBy(@Nonnull String changedBy)
Ruleset
instance.changedBy
- The id of the user who performed the last update@Nonnull public Ruleset label(@Nonnull List<Object> label)
Ruleset
instance and return the same instance.label
- Label of the entityRuleset
class@Nonnull public Ruleset addLabelItem(@Nonnull Object labelItem)
Ruleset
.labelItem
- The Label that should be addedRuleset
@Nonnull public List<Object> getLabel()
Ruleset
instance.public void setLabel(@Nonnull List<Object> label)
Ruleset
instance.label
- Label of the entity@Nonnull public Ruleset annotations(@Nonnull List<Object> annotations)
Ruleset
instance and return the same instance.annotations
- Annotations belonging to entity.Ruleset
class@Nonnull public Ruleset addAnnotationsItem(@Nonnull Object annotationsItem)
Ruleset
.annotationsItem
- The Annotations that should be addedRuleset
@Nonnull public List<Object> getAnnotations()
Ruleset
instance.public void setAnnotations(@Nonnull List<Object> annotations)
Ruleset
instance.annotations
- Annotations belonging to entity.@Nonnull public Ruleset ruleService(@Nonnull RulesetAllOfRuleService ruleService)
Ruleset
instance and return the same instance.@Nonnull public RulesetAllOfRuleService getRuleService()
Ruleset
instance.public void setRuleService(@Nonnull RulesetAllOfRuleService ruleService)
Ruleset
instance.ruleService
- The ruleService of this Ruleset
@Nonnull public Ruleset rule(@Nonnull List<RulesetAllOfRule> rule)
Ruleset
instance and return the same instance.@Nonnull public Ruleset addRuleItem(@Nonnull RulesetAllOfRule ruleItem)
Ruleset
.ruleItem
- The Rule that should be addedRuleset
@Nonnull public List<RulesetAllOfRule> getRule()
Ruleset
instance.public void setRule(@Nonnull List<RulesetAllOfRule> rule)
Ruleset
instance.rule
- The rule of this Ruleset
@Nonnull public Ruleset vocabulary(@Nonnull RulesetAllOfVocabulary vocabulary)
Ruleset
instance and return the same instance.@Nonnull public RulesetAllOfVocabulary getVocabulary()
Ruleset
instance.public void setVocabulary(@Nonnull RulesetAllOfVocabulary vocabulary)
Ruleset
instance.vocabulary
- The vocabulary of this Ruleset
@Nonnull public Ruleset priority(@Nonnull Integer priority)
Ruleset
instance and return the same instance.priority
- Priority of the Ruleset. The default value is 50.00 and influences the order of execution of Ruleset
in a RuleService. Lower values means higher priority Minimum: 1 Maximum: 99Ruleset
class@Nonnull public Integer getPriority()
Ruleset
instance.public void setPriority(@Nonnull Integer priority)
Ruleset
instance.priority
- Priority of the Ruleset. The default value is 50.00 and influences the order of execution of Ruleset
in a RuleService. Lower values means higher priority Minimum: 1 Maximum: 99@Nonnull public Ruleset policy(@Nonnull Ruleset.PolicyEnum policy)
Ruleset
instance and return the same instance.policy
- Execution policy of the Ruleset. Aggregation (A) or Orchestration (O)Ruleset
class@Nonnull public Ruleset.PolicyEnum getPolicy()
Ruleset
instance.public void setPolicy(@Nonnull Ruleset.PolicyEnum policy)
Ruleset
instance.policy
- Execution policy of the Ruleset. Aggregation (A) or Orchestration (O)Copyright © 2021 SAP SE. All rights reserved.