RessursSearchFilterDto.java
- package no.nav.nom.graphql.model;
- import java.util.StringJoiner;
- @javax.annotation.processing.Generated(
- value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
- date = "2025-01-10T14:34:08+0000"
- )
- public class RessursSearchFilterDto implements java.io.Serializable {
- private static final long serialVersionUID = 1L;
- @jakarta.validation.constraints.NotNull
- private SektorSelectionDto sektorSelection = SektorSelectionDto.ALLE;
- @jakarta.validation.constraints.NotNull
- private StatusSelectionDto statusSelection = StatusSelectionDto.ALLE;
- @jakarta.validation.constraints.NotNull
- private ResultLimitDto limit = ResultLimitDto.LIMIT_30;
- public RessursSearchFilterDto() {
- }
- public RessursSearchFilterDto(SektorSelectionDto sektorSelection, StatusSelectionDto statusSelection, ResultLimitDto limit) {
- this.sektorSelection = sektorSelection;
- this.statusSelection = statusSelection;
- this.limit = limit;
- }
- public SektorSelectionDto getSektorSelection() {
- return sektorSelection;
- }
- public void setSektorSelection(SektorSelectionDto sektorSelection) {
- this.sektorSelection = sektorSelection;
- }
- public StatusSelectionDto getStatusSelection() {
- return statusSelection;
- }
- public void setStatusSelection(StatusSelectionDto statusSelection) {
- this.statusSelection = statusSelection;
- }
- public ResultLimitDto getLimit() {
- return limit;
- }
- public void setLimit(ResultLimitDto limit) {
- this.limit = limit;
- }
- @Override
- public String toString() {
- StringJoiner joiner = new StringJoiner(", ", "{ ", " }");
- if (sektorSelection != null) {
- joiner.add("sektorSelection: " + sektorSelection);
- }
- if (statusSelection != null) {
- joiner.add("statusSelection: " + statusSelection);
- }
- if (limit != null) {
- joiner.add("limit: " + limit);
- }
- return joiner.toString();
- }
- public static RessursSearchFilterDto.Builder builder() {
- return new RessursSearchFilterDto.Builder();
- }
- @javax.annotation.processing.Generated(
- value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
- date = "2025-01-10T14:34:08+0000"
- )
- public static class Builder {
- private SektorSelectionDto sektorSelection = SektorSelectionDto.ALLE;
- private StatusSelectionDto statusSelection = StatusSelectionDto.ALLE;
- private ResultLimitDto limit = ResultLimitDto.LIMIT_30;
- public Builder() {
- }
- public Builder setSektorSelection(SektorSelectionDto sektorSelection) {
- this.sektorSelection = sektorSelection;
- return this;
- }
- public Builder setStatusSelection(StatusSelectionDto statusSelection) {
- this.statusSelection = statusSelection;
- return this;
- }
- public Builder setLimit(ResultLimitDto limit) {
- this.limit = limit;
- return this;
- }
- public RessursSearchFilterDto build() {
- return new RessursSearchFilterDto(sektorSelection, statusSelection, limit);
- }
- }
- }