JavaApiInfo.java 1.84 KB
package com.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

public class JavaApiInfo {
    private Integer serviceId;

    private Integer serviceType;

    private String apiName;

    private String apiUrl;

    private String apiData;

    private Integer apiToggle;

    private Integer apiReqMethod;

    private  Integer apiWarnTrigger;

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public Integer getServiceType() {
        return serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }

    public String getApiName() {
        return apiName;
    }

    public void setApiName(String apiName) {
        this.apiName = apiName == null ? null : apiName.trim();
    }

    public String getApiUrl() {
        return apiUrl;
    }

    public void setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl == null ? null : apiUrl.trim();
    }

    public String getApiData() {
        return apiData;
    }

    public void setApiData(String apiData) {
        this.apiData = apiData == null ? null : apiData.trim();
    }

    public Integer getApiToggle() {
        return apiToggle;
    }

    public void setApiToggle(Integer apiToggle) {
        this.apiToggle = apiToggle;
    }

    public Integer getApiReqMethod() {
        return apiReqMethod;
    }

    public void setApiReqMethod(Integer apiReqMethod) {
        this.apiReqMethod = apiReqMethod;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }

    public Integer getApiWarnTrigger() {
        return apiWarnTrigger;
    }

    public void setApiWarnTrigger(Integer apiWarnTrigger) {
        this.apiWarnTrigger = apiWarnTrigger;
    }
}