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.
24 lines
602 B
24 lines
602 B
from splunk.models.base import SplunkAppObjModel
|
|
from splunk.models.field import Field, BoolField
|
|
|
|
'''
|
|
Provides object mapping for app objects
|
|
'''
|
|
|
|
|
|
|
|
class App(SplunkAppObjModel):
|
|
'''
|
|
Represents a Splunk app.
|
|
'''
|
|
|
|
resource = 'apps/local'
|
|
|
|
check_for_updates = BoolField()
|
|
is_configured = BoolField(api_name='configured')
|
|
is_disabled = BoolField('disabled')
|
|
is_visible = BoolField(api_name='visible')
|
|
label = Field()
|
|
requires_restart = BoolField(api_name='state_change_requires_restart')
|
|
version = Field()
|