RetrieveEmployeeRole
 Provides the details for a single employee role.
 @param role_id The role&#39;s ID.
 @param [Hash] opts the optional parameters
 @return [V1EmployeeRole]
963229
def retrieve_employee_role(role_id, opts = {})
      data, _status_code, _headers = retrieve_employee_role_with_http_info(role_id, opts)
      return data
    end
1139183
public OvhRole serviceName_role_roleName_GET(String serviceName, String roleName) throws IOException {
		String qPath = "/dbaas/queue/{serviceName}/role/{roleName}";
		StringBuilder sb = path(qPath, serviceName, roleName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhRole.class);
	}
1179660
def get_job(project_id, job_id, opts = {})
      data, _status_code, _headers = get_job_with_http_info(project_id, job_id, opts)
      return data
    end
1298788
def get_role(resource_root, service_name, name, cluster_name="default"):
  
  return _get_role(resource_root, _get_role_path(cluster_name, service_name, name))
366271
def retrieve_employee(id, opts = {})
      data, _status_code, _headers = retrieve_employee_with_http_info(id, opts)
      return data
    end
1349856
def role_show(self, role_id, **kwargs):
        ""
        api_path = "/api/v2/roles/{role_id}"
        api_path = api_path.format(role_id=role_id)
        return self.call(api_path, **kwargs)
1186420
static function fetch( $roleID, $version = 0 )
    {
        if ( $version != 0 )
        {
            return eZPersistentObject::fetchObject( eZRole::definition(),
                                                    null, array( 'version' => $version ), true );
        }
        return eZPersistentObject::fetchObject( eZRole::definition(),
                                                null, array('id' => $roleID ), true );
    }
33570
function getRole(elm) {
        elm = elm || focusedElement;

        if (isElement(elm)) {
          return elm.getAttribute('role');
        }

        return null;
      }
609628
def get(self, id):
        
        self.cur.execute("SELECT * FROM jobs WHERE hash=?", (id,))
        item = self.cur.fetchone()
        if item:
            return dict(zip(
                ("id", "description", "last-run", "next-run", "last-run-result"),
                item))

        return None
409582
def deleteRole(self, roleID):
        
        url = self._url + "/%s/delete" % roleID
        params = {
            "f" : "json"
        }
        return self._post(url=url,
                             param_dict=params,
                             proxy_url=self._proxy_url,
                             proxy_port=self._proxy_port)
221261
private String getRole(final WMenuItem item) {
		if (!item.isSelectAllowed()) {
			return null;
		}
		MenuSelectContainer selectContainer = WebUtilities.getAncestorOfClass(MenuSelectContainer.class, item);
		if (selectContainer == null) {
			return CHECKBOX_ROLE;
		}
		return MenuSelectContainer.SelectionMode.MULTIPLE.equals(selectContainer.getSelectionMode()) ? CHECKBOX_ROLE : RADIO_ROLE;
	}
364998
def role?(role_sym)
      role_sym = [role_sym] unless role_sym.is_a?(Array)

      roles.map { |r| r.name.underscore.to_sym }.any? { |user_role| role_sym.include?(user_role) }
    end
1051642
def get_district_admin(id, opts = {})
      data, _status_code, _headers = get_district_admin_with_http_info(id, opts)
      return data
    end
1025684
def user_got_role_event(user, role):
    
    msg = 'User ({}){} got new role [{}]'
    current_app.logger.info(msg.format(user.id, user.email, role.handle))
529109
def _get_role_description(self, role):
        

        parameter = 'role-' + role.lower()
        if self.configure.has_parameter(parameter):
            return self.configure.get_parameter(parameter)
        return None
1367104
def get_role_secret_id(self, role_name, secret_id, mount_point='approle'):
        
        url = '/v1/auth/{0}/role/{1}/secret-id/lookup'.format(mount_point, role_name)
        params = {
            'secret_id': secret_id
        }
        return self._adapter.post(url, json=params).json()
1090725
func (api *API) GetRole(role_id string) (*Role, error) {
	result := new(Role)
	url := createUrl(api, rolePathSegment, role_id)
	err := api.Client.Get(url, &result, http.StatusOK)
	if err != nil {
		return nil, err
	}
	result.api = api
	return result, nil
}