16 package org.openkilda.messaging.command.system;
20 import com.fasterxml.jackson.annotation.JsonInclude;
21 import com.fasterxml.jackson.annotation.JsonInclude.Include;
22 import com.fasterxml.jackson.annotation.JsonProperty;
24 import lombok.Builder;
29 @JsonInclude(Include.NON_NULL)
32 @JsonProperty(
value =
"sync_rules")
33 private Boolean syncRulesEnabled;
35 @JsonProperty(
value =
"reflow_on_switch_activation")
36 private Boolean reflowOnSwitchActivationEnabled;
38 @JsonProperty(
"create_flow")
39 private Boolean createFlowEnabled;
41 @JsonProperty(
"update_flow")
42 private Boolean updateFlowEnabled;
44 @JsonProperty(
"delete_flow")
45 private Boolean deleteFlowEnabled;
47 @JsonProperty(
"push_flow")
48 private Boolean pushFlowEnabled;
50 @JsonProperty(
"unpush_flow")
51 private Boolean unpushFlowEnabled;
53 @JsonProperty(
value =
"child_correlation_id")
54 private String childCorrelationId;
57 @JsonProperty(
value =
"reflow_on_switch_activation") Boolean reflowOnSwitchActivationEnabled,
58 @JsonProperty(
"create_flow") Boolean createFlowEnabled,
59 @JsonProperty(
"update_flow") Boolean updateFlowEnabled,
60 @JsonProperty(
"delete_flow") Boolean deleteFlowEnabled,
61 @JsonProperty(
"push_flow") Boolean pushFlowEnabled,
62 @JsonProperty(
"unpush_flow") Boolean unpushFlowEnabled,
63 @JsonProperty(
value =
"child_correlation_id") String childCorrelationId) {
64 this.syncRulesEnabled = syncRulesEnabled;
65 this.reflowOnSwitchActivationEnabled = reflowOnSwitchActivationEnabled;
66 this.createFlowEnabled = createFlowEnabled;
67 this.updateFlowEnabled = updateFlowEnabled;
68 this.deleteFlowEnabled = deleteFlowEnabled;
69 this.pushFlowEnabled = pushFlowEnabled;
70 this.unpushFlowEnabled = unpushFlowEnabled;
71 this.childCorrelationId = childCorrelationId;
FeatureToggleRequest(@JsonProperty(value="sync_rules") Boolean syncRulesEnabled, @JsonProperty(value="reflow_on_switch_activation") Boolean reflowOnSwitchActivationEnabled, @JsonProperty("create_flow") Boolean createFlowEnabled, @JsonProperty("update_flow") Boolean updateFlowEnabled, @JsonProperty("delete_flow") Boolean deleteFlowEnabled, @JsonProperty("push_flow") Boolean pushFlowEnabled, @JsonProperty("unpush_flow") Boolean unpushFlowEnabled, @JsonProperty(value="child_correlation_id") String childCorrelationId)