package com.airlock.iam.plugin.configeditor.ui.flowviz;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

public final class FlowVisualizationState {
   private FlowVisualizationState.FlowOrientation orientation;

   @SuppressFBWarnings(justification = "generated code")
   public FlowVisualizationState.FlowOrientation getOrientation() {
      return this.orientation;
   }

   @SuppressFBWarnings(justification = "generated code")
   public void setOrientation(FlowVisualizationState.FlowOrientation orientation) {
      this.orientation = orientation;
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof FlowVisualizationState other)) {
         return false;
      } else {
         Object this$orientation = this.orientation;
         Object other$orientation = other.orientation;
         return this$orientation == null ? other$orientation == null : this$orientation.equals(other$orientation);
      }
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      Object $orientation = this.orientation;
      return result * 59 + ($orientation == null ? 43 : $orientation.hashCode());
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public String toString() {
      return "FlowVisualizationState(orientation=" + this.getOrientation() + ")";
   }

   @SuppressFBWarnings(justification = "generated code")
   public FlowVisualizationState(FlowVisualizationState.FlowOrientation orientation) {
      this.orientation = orientation;
   }

   public enum FlowOrientation {
      HORIZONTAL,
      VERTICAL;
   }
}
