Skip to content

Commit

Permalink
fix: generated model classes don't have generic lombok Setter annotat…
Browse files Browse the repository at this point in the history
…ion (generated)

Add specific setAdditionalProperties setter method instead.

Signed-off-by: Marc Nuri <[email protected]>
  • Loading branch information
manusa committed Jul 2, 2024
1 parent 38ce38e commit c30a8ff
Show file tree
Hide file tree
Showing 3,868 changed files with 15,741 additions and 7,951 deletions.
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

0 comments on commit c30a8ff

Please sign in to comment.