2 * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.restconf.openapi.model;
10 import com.fasterxml.jackson.annotation.JsonInclude;
11 import com.fasterxml.jackson.annotation.JsonInclude.Include;
12 import com.fasterxml.jackson.databind.node.ObjectNode;
14 @JsonInclude(Include.NON_NULL)
15 public class Components {
16 private ObjectNode schemas;
17 private SecuritySchemes securitySchemes;
19 public Components(ObjectNode schemas, SecuritySchemes securitySchemes) {
20 this.schemas = schemas;
21 this.securitySchemes = securitySchemes;
24 public ObjectNode getSchemas() {
28 public void setSchemas(ObjectNode schemas) {
29 this.schemas = schemas;
32 public SecuritySchemes getSecuritySchemes() {
33 return securitySchemes;
36 public void setSecuritySchemes(SecuritySchemes securitySchemes) {
37 this.securitySchemes = securitySchemes;