You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
488 B
15 lines
488 B
from splunk.models.base import SplunkRESTModel, SplunkAppObjModel
|
|
from splunk.models.field import Field, BoolField
|
|
|
|
|
|
class Macro(SplunkAppObjModel):
|
|
''' Provides object mapping for macro objects '''
|
|
resource = 'admin/macros'
|
|
args = Field()
|
|
definition = Field()
|
|
disabled = BoolField(is_mutable=False)
|
|
errormsg = Field()
|
|
iseval = BoolField()
|
|
validation = Field()
|
|
|