/** * ============LICENSE_START======================================================= * org.onap.aai * ================================================================================ * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ============LICENSE_END========================================================= */ package org.onap.aai.rest.search; /*- * ============LICENSE_START======================================================= * org.onap.aai * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ============LICENSE_END========================================================= */ import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import com.beust.jcommander.internal.Maps; import com.fasterxml.jackson.annotation.JsonProperty; public class CustomQueryTestDTO { @JsonProperty("stored-query") private String storedQuery; @JsonProperty("vertices") private List> verticesDtos; @JsonProperty("edges") private List> edgesDtos; @JsonProperty("optional-properties") private Map queryOptionalProperties = Maps.newHashMap(); @JsonProperty("required-properties") private Map queryRequiredProperties = Maps.newHashMap(); @JsonProperty("expected-result") private ExpectedResultsDto expectedResultsDtos; public String getStoredQuery() { return storedQuery; } public void setStoredQuery(String storedQuery) { this.storedQuery = storedQuery; } public List> getVerticesDtos() { return verticesDtos; } public void setVerticesDtos(List> verticesDtos) { this.verticesDtos = verticesDtos; } public List> getEdgesDtos() { return edgesDtos; } public void setEdgesDtos(List> edgesDtos) { this.edgesDtos = edgesDtos; } public Map getQueryOptionalProperties() { return queryOptionalProperties; } public void setQueryOptionalProperties( Map queryOptionalProperties) { this.queryOptionalProperties = queryOptionalProperties; } public Map getQueryRequiredProperties() { return queryRequiredProperties; } public void setQueryRequiredProperties( Map queryRequiredProperties) { this.queryRequiredProperties = queryRequiredProperties; } public ExpectedResultsDto getExpectedResultsDtos() { return expectedResultsDtos; } public void setExpectedResultsDtos(ExpectedResultsDto expectedResultsDtos) { this.expectedResultsDtos = expectedResultsDtos; } }