Class: JSS::UserExtensionAttribute

Inherits:
ExtensionAttribute show all
Defined in:
lib/jss-api/api_object/extension_attribute/user_extension_attribute.rb,
lib/jss-api.rb

Overview

A User extension attribute as defined in the JSS

Constant Summary collapse

RSRC_BASE =

The base for REST resources of this class

"userextensionattributes"
RSRC_LIST_KEY =

the hash key used for the JSON list output of all objects in the JSS

:user_extension_attributes
RSRC_OBJECT_KEY =

The hash key used for the JSON object output. It’s also used in various error messages

:user_extension_attribute
VALID_DATA_KEYS =

these keys, as well as :id and :name, are present in valid API JSON data for this class

[:description, :data_type, :input_type]
TARGET_CLASS =

these ext attribs are related to these kinds of objects

JSS::User
ALL_TARGETS_CRITERION =

A criterion that will return all members of the TARGET_CLASS

JSS::Criteriable::Criterion.new(:and_or => "and", :name => "Username", :search_type => "like", :value => '')

Constants inherited from ExtensionAttribute

ExtensionAttribute::DATA_TYPES, ExtensionAttribute::DEFAULT_DATA_TYPE, ExtensionAttribute::DEFAULT_INPUT_TYPE, ExtensionAttribute::DEFAULT_WEB_DISPLAY_CHOICE, ExtensionAttribute::EDITABLE_INPUT_TYPES, ExtensionAttribute::INPUT_TYPES, ExtensionAttribute::WEB_DISPLAY_CHOICES

Constants included from Updatable

JSS::Updatable::UPDATABLE

Constants included from Creatable

Creatable::CREATABLE

Constants inherited from APIObject

APIObject::DEFAULT_LOOKUP_KEYS, APIObject::REQUIRED_DATA_KEYS

Instance Attribute Summary

Attributes inherited from ExtensionAttribute

#data_type, #description, #input_type, #popup_choices, #web_display

Attributes included from Updatable

#need_to_update

Attributes inherited from APIObject

#id, #in_jss, #name, #rest_rsrc

Method Summary

Methods inherited from ExtensionAttribute

#all_with_result, #create, #delete, #initialize, #latest_values, #update

Methods included from Updatable

#name=, #update

Methods included from Creatable

#create

Methods inherited from APIObject

all, all_ids, all_names, #delete, get_name, #initialize, map_all_ids_to, #save, xml_list

Constructor Details

This class inherits a constructor from JSS::ExtensionAttribute