Gets the resource.

@param operation
the operation
@return the resource
@throws ServiceException
the service exception
978684
private Builder getResource(EntityOperation operation)
            throws ServiceException {
        return getResource(operation.getUri()).type(operation.getContentType())
                .accept(operation.getAcceptType());
    }
388035
public static ModelNode createOperation(final String operation) {
        final ModelNode op = new ModelNode();
        op.get(OP).set(operation);
        op.get(OP_ADDR).setEmptyList();
        return op;
    }
769918
public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
        try {
            if (com.google.api.ads.admanager.axis.v201902.OrderServiceInterface.class.isAssignableFrom(serviceEndpointInterface)) {
                com.google.api.ads.admanager.axis.v201902.OrderServiceSoapBindingStub _stub = new com.google.api.ads.admanager.axis.v201902.OrderServiceSoapBindingStub(new java.net.URL(OrderServiceInterfacePort_address), this);
                _stub.setPortName(getOrderServiceInterfacePortWSDDServiceName());
                return _stub;
            }
        }
        catch (java.lang.Throwable t) {
            throw new javax.xml.rpc.ServiceException(t);
        }
        throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface:  " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
    }
345292
@Override
    public Service getService(URI serviceUri) throws ServiceException {
        if (serviceUri == null || !serviceUri.isAbsolute()) {
            log.warn("The Service URI is either absent or relative. Provide an absolute URI");
            return null;
        }

        OntModel model = null;
        try {
            model = this.graphStoreManager.getGraph(URIUtil.getNameSpace(serviceUri));
        } catch (URISyntaxException e) {
            log.error("The namespace of the service is not a correct URI", e);
            return null;
        }

        // Parse the service. There should only be one in the response
        ServiceReaderImpl reader = new ServiceReaderImpl();
        List<Service> services = reader.parseService(model);
        if (services != null && !services.isEmpty()) {
            return services.get(0);
        }

        return null;
    }
147327
public static systementitytype get(nitro_service service) throws Exception{
		systementitytype obj = new systementitytype();
		systementitytype[] response = (systementitytype[])obj.get_resources(service);
		return response[0];
	}
919163
def _get_operation_http(self):
        
        path = "operations/%s" % (self.name,)
        api_response = self.client._connection.api_request(method="GET", path=path)
        return json_format.ParseDict(api_response, operations_pb2.Operation())
64313
public static server_service_binding[] get(nitro_service service, String name) throws Exception{
		server_service_binding obj = new server_service_binding();
		obj.set_name(name);
		server_service_binding response[] = (server_service_binding[]) obj.get_resources(service);
		return response;
	}
846579
@JsonGetter("operations")
	private List<String> getOperationsAsString() {
		if (operations == null) {
			return null;
		}
		
		List<String> operationValues = new ArrayList<>(operations.size());
		for (Operation operation : operations) {
			operationValues.add(operation.operation());
		}
		return operationValues;
	}
12499
private <T> T execute(Operation<T> operation) throws Exception {
    return execute(operation, null);
  }
1240066
public static transformaction[] get(nitro_service service) throws Exception{
		transformaction obj = new transformaction();
		transformaction[] response = (transformaction[])obj.get_resources(service);
		return response;
	}
314767
public static Map<Method, OperationId> getMethodMap(Class<?> serviceInterface) {
    if (!serviceInterface.isInterface()) {
      Map<Method, OperationId> operations = new HashMap<>();
      for (Class<?> iface : serviceInterface.getInterfaces()) {
        operations.putAll(findMethods(iface));
      }
      return operations;
    }
    return findMethods(serviceInterface);
  }
692678
public static <T> T getService(BundleContext bundleContext, Class<T> serviceClass) {
        T service = null;
        if (FrameworkState.isValid()) {
            ServiceReference<T> ref = bundleContext.getServiceReference(serviceClass);

            if (ref != null) {
                service = bundleContext.getService(ref);
            }
        }
        return service;
    }
811062
public ArrayList<OvhOperation> project_serviceName_operation_GET(String serviceName) throws IOException {
		String qPath = "/cloud/project/{serviceName}/operation";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t8);
	}
122935
protected base_resource[] get_resources(nitro_service service, options option) throws Exception
	{
		if (!service.isLogin())
			service.login();
		String response = _get(service, option);
		return get_nitro_response(service, response);
	}
924408
public Instance get(String serviceName) {
        if (serviceName == null) {
            return null;
        }
        return get(serviceName, Strategy.roundRobin());
    }
519004
public static <T> Collection<T> getServices(Class<T> serviceType) {
        return getServiceProvider().getServices(serviceType);
    }
1138374
public base_resource[] perform_operation(nitro_service service)  throws Exception
	{
		if (!service.isLogin() && !get_object_type().equals("login"))
			service.login();
		return post_request(service, null);
	}