Get this object properties

REST: GET /hosting/web/{serviceName}/envVar/{key}
@param serviceName [required] The internal name of your hosting
@param key [required] Name of the variable
925
public OvhEnvVar serviceName_envVar_key_GET(String serviceName, String key) throws IOException {
		String qPath = "/hosting/web/{serviceName}/envVar/{key}";
		StringBuilder sb = path(qPath, serviceName, key);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhEnvVar.class);
	}
618577
public String env(String key, String defaultValue) {
        return blade().env(key, defaultValue);
    }
701557
def get(self, key):
    '''
    '''
    key = self._service_key(key)
    return self._service_ops['get'](key)
353398
public String get(String key) {
    if (properties.get(key) != null) {
      return properties.get(key);
    } else {
      return getConfigurationValue(key);
    }
  }
1129024
def valid_envs(self, service_name):
    
    service_record = self.service_record(service_name)
    if service_record is None:
      raise RuntimeError("service registry doesn't have service: {}".format(service_name))

    # Return empty list if service has no "environments" section
    if not (service_record.has_key("environments")):
      return []
    # Otherwise gather up the envs
    service_record_envs = service_record["environments"]
    result = []
    for service_env in service_record_envs:
      if service_env not in EFConfig.PROTECTED_ENVS and service_env in EFConfig.EPHEMERAL_ENVS:
        result.extend((lambda env=service_env: [env + str(x) for x in range(EFConfig.EPHEMERAL_ENVS[env])])())
      else:
        result.append(service_env)
    return result
751740
public function getKey($env, $key)
	{
		$map = $this->getMap($env);

		return isset($map[$key]) ? $map[$key] : null;
	}
264998
public static String getPropertyEnv(String key, Map<?,?> securityProps)
	{
		Object value = null;
		
		if(securityProps != null)
		{
			value = securityProps.get(key);
			if(value != null)
				return value.toString();			
		}
		
		 value = getPropertyEnv(key, "");
		 String text = value.toString();
		 if(text.length() == 0)
			 return null;
		 
		return text;
	}
668895
public String   build(ServiceInstance<?> serviceInstance, Map<String, Object> variables)
    {
        Map<String, Object>     localVariables = Maps.newHashMap();
        localVariables.put(FIELD_OPEN_BRACE, "{");
        localVariables.put(FIELD_CLOSE_BRACE, "}");
        localVariables.put(FIELD_SCHEME, "http");

        if ( serviceInstance != null )
        {
            localVariables.put(FIELD_NAME, nullCheck(serviceInstance.getName()));
            localVariables.put(FIELD_ID, nullCheck(serviceInstance.getId()));
            localVariables.put(FIELD_ADDRESS, nullCheck(serviceInstance.getAddress()));
            localVariables.put(FIELD_PORT, nullCheck(serviceInstance.getPort()));
            localVariables.put(FIELD_SSL_PORT, nullCheck(serviceInstance.getSslPort()));
            localVariables.put(FIELD_REGISTRATION_TIME_UTC, nullCheck(serviceInstance.getRegistrationTimeUTC()));
            localVariables.put(FIELD_SERVICE_TYPE, (serviceInstance.getServiceType() != null) ? serviceInstance.getServiceType().name().toLowerCase() : "");
            if ( serviceInstance.getSslPort() != null )
            {
                localVariables.put(FIELD_SCHEME, "https");
            }
        }

        localVariables.putAll(variables);

        StringBuilder       str = new StringBuilder();
        for ( Part p : parts )
        {
            if ( p.isVariable() )
            {
                Object value = localVariables.get(p.getValue());
                if ( value == null )
                {
                    log.debug("Variable not found: " + p.getValue());
                }
                else
                {
                    str.append(value);
                }
            }
            else
            {
                str.append(p.getValue());
            }
        }

        return str.toString();
    }
511219
def get_optional_env(key):
    
    environment_variable_value = os.environ.get(key)
    if environment_variable_value:
        return environment_variable_value
    elif key in CONSTANTS:
        return CONSTANTS[key]
    else:
        raise Exception("The variable {1} is not set".format(key))
1225749
public ArrayList<OvhRoleTypeEnum> serviceName_node_hostname_role_GET(String serviceName, String hostname) throws IOException {
		String qPath = "/cluster/hadoop/{serviceName}/node/{hostname}/role";
		StringBuilder sb = path(qPath, serviceName, hostname);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t2);
	}
181977
public OvhNode serviceName_node_hostname_GET(String serviceName, String hostname) throws IOException {
		String qPath = "/cluster/hadoop/{serviceName}/node/{hostname}";
		StringBuilder sb = path(qPath, serviceName, hostname);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhNode.class);
	}
562304
public String getResourceUrl(String bucketName, String key) {
        try {
            return getUrl(bucketName, key).toString();
        } catch ( Exception e ) {
            return null;
        }
    }
1010712
public ServiceInformation get(String key) {
        ServiceInformation info = null;
        long hash = algorithm.hash(key);
        //Find the first server with a hash key after this one
        final SortedMap<Long, ServiceInformation> tailMap = ring.tailMap(hash);
        //Wrap around to the beginning of the ring, if we went past the last one
        hash = tailMap.isEmpty() ? ring.firstKey() : tailMap.firstKey();
        info = ring.get(hash);
        return info;
    }
376033
public <T> T getService(String serviceName) {
    T service = findService(serviceName, true);
    if (service == null) {
      throw new IllegalArgumentException(format("No service found named \"%s\"", serviceName));
    }

    return service;
  }
678311
public String env(String key, String defaultValue) {
        return this.environment.get(key, defaultValue);
    }
924408
public Instance get(String serviceName) {
        if (serviceName == null) {
            return null;
        }
        return get(serviceName, Strategy.roundRobin());
    }
1213287
public static Map<String, String> getEnvironmentVariables(String envPrefix, org.apache.flink.configuration.Configuration flinkConfiguration) {
		Map<String, String> result  = new HashMap<>();
		for (Map.Entry<String, String> entry: flinkConfiguration.toMap().entrySet()) {
			if (entry.getKey().startsWith(envPrefix) && entry.getKey().length() > envPrefix.length()) {
				// remove prefix
				String key = entry.getKey().substring(envPrefix.length());
				result.put(key, entry.getValue());
			}
		}
		return result;
	}