
com.netflix.metacat.common.dto.CatalogMappingDto Maven / Gradle / Ivy
/*
* Copyright 2016 Netflix, Inc.
* 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.
*/
package com.netflix.metacat.common.dto;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* The name and type of a catalog.
*
*/
@ApiModel(description = "The name and type of a catalog")
@SuppressWarnings("unused")
@Data
@EqualsAndHashCode(callSuper = false)
public class CatalogMappingDto extends BaseDto {
private static final long serialVersionUID = -1223516438943164936L;
@ApiModelProperty(value = "The name of the catalog", required = true)
private String catalogName;
@ApiModelProperty(value = "The connector type of the catalog", required = true)
private String connectorName;
/**
* Default constructor.
*/
public CatalogMappingDto() {
}
/**
* Constructor.
* @param catalogName catalog name
* @param connectorName connector name
*/
public CatalogMappingDto(final String catalogName, final String connectorName) {
this.catalogName = catalogName;
this.connectorName = connectorName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy