Get this object properties

REST: GET /dedicatedCloud/{serviceName}/user/{userId}/objectRight/{objectRightId}
@param serviceName [required] Domain of the service
@param userId [required]
@param objectRightId [required]
513896
public OvhObjectRight serviceName_user_userId_objectRight_objectRightId_GET(String serviceName, Long userId, Long objectRightId) throws IOException {
		String qPath = "/dedicatedCloud/{serviceName}/user/{userId}/objectRight/{objectRightId}";
		StringBuilder sb = path(qPath, serviceName, userId, objectRightId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhObjectRight.class);
	}
1372554
@SuppressWarnings("unchecked")
    public String getUserEmail(String userId) {
        if (userId == null) {
            return null;
        }
        // map userId to email
        // NOTE: this gets convoluted if they use OAuth logins because the email
        // field is in the service!
        Map<String, Object> user = getDocument("users", userId); 
        String email = userId;
        if (user != null) {
            ArrayList<Map<String, String>> emails = (ArrayList<Map<String, String>>) user
                    .get("emails");
            if ((emails != null) && (emails.size() > 0)) {
                // get first email address
                Map<String, String> emailFields = emails.get(0);
                email = emailFields.get("address");
            }
        }
        return email;
    }
226656
public OvhOvhId serviceName_vendor_ovhId_POST(String serviceName, OvhVendorObjectTypeEnum objectType, String vendorId) throws IOException {
		String qPath = "/dedicatedCloud/{serviceName}/vendor/ovhId";
		StringBuilder sb = path(qPath, serviceName);
		HashMap<String, Object>o = new HashMap<String, Object>();
		addBody(o, "objectType", objectType);
		addBody(o, "vendorId", vendorId);
		String resp = exec(qPath, "POST", sb.toString(), o);
		return convertTo(resp, OvhOvhId.class);
	}
942367
@Override
    @Path("/{ownerType}/{ownerId}")
    @ApiOperation(value="Retrieve attributes for an ownerType and ownerId",
        notes="Response is a generic JSON object with names/values.")
    public JSONObject get(String path, Map<String,String> headers) throws ServiceException, JSONException {
        Map<String,String> parameters = getParameters(headers);
        String ownerType = getSegment(path, 1);
        if (ownerType == null) // fall back to parameter
            ownerType = parameters.get("ownerType");
        if (ownerType == null)
            throw new ServiceException("Missing path segment: {ownerType}");
        String ownerId = getSegment(path, 2);
        if (ownerId == null) // fall back to parameter
            ownerId = parameters.get("ownerId");
        if (ownerId == null)
            throw new ServiceException("Missing path segment: {ownerId}");

        try {
            Map<String,String> attrs = ServiceLocator.getWorkflowServices().getAttributes(ownerType, Long.parseLong(ownerId));
            JSONObject attrsJson = new JsonObject();
            for (String name : attrs.keySet())
                attrsJson.put(name, attrs.get(name));
            return attrsJson;
        }
        catch (Exception ex) {
            throw new ServiceException("Error loading attributes for " + ownerType + ": " + ownerId, ex);
        }
    }
792523
public OvhRclone project_serviceName_user_userId_rclone_GET(String serviceName, Long userId, String region) throws IOException {
		String qPath = "/cloud/project/{serviceName}/user/{userId}/rclone";
		StringBuilder sb = path(qPath, serviceName, userId);
		query(sb, "region", region);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhRclone.class);
	}
970971
private UserRegistryService getUserRegistryService(String id) {
        UserRegistryService service = userRegistry.getService(id);
        if (service == null) {
            throwIllegalArgumentExceptionInvalidAttributeValue(SecurityConfiguration.CFG_KEY_USERREGISTRY_REF, id);
        }
        return service;
    }
375385
def service_get(auth=None, **kwargs):
    '''
    
    '''
    cloud = get_operator_cloud(auth)
    kwargs = _clean_kwargs(**kwargs)
    return cloud.get_service(**kwargs)
539534
public OvhHost serviceName_datacenter_datacenterId_host_hostId_GET(String serviceName, Long datacenterId, Long hostId) throws IOException {
		String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/host/{hostId}";
		StringBuilder sb = path(qPath, serviceName, datacenterId, hostId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhHost.class);
	}
606809
public <S> S getServiceValue(ObjectName name) {
    PlatformService<S> service = getService(name);
    if(service != null) {
      return service.getValue();
    }
    else {
      return null;
    }
  }
634846
public OvhIpmiAccessValue serviceName_features_ipmi_access_GET(String serviceName, OvhIpmiAccessTypeEnum type) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/features/ipmi/access";
		StringBuilder sb = path(qPath, serviceName);
		query(sb, "type", type);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhIpmiAccessValue.class);
	}
712847
function getOptions(serviceRegistry, serviceID) {
		var options = Object.create(null);
		getReferences(serviceRegistry, serviceID).forEach(function(serviceRef) {
			serviceRef.getPropertyKeys().forEach(function(key) {
				if (key !== "service.id" && key !== "service.names" && key !== "objectClass") //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
					options[key] = serviceRef.getProperty(key);
			});
		});
		return options;
	}
114608
public OvhAttachedDomain serviceName_attachedDomain_domain_GET(String serviceName, String domain) throws IOException {
		String qPath = "/hosting/web/{serviceName}/attachedDomain/{domain}";
		StringBuilder sb = path(qPath, serviceName, domain);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhAttachedDomain.class);
	}
117516
public OvhPermissions serviceName_namespaces_namespaceId_permissions_permissionId_GET(String serviceName, String namespaceId, String permissionId) throws IOException {
		String qPath = "/caas/registry/{serviceName}/namespaces/{namespaceId}/permissions/{permissionId}";
		StringBuilder sb = path(qPath, serviceName, namespaceId, permissionId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhPermissions.class);
	}
971998
public OvhVMEncryptionAccessNetwork serviceName_vmEncryption_kms_kmsId_GET(String serviceName, Long kmsId) throws IOException {
		String qPath = "/dedicatedCloud/{serviceName}/vmEncryption/kms/{kmsId}";
		StringBuilder sb = path(qPath, serviceName, kmsId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhVMEncryptionAccessNetwork.class);
	}
571530
public OvhService serviceId_GET(Long serviceId) throws IOException {
		String qPath = "/service/{serviceId}";
		StringBuilder sb = path(qPath, serviceId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhService.class);
	}
1052154
public OvhMember serviceName_role_roleId_member_username_GET(String serviceName, String roleId, String username) throws IOException {
		String qPath = "/dbaas/logs/{serviceName}/role/{roleId}/member/{username}";
		StringBuilder sb = path(qPath, serviceName, roleId, username);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhMember.class);
	}
670405
public Boolean serviceName_orderable_feature_GET(String serviceName, OvhOrderableSysFeatureEnum feature) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/orderable/feature";
		StringBuilder sb = path(qPath, serviceName);
		query(sb, "feature", feature);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, Boolean.class);
	}