APIObject class - Platform - BlueCat Gateway - 24.3.3

Gateway Administration Guide

ft:locale
en-US
Product name
BlueCat Gateway
Version
24.3.3

Click a link to jump to the indicated section.

class bluecat.api_object.APIObject(api, api_entity, ver='')

Bases: object

Instantiate an base class for API Entity or an Access Right.

Parameters Description
api

API instance used by the API object to communicate with BAM.

api_entity

The API object returned by the BAM API.

dump()

Dump out details of the entity to logger. Useful for debug.

get_properties()

Get the properties in the form of a dictionary containing one entry per property.

Return type: dict

get_property(name)

Get a single named property or None if not defined.

Return type: str

set_properties(property_dict)

Set any number of properties based on given property_dict.

set_property(name, value)

Set a property value. The change is not persisted until update() is called.