@Test public void should_properly_deserialize_RuleActionDeletion() throws Exception { RuleCategoryActionDeletion actionDeletion = new RuleCategoryActionDeletion(); actionDeletion.setClassificationAudience(null); String actionDeletionAsString = new String(JsonHandler.fromPojoToBytes(actionDeletion)); assertThat(actionDeletionAsString).isEqualTo("{\n \"ClassificationAudience\" : \""+UNUSED_VALUE+"\"\n}"); }
public void setClassificationAudience(String unused) { this.classificationAudience = Optional.empty(); }
RuleCategoryActionDeletion { public void setClassificationAudience(String unused) { this.classificationAudience = Optional.empty(); } }
RuleCategoryActionDeletion { public void setClassificationAudience(String unused) { this.classificationAudience = Optional.empty(); }  }
RuleCategoryActionDeletion { public void setClassificationAudience(String unused) { this.classificationAudience = Optional.empty(); }  @JsonIgnore Optional<List<RuleAction>> getRules(); void setRules(List<RuleAction> rules); @JsonGetter @JsonProperty("Rules") List<RuleAction> getRulesForDeserializer(); @JsonIgnore Optional<String> getFinalAction(); void setFinalAction(String unused); @JsonGetter @JsonProperty("FinalAction") String getFinalActionForDeserializer(); @JsonIgnore Optional<String> getClassificationAudience(); void setClassificationAudience(String unused); @JsonGetter @JsonProperty("ClassificationAudience") String getClassificationAudienceForDeserializer(); @JsonIgnore Optional<String> getClassificationReassessingDate(); void setClassificationReassessingDate(String unused); @JsonGetter @JsonProperty("ClassificationReassessingDate") String getClassificationReassessingDateForDeserializer(); @JsonIgnore Optional<Boolean> getNeedReassessingAuthorization(); void setNeedReassessingAuthorization(Boolean unused); @JsonGetter @JsonProperty("NeedReassessingAuthorization") Boolean getNeedReassessingAuthorizationForDeserializer(); @JsonIgnore Optional<Boolean> getPreventInheritance(); void setPreventInheritance(Boolean unused); @JsonGetter @JsonProperty("PreventInheritance") Boolean getPreventInheritanceForDeserializer(); @JsonIgnore Optional<Set<String>> getPreventRulesId(); void setPreventRulesId(Set<String> unused); @JsonGetter @JsonProperty("PreventRulesId") Set<String> getPreventRulesIdForDeserializer(); @JsonIgnore boolean isEmpty(); }
RuleCategoryActionDeletion { public void setClassificationAudience(String unused) { this.classificationAudience = Optional.empty(); }  @JsonIgnore Optional<List<RuleAction>> getRules(); void setRules(List<RuleAction> rules); @JsonGetter @JsonProperty("Rules") List<RuleAction> getRulesForDeserializer(); @JsonIgnore Optional<String> getFinalAction(); void setFinalAction(String unused); @JsonGetter @JsonProperty("FinalAction") String getFinalActionForDeserializer(); @JsonIgnore Optional<String> getClassificationAudience(); void setClassificationAudience(String unused); @JsonGetter @JsonProperty("ClassificationAudience") String getClassificationAudienceForDeserializer(); @JsonIgnore Optional<String> getClassificationReassessingDate(); void setClassificationReassessingDate(String unused); @JsonGetter @JsonProperty("ClassificationReassessingDate") String getClassificationReassessingDateForDeserializer(); @JsonIgnore Optional<Boolean> getNeedReassessingAuthorization(); void setNeedReassessingAuthorization(Boolean unused); @JsonGetter @JsonProperty("NeedReassessingAuthorization") Boolean getNeedReassessingAuthorizationForDeserializer(); @JsonIgnore Optional<Boolean> getPreventInheritance(); void setPreventInheritance(Boolean unused); @JsonGetter @JsonProperty("PreventInheritance") Boolean getPreventInheritanceForDeserializer(); @JsonIgnore Optional<Set<String>> getPreventRulesId(); void setPreventRulesId(Set<String> unused); @JsonGetter @JsonProperty("PreventRulesId") Set<String> getPreventRulesIdForDeserializer(); @JsonIgnore boolean isEmpty();  }