// Path: src/main/java/org/nameapi/client/services/RestServicePort.java
// public abstract class RestServicePort {
// 
//     protected final RestHttpClient restApiClient;
//     protected final String servicePath;
// 
//     public RestServicePort(RestHttpClient restApiClient, String servicePath) {
//         this.restApiClient = restApiClient;
//         this.servicePath = servicePath;
//     }
// 
// }


import com.optimaize.anythingworks.client.rest.http.HeaderParams;
import com.optimaize.anythingworks.client.rest.http.QueryParams;
import com.optimaize.anythingworks.client.rest.http.RestHttpClient;
import com.optimaize.anythingworks.client.rest.http.RestHttpClientResponse;
import com.optimaize.anythingworks.common.rest.TypeRef;
import org.nameapi.client.services.RestServicePort;
import org.nameapi.ontology5.services.email.emailnameparser.EmailNameParserResult;
package org.nameapi.client.services.email.emailnameparser;


/**
 *
 */
class RestPort extends RestServicePort {

    private static final TypeRef returnType = new TypeRef<EmailNameParserResult>() {};

    public RestPort(RestHttpClient restApiClient, String servicePath) {
// Path: src/main/java/org/nameapi/client/services/RestServicePort.java
// public abstract class RestServicePort {
// 
//     protected final RestHttpClient restApiClient;
//     protected final String servicePath;
// 
//     public RestServicePort(RestHttpClient restApiClient, String servicePath) {
//         this.restApiClient = restApiClient;
//         this.servicePath = servicePath;
//     }
// 
// }


// Path: src/main/java/org/nameapi/client/services/email/emailnameparser/RestPort.java
import com.optimaize.anythingworks.client.rest.http.HeaderParams;
import com.optimaize.anythingworks.client.rest.http.QueryParams;
import com.optimaize.anythingworks.client.rest.http.RestHttpClient;
import com.optimaize.anythingworks.client.rest.http.RestHttpClientResponse;
import com.optimaize.anythingworks.common.rest.TypeRef;
import org.nameapi.client.services.RestServicePort;
import org.nameapi.ontology5.services.email.emailnameparser.EmailNameParserResult;

package org.nameapi.client.services.email.emailnameparser;


/**
 *
 */
class RestPort extends RestServicePort {

    private static final TypeRef returnType = new TypeRef<EmailNameParserResult>() {};

    public RestPort(RestHttpClient restApiClient, String servicePath) {
        super(restApiClient, servicePath);