Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: generated model classes don't have generic lombok Setter annotation #6102

Merged
merged 2 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand Down Expand Up @@ -178,7 +177,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -46,7 +45,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -171,4 +169,8 @@ public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -42,7 +41,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -139,4 +137,8 @@ public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -42,7 +41,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -139,4 +137,8 @@ public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -49,7 +48,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -237,4 +235,8 @@ public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -41,7 +40,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -125,4 +123,8 @@ public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -45,7 +44,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -146,4 +144,8 @@ public void setAdditionalProperty(java.lang.String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<java.lang.String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -45,7 +44,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -181,4 +179,8 @@ public void setAdditionalProperty(java.lang.String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<java.lang.String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -41,7 +40,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -129,4 +127,8 @@ public void setAdditionalProperty(java.lang.String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<java.lang.String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -41,7 +40,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -129,4 +127,8 @@ public void setAdditionalProperty(java.lang.String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<java.lang.String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -48,7 +47,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -190,4 +188,8 @@ public void setAdditionalProperty(java.lang.String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<java.lang.String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -41,7 +40,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -125,4 +123,8 @@ public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -40,7 +39,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -111,4 +109,8 @@ public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -43,7 +42,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -140,4 +138,8 @@ public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -52,7 +51,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -244,4 +242,8 @@ public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

Expand All @@ -42,7 +41,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Expand Down Expand Up @@ -126,4 +124,8 @@ public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Loading
Loading