// Path: src/main/java/io/pivio/view/app/overview/detail/ServiceIdShortName.java
// public class ServiceIdShortName {
// 
//     public Service service;
//     public String id;
//     public String short_name;
// 
//     public ServiceIdShortName() {
//     }
// 
//     public ServiceIdShortName(Service service, String id, String short_name) {
//         this.service = service;
//         this.id = id;
//         this.short_name = short_name;
//     }
// 
//     public boolean hasDependencies() {
//         return service != null && service.depends_on != null;
//     }
// 
//     @Override
//     public String toString() {
//         return "ServiceIdShortName{" +
//                 "service=" + service +
//                 ", id='" + id + '\'' +
//                 ", short_name='" + short_name + '\'' +
//                 '}';
//     }
// }
// 
// Path: src/main/java/io/pivio/view/app/overview/detail/serverresponse/Internal.java
// @JsonIgnoreProperties(ignoreUnknown = true)
// public class Internal {
// 
//     public String service_name = "";
//     public String short_name = "";
//     public String port = "";
//     public String why = "";
//     public String label = "";
// 
// }
// 
// Path: src/main/java/io/pivio/view/app/overview/detail/serverresponse/Provides.java
// @JsonIgnoreProperties(ignoreUnknown = true)
// public class Provides {
// 
//     public String description;
//     public String service_name;
//     public String protocol;
//     public String port;
//     public String transport_protocol;
//     public List<String> public_dns = new ArrayList<>();
// }


import io.pivio.view.app.overview.detail.ServiceIdShortName;
import io.pivio.view.app.overview.detail.serverresponse.Internal;
import io.pivio.view.app.overview.detail.serverresponse.Provides;
import java.util.ArrayList;
import java.util.List;
package io.pivio.view.app.overview.detail.view;



public class ProvidesModel {

    public String description;
    public String service_name;
    public String protocol;
    public String port;
    public String transport_protocol;
    public List<String> public_dns = new ArrayList<>();
    public List<DependentServiceViewModel> dependentServices = new ArrayList<>();

    public ProvidesModel(Provides provides) {
        this.description = provides.description;
// Path: src/main/java/io/pivio/view/app/overview/detail/ServiceIdShortName.java
// public class ServiceIdShortName {
// 
//     public Service service;
//     public String id;
//     public String short_name;
// 
//     public ServiceIdShortName() {
//     }
// 
//     public ServiceIdShortName(Service service, String id, String short_name) {
//         this.service = service;
//         this.id = id;
//         this.short_name = short_name;
//     }
// 
//     public boolean hasDependencies() {
//         return service != null && service.depends_on != null;
//     }
// 
//     @Override
//     public String toString() {
//         return "ServiceIdShortName{" +
//                 "service=" + service +
//                 ", id='" + id + '\'' +
//                 ", short_name='" + short_name + '\'' +
//                 '}';
//     }
// }
// 
// Path: src/main/java/io/pivio/view/app/overview/detail/serverresponse/Internal.java
// @JsonIgnoreProperties(ignoreUnknown = true)
// public class Internal {
// 
//     public String service_name = "";
//     public String short_name = "";
//     public String port = "";
//     public String why = "";
//     public String label = "";
// 
// }
// 
// Path: src/main/java/io/pivio/view/app/overview/detail/serverresponse/Provides.java
// @JsonIgnoreProperties(ignoreUnknown = true)
// public class Provides {
// 
//     public String description;
//     public String service_name;
//     public String protocol;
//     public String port;
//     public String transport_protocol;
//     public List<String> public_dns = new ArrayList<>();
// }


// Path: src/main/java/io/pivio/view/app/overview/detail/view/ProvidesModel.java
import io.pivio.view.app.overview.detail.ServiceIdShortName;
import io.pivio.view.app.overview.detail.serverresponse.Internal;
import io.pivio.view.app.overview.detail.serverresponse.Provides;
import java.util.ArrayList;
import java.util.List;

package io.pivio.view.app.overview.detail.view;



public class ProvidesModel {

    public String description;
    public String service_name;
    public String protocol;
    public String port;
    public String transport_protocol;
    public List<String> public_dns = new ArrayList<>();
    public List<DependentServiceViewModel> dependentServices = new ArrayList<>();

    public ProvidesModel(Provides provides) {
        this.description = provides.description;
        this.service_name = provides.service_name;