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
Changes from 1 commit
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
  •  
  •  
  •  
Prev Previous commit
fix: generated model classes don't have generic lombok Setter annotat…
…ion (generated)

Add specific setAdditionalProperties setter method instead.

Signed-off-by: Marc Nuri <[email protected]>
manusa committed Jul 2, 2024

Verified

This commit was signed with the committer’s verified signature.
manusa Marc Nuri
commit c30a8ff453ece550cdf38105c31b33748c35d334
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
@@ -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;

@@ -178,7 +177,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
Original file line number Diff line number Diff line change
@@ -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;

@@ -46,7 +45,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -42,7 +41,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -42,7 +41,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -49,7 +48,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -41,7 +40,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -45,7 +44,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -45,7 +44,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -41,7 +40,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -41,7 +40,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -48,7 +47,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -41,7 +40,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -40,7 +39,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -43,7 +42,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -52,7 +51,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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
@@ -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;

@@ -42,7 +41,6 @@
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
@@ -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