Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.35 KB

File metadata and controls

34 lines (26 loc) · 1.35 KB

Mapping

Properties

Name Type Description Notes
id int [optional]
name str The name of the mapping.
enabled bool Indicates if the mapping is enabled or not.
match str Indicates how conditions should be matched.
position int Indicates the order of the mapping. When `null` this will default to last position.
conditions List[Condition] An array of conditions that the user must meet in order for the mapping to be applied.
actions List[ActionObj] An array of actions that will be applied to the users that are matched by the conditions.

Example

from onelogin.models.mapping import Mapping

# TODO update the JSON string below
json = "{}"
# create an instance of Mapping from a JSON string
mapping_instance = Mapping.from_json(json)
# print the JSON string representation of the object
print Mapping.to_json()

# convert the object into a dict
mapping_dict = mapping_instance.to_dict()
# create an instance of Mapping from a dict
mapping_form_dict = mapping.from_dict(mapping_dict)

[Back to Model list] [Back to API list] [Back to README]