query
stringlengths
7
9.55k
document
stringlengths
10
363k
metadata
dict
negatives
listlengths
0
101
negative_scores
listlengths
0
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
All pending donations to the artist.
def pending donations.where("donations.status = 'pending' AND created_at < ?", Donation.revoke_time) end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def reminder\n send_reminders self.charges.where(:completed => false)\n end", "def donated\n\t\tdonations.where(\"status != 'returned' AND status != 'failed' AND status != 'revoked'\")\n\tend", "def donated\n\t\tdonations.where(\"status != 'returned' AND status != 'failed' AND status != 'revoked'\")\n\tend...
[ "0.60566956", "0.6032234", "0.6032234", "0.5849296", "0.5748424", "0.5733049", "0.5640135", "0.5596199", "0.5583756", "0.55705535", "0.556558", "0.556558", "0.556558", "0.556558", "0.556558", "0.5499329", "0.5477442", "0.5472697", "0.5469624", "0.54487514", "0.5412253", "0....
0.65946424
0
The amount that has been donated to the artist but not yet processed.
def pending_sum pending.sum("amount * (artist_percentage / 100)").to_f.round(2) end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def donated_sum\n\t\tdonated.sum(\"amount * (artist_percentage / 100)\").to_f.round(2)\n\tend", "def donated_amount\n self.fees.purchased.sum(:amount).to_f\n end", "def total_debt\n self.amount\n end", "def disbursed_amount\n amount = 0\n loans.each do |project|\n amount += project.disburs...
[ "0.74675727", "0.700145", "0.68047774", "0.6804058", "0.67716324", "0.6767502", "0.67665434", "0.674774", "0.66337967", "0.6512867", "0.6506822", "0.6503481", "0.64576125", "0.6452579", "0.6440765", "0.6439412", "0.6413347", "0.6403028", "0.63944554", "0.63895154", "0.6380536...
0.66058135
9
Whether or not it's not possible to send any donations to the artist.
def undonatable unknown? || donatable_status.to_s == "" end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def do_not_send?\n !self.do_not_send.blank?\n end", "def donor_can_cancel?\n !received?\n end", "def can_send?\n !sent?\n end", "def representative_email_sent_flag\n should_send_email = updates_requiring_email? ||\n representative_email.present? ||\n ...
[ "0.7064202", "0.6982768", "0.6574784", "0.65276194", "0.64454305", "0.64385825", "0.6411323", "0.637151", "0.6357253", "0.63540083", "0.63539726", "0.6349277", "0.6309697", "0.6285375", "0.6272284", "0.62600815", "0.6224263", "0.61965203", "0.6186969", "0.61859107", "0.616150...
0.5776761
98
Paginates the songs of the artist. Should be called before paginated_songs is called. artist.paginate_songs(10, 30) songs = artist.paginated_songs songs will now hold the songs 3039 (starting from 0)
def paginate_songs(limit, offset) @paginated_songs = Array.new songs.limit(limit).offset(offset).each do |song| @paginated_songs << song end end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def paginated_songs\n\t\treturn @paginated_songs\n\tend", "def index\r\n @songs = Song.search(params[:search]).paginate(page: params[:page], per_page: 20, order: \"title ASC, artist ASC\")\r\n end", "def index\n @search = Song.search(params[:q]) #Using the Ransack Gem\n @page = params[:page] || 1\n ...
[ "0.7523771", "0.71344954", "0.69117993", "0.66738325", "0.6567279", "0.64193904", "0.6417193", "0.62071335", "0.62038845", "0.61834294", "0.61295205", "0.6107224", "0.5990588", "0.595643", "0.59389704", "0.59128076", "0.5899116", "0.58912677", "0.58567446", "0.57646734", "0.5...
0.7937105
0
Returns a slice of the artist's songs which was created by paginated_songs. artist.paginate_songs(10, 30) songs = artist.paginated_songs songs will now hold the songs 3039 (starting from 0)
def paginated_songs return @paginated_songs end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def paginate_songs(limit, offset)\n\t\t@paginated_songs = Array.new\n\t\tsongs.limit(limit).offset(offset).each do |song|\n\t\t\t@paginated_songs << song\n\t\tend\n\tend", "def index\n @search = Song.search(params[:q]) #Using the Ransack Gem\n @page = params[:page] || 1\n @songs = @search.result.include...
[ "0.78058696", "0.68225414", "0.67934537", "0.67784345", "0.6635563", "0.6587103", "0.6470681", "0.6464106", "0.6374284", "0.63725084", "0.6348747", "0.6346243", "0.6217916", "0.6212014", "0.61899", "0.61899", "0.6181969", "0.6181969", "0.6181969", "0.6181969", "0.6181969", ...
0.78583246
0
The options to use when the artist is serialized.
def serialize_options { :methods => [ :kind, :display, :url, :info, :photo ], :except => [ :picture ] } end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def serialize_options\n\t\t{\n\t\t\tinclude: [ object == \"song\" ? :song : :playlist ],\n\t\t\tmethods: [ :kind, :display, :url ]\n\t\t}\n\tend", "def serialize_options\n\t\t{\n\t\t\t:include => [ :current_track ],\n\t\t\t:methods => [ :kind, :display, :url ]\n\t\t}\n\tend", "def serialize_options\n\t\t{\n\t\...
[ "0.74082303", "0.737354", "0.6854332", "0.67934823", "0.67239165", "0.6715332", "0.66421545", "0.65970266", "0.6572158", "0.6572158", "0.6549139", "0.6549139", "0.65440017", "0.65440017", "0.65440017", "0.6511037", "0.65082324", "0.65082324", "0.65082324", "0.65082324", "0.65...
0.68844223
2
Returns a translated wikipedia page for the artist. defaults to english if none found.
def localized_page return @page if @page l = langtag(I18n.locale) Wikipedia.Configure do domain "#{l}.wikipedia.org" path "w/api.php" end p = page if p == nil || p.content == nil logger.debug "defaulting to english" Wikipedia.Configure do domain "en.wikipedia.org" path "w/api.php" end p = page else logger.debug "sending translated" end @page = p @page end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wikipedia_link\n\t\tp = localized_page\n\t\tbase = \"https://#{langtag(I18n.locale)}.wikipedia.org\"\n\t\treturn base unless p && p.title\n\t\t\"#{base}/wiki/#{p.title}\"\n\tend", "def search_wikipedia\n respond_to do |format|\n format.html do\n @wikipedia_search_text = params[:artist_name]\n ...
[ "0.68502563", "0.62793946", "0.6214198", "0.6195336", "0.602621", "0.5917104", "0.58485556", "0.58085454", "0.57523215", "0.56729937", "0.5639796", "0.5637494", "0.56165564", "0.55695915", "0.55629915", "0.55363077", "0.5529039", "0.5517396", "0.54907733", "0.5458736", "0.544...
0.7470177
0
Returns the wikipedia page for the artist
def page @visited_pages = [] logger.debug "retreiving page for #{name}" find_page(name, false) end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def wikipedia\n uri = nil\n @artist_data[\"relations\"].each do |rel|\n if rel[\"type\"] == \"wikipedia\"\n uri = rel[\"url\"][\"resource\"]\n end\n end\n return uri\n end", "def search_wikipedia\n respond_to do |format|\n format.html do\n @wikipedia_search_text = par...
[ "0.70357686", "0.6975741", "0.6544368", "0.65220964", "0.6515432", "0.6454258", "0.6341122", "0.63303185", "0.6259911", "0.61806476", "0.6139568", "0.60766083", "0.60484475", "0.6045439", "0.60361916", "0.6025521", "0.6003011", "0.59895444", "0.5968132", "0.5956807", "0.59145...
0.0
-1
Analyses a page and follows it.
def find_page(pname, verify = true) logger.debug "looking up page: #{pname}" logger.debug "verify find: #{verify}" r = Wikipedia.find(pname) # parse disambiguation meta data unless is_artist_page? r logger.debug "check for disambiguation meta data" # check for {about|A|B|1|C|2...|Z|N} patterns # where we are intrested in B|1 - Z|N m = r.content.scan(/\{about\|[\w\s]*((\|[^\}\{\|]*\|[^\}\{\|]*)*)\}/) if r.content unless m == nil || m.empty? || m.first.empty? # l = ["B", "1", "C", "2", ... , "Z", "N"] l = m.first.first[1..-1].split("|") 1.step(l.size-1,2).each do |i| # check pages "1", "2" .. "N" p = find_page(l[i]) r = p if p break end end end # parse links logger.debug "follow links (desperate!)" if !is_artist_page?(r) && is_disambiguation_page?(r) r = follow_links(r) if !is_artist_page?(r) && is_disambiguation_page?(r) # verify category (!verify || is_artist_page?(r)) ? r : nil end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def process_page page_url\n page = SuperCrawler::Scrap.new(page_url) # Scrap the current page\n\n current_page_links = page.get_links # Get current page internal links\n new_links = current_page_links - @links # Select new links\n\n new_links.each { |link| @links_queue.push(link) } # Add new li...
[ "0.6628545", "0.64224017", "0.64224017", "0.64224017", "0.64224017", "0.64224017", "0.64224017", "0.64224017", "0.64224017", "0.64224017", "0.64224017", "0.64224017", "0.64224017", "0.640375", "0.6391581", "0.6372903", "0.6322593", "0.6268057", "0.626681", "0.6244792", "0.623...
0.0
-1
Follows a page's links in the hunt for an artist page.
def follow_links(p) if p.links p.links.each do |l| next if @visited_pages.include? l lp = Wikipedia.find(l) if lp.is_a? Array lp.each do |lp_i| logger.debug "following to: #{lp_i.title}" if is_artist_page? lp_i p = lp_i break end end elsif not is_artist_page? p if is_artist_page? lp p = lp break end end end end p end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def links_to_follow(page)\n @page = page # need below, sorry\n links = @focus_crawl_block ? instance_eval(@focus_crawl_block).call(page) : page.links\n links.select { |link| visit_link?(link, page) }.map { |link| link.dup }\n end", "def links_to_follow(page)\n @page = page # ne...
[ "0.7293421", "0.7293421", "0.7121017", "0.6964771", "0.6964771", "0.647943", "0.6266747", "0.61958796", "0.616101", "0.59801286", "0.59708875", "0.59655154", "0.5930222", "0.5885557", "0.5836091", "0.57873046", "0.5783145", "0.5710148", "0.57061523", "0.5686273", "0.56635565"...
0.7501723
0
Checks if a wikipedia page is classified as an artist page.
def is_artist_page?(p) return false unless p && p.content && p.categories && p.title belongs_to_categories? p, [ "musicians", "artists", "duos", "groups", "singers", "guitarists", "gitarrister", "sångare", "grupper", "musiker" ], true end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def artist?\n end", "def include?(p_artist)\n\n\t\t\t# Check parameter\n\t\t\treturn unless p_artist.is_a? Artist\n\t\t\t\n\t\t\t# Return result\n\t\t\t@artists.include?(p_artist)\n end", "def is_it_marine?\n if @page.has_checked_marine?\n @page.is_marine?\n else\n env_terms...
[ "0.6480193", "0.5693729", "0.56392723", "0.5617377", "0.5570762", "0.55502033", "0.55250317", "0.5523604", "0.5491006", "0.54808533", "0.5479086", "0.54477686", "0.53524405", "0.531163", "0.53101426", "0.53046244", "0.5279935", "0.5273811", "0.5269698", "0.52515036", "0.52498...
0.7776254
0
Checks if a wikipedia page is classified as an disambiguation page.
def is_disambiguation_page?(p) logger.debug "is disambiguation page?" belongs_to_categories? p, [ "Category:All article disambiguation pages", "Category:All disambiguation pages", "Category:Disambiguation pages", "Kategori:Förgreningssidor" ] end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def whitelisted_page?(page)\n return false unless page\n return false if /:/.match page\n page[0..5] == '/wiki/' ? true : false\n end", "def classification?(c)\n not [\"malicious\", \"non-malicious\", \"suspicious\", \"unknown\"].index(c).nil?\n end", "def guessing?\n ! page.has_content?(\...
[ "0.58703315", "0.54242885", "0.54069895", "0.539946", "0.5358175", "0.5306936", "0.52359647", "0.52009255", "0.5165459", "0.5159461", "0.5151909", "0.51425034", "0.50340337", "0.50299156", "0.50297064", "0.5022898", "0.5010143", "0.49854195", "0.49839526", "0.49769145", "0.49...
0.7768463
0
Checks if a wikipedia page belongs to any of a set of category.
def belongs_to_categories?(p, categories, only_last = false) return false unless p && p.content && p.categories && p.title @visited_pages << p.title p.categories.each do |c| c = c.split.last if only_last if categories.include? c logger.debug "found category!" return true else logger.debug "missed category: #{c}" end end logger.debug "not in any category" return false end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def has_category?(category, article)\n if article[:categories].nil?\n false\n else\n article[:categories].include?(category)\n end\n end", "def is_categories?\n is_entries? && params[:_taxonomies_].present? && params[:_slug_].present? && is_not_page?\n end", "def is_category?( category ...
[ "0.61809206", "0.6176498", "0.61694133", "0.59047145", "0.58895195", "0.58895147", "0.5861115", "0.5765175", "0.5750978", "0.5708998", "0.57068056", "0.56875134", "0.5580927", "0.5580927", "0.55788463", "0.5572558", "0.5499731", "0.5487446", "0.5482448", "0.5478568", "0.54333...
0.6776344
0
The language subdomain on Wikipedia for a given locale.
def langtag(locale) case locale.to_s when 'se' then 'se' when 'us' then 'en' when 'uk' then 'en' when 'cn' then 'zh' else locale end end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_locale_from_subdomain\n locale = @rh.match( /(.+)\\.demowatch\\.[a-z]{2,3}$/i)[1]\n return locale if ( I18N_ALL_LANGUAGES.include?( locale))\n return nil\n end", "def extract_locale_from_subdomain\n parsed_locale = request.subdomains.first\n \n end", "def extract_locale_from_subd...
[ "0.7314222", "0.71147114", "0.6974773", "0.6935492", "0.6918029", "0.6894525", "0.6878252", "0.67344934", "0.6674478", "0.6671673", "0.6667469", "0.65882504", "0.6587749", "0.65506876", "0.65506876", "0.6528819", "0.6513491", "0.6497776", "0.64835715", "0.6436007", "0.6333164...
0.0
-1
If some of the pagination fields are present all of the required ones should be present
def all_pagination_is_present return unless pagination && count.nil? errors.add(:count, ErrorMessage["should be present if pagination is being used", "6.4"]) end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def all_pagination_is_present\n if current.nil?\n errors.add(\n :current,\n ErrorMessage[\"should be present if pagination is being used\", \"6.4\"]\n )\n end\n if per_page.nil?\n errors.add(\n :per_page,\n ErrorMessage[\"s...
[ "0.7680296", "0.737551", "0.6330928", "0.62576425", "0.6133295", "0.6087282", "0.60783076", "0.6010496", "0.5984411", "0.59277725", "0.59265846", "0.5923338", "0.5906319", "0.589252", "0.5852344", "0.583852", "0.58337116", "0.5828805", "0.58100224", "0.58093613", "0.5806842",...
0.75490224
1
Renders a select tag with all the Objectives Context: :form => Edit form :project => Current project
def view_issues_form_details_bottom(context = { }) if context[:project].module_enabled?('dashboards') and Dashboard.find_by_project_id(context[:project]) select = context[:form].select :objective_id, Dashboard.find_by_project_id(context[:project]).objectives.all( :order => 'name').sort {|x, y| x.ancestors_path <=> y.ancestors_path}.collect { |d| ["#{d.ancestors_path} #{d.name}", d.id] }, :include_blank => true return "<p>#{select}</p>" else return '' end end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def to_form_select(projects)\n projects.collect do |p|\n [[p.shortname, p.description].join(\" - \"), p.id]\n end\n end", "def render_project_jump_box\n projects = Project.all(:is_private => false)\n if logged_in?\n projects = projects | current_user.projects\n end\n if projects.coun...
[ "0.64530843", "0.64189035", "0.63901716", "0.6265834", "0.6086652", "0.6046609", "0.59766245", "0.5923445", "0.5881491", "0.58235943", "0.57833385", "0.5761094", "0.57375026", "0.5715274", "0.5714764", "0.5690044", "0.5689722", "0.568534", "0.5662409", "0.5655522", "0.5646381...
0.6147712
4
Renders a select tag with all the Deliverables for the bulk edit page Context: :project => Current project
def view_issues_bulk_edit_details_bottom(context = { }) if context[:project].module_enabled?('dashboards') and Dashboard.find_by_project_id(context[:project].id) select = select_tag('objective_id', content_tag('option', l(:label_no_change_option), :value => '') + content_tag('option', l(:label_none), :value => 'none') + options_for_select( Dashboard.find_by_project_id(context[:project].id).objectives.all( :order => 'name').sort {|x, y| x.ancestors_path <=> y.ancestors_path}.collect {|v| ["#{v.ancestors_path} #{v.name}", v.id]})) return content_tag(:p, "<label>#{l(:field_objective)}: " + select + "</label>") else return '' end end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def to_form_select(projects)\n projects.collect do |p|\n [[p.shortname, p.description].join(\" - \"), p.id]\n end\n end", "def auto_complete_for_filter_expense_pending_description\r\n project_ids = (@current_user.supervised_projects.nil? || @current_user.supervised_projects.empty? ) ? '' : (@cur...
[ "0.59198695", "0.5859185", "0.5765693", "0.5669184", "0.565542", "0.56258386", "0.5566596", "0.5534172", "0.5525595", "0.5517989", "0.55142623", "0.5508554", "0.54550004", "0.53816795", "0.53646076", "0.53419334", "0.5325024", "0.5314674", "0.5286233", "0.52856064", "0.527892...
0.52735454
21
Saves the Deliverable assignment to the issue Context: :issue => Issue being saved :params => HTML parameters
def controller_issues_bulk_edit_before_save(context = { }) case true when context[:params][:objective_id].blank? # Do nothing when context[:params][:objective_id] == 'none' # Unassign objective context[:issue].objective = nil else context[:issue].objective = Objective.find(context[:params][:objective_id]) end return '' end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def save\n frm.button(:value=>\"Save\").click\n Announcements.new(@browser)\n end", "def issue_params\n params.require(:issue).permit(:Title, :Description, :Type, :Priority, :Status, :assignee_id, :Attachments)\n end", "def create\n @issue = @issuable.issues.new(params[:issue])\n\n respond...
[ "0.59415907", "0.59390056", "0.59142524", "0.5873954", "0.5872078", "0.58266485", "0.5810045", "0.5799205", "0.5793148", "0.5768828", "0.5768828", "0.576681", "0.5743812", "0.57119465", "0.57114285", "0.5691348", "0.56779057", "0.5676881", "0.56757444", "0.5674522", "0.566646...
0.0
-1
Deliverable changes for the journal use the Deliverable name instead of the id Context: :detail => Detail about the journal change
def helper_issues_show_detail_after_setting(context = { }) # TODO Later: Overwritting the caller is bad juju #if context[:detail].prop_key == 'objective_id' # d = Objective.find_by_name(context[:detail].value) # context[:detail].value = d.name unless d.nil? || d.name.nil? # d = Objective.find_by_name(context[:detail].old_value) if context[:detail].old_value # context[:detail].old_value = d.name unless d.nil? || d.name.nil? #end #'' end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def edit\n @deliverable = Deliverable.find(params[:id])\n #get the project by project_id, project_id is got from @deliverable's attribute\n @project = Project.find_by_id(@deliverable.project_id)\n #get the lifecycle phase by lifecycle_id, lifecycle_id is got from @deliverable's attribute\n @lifecycl...
[ "0.60061777", "0.5667252", "0.5608281", "0.5588416", "0.55597526", "0.55342776", "0.55339885", "0.5521309", "0.55158114", "0.5388616", "0.53762066", "0.5298179", "0.5289025", "0.52882946", "0.5272368", "0.52437246", "0.5156913", "0.5078224", "0.50654095", "0.5060568", "0.5059...
0.5158357
16
Using a private method to encapsulate the permissible parameters is just a good pattern since you'll be able to reuse the same permit list between create and update. Also, you can specialize this method with peruser checking of permissible attributes.
def upload_files_params params.require(:project).permit(:file) end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def permitted_params\n policy(resource || resource_class.new).send(\"permitted_#{action_name}_attributes\")\n end", "def safe_params\n resurce_name = self.class.resource_name\n params_method_name = \"#{resurce_name}_params\".to_sym\n if params[resurce_name]\n if respond_to?(params_method_name) ...
[ "0.70205086", "0.7011447", "0.68427056", "0.68110335", "0.6692179", "0.66879106", "0.6682208", "0.6668624", "0.66344637", "0.6618673", "0.6616452", "0.6605087", "0.65903014", "0.65752155", "0.6571612", "0.6531045", "0.65260863", "0.65229654", "0.6518278", "0.65089744", "0.647...
0.0
-1
access the class methods (find or create in the module)
def initialize(path = "./db/mp3s") #Default argument for the ending of the file given in path. @importer = MusicImporter.new(path).import #Create new instance (.new) of the MusicIMporter object (instantated in the MusicLibraryController class). And then you can call that MusicImporter's own class methods on this object (.import) end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def methods() end", "def methods; end", "def methods; end", "def methods; end", "def methods; end", "def method_missing(name)\n name = name.to_s \n \n # Class name\n class_name = \"_\" << name\n class_name.gsub!(self.class::CLASS_NAME_GENERATOR) { |s| s[...
[ "0.70421654", "0.6772794", "0.6772794", "0.6772794", "0.6772794", "0.6566029", "0.6402716", "0.6299233", "0.62875634", "0.6251316", "0.6211665", "0.6193143", "0.6191185", "0.61554223", "0.6145698", "0.61243916", "0.61243916", "0.6122232", "0.6122232", "0.6111341", "0.6096861"...
0.0
-1
Update given spec with urls It is expected identified security scheme to be oauth2 type
def set_oauth2_urls(spec, sec_scheme_id, authorization_url, token_url) sec_scheme_obj = spec.dig('securityDefinitions', sec_scheme_id) if sec_scheme_obj.nil? || sec_scheme_obj['type'] != 'oauth2' raise ThreeScaleToolbox::Error, "Expected security scheme {#{sec_scheme_id}} not found or not oauth2" end sec_scheme_obj['authorizationUrl'] = authorization_url if %w[implicit accessCode].include?(sec_scheme_obj['flow']) sec_scheme_obj['tokenUrl'] = token_url if %w[password application accessCode].include?(sec_scheme_obj['flow']) end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_oauth2_urls(spec, sec_scheme_id, authorization_url, token_url)\n sec_scheme_obj = spec.dig('components', 'securitySchemes', sec_scheme_id)\n if sec_scheme_obj.nil? || sec_scheme_obj['type'] != 'oauth2'\n raise ThreeScaleToolbox::Error, \"Expected security scheme {#{sec_scheme_id}} no...
[ "0.7838067", "0.5405094", "0.5389428", "0.5343627", "0.531135", "0.52875876", "0.5248033", "0.52192277", "0.5216703", "0.5216703", "0.5131309", "0.5075023", "0.5073467", "0.50577843", "0.5030655", "0.5027904", "0.5017818", "0.49848565", "0.4974084", "0.49725547", "0.49591675"...
0.78614545
0
TODO realize this method remember to take different syntax into consideration def ending_directive?(primitive_params) primitive_params.match end TODO add docs
def legal_directive?(primitive_params) [vendor_directive, lib_directive, app_directive].any? { |d| d =~ primitive_params } end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def tag_is_directive?(tag_name); end", "def maybe_directives?; end", "def supports_directive?\n @name == '@supports'\n end", "def parameterized?\n macro_string.match Regexp.identifier\n end", "def in_directive_department?(cop); end", "def valid_end_node(token)\n [\"pp\", \"cc\"].incl...
[ "0.66104245", "0.6425712", "0.60357356", "0.6032189", "0.5804799", "0.56826025", "0.55321544", "0.55099404", "0.550944", "0.5481375", "0.547024", "0.54135835", "0.5374396", "0.53557956", "0.5342509", "0.53097546", "0.5290659", "0.52691627", "0.52239305", "0.52068424", "0.5181...
0.765872
0
return root folder and all the path params that have been split TODO this method bellow need refactor
def parse(primitive_params) asset_root = '' path_param_str = '' path_params = [] # unknown_directive = false # TODO make sure path_param_str will return nil for non-matched result and array for matched result # rememer to write tests for this section of codes if vendor_directive =~ primitive_params asset_root = 'vendor' path_param_str = primitive_params.match(vendor_directive)[:path_params] elsif lib_directive =~ primitive_params asset_root = 'lib' path_param_str = primitive_params.match(lib_directive)[:path_params] elsif app_directive =~ primitive_params asset_root = 'app' path_param_str = primitive_params.match(app_directive)[:path_params] # else # # TODO remove UnknownDirectiveError or try to find another way to get thing done # # raise UnknownDirectiveError.new "'#{primitive_params}' is not in legal directive format" # unknown_directive = true end # TODO refactor codes bellow after the above paragraph was refactored would_be_path_params = path_param_str.strip.split(/,\s?/) # would_be_path_params = [would_be_path_params] if would_be_path_params.kind_of?(String) path_params = would_be_path_params unless would_be_path_params.empty? # unknown_directive ? [nil, nil] : [asset_root, path_params.strip.split(/,\s?/)] # TODO: add rspec examples for returning a ['', []] when the primitive_params is illegal [asset_root, path_params] end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def split_path; end", "def base_dir_for_path_parameters; end", "def parts\n prefix, parts = split_names(@path)\n prefix.empty? ? parts : [prefix] + parts\n end", "def split_path\n to_s.split_path\n end", "def root_path=(_arg0); end", "def root_path=(_arg0); end", "def root_path=(_arg0); end"...
[ "0.7419433", "0.68125635", "0.66665363", "0.6471558", "0.6466878", "0.6466878", "0.6466878", "0.64370555", "0.63654", "0.6343699", "0.633626", "0.62088364", "0.6139807", "0.61383957", "0.60924304", "0.60712314", "0.6065899", "0.6049092", "0.604575", "0.60367334", "0.60331225"...
0.0
-1
GET /api/v1/group_updates GET /api/v1/group_updates.json
def index @api_v1_group_updates = Api::V1::GroupUpdate.all end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update\n respond_to do |format|\n if @api_v1_group_update.update(api_v1_group_update_params)\n format.html { redirect_to @api_v1_group_update, notice: 'Group update was successfully updated.' }\n format.json { render :show, status: :ok, location: @api_v1_group_update }\n else\n ...
[ "0.7197787", "0.68139327", "0.6781224", "0.6760521", "0.671307", "0.667855", "0.6642351", "0.66085577", "0.6569267", "0.656643", "0.6533247", "0.6492643", "0.64780974", "0.64662325", "0.6414186", "0.64123964", "0.63847536", "0.6369236", "0.6367612", "0.63601875", "0.63594633"...
0.84812504
0
GET /api/v1/group_updates/1 GET /api/v1/group_updates/1.json
def show end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def index\n @api_v1_group_updates = Api::V1::GroupUpdate.all\n end", "def update\n respond_to do |format|\n if @api_v1_group_update.update(api_v1_group_update_params)\n format.html { redirect_to @api_v1_group_update, notice: 'Group update was successfully updated.' }\n format.json { ren...
[ "0.8411826", "0.74082226", "0.7403874", "0.71012986", "0.6935078", "0.688075", "0.67310935", "0.66975343", "0.6685838", "0.66820216", "0.6642552", "0.66420054", "0.6611828", "0.6606429", "0.6598093", "0.6580875", "0.65746933", "0.6574039", "0.65448606", "0.65294564", "0.65127...
0.0
-1
POST /api/v1/group_updates POST /api/v1/group_updates.json
def create @api_v1_group_update = Api::V1::GroupUpdate.new(api_v1_group_update_params) respond_to do |format| if @api_v1_group_update.save format.html { redirect_to @api_v1_group_update, notice: 'Group update was successfully created.' } format.json { render :show, status: :created, location: @api_v1_group_update } else format.html { render :new } format.json { render json: @api_v1_group_update.errors, status: :unprocessable_entity } end end end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def index\n @api_v1_group_updates = Api::V1::GroupUpdate.all\n end", "def UpdateGroup params = {}\n \n APICall(path: 'groups.json',method: 'PUT',payload: params.to_json)\n \n end", "def postGroupBulk_update( group_id, data)\n params = Hash.new\n params['group_id'] = group_id...
[ "0.7409032", "0.7216503", "0.7082403", "0.70630306", "0.6994088", "0.6956218", "0.67850304", "0.67622954", "0.67394894", "0.6697957", "0.66970754", "0.6660707", "0.66287714", "0.657658", "0.65713453", "0.6562992", "0.6539921", "0.6532988", "0.65196484", "0.65185934", "0.64540...
0.7506911
0
PATCH/PUT /api/v1/group_updates/1 PATCH/PUT /api/v1/group_updates/1.json
def update respond_to do |format| if @api_v1_group_update.update(api_v1_group_update_params) format.html { redirect_to @api_v1_group_update, notice: 'Group update was successfully updated.' } format.json { render :show, status: :ok, location: @api_v1_group_update } else format.html { render :edit } format.json { render json: @api_v1_group_update.errors, status: :unprocessable_entity } end end end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UpdateGroup params = {}\n \n APICall(path: 'groups.json',method: 'PUT',payload: params.to_json)\n \n end", "def set_api_v1_group_update\n @api_v1_group_update = Api::V1::GroupUpdate.find(params[:id])\n end", "def update\n logger.info \"Put parameters: #{params.to_json}\...
[ "0.7528402", "0.719816", "0.7180273", "0.7174812", "0.7164367", "0.7097414", "0.70363265", "0.7021937", "0.6970352", "0.6967853", "0.69457227", "0.6942222", "0.69401973", "0.6938227", "0.6938227", "0.6938227", "0.6938227", "0.6933088", "0.6929036", "0.69111985", "0.6902384", ...
0.7731694
0
DELETE /api/v1/group_updates/1 DELETE /api/v1/group_updates/1.json
def destroy @api_v1_group_update.destroy respond_to do |format| format.html { redirect_to api_v1_group_updates_url, notice: 'Group update was successfully destroyed.' } format.json { head :no_content } end end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DeleteGroup id\n \n APICall(path: \"groups/#{id}.json\",method: 'DELETE')\n \n end", "def destroy\n @group_request.destroy\n respond_to do |format|\n format.html { redirect_to group_requests_url }\n format.json { head :no_content }\n end\n end", "def deleteGrou...
[ "0.72380424", "0.7027809", "0.69768375", "0.6949575", "0.6931553", "0.69150966", "0.691265", "0.6902129", "0.683739", "0.6833909", "0.68336076", "0.68322176", "0.6831413", "0.6831413", "0.6826274", "0.6825714", "0.6807084", "0.6807084", "0.6807084", "0.6807084", "0.6807084", ...
0.8158721
0
Use callbacks to share common setup or constraints between actions.
def set_api_v1_group_update @api_v1_group_update = Api::V1::GroupUpdate.find(params[:id]) end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_required_actions\n # TODO: check what fields change to asign required fields\n end", "def action_hook; end", "def run_actions; end", "def define_action_hook; end", "def actions; end", "def define_action_helpers\n if super && action == :save\n @instance_helper_module.class_...
[ "0.6163163", "0.6045976", "0.5946146", "0.591683", "0.5890051", "0.58349305", "0.5776858", "0.5703237", "0.5703237", "0.5652805", "0.5621621", "0.54210985", "0.5411113", "0.5411113", "0.5411113", "0.5391541", "0.53794575", "0.5357573", "0.53402257", "0.53394014", "0.53321576"...
0.0
-1
Never trust parameters from the scary internet, only allow the white list through.
def api_v1_group_update_params params.fetch(:api_v1_group_update, {}) end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def strong_params\n params.require(:user).permit(param_whitelist)\n end", "def strong_params\n params.require(:listing_member).permit(param_whitelist)\n end", "def allow_params_authentication!; end", "def allowed_params\n ALLOWED_PARAMS\n end", "def default_param_whitelist\n [\"mode\"]\n...
[ "0.69792545", "0.6781151", "0.67419964", "0.674013", "0.6734356", "0.6591046", "0.6502396", "0.6496313", "0.6480641", "0.6477825", "0.64565", "0.6438387", "0.63791263", "0.63740575", "0.6364131", "0.63192815", "0.62991166", "0.62978333", "0.6292148", "0.6290449", "0.6290076",...
0.0
-1
to display it in old roman numberals
def old_roman_numeral(num) @romanNumeral = "" while num > 0 quotient, modulus = num.divmod(1000) if quotient > 0 #using a divisor @romanNumeral << ("M" * quotient) #using divisor again num = modulus #using modulus elsif num / 500 > 0 @romanNumeral << ("D" * (num/500)) num %= 500 elsif if num / 100 > 0 @romanNumeral << ("C" * (num/100)) num %= 100 elsif num / 90 > 0 @romanNumeral << ("XC" * (num/90)) num %= 90 end elsif if num / 50 > 0 @romanNumeral << ("L" * (num/50)) num %= 50 elsif num / 40 > 0 @romanNumeral << ("XL" * (num/40)) num %= 40 end elsif if num / 10 > 0 @romanNumeral << ("X" * (num/10)) num %= 10 elsif num / 9 > 0 @romanNumeral << ("IX" * (num/9)) num %= 9 end elsif num / 5 > 0 @romanNumeral << ("V" * (num/5)) num %= 5 else if num / 4 > 0 @romanNumeral << ("I" * (num/4)) num %= 4 else num / 1 > 0 @romanNumeral << ("I" * (num/1)) num %= 1 end end end @romanNumeral end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def to_roman(num)\n \n output = ''\n\n if num\n how_many_thousand = (num - num % 1000) / 1000\n num = num - (num - num % 1000)\n\n how_many_hundred = (num - num % 100) / 100\n num = num - (num - num % 100)\n\n how_many_tens = (num - num % 10) / 10\n num = num - (num - nu...
[ "0.78683865", "0.78165555", "0.77671367", "0.7752862", "0.77039236", "0.7701574", "0.7695017", "0.7695017", "0.76948476", "0.76708907", "0.7661366", "0.7657832", "0.76352364", "0.76172334", "0.76136774", "0.7606277", "0.76027477", "0.75841004", "0.75776225", "0.75199264", "0....
0.7668897
10
Removed deprecated Loan.find call
def set_loan @loan = Loan.where(id: params[:id]).first render json: 'not_found', status: :not_found if (@loan.nil?) end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def find_by()\n\n end", "def find(id); end", "def find(id); end", "def find(query); end", "def find(query); end", "def find; end", "def find\n raise \"Method not implemented\"\n end", "def find(id)\n\nend", "def find\n fail NotImplementedError\n end", "def find_by_sql(sql)\...
[ "0.6241496", "0.623613", "0.623613", "0.62188005", "0.62188005", "0.6179869", "0.5895776", "0.586347", "0.5818577", "0.5815296", "0.56866366", "0.56771946", "0.56570977", "0.56187296", "0.5570898", "0.55703187", "0.5556999", "0.5552476", "0.5522732", "0.5475456", "0.5451579",...
0.0
-1
Gets the addIns property value. Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams may set the addIns property for its 'FileHandler' functionality. This will let services like Office 365 call the application in the context of a document the user is working on.
def add_ins return @add_ins end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_addins\n self.class.addins\n end", "def add_ins=(value)\n @add_ins = value\n end", "def addins\n @addins ||= []\n end", "def custom_extension_callout_instances\n return @custom_extension_callout_instances\n end", "d...
[ "0.584917", "0.5263579", "0.5211086", "0.4929383", "0.49133906", "0.4864056", "0.48339948", "0.47097632", "0.46675828", "0.46615952", "0.46563137", "0.46093845", "0.45622376", "0.45327112", "0.44754365", "0.44612592", "0.44115275", "0.44096813", "0.43906245", "0.43892723", "0...
0.532413
1
Sets the addIns property value. Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams may set the addIns property for its 'FileHandler' functionality. This will let services like Office 365 call the application in the context of a document the user is working on.
def add_ins=(value) @add_ins = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def add_addins_to_context\n addin_data = setup_addins addins\n\n addin_data[:methods].each do |method|\n @context.add_method method[:name], method[:receiver]\n end\n\n @context.define_klass\n\n addin_data[:builds].each do |build|\n @context.run_with_current(&build)\n end...
[ "0.56592166", "0.5435179", "0.53855604", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844", "0.48666844",...
0.5625202
1
Gets the api property value. Specifies settings for an application that implements a web API.
def api return @api end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_api_setting\n @api_setting = ApiSetting.find(params[:id])\n end", "def api=(value)\n @api = value\n end", "def api_key\n @api_key ||= config_value.split('-')[1].chomp\n end", "def api_key\n config.api_key\n end", "def api_key\n config.api...
[ "0.6932186", "0.656111", "0.6441757", "0.63801134", "0.63801134", "0.63535184", "0.6327335", "0.630022", "0.6294039", "0.62893236", "0.6283055", "0.62306285", "0.62006164", "0.61711377", "0.6153687", "0.6135441", "0.6122923", "0.6122923", "0.60713005", "0.60698366", "0.601462...
0.6306911
7
Sets the api property value. Specifies settings for an application that implements a web API.
def api=(value) @api = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_api_setting\n @api_setting = ApiSetting.find(params[:id])\n end", "def set_api_config\n @api_config = ApiConfig.find(params[:id])\n end", "def api_endpoint=(value)\n @api_endpoint = value\n end", "def set_api_v1_property\n @api_v1_property = Api::V1::Property.find(params[:id]...
[ "0.75264436", "0.6855164", "0.68004036", "0.67046267", "0.6681524", "0.6681524", "0.66615593", "0.66615593", "0.6574338", "0.65529174", "0.65090615", "0.64439654", "0.63932604", "0.6366128", "0.63556063", "0.6354796", "0.63511974", "0.63511974", "0.63436854", "0.6322902", "0....
0.7783184
0
Gets the appId property value. The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Readonly. Supports $filter (eq).
def app_id return @app_id end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def app_id\n @values.fetch('appId') { \n @values['appId'] = nil\n }\n end", "def app_id\n @app.id\n end", "def application_id\n return @application_id\n end", "def app_identifier\n return @app_identifier\n end...
[ "0.7382468", "0.7276707", "0.7244628", "0.7009927", "0.6915016", "0.6870152", "0.68661594", "0.68661594", "0.68661594", "0.6846401", "0.68378574", "0.6834939", "0.68225765", "0.6740042", "0.6497659", "0.6446811", "0.640802", "0.6405589", "0.63196504", "0.62878746", "0.6278752...
0.72168577
5
Sets the appId property value. The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Readonly. Supports $filter (eq).
def app_id=(value) @app_id = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def app_id=(value)\n if value == @defaults['appId']\n @values.delete 'appId' if @values.key? 'appId'\n else\n @values['appId'] = value\n end\n end", "def application_id=(value)\n @application_id = value\n end", "def set_app\n ...
[ "0.7540471", "0.7271779", "0.71557", "0.7033686", "0.6979906", "0.6918348", "0.6871881", "0.686809", "0.6770877", "0.6770877", "0.6770877", "0.6770877", "0.6770877", "0.6770877", "0.6770877", "0.6770877", "0.6770877", "0.6756562", "0.67543036", "0.67347884", "0.67347884", "...
0.74364346
3
Gets the appManagementPolicies property value. The appManagementPolicy applied to this application.
def app_management_policies return @app_management_policies end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def app_management_policies=(value)\n @app_management_policies = value\n end", "def managed_app_policies\n return @managed_app_policies\n end", "def managed_app_policies=(value)\n @managed_app_policies = value\n end", "def managed_...
[ "0.79251957", "0.772579", "0.7321491", "0.70498323", "0.59212214", "0.5890579", "0.5842243", "0.5774629", "0.5662351", "0.56447315", "0.5589696", "0.5569927", "0.552505", "0.5485212", "0.5479045", "0.5440791", "0.54259676", "0.54259676", "0.5423356", "0.53975046", "0.53931564...
0.815786
0
Sets the appManagementPolicies property value. The appManagementPolicy applied to this application.
def app_management_policies=(value) @app_management_policies = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def managed_app_policies=(value)\n @managed_app_policies = value\n end", "def app_management_policies\n return @app_management_policies\n end", "def managed_app_policies()\n return MicrosoftGraph::DeviceAppManagement::ManagedAppPolicies::Manage...
[ "0.7507987", "0.6221065", "0.6190385", "0.5840999", "0.5826427", "0.5790539", "0.5711074", "0.5692786", "0.5539803", "0.54951954", "0.54951954", "0.5465558", "0.5229928", "0.5206212", "0.51570183", "0.51563805", "0.5120104", "0.5083624", "0.5075466", "0.5072483", "0.50327617"...
0.8140223
0
Gets the appRoles property value. The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
def app_roles return @app_roles end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def app_roles=(value)\n @app_roles = value\n end", "def roles\r\n @roles ||= user_roles.map(&:name)\r\n end", "def roles\n response[\"roles\"]\n end", "def roles\n client.user_roles(id)\n end", "def roles\n client.user_roles(id)\n end", "def roles...
[ "0.7921514", "0.68397963", "0.63426745", "0.6263821", "0.6263821", "0.6242529", "0.6073304", "0.60319895", "0.6021147", "0.59836876", "0.5982714", "0.5975261", "0.5956413", "0.59479994", "0.5947468", "0.59390223", "0.5936557", "0.5912178", "0.5909769", "0.5895336", "0.5842109...
0.7863382
1
Sets the appRoles property value. The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
def app_roles=(value) @app_roles = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def roles(roles) #:nodoc:\n @roles = roles\n end", "def roles= *new_roles\n roles.set_roles new_roles\n end", "def app_roles\n return @app_roles\n end", "def resource_roles=(value)\n @resource_roles = value\n end", "def update_roles(ro...
[ "0.65181136", "0.64321923", "0.6135886", "0.60100245", "0.60042167", "0.60032207", "0.60032207", "0.5830671", "0.5774186", "0.5671163", "0.5671163", "0.5669819", "0.5643005", "0.56359315", "0.56026113", "0.56026113", "0.5577325", "0.5575257", "0.55516136", "0.5520294", "0.548...
0.8082756
0
Gets the applicationTemplateId property value. Unique identifier of the applicationTemplate. Supports $filter (eq, not, ne).
def application_template_id return @application_template_id end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def application_template_id=(value)\n @application_template_id = value\n end", "def template_id\n return @template_id\n end", "def template_id\n return @template_id\n end", "def application_id\n return @application_i...
[ "0.6729138", "0.62147593", "0.62147593", "0.57780635", "0.57224137", "0.5578986", "0.5578986", "0.5509487", "0.54491895", "0.5160007", "0.51029176", "0.5097915", "0.5042253", "0.5042253", "0.5042253", "0.50271845", "0.49738213", "0.4952089", "0.4931194", "0.49260065", "0.4921...
0.73273575
0
Sets the applicationTemplateId property value. Unique identifier of the applicationTemplate. Supports $filter (eq, not, ne).
def application_template_id=(value) @application_template_id = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def templateId=(value)\n\t\t\t@templateId = value\n\t\tend", "def application_template_id\n return @application_template_id\n end", "def template_id=(value)\n @template_id = value\n end", "def template_id=(value)\n @template_id = value\n ...
[ "0.63211703", "0.61238605", "0.6076405", "0.6076405", "0.53942096", "0.5381099", "0.52713424", "0.51717234", "0.5142894", "0.5133022", "0.51066977", "0.50974953", "0.5090223", "0.5073122", "0.5073122", "0.5073122", "0.5073122", "0.5073122", "0.5073122", "0.5073122", "0.507312...
0.7275349
0
Gets the certification property value. Specifies the certification status of the application.
def certification return @certification end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def certification=(value)\n @certification = value\n end", "def certification_name\n return @certification_name\n end", "def cert\n @cert\n end", "def certificate\n return @certificate\n end", "def ssl_cert\n datastore...
[ "0.72224176", "0.7129964", "0.7087404", "0.6739307", "0.67298985", "0.6715603", "0.66814595", "0.65563494", "0.6552165", "0.6547586", "0.64531416", "0.6446269", "0.6409467", "0.63635373", "0.63635373", "0.63635373", "0.635561", "0.63490576", "0.63102204", "0.6303351", "0.6265...
0.7950307
0
Sets the certification property value. Specifies the certification status of the application.
def certification=(value) @certification = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def sslcert=(value)\n Curl.set_option(:sslcert, value_for(value, :string), handle)\n end", "def certificate=(value)\n @certificate = value\n end", "def cert=(cert); end", "def cert= cert\n @agent.certificate = cert\n end", "def ssl_cert=(cert)\n set_option(:...
[ "0.69933856", "0.6884979", "0.6750741", "0.6670446", "0.6617093", "0.66021734", "0.64437145", "0.64437145", "0.6407611", "0.6407611", "0.63460416", "0.6329392", "0.63115513", "0.62971216", "0.62940925", "0.6234547", "0.6229105", "0.6220889", "0.61912817", "0.61912817", "0.617...
0.8044353
0
Instantiates a new application and sets the default values.
def initialize() super @odata_type = "#microsoft.graph.application" end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def new\n\t\t@application = Application.new\t\t\n\tend", "def new(*args, &bk)\n setup_application!\n super(*args, &bk)\n end", "def new\n puts \"Creating new blank Praxis app under #{app_name}\"\n create_root_files\n create_config\n create_app\n create_design\n ...
[ "0.7139635", "0.6990864", "0.6794157", "0.67868394", "0.66239166", "0.64298576", "0.6365159", "0.6361455", "0.6303619", "0.62823427", "0.62361157", "0.6220929", "0.621351", "0.61765987", "0.61731553", "0.6132965", "0.6121808", "0.6082432", "0.6072633", "0.6072195", "0.6057375...
0.0
-1
Gets the createdDateTime property value. The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 20140101T00:00:00Z. Readonly. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy.
def created_date_time return @created_date_time end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def created_date_time_utc\n return @created_date_time_utc\n end", "def created_date_time\n return @created_date_time\n end", "def created_time\n Time.parse(object[\"created_time\"]) if object[\"created_time\"]\n end", "def created_at\n Time.at(created...
[ "0.71878844", "0.7015428", "0.6826322", "0.6818065", "0.6818065", "0.67382777", "0.67382777", "0.6654277", "0.6619916", "0.6619916", "0.65735734", "0.6562926", "0.6546598", "0.64703715", "0.6463156", "0.6415572", "0.6384822", "0.6365886", "0.63520586", "0.63095534", "0.628959...
0.7036145
25
Sets the createdDateTime property value. The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 20140101T00:00:00Z. Readonly. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy.
def created_date_time=(value) @created_date_time = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def created_date_time=(createdDateTime)\n @created_date_time = createdDateTime\n end", "def created_date_time_utc=(value)\n @created_date_time_utc = value\n end", "def setCreatedTime(createdTime)\r\n\t\t\t\t\t@createdTime = createdTime\r\n\t\t\t\tend", "def setCre...
[ "0.7492453", "0.71153724", "0.64460236", "0.64460236", "0.6405494", "0.63464254", "0.6238259", "0.6206692", "0.60917777", "0.60917777", "0.60381746", "0.6000926", "0.60006857", "0.60006857", "0.60006857", "0.60006857", "0.60006857", "0.60006857", "0.60006857", "0.60006857", "...
0.70107245
26
Gets the createdOnBehalfOf property value. Supports $filter (/$count eq 0, /$count ne 0). Readonly.
def created_on_behalf_of return @created_on_behalf_of end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def created_on_behalf_of=(value)\n @created_on_behalf_of = value\n end", "def on_behalf_of_user_id\n return @on_behalf_of_user_id\n end", "def on_behalf_of_user_id=(value)\n @on_behalf_of_user_id ...
[ "0.6775381", "0.6379555", "0.57823455", "0.5400411", "0.50183177", "0.50183177", "0.50183177", "0.50183177", "0.50183177", "0.5016211", "0.49782726", "0.49641135", "0.4912059", "0.4912059", "0.4912059", "0.4912059", "0.4912059", "0.4912059", "0.4912059", "0.4912059", "0.49120...
0.72363925
0
Sets the createdOnBehalfOf property value. Supports $filter (/$count eq 0, /$count ne 0). Readonly.
def created_on_behalf_of=(value) @created_on_behalf_of = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def on_behalf_of_user_id=(value)\n @on_behalf_of_user_id = value\n end", "def created_on_behalf_of\n return @created_on_behalf_of\n end", "def on_behalf_requestors=(value)\n @on_behalf_requestors = value\n ...
[ "0.66242373", "0.6486004", "0.5860083", "0.570976", "0.52651995", "0.5178244", "0.5126644", "0.5088521", "0.5019203", "0.50019735", "0.50019735", "0.49906784", "0.49715292", "0.49554363", "0.47909018", "0.47900388", "0.47753546", "0.47665575", "0.4746444", "0.4740558", "0.473...
0.7725809
0
Gets the defaultRedirectUri property value. The defaultRedirectUri property
def default_redirect_uri return @default_redirect_uri end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def default_redirect_uri=(value)\n @default_redirect_uri = value\n end", "def redirect_uri\n @redirect_uri\n end", "def redirect_uri\n @payload.present? ? @payload['redirect'] : @redirect_uri\n end", "def redirect_uri\n @redirect_uri ||= root_url[0..-2] + ...
[ "0.79390293", "0.712423", "0.7068772", "0.6894101", "0.6789881", "0.6772224", "0.66421217", "0.64668953", "0.6448141", "0.6378798", "0.6301478", "0.6301478", "0.62106204", "0.619998", "0.6076179", "0.5982506", "0.59707266", "0.58956194", "0.5891372", "0.58802384", "0.58802384...
0.84372884
0
Sets the defaultRedirectUri property value. The defaultRedirectUri property
def default_redirect_uri=(value) @default_redirect_uri = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def default_redirect_uri\n return @default_redirect_uri\n end", "def set_RedirectURI(value)\n set_input(\"RedirectURI\", value)\n end", "def set_RedirectURI(value)\n set_input(\"RedirectURI\", value)\n end", "def redirect_uri_settings=(value)\n ...
[ "0.75363123", "0.7103814", "0.7103814", "0.6750082", "0.63907325", "0.63141084", "0.6260519", "0.6216437", "0.6175126", "0.6039395", "0.6028759", "0.5993921", "0.58519584", "0.58384097", "0.57919306", "0.57319844", "0.5691489", "0.5670515", "0.56685466", "0.56289655", "0.5610...
0.86798406
0
Gets the description property value. Free text field to provide a description of the application object to end users. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search.
def description return @description end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def description\n object[\"description\"]\n end", "def description\n field[:description]\n end", "def get_description\n get_field_config['description']\n end", "def description\n if description_attribute = read_attribute(:description)\n description_attribute\n elsif sel...
[ "0.7258778", "0.7198627", "0.70830476", "0.7055561", "0.7048524", "0.6981739", "0.6981739", "0.69618833", "0.6945104", "0.6900204", "0.68927485", "0.6888026", "0.6885215", "0.6885215", "0.6885215", "0.6885215", "0.68654567", "0.6860026", "0.6847789", "0.6846911", "0.68060035"...
0.677902
48
Sets the description property value. Free text field to provide a description of the application object to end users. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search.
def description=(value) @description = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def description=(v)\n @description = v\n end", "def description=(val)\n self[:description] = val\n end", "def description=(description)\n if !description.nil? && description.to_s.length > 1024\n fail ArgumentError, 'invalid value for \"description\", the character length must be smaller tha...
[ "0.7635762", "0.7573344", "0.7453193", "0.7453193", "0.7394257", "0.73810095", "0.7363546", "0.73487115", "0.73487115", "0.73487115", "0.73487115", "0.7323671", "0.7316302", "0.73019314", "0.7264098", "0.72494096", "0.7234142", "0.7222581", "0.7221341", "0.71890163", "0.71890...
0.78287834
22
Gets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not).
def disabled_by_microsoft_status return @disabled_by_microsoft_status end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def disabled_by_microsoft_status=(value)\n @disabled_by_microsoft_status = value\n end", "def disabled?\n status == 'disabled'\n end", "def disable_power_policies\n return @disable_power_policies\n end", "def disabled_warnings\n Dynamic[:disabl...
[ "0.75469023", "0.57852405", "0.5667111", "0.5564806", "0.54903483", "0.54432434", "0.5398225", "0.5366968", "0.5332331", "0.52849025", "0.5185226", "0.51567644", "0.5125106", "0.51179177", "0.51010317", "0.5089435", "0.507776", "0.50494677", "0.5042698", "0.50192", "0.5018934...
0.8188594
0
Sets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not).
def disabled_by_microsoft_status=(value) @disabled_by_microsoft_status = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def disabled_by_microsoft_status\n return @disabled_by_microsoft_status\n end", "def disable_power_policies=(value)\n @disable_power_policies = value\n end", "def is_enabled_for_microsoft_store_for_business=(value)\n @is_enabled_for_microsoft_s...
[ "0.7359937", "0.5478616", "0.53884894", "0.53854424", "0.53850275", "0.5343506", "0.5336192", "0.5320225", "0.5294827", "0.518897", "0.51866716", "0.511867", "0.5067797", "0.5063684", "0.50326735", "0.50197464", "0.501312", "0.5010845", "0.49961004", "0.49816462", "0.49660718...
0.815057
0
Gets the displayName property value. The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
def display_name return @display_name end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def display_name\n @json['profile']['displayName'] rescue nil\n end", "def displayName\n dn = @params['dn']\n if dn\n dn.first\n else\n nil\n end\n end", "def display_name\n return @poco_data[:display_name] unless @poco_data == nil\n pick_first_node(@p...
[ "0.72595704", "0.71676266", "0.7003676", "0.6978795", "0.6967714", "0.69401175", "0.68983126", "0.6831345", "0.68028855", "0.67932636", "0.6738347", "0.6681322", "0.6649069", "0.66293967", "0.66087353", "0.6599271", "0.6596463", "0.6592663", "0.65773267", "0.64840126", "0.648...
0.68489295
39
Sets the displayName property value. The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
def display_name=(value) @display_name = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def display_name=(value)\n @display_name = value\n end", "def display_name=(value)\n @display_name = value\n end", "def app_display_name=(value)\n @app_display_name = value\n end", "d...
[ "0.68276113", "0.67984176", "0.6789372", "0.6789372", "0.6789372", "0.66921777", "0.667881", "0.644039", "0.644039", "0.644039", "0.6284721", "0.61687815", "0.61687815", "0.6165007", "0.60929507", "0.6088271", "0.60357356", "0.6026034", "0.6023351", "0.6023351", "0.60210264",...
0.6894319
37
Gets the extensionProperties property value. Readonly. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0).
def extension_properties return @extension_properties end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def extension_properties=(value)\n @extension_properties = value\n end", "def single_value_extended_properties\n return @single_value_extended_properties\n end", "def single_value_extended_properties\n return @single_value_extended_properties\n...
[ "0.65338045", "0.642669", "0.642669", "0.642669", "0.6342844", "0.6342844", "0.6342844", "0.56859535", "0.54865223", "0.5480019", "0.54084575", "0.54059273", "0.53985786", "0.5390689", "0.53540415", "0.53421557", "0.53415596", "0.53298354", "0.5324079", "0.5281424", "0.525393...
0.73797387
0
Sets the extensionProperties property value. Readonly. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0).
def extension_properties=(value) @extension_properties = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def extensions=(value)\n @extensions = value\n end", "def extensions=(value)\n @extensions = value\n end", "def extensions=(value)\n @extensions = value\n end", "def extensions=(val)\n set_extensions(val)\n val\n end",...
[ "0.64369947", "0.64369947", "0.64369947", "0.6415627", "0.6310606", "0.6310606", "0.6310606", "0.62829334", "0.62083495", "0.61870617", "0.61870617", "0.61870617", "0.6100614", "0.60459185", "0.5842844", "0.5826262", "0.58129954", "0.57676274", "0.57039106", "0.5631596", "0.5...
0.79725033
0
Gets the federatedIdentityCredentials property value. Federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0).
def federated_identity_credentials return @federated_identity_credentials end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def federated_identity_credentials=(value)\n @federated_identity_credentials = value\n end", "def fetch_credentials\n service = @application.services.find_service FILTER\n service['credentials']\n end", "def amf_credentials\n if RequestStore.rails_authentication ...
[ "0.64712614", "0.5481593", "0.5417815", "0.52244824", "0.48199075", "0.47429198", "0.47291657", "0.470213", "0.46995538", "0.46730962", "0.4668474", "0.45526695", "0.45380145", "0.4520325", "0.4509671", "0.44998193", "0.44967493", "0.44838315", "0.44820496", "0.4478074", "0.4...
0.7010675
0
Sets the federatedIdentityCredentials property value. Federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0).
def federated_identity_credentials=(value) @federated_identity_credentials = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_federation\n @federation = Federation.find(params[:id])\n end", "def credentials=(value)\n super\n values = value.is_a?(Array) ? value : [value]\n hash = values.first.is_a?(Hash) ? values.first.with_indifferent_access : nil\n self.openid_identifier = hash[:openid_ident...
[ "0.5634913", "0.5619688", "0.54210216", "0.5244525", "0.50794685", "0.502044", "0.50034255", "0.49515355", "0.49202353", "0.48996773", "0.48921308", "0.48899665", "0.4880244", "0.48521394", "0.48449174", "0.4789488", "0.47363174", "0.47192883", "0.46996412", "0.46990544", "0....
0.7659251
0
The deserialization information for the current model
def get_field_deserializers() return super.merge({ "addIns" => lambda {|n| @add_ins = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AddIn.create_from_discriminator_value(pn) }) }, "api" => lambda {|n| @api = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ApiApplication.create_from_discriminator_value(pn) }) }, "appId" => lambda {|n| @app_id = n.get_string_value() }, "appManagementPolicies" => lambda {|n| @app_management_policies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AppManagementPolicy.create_from_discriminator_value(pn) }) }, "appRoles" => lambda {|n| @app_roles = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AppRole.create_from_discriminator_value(pn) }) }, "applicationTemplateId" => lambda {|n| @application_template_id = n.get_string_value() }, "certification" => lambda {|n| @certification = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Certification.create_from_discriminator_value(pn) }) }, "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, "createdOnBehalfOf" => lambda {|n| @created_on_behalf_of = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DirectoryObject.create_from_discriminator_value(pn) }) }, "defaultRedirectUri" => lambda {|n| @default_redirect_uri = n.get_string_value() }, "description" => lambda {|n| @description = n.get_string_value() }, "disabledByMicrosoftStatus" => lambda {|n| @disabled_by_microsoft_status = n.get_string_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "extensionProperties" => lambda {|n| @extension_properties = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ExtensionProperty.create_from_discriminator_value(pn) }) }, "federatedIdentityCredentials" => lambda {|n| @federated_identity_credentials = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::FederatedIdentityCredential.create_from_discriminator_value(pn) }) }, "groupMembershipClaims" => lambda {|n| @group_membership_claims = n.get_string_value() }, "homeRealmDiscoveryPolicies" => lambda {|n| @home_realm_discovery_policies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::HomeRealmDiscoveryPolicy.create_from_discriminator_value(pn) }) }, "identifierUris" => lambda {|n| @identifier_uris = n.get_collection_of_primitive_values(String) }, "info" => lambda {|n| @info = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::InformationalUrl.create_from_discriminator_value(pn) }) }, "isDeviceOnlyAuthSupported" => lambda {|n| @is_device_only_auth_supported = n.get_boolean_value() }, "isFallbackPublicClient" => lambda {|n| @is_fallback_public_client = n.get_boolean_value() }, "keyCredentials" => lambda {|n| @key_credentials = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::KeyCredential.create_from_discriminator_value(pn) }) }, "logo" => lambda {|n| @logo = n.get_object_value(lambda {|pn| Base64url.create_from_discriminator_value(pn) }) }, "notes" => lambda {|n| @notes = n.get_string_value() }, "oauth2RequirePostResponse" => lambda {|n| @oauth2_require_post_response = n.get_boolean_value() }, "optionalClaims" => lambda {|n| @optional_claims = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::OptionalClaims.create_from_discriminator_value(pn) }) }, "owners" => lambda {|n| @owners = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DirectoryObject.create_from_discriminator_value(pn) }) }, "parentalControlSettings" => lambda {|n| @parental_control_settings = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ParentalControlSettings.create_from_discriminator_value(pn) }) }, "passwordCredentials" => lambda {|n| @password_credentials = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::PasswordCredential.create_from_discriminator_value(pn) }) }, "publicClient" => lambda {|n| @public_client = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::PublicClientApplication.create_from_discriminator_value(pn) }) }, "publisherDomain" => lambda {|n| @publisher_domain = n.get_string_value() }, "requestSignatureVerification" => lambda {|n| @request_signature_verification = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::RequestSignatureVerification.create_from_discriminator_value(pn) }) }, "requiredResourceAccess" => lambda {|n| @required_resource_access = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::RequiredResourceAccess.create_from_discriminator_value(pn) }) }, "samlMetadataUrl" => lambda {|n| @saml_metadata_url = n.get_string_value() }, "serviceManagementReference" => lambda {|n| @service_management_reference = n.get_string_value() }, "signInAudience" => lambda {|n| @sign_in_audience = n.get_string_value() }, "spa" => lambda {|n| @spa = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SpaApplication.create_from_discriminator_value(pn) }) }, "synchronization" => lambda {|n| @synchronization = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Synchronization.create_from_discriminator_value(pn) }) }, "tags" => lambda {|n| @tags = n.get_collection_of_primitive_values(String) }, "tokenEncryptionKeyId" => lambda {|n| @token_encryption_key_id = n.get_guid_value() }, "tokenIssuancePolicies" => lambda {|n| @token_issuance_policies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::TokenIssuancePolicy.create_from_discriminator_value(pn) }) }, "tokenLifetimePolicies" => lambda {|n| @token_lifetime_policies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::TokenLifetimePolicy.create_from_discriminator_value(pn) }) }, "verifiedPublisher" => lambda {|n| @verified_publisher = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::VerifiedPublisher.create_from_discriminator_value(pn) }) }, "web" => lambda {|n| @web = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WebApplication.create_from_discriminator_value(pn) }) }, }) end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def deserialized\n @deserialized ||= @serializer.deserialize @serialized_object\n end", "def get_field_deserializers()\n return super.merge({\n \"detectionStatus\" => lambda {|n| @detection_status = n.get_enum_value(MicrosoftGraph::Models::SecurityDetectionStatus) },...
[ "0.6510734", "0.63224316", "0.6322254", "0.63094735", "0.62954384", "0.6238735", "0.6232461", "0.62155676", "0.6200175", "0.6199403", "0.6173917", "0.61733985", "0.61705345", "0.61631054", "0.61620396", "0.6158031", "0.6156071", "0.6142402", "0.613998", "0.6138061", "0.612005...
0.0
-1
Gets the groupMembershipClaims property value. Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following valid string values: None, SecurityGroup (for security groups and Azure AD roles), All (this gets all of the security groups, distribution groups, and Azure AD directory roles that the signedin user is a member of).
def group_membership_claims return @group_membership_claims end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def group_membership_claims=(value)\n @group_membership_claims = value\n end", "def memberships(refresh = false)\n @memberships = nil if refresh\n @memberships ||= AccessGroupGroupMember.where(member_id: id).includes(:group).map{|v| v.group}.to_a.freeze\n end", "def membe...
[ "0.6811272", "0.5529802", "0.54280555", "0.5279023", "0.5242139", "0.5164084", "0.4986607", "0.49712747", "0.48949903", "0.48887187", "0.48726645", "0.4864599", "0.4864004", "0.48482183", "0.48449123", "0.48239", "0.4822462", "0.4806104", "0.4789052", "0.47455767", "0.4707743...
0.652079
1
Sets the groupMembershipClaims property value. Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following valid string values: None, SecurityGroup (for security groups and Azure AD roles), All (this gets all of the security groups, distribution groups, and Azure AD directory roles that the signedin user is a member of).
def group_membership_claims=(value) @group_membership_claims = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UpdateMembership params = {}\n \n APICall(path: 'group_memberships.json',method: 'PUT',payload: params.to_json)\n \n end", "def group_membership_claims\n return @group_membership_claims\n end", "def set_os_groups_membership\n @os_groups_membership = ...
[ "0.5191503", "0.511439", "0.5012243", "0.49101797", "0.49080253", "0.49043232", "0.479399", "0.47837612", "0.47713754", "0.46546578", "0.46171102", "0.4564804", "0.4564804", "0.45582455", "0.45564923", "0.45199874", "0.45159665", "0.45011166", "0.4498132", "0.44958225", "0.44...
0.6966193
0
Gets the homeRealmDiscoveryPolicies property value. The homeRealmDiscoveryPolicies property
def home_realm_discovery_policies return @home_realm_discovery_policies end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def home_realm_discovery_policies=(value)\n @home_realm_discovery_policies = value\n end", "def app_management_policies\n return @app_management_policies\n end", "def managed_app_policies\n return @managed_app_policies\n end", "def...
[ "0.7594608", "0.5877245", "0.57575244", "0.5266318", "0.5265849", "0.504827", "0.5015482", "0.4993095", "0.49523392", "0.4911553", "0.48988283", "0.48424086", "0.47984084", "0.47815743", "0.47552264", "0.47367916", "0.47265092", "0.4703537", "0.46937594", "0.46680838", "0.463...
0.8102788
0
Sets the homeRealmDiscoveryPolicies property value. The homeRealmDiscoveryPolicies property
def home_realm_discovery_policies=(value) @home_realm_discovery_policies = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def home_realm_discovery_policies\n return @home_realm_discovery_policies\n end", "def app_management_policies=(value)\n @app_management_policies = value\n end", "def set_user_homes\n @user_homes = UserHome.find(params[:id])\n end", "def managed_app...
[ "0.66333663", "0.50669366", "0.476827", "0.47435424", "0.47069246", "0.4645053", "0.46032798", "0.45891887", "0.45887285", "0.44939795", "0.44340652", "0.43737644", "0.43648154", "0.43647373", "0.43087232", "0.42550147", "0.42402473", "0.4232724", "0.42245358", "0.42155847", ...
0.7954294
0
Gets the identifierUris property value. Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://, or specify a more readable URI like For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith).
def identifier_uris return @identifier_uris end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def identifier_uris=(value)\n @identifier_uris = value\n end", "def federation_uris\n\n ## All unique federations, making sure we include primary\n all_fed_uris = [primary_federation_uri].concat other_federation_uris \n \n return all_fed_uris.uniq\n \n ...
[ "0.74827427", "0.5640863", "0.5552725", "0.53139377", "0.53011584", "0.52753067", "0.5272265", "0.52344", "0.52054876", "0.5113959", "0.50476176", "0.49695092", "0.49579987", "0.49555147", "0.49087068", "0.49037763", "0.4874877", "0.48617846", "0.48596185", "0.4855374", "0.48...
0.7334208
1
Sets the identifierUris property value. Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://, or specify a more readable URI like For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith).
def identifier_uris=(value) @identifier_uris = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def identifier_uris\n return @identifier_uris\n end", "def redirectUris=(uris)\n self.redirect_url = uris.first\n end", "def uri=(value)\n @uris << value\n end", "def redirect_uris=(value)\n @redirect_uris = value\n end", "def set_uri_...
[ "0.61139476", "0.59235924", "0.5873112", "0.57712114", "0.5642082", "0.56270194", "0.56270194", "0.56270194", "0.5300028", "0.52131236", "0.5184332", "0.5056655", "0.50495505", "0.50135076", "0.50135076", "0.50131416", "0.49948037", "0.49948037", "0.4951006", "0.49433023", "0...
0.78332806
0
Gets the info property value. Basic profile information of the application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Azure AD apps. Supports $filter (eq, ne, not, ge, le, and eq on null values).
def info return @info end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_profile_information\n # body = {\n # cmd: \"get_profile_information\"\n # }\n\n end", "def user_info\n @user_info ||= raw_info.nil? ? {} : raw_info['query']['results'][\"profile\"]\n end", "def raw_info\n @raw_info ||= begin\n access_token.options[:mode]...
[ "0.69802237", "0.6809005", "0.64168686", "0.6371553", "0.63713014", "0.63219273", "0.62606686", "0.62075883", "0.6204312", "0.61994845", "0.61732024", "0.61732024", "0.6126729", "0.6117835", "0.6105153", "0.6080017", "0.6047333", "0.60289705", "0.60151327", "0.60086083", "0.5...
0.5951843
26
Sets the info property value. Basic profile information of the application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Azure AD apps. Supports $filter (eq, ne, not, ge, le, and eq on null values).
def info=(value) @info = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def info=(info)\n if info.nil?\n fail ArgumentError, 'invalid value for \"info\", info cannot be nil.'\n end\n @info = info\n end", "def update_account_info(info)\n self.name = info['name']\n self.email = info['email']\n self.nickname = info['nickname']\n self.image ...
[ "0.6367489", "0.6210766", "0.6066226", "0.6020833", "0.60146683", "0.60146683", "0.60146683", "0.60146683", "0.5906288", "0.58989644", "0.58420515", "0.5826533", "0.58156633", "0.5767955", "0.5758939", "0.5733836", "0.57319593", "0.5699065", "0.56985897", "0.5642445", "0.5631...
0.672426
0
Gets the isDeviceOnlyAuthSupported property value. Specifies whether this application supports device authentication without a user. The default is false.
def is_device_only_auth_supported return @is_device_only_auth_supported end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def is_device_only_auth_supported=(value)\n @is_device_only_auth_supported = value\n end", "def device_threat_protection_enabled\n return @device_threat_protection_enabled\n end", "def supports_device_licensing\n return @supports_device_licensi...
[ "0.82091016", "0.5794838", "0.5704228", "0.5637044", "0.5500508", "0.52928233", "0.52656937", "0.52656937", "0.52483326", "0.5235992", "0.52298135", "0.5204883", "0.5185415", "0.51731735", "0.5142125", "0.51267195", "0.50930846", "0.50804585", "0.5058978", "0.5052673", "0.504...
0.85079896
0
Sets the isDeviceOnlyAuthSupported property value. Specifies whether this application supports device authentication without a user. The default is false.
def is_device_only_auth_supported=(value) @is_device_only_auth_supported = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def is_device_only_auth_supported\n return @is_device_only_auth_supported\n end", "def supports_device_licensing=(value)\n @supports_device_licensing = value\n end", "def device_threat_protection_enabled=(value)\n @device_threat_protection_enab...
[ "0.7534763", "0.55774003", "0.5065041", "0.5044795", "0.50420743", "0.49137604", "0.4900414", "0.48477423", "0.4697836", "0.4681772", "0.4673466", "0.46607378", "0.46447477", "0.46379107", "0.46277136", "0.46119782", "0.46113938", "0.46104023", "0.45974845", "0.45503598", "0....
0.85721374
0
Gets the isFallbackPublicClient property value. Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as a web app. There are certain scenarios where Azure AD cannot determine the client application type. For example, the ROPC flow where it is configured without specifying a redirect URI. In those cases Azure AD interprets the application type based on the value of this property.
def is_fallback_public_client return @is_fallback_public_client end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def is_fallback_public_client=(value)\n @is_fallback_public_client = value\n end", "def known_client?(client_public_key)\n encoded_key = z85_encode(client_public_key)\n if @known_clients.empty?\n store_known_client(encoded_key)\n true\n e...
[ "0.78852165", "0.5916438", "0.5819653", "0.5703212", "0.5690255", "0.56710577", "0.559365", "0.54416186", "0.54416186", "0.5393162", "0.5381004", "0.5342113", "0.53158593", "0.5306093", "0.52745324", "0.52589536", "0.5236056", "0.52211154", "0.51847464", "0.51534474", "0.5099...
0.80042475
0
Sets the isFallbackPublicClient property value. Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as a web app. There are certain scenarios where Azure AD cannot determine the client application type. For example, the ROPC flow where it is configured without specifying a redirect URI. In those cases Azure AD interprets the application type based on the value of this property.
def is_fallback_public_client=(value) @is_fallback_public_client = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def is_fallback_public_client\n return @is_fallback_public_client\n end", "def public_client=(value)\n @public_client = value\n end", "def known_client?(client_public_key)\n encoded_key = z85_encode(client_public_key)\n if @known_clients.emp...
[ "0.7367495", "0.62073845", "0.5408701", "0.54066086", "0.52906847", "0.5076319", "0.5076319", "0.50392914", "0.49926624", "0.4936968", "0.4923463", "0.4816072", "0.47869697", "0.47417474", "0.47376898", "0.47048894", "0.46996167", "0.46898264", "0.46898264", "0.46898264", "0....
0.82420105
0
Gets the keyCredentials property value. The collection of key credentials associated with the application. Not nullable. Supports $filter (eq, not, ge, le).
def key_credentials return @key_credentials end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def key_credentials=(value)\n @key_credentials = value\n end", "def list_key_credentials_for_application(app_id, options = {})\n get(\"/apps/#{app_id}/credentials/keys\", options)\n end", "def credential_keys\n %w(seal certificate) & valid_keys\n end", "def credentia...
[ "0.64408237", "0.63653445", "0.6296331", "0.5992108", "0.5985357", "0.5985357", "0.5977728", "0.5957623", "0.58800143", "0.58800143", "0.58774936", "0.58592206", "0.57703036", "0.5761351", "0.57095504", "0.56924593", "0.5679762", "0.5666132", "0.5586043", "0.558327", "0.55757...
0.75020885
0
Sets the keyCredentials property value. The collection of key credentials associated with the application. Not nullable. Supports $filter (eq, not, ge, le).
def key_credentials=(value) @key_credentials = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def credentials=(value)\n super\n values = value.is_a?(Array) ? value : [value]\n self.unauthorized_record = values.first if values.first.class < ::ActiveRecord::Base\n end", "def credentials=(values)\n return if values.blank? || !values.is_a?(Hash)\n values.symbolize_keys...
[ "0.61287", "0.583167", "0.5787238", "0.5775042", "0.5744556", "0.57397985", "0.5704203", "0.56662357", "0.56281596", "0.5616786", "0.5615978", "0.5610388", "0.55678725", "0.5423186", "0.5421683", "0.5351078", "0.5304345", "0.53013194", "0.5266042", "0.5262708", "0.5210179", ...
0.7661783
0
Gets the logo property value. The main logo for the application. Not nullable.
def logo return @logo end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def logo\n get_attribute(Yoti::Attribute::APPLICATION_LOGO)\n end", "def logo=(value)\n @logo = value\n end", "def get_logo\n Oneclick::Application.config.ui_logo\n end", "def logo_url\n @attributes[:logo_url]\n end", "def logo\n raw_team['team_logo']\n ...
[ "0.8399021", "0.76958764", "0.76397866", "0.74798477", "0.74062383", "0.73338646", "0.7333163", "0.7309223", "0.7069844", "0.705755", "0.7018784", "0.68977016", "0.6812993", "0.6805986", "0.6795919", "0.65749174", "0.6571583", "0.6544517", "0.6536687", "0.650472", "0.6412267"...
0.8241193
1
Sets the logo property value. The main logo for the application. Not nullable.
def logo=(value) @logo = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def application_logo=(value)\n @children['application-logo'][:value] = value\n end", "def set_logo\n @logo = Logo.find(@company.logo_id) # NOTE: this raises a 404 if there's no logo,\n # which is what we want here.\n end", "def logo=(v)\n @logo = v ...
[ "0.81188166", "0.79651934", "0.7922105", "0.7590469", "0.74548113", "0.72697484", "0.71743387", "0.71743387", "0.6668737", "0.6615796", "0.6579161", "0.6576527", "0.6492738", "0.6410677", "0.6339705", "0.6334189", "0.6295445", "0.6295445", "0.61755216", "0.6102047", "0.609333...
0.8703266
0
Gets the notes property value. Notes relevant for the management of the application.
def notes return @notes end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def notes\n @notes\n end", "def notes\n @attributes[:notes]\n end", "def notes\n @attributes[:notes]\n end", "def notes=(value)\n @notes = value\n end", "def notes=(value)\n @notes = value\n end", "def notes=(value)\n ...
[ "0.7818876", "0.77337897", "0.77337897", "0.756268", "0.756268", "0.756268", "0.756268", "0.7554823", "0.7129449", "0.7068823", "0.68051517", "0.6730072", "0.66614723", "0.6489704", "0.64825076", "0.6463735", "0.6454054", "0.64469033", "0.6415561", "0.6355015", "0.63356125", ...
0.76053286
6
Sets the notes property value. Notes relevant for the management of the application.
def notes=(value) @notes = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def notes=(notes)\n self.service.editObject({ \"notes\" => notes.to_s })\n self.refresh_details()\n end", "def notes=(v)\n Axlsx.validate_int v\n @notes = v\n end", "def set_Note(value)\n set_input(\"Note\", value)\n end", "def set_Note(value)\n set_input(\"Note...
[ "0.8099334", "0.76059145", "0.75253016", "0.74528295", "0.7438469", "0.73540175", "0.69978106", "0.69937116", "0.6835985", "0.6820149", "0.6820149", "0.6760869", "0.6668474", "0.66541296", "0.66436833", "0.66384596", "0.6605097", "0.660212", "0.65988207", "0.65647656", "0.651...
0.85654
3
Gets the oauth2RequirePostResponse property value. The oauth2RequirePostResponse property
def oauth2_require_post_response return @oauth2_require_post_response end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oauth2_require_post_response=(value)\n @oauth2_require_post_response = value\n end", "def get_response()\n if has_errors?\n return get_error_response()\n end\n @values[\"RESPONSE\"]\n end", "def get_response_status\n @response_status\n end", ...
[ "0.77776873", "0.542151", "0.5420377", "0.52322245", "0.5204135", "0.5042564", "0.5040334", "0.5021963", "0.5020192", "0.5019103", "0.49834907", "0.4940665", "0.49222797", "0.49032372", "0.49025312", "0.4891973", "0.488825", "0.4849503", "0.48309827", "0.4822635", "0.48196617...
0.82434875
0
Sets the oauth2RequirePostResponse property value. The oauth2RequirePostResponse property
def oauth2_require_post_response=(value) @oauth2_require_post_response = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def oauth2_require_post_response\n return @oauth2_require_post_response\n end", "def set_ResponseType(value)\n set_input(\"ResponseType\", value)\n end", "def set_ResponseType(value)\n set_input(\"ResponseType\", value)\n end", "def set_ResponseType(v...
[ "0.7384578", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697", "0.49561697",...
0.9044024
0
Gets the optionalClaims property value. Application developers can configure optional claims in their Azure AD applications to specify the claims that are sent to their application by the Microsoft security token service. For more information, see How to: Provide optional claims to your app.
def optional_claims return @optional_claims end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def optional_claims=(value)\n @optional_claims = value\n end", "def claims\n JWT.decode(jwt_token_from_request, Rails.application.secrets.secret_key_base, true)\n rescue\n nil\n end", "def required_claims; end", "def required_claims; end", "def auth0_claims(verify_...
[ "0.7396028", "0.596783", "0.52862704", "0.52862704", "0.5194788", "0.5169623", "0.5169623", "0.48873812", "0.48788294", "0.48529157", "0.47418407", "0.47317505", "0.47170284", "0.47038212", "0.4681351", "0.467386", "0.46588647", "0.461625", "0.46112427", "0.44994858", "0.4499...
0.7954696
0
Sets the optionalClaims property value. Application developers can configure optional claims in their Azure AD applications to specify the claims that are sent to their application by the Microsoft security token service. For more information, see How to: Provide optional claims to your app.
def optional_claims=(value) @optional_claims = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def optional_claims\n return @optional_claims\n end", "def accept_mapped_claims=(value)\n @accept_mapped_claims = value\n end", "def optional=(optional)\n @optional = optional.collect do |field|\n field.intern\n end\n end", "def set_clai...
[ "0.63222647", "0.54106754", "0.53149456", "0.52546626", "0.5131562", "0.5029853", "0.4723227", "0.47098303", "0.47098303", "0.45939302", "0.45939302", "0.45491263", "0.45301858", "0.45133772", "0.4494983", "0.448874", "0.44808885", "0.44661134", "0.44386283", "0.44060832", "0...
0.82529134
0
Gets the owners property value. Directory objects that are owners of the application. Readonly. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
def owners return @owners end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def owners\n @obj['owners']\n end", "def getOwners\r\n\t\t\t\t\treturn @owners\r\n\t\t\t\tend", "def owners=(value)\n @owners = value\n end", "def owners\n @data['owners']\n end", "def get_owners\n return make_request(\"#{self.endpoint}/list/owners\")\n ...
[ "0.72949517", "0.7074225", "0.69925416", "0.69843423", "0.69398755", "0.6883774", "0.67830276", "0.6722997", "0.65761966", "0.6449256", "0.64116615", "0.6206068", "0.6134959", "0.6108935", "0.6107539", "0.59783596", "0.58679074", "0.5864923", "0.58454347", "0.5829305", "0.582...
0.71533287
1
Sets the owners property value. Directory objects that are owners of the application. Readonly. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
def owners=(value) @owners = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def setOwners(owners)\r\n\t\t\t\t\t@owners = owners\r\n\t\t\t\tend", "def owners_count=(value)\n @owners_count = value\n end", "def owners\n @obj['owners']\n end", "def owners\n return @owners\n end", "def owners\n # set @owners instance variab...
[ "0.7155632", "0.68630964", "0.66506684", "0.6472411", "0.64438546", "0.6364202", "0.63176644", "0.6296354", "0.6206105", "0.6189801", "0.6110934", "0.6110934", "0.6110934", "0.6110934", "0.6110934", "0.6078986", "0.60420275", "0.6039663", "0.6014798", "0.5925908", "0.5899629"...
0.8092823
0
Gets the parentalControlSettings property value. Specifies parental control settings for an application.
def parental_control_settings return @parental_control_settings end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def parental_control_settings=(value)\n @parental_control_settings = value\n end", "def inheritable_settings\n return @inheritable_settings\n end", "def parent\n @controller.instance_variable_get(:\"@#{parent_name}\")\n end", "def parent\n if...
[ "0.80329704", "0.5724647", "0.5723721", "0.56595904", "0.5657176", "0.5656643", "0.5656643", "0.5656643", "0.5656643", "0.5656643", "0.5656643", "0.565416", "0.5499744", "0.5497065", "0.5466594", "0.5429247", "0.5390112", "0.5390112", "0.5372572", "0.53541476", "0.5343191", ...
0.8493172
0
Sets the parentalControlSettings property value. Specifies parental control settings for an application.
def parental_control_settings=(value) @parental_control_settings = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def parental_control_settings\n return @parental_control_settings\n end", "def set_Parent(value)\n set_input(\"Parent\", value)\n end", "def set_parent(parent)\n @parent = parent\n end", "def set_parent(parent)\n @parent = parent\n end", "def parent=(va...
[ "0.6853858", "0.63454", "0.62270117", "0.62270117", "0.6162204", "0.6107152", "0.6106573", "0.60845697", "0.5985315", "0.58939797", "0.5869653", "0.5780242", "0.57718503", "0.57718503", "0.5759621", "0.5759465", "0.57488924", "0.57488924", "0.57488924", "0.57259315", "0.57130...
0.86249256
0
Gets the passwordCredentials property value. The collection of password credentials associated with the application. Not nullable.
def password_credentials return @password_credentials end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def password_credentials=(value)\n @password_credentials = value\n end", "def password_credential\n user.credentials.find { |c| c.is_a? Credentials::Password }\n end", "def password\n open(@credentials_file, 'r').readlines.last.strip if valid_file?(@credentials_file)\n end...
[ "0.7119479", "0.6806089", "0.67128956", "0.6679504", "0.6679504", "0.66720736", "0.6517355", "0.65137565", "0.64301246", "0.63769174", "0.63769174", "0.63548845", "0.62736934", "0.62723315", "0.62545973", "0.6221573", "0.6199996", "0.6189869", "0.6167288", "0.61444056", "0.61...
0.80666035
0
Sets the passwordCredentials property value. The collection of password credentials associated with the application. Not nullable.
def password_credentials=(value) @password_credentials = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def credentials=(value)\n BaseTask.validate value, \"credentials\", Database::CREDENTIALS\n @credentials = value\n end", "def credentials=(credentials)\n if credentials.kind_of?(ApplicationCredentials) || credentials.kind_of?(AccountCredentials)\n @credentials = credentials\n ...
[ "0.63876194", "0.6378463", "0.61338764", "0.6058141", "0.6042147", "0.6025427", "0.5961973", "0.59074754", "0.5899096", "0.5874709", "0.58639336", "0.5816453", "0.5768799", "0.5766279", "0.5731916", "0.57288784", "0.57288784", "0.57288784", "0.5663424", "0.56625056", "0.55758...
0.7700806
0
Gets the publicClient property value. Specifies settings for installed clients such as desktop or mobile devices.
def public_client return @public_client end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def public_client=(value)\n @public_client = value\n end", "def is_fallback_public_client=(value)\n @is_fallback_public_client = value\n end", "def client_public_key\n return ENV[\"MCOLLECTIVE_SSL_PUBLIC\"] if ENV.include?(\"MCOLLECTIVE_SSL_PUBLIC\")\n...
[ "0.7838182", "0.6843642", "0.6757797", "0.6535707", "0.6383084", "0.63417524", "0.6334549", "0.6305104", "0.6276977", "0.6195283", "0.6184884", "0.61810046", "0.6166321", "0.61521626", "0.61521626", "0.6117435", "0.61082697", "0.6069252", "0.6041265", "0.6015501", "0.6008772"...
0.7698064
1
Sets the publicClient property value. Specifies settings for installed clients such as desktop or mobile devices.
def public_client=(value) @public_client = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def is_fallback_public_client=(value)\n @is_fallback_public_client = value\n end", "def set_clients_setting\n @clients = current_client\n end", "def client=(client)\n client(client)\n end", "def set_client\n @client = Client.find(current_user.client_id)\n end...
[ "0.7295949", "0.69142056", "0.6553209", "0.6495483", "0.6487151", "0.6382972", "0.6382972", "0.63554376", "0.6341161", "0.6341161", "0.6341161", "0.6341161", "0.6339986", "0.62884796", "0.62324154", "0.6158043", "0.61209714", "0.6072964", "0.6006947", "0.60025346", "0.5999023...
0.85617185
0
Gets the publisherDomain property value. The verified publisher domain for the application. Readonly. For more information, see How to: Configure an application's publisher domain. Supports $filter (eq, ne, ge, le, startsWith).
def publisher_domain return @publisher_domain end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def publisher_domain=(value)\n @publisher_domain = value\n end", "def domain\n return @domain if defined? @domain\n\n @domain = begin\n PublicSuffix.parse(normalized_domain, default_rule: nil)\n rescue PublicSuffix::DomainInvalid, PublicSuffix::DomainNotAllowed\n nil\...
[ "0.77706516", "0.66552216", "0.6425162", "0.62295306", "0.6194823", "0.604487", "0.604487", "0.59891844", "0.59891844", "0.59891844", "0.59891844", "0.5984639", "0.59587914", "0.59452784", "0.59452784", "0.59019005", "0.58875155", "0.58871067", "0.5860357", "0.5860357", "0.58...
0.805611
0
Sets the publisherDomain property value. The verified publisher domain for the application. Readonly. For more information, see How to: Configure an application's publisher domain. Supports $filter (eq, ne, ge, le, startsWith).
def publisher_domain=(value) @publisher_domain = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def publisher_domain\n return @publisher_domain\n end", "def publisher=(value)\n @publisher = value\n end", "def publisher=(value)\n @publisher = value\n end", "def publisher=(value)\n @publisher = value\n ...
[ "0.6821155", "0.6486566", "0.6486566", "0.6486566", "0.6486566", "0.63376206", "0.63104427", "0.6292557", "0.6188771", "0.612234", "0.6076492", "0.6068785", "0.60293996", "0.60293996", "0.6021942", "0.5934014", "0.5934014", "0.5917424", "0.5877267", "0.5788985", "0.5749994", ...
0.8446686
0
Gets the requestSignatureVerification property value. Specifies whether this application requires Azure AD to verify the signed authentication requests.
def request_signature_verification return @request_signature_verification end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def request_signature_verification=(value)\n @request_signature_verification = value\n end", "def is_signed\n return @is_signed\n end", "def signed?\n # Fail immediately if the request is not signed at all\n return false unless oauth_request? an...
[ "0.72317904", "0.633704", "0.63020915", "0.6228427", "0.60170025", "0.59874153", "0.5975003", "0.5904157", "0.58997923", "0.58445406", "0.58042586", "0.579837", "0.5791491", "0.57603616", "0.5743311", "0.5729621", "0.57295996", "0.5712599", "0.5705116", "0.5699106", "0.569605...
0.8100473
0
Sets the requestSignatureVerification property value. Specifies whether this application requires Azure AD to verify the signed authentication requests.
def request_signature_verification=(value) @request_signature_verification = value end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def request_signature_verification\n return @request_signature_verification\n end", "def set_verification\n if provider_class.require_verify?\n self.require_verify = true\n self.verified = false\n end\n end", "def verify_signatures_with_http_info(request)\n raise...
[ "0.6594554", "0.61609375", "0.59841347", "0.57135916", "0.55595595", "0.55354446", "0.55354446", "0.55349576", "0.55349576", "0.55349576", "0.55349576", "0.55349576", "0.55349576", "0.54901147", "0.54901147", "0.54901147", "0.54896307", "0.54896307", "0.54896307", "0.54896307",...
0.7772493
0
Gets the requiredResourceAccess property value. Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning midOctober 2021, the total number of required permissions must not exceed 400. For more information, see Limits on requested permissions per app. Not nullable. Supports $filter (eq, not, ge, le).
def required_resource_access return @required_resource_access end
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def required_resource_access=(value)\n @required_resource_access = value\n end", "def resource_access\n return @resource_access\n end", "def resource_access\n return @resource_access\n end", "def permissions\n @resource_perm...
[ "0.74570864", "0.65478575", "0.65478575", "0.6391297", "0.6012648", "0.5969611", "0.5969611", "0.5854961", "0.56717896", "0.5643114", "0.5580377", "0.54848945", "0.54761815", "0.54761815", "0.5430401", "0.54301953", "0.54181594", "0.53932554", "0.53932554", "0.53932554", "0.5...
0.75706017
0