public ApiResponse<V1Endpoints> readNamespacedEndpointsWithHttpInfo(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException {
        com.squareup.okhttp.Call call = readNamespacedEndpointsValidateBeforeCall(name, namespace, pretty, exact, export, null, null);
        Type localVarReturnType = new TypeToken<V1Endpoints>(){}.getType();
        return apiClient.execute(call, localVarReturnType);
    }
public ApiResponse < V1Endpoints > readNamespacedEndpointsWithHttpInfo ( String name , String namespace , String pretty , Boolean exact , Boolean export ) throws ApiException { com . squareup . okhttp . Call call = readNamespacedEndpointsValidateBeforeCall ( name , namespace , pretty , exact , export , null , null ) ; Type localVarReturnType = new TypeToken < V1Endpoints > ( ) { } . getType ( ) ; return apiClient . execute ( call , localVarReturnType ) ; }
read the specified Endpoints
@param name name of the Endpoints (required)
@param namespace object name and auth scope, such as for teams and projects (required)
@param pretty If &#39;true&#39;, then the output is pretty printed. (optional)
@param exact Should the export be exact.  Exact export maintains cluster-specific fields like &#39;Namespace&#39;. (optional)
@param export Should this value be exported.  Export strips fields that a user can not specify. (optional)
@return ApiResponse&lt;V1Endpoints&gt;
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body