36 lines
955 B
Plaintext
36 lines
955 B
Plaintext
/**
|
|
* Auto-generated from apibuilder.io service spec.
|
|
* apidoc-version : {{service.apidoc.version}}
|
|
* organisation : {{service.organization.key}}
|
|
* service-version : {{service.version}}
|
|
*
|
|
* Documentation at:
|
|
* <a href="https://app.apibuilder.io/{{service.organization.key}}/{{service.name}}/{{service.version}}">https://app.apibuilder.io/{{service.organization.key}}/{{service.name}}/{{service.version}}</a>
|
|
*
|
|
**/
|
|
package {{package}}.client;
|
|
|
|
import lombok.*;
|
|
|
|
import {{namespace}}.client.*;
|
|
|
|
/**
|
|
* Client Lib for {{namespace}}.{{name}} API service spec.
|
|
*
|
|
* {{description}}
|
|
**/
|
|
public class {{pascalcase}}ServiceClient {
|
|
|
|
private final {{configName}} config;
|
|
|
|
public {{pascalcase}}ServiceClient(@NonNull final {{configName}} config) {
|
|
this.config = config;
|
|
}
|
|
|
|
{{#resources}}
|
|
public {{name}} {{plural}}() {
|
|
return new {{name}}(this.config);
|
|
}
|
|
{{/resources}}
|
|
|
|
} |