Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.advantageous.qbit.meta.swagger.builders;
 
 
 public class LicenseBuilder {


    
Required. The license name used for the API.
    private String name;


    
Required. A URL to the license used for the API. MUST be in the format of a URL.
    private String url;
    public String getName() {
        return ;
    }
    public LicenseBuilder setName(String name) {
        this. = name;
        return this;
    }
    public String getUrl() {
        return ;
    }
    public LicenseBuilder setUrl(String url) {
        this. = url;
        return this;
    }
    public License build() {
        return new License(getName(), getUrl());
    }
New to GrepCode? Check out our FAQ X