mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 10:49:00 +00:00 
			
		
		
		
	 29832e5385
			
		
	
	
		29832e5385
		
			
		
	
	
	
	
		
			
			Co-authored-by: Harshal Sheth <harshal@acryl.io> Co-authored-by: Dexter Lee <dexter@acryl.io> Co-authored-by: Gabe Lyons <itsgabelyons@gmail.com>
		
			
				
	
	
		
			66 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
| package graphql;
 | |
| 
 | |
| 
 | |
| @javax.annotation.Generated(
 | |
|     value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
 | |
|     date = "2021-05-03T10:56:06-0700"
 | |
| )
 | |
| public class BarSegment implements java.io.Serializable {
 | |
| 
 | |
|     private String label;
 | |
|     private int value;
 | |
| 
 | |
|     public BarSegment() {
 | |
|     }
 | |
| 
 | |
|     public BarSegment(String label, int value) {
 | |
|         this.label = label;
 | |
|         this.value = value;
 | |
|     }
 | |
| 
 | |
|     public String getLabel() {
 | |
|         return label;
 | |
|     }
 | |
|     public void setLabel(String label) {
 | |
|         this.label = label;
 | |
|     }
 | |
| 
 | |
|     public int getValue() {
 | |
|         return value;
 | |
|     }
 | |
|     public void setValue(int value) {
 | |
|         this.value = value;
 | |
|     }
 | |
| 
 | |
| 
 | |
| 
 | |
|     public static BarSegment.Builder builder() {
 | |
|         return new BarSegment.Builder();
 | |
|     }
 | |
| 
 | |
|     public static class Builder {
 | |
| 
 | |
|         private String label;
 | |
|         private int value;
 | |
| 
 | |
|         public Builder() {
 | |
|         }
 | |
| 
 | |
|         public Builder setLabel(String label) {
 | |
|             this.label = label;
 | |
|             return this;
 | |
|         }
 | |
| 
 | |
|         public Builder setValue(int value) {
 | |
|             this.value = value;
 | |
|             return this;
 | |
|         }
 | |
| 
 | |
| 
 | |
|         public BarSegment build() {
 | |
|             return new BarSegment(label, value);
 | |
|         }
 | |
| 
 | |
|     }
 | |
| }
 |