Skip to content

Latest commit

 

History

History
171 lines (92 loc) · 4.96 KB

File metadata and controls

171 lines (92 loc) · 4.96 KB

ApiPrivilegeScript

Properties

Name Type Description Notes
Actions []string A collection of actions to associate with the privilege, using BREAD syntax (browse,read,edit,add,delete,all) as well as 'run' for script privileges.
Description Pointer to string [optional]
Name string The name of the privilege. This value cannot be changed.
ReadOnly Pointer to bool Indicates whether the privilege can be changed. External values supplied to this will be ignored by the system. [optional]
ScriptName string The name of a script to give access to.
Type Pointer to string The type of privilege, each type covers different portions of the system. External values supplied to this will be ignored by the system. [optional]

Methods

NewApiPrivilegeScript

func NewApiPrivilegeScript(actions []string, name string, scriptName string, ) *ApiPrivilegeScript

NewApiPrivilegeScript instantiates a new ApiPrivilegeScript object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewApiPrivilegeScriptWithDefaults

func NewApiPrivilegeScriptWithDefaults() *ApiPrivilegeScript

NewApiPrivilegeScriptWithDefaults instantiates a new ApiPrivilegeScript object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetActions

func (o *ApiPrivilegeScript) GetActions() []string

GetActions returns the Actions field if non-nil, zero value otherwise.

GetActionsOk

func (o *ApiPrivilegeScript) GetActionsOk() (*[]string, bool)

GetActionsOk returns a tuple with the Actions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetActions

func (o *ApiPrivilegeScript) SetActions(v []string)

SetActions sets Actions field to given value.

GetDescription

func (o *ApiPrivilegeScript) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *ApiPrivilegeScript) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *ApiPrivilegeScript) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *ApiPrivilegeScript) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetName

func (o *ApiPrivilegeScript) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *ApiPrivilegeScript) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *ApiPrivilegeScript) SetName(v string)

SetName sets Name field to given value.

GetReadOnly

func (o *ApiPrivilegeScript) GetReadOnly() bool

GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.

GetReadOnlyOk

func (o *ApiPrivilegeScript) GetReadOnlyOk() (*bool, bool)

GetReadOnlyOk returns a tuple with the ReadOnly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetReadOnly

func (o *ApiPrivilegeScript) SetReadOnly(v bool)

SetReadOnly sets ReadOnly field to given value.

HasReadOnly

func (o *ApiPrivilegeScript) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

GetScriptName

func (o *ApiPrivilegeScript) GetScriptName() string

GetScriptName returns the ScriptName field if non-nil, zero value otherwise.

GetScriptNameOk

func (o *ApiPrivilegeScript) GetScriptNameOk() (*string, bool)

GetScriptNameOk returns a tuple with the ScriptName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetScriptName

func (o *ApiPrivilegeScript) SetScriptName(v string)

SetScriptName sets ScriptName field to given value.

GetType

func (o *ApiPrivilegeScript) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *ApiPrivilegeScript) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *ApiPrivilegeScript) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *ApiPrivilegeScript) HasType() bool

HasType returns a boolean if a field has been set.

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