com.cloudesire.platform.apiclient.api.CountryCodeApi Maven / Gradle / Ivy
The newest version!
package com.cloudesire.platform.apiclient.api;
import com.cloudesire.platform.apiclient.dto.model.dto.CountryCodeDTO;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import java.util.List;
import static com.cloudesire.platform.apiclient.dto.model.constants.Parameters.LANGUAGE;
public interface CountryCodeApi
{
@GET( "countryCodes" )
Call> getAll( @Query( LANGUAGE ) String language );
@GET( "countryCodes" )
Call get( @Query( "country" ) String country );
}