Package io.voucherify.client.model
Class BusValRuleAssignment
java.lang.Object
io.voucherify.client.model.BusValRuleAssignment
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class BusValRuleAssignment
extends Object
Assignments of business validation rule
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the object represented by JSON.static enumThe validation status of the assignment -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_object(BusValRuleAssignment.ObjectEnum _object) addValidationOmittedRulesItem(String validationOmittedRulesItem) createdAt(OffsetDateTime createdAt) booleanstatic BusValRuleAssignmentCreate an instance of BusValRuleAssignment given an JSON stringTimestamp representing the date and time when the object was created.getId()The unique identifier for a assignmentThe type of the object represented by JSON.The unique identifier for a related objectThe type of related objectThe unique identifier for a ruleTimestamp representing the date and time when the object was last updated in ISO 8601 format.The list of omitted rulesThe validation status of the assignmentinthashCode()relatedObjectId(String relatedObjectId) relatedObjectType(String relatedObjectType) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidsetObject(BusValRuleAssignment.ObjectEnum _object) voidsetRelatedObjectId(String relatedObjectId) voidsetRelatedObjectType(String relatedObjectType) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidsetValidationOmittedRules(List<String> validationOmittedRules) voidsetValidationStatus(BusValRuleAssignment.ValidationStatusEnum validationStatus) toJson()Convert an instance of BusValRuleAssignment to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) validationOmittedRules(List<String> validationOmittedRules) validationStatus(BusValRuleAssignment.ValidationStatusEnum validationStatus)
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_RULE_ID
- See Also:
-
SERIALIZED_NAME_RELATED_OBJECT_ID
- See Also:
-
SERIALIZED_NAME_RELATED_OBJECT_TYPE
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_VALIDATION_STATUS
- See Also:
-
SERIALIZED_NAME_VALIDATION_OMITTED_RULES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
BusValRuleAssignment
public BusValRuleAssignment()
-
-
Method Details
-
id
-
getId
The unique identifier for a assignment- Returns:
- id
-
setId
-
ruleId
-
getRuleId
The unique identifier for a rule- Returns:
- ruleId
-
setRuleId
-
getRelatedObjectId
The unique identifier for a related object- Returns:
- relatedObjectId
-
setRelatedObjectId
-
getRelatedObjectType
The type of related object- Returns:
- relatedObjectType
-
setRelatedObjectType
-
createdAt
-
getCreatedAt
Timestamp representing the date and time when the object was created. The value is shown in the ISO 8601 format.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp representing the date and time when the object was last updated in ISO 8601 format.- Returns:
- updatedAt
-
setUpdatedAt
-
_object
-
getObject
The type of the object represented by JSON.- Returns:
- _object
-
setObject
-
validationStatus
public BusValRuleAssignment validationStatus(BusValRuleAssignment.ValidationStatusEnum validationStatus) -
getValidationStatus
The validation status of the assignment- Returns:
- validationStatus
-
setValidationStatus
-
validationOmittedRules
-
addValidationOmittedRulesItem
-
getValidationOmittedRules
The list of omitted rules- Returns:
- validationOmittedRules
-
setValidationOmittedRules
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of BusValRuleAssignment given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BusValRuleAssignment
- Throws:
IOException- if the JSON string is invalid with respect to BusValRuleAssignment
-
toJson
Convert an instance of BusValRuleAssignment to an JSON string- Returns:
- JSON string
-