Skip to content

Latest commit

 

History

History
192 lines (103 loc) · 5.87 KB

File metadata and controls

192 lines (103 loc) · 5.87 KB

ApiPrivilegeRepositoryView

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]
Format string The repository format (i.e 'nuget', 'npm') this privilege will grant access to (or * for all).
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]
Repository string The name of the repository this privilege will grant access to (or * for all).
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

NewApiPrivilegeRepositoryView

func NewApiPrivilegeRepositoryView(actions []string, format string, name string, repository string, ) *ApiPrivilegeRepositoryView

NewApiPrivilegeRepositoryView instantiates a new ApiPrivilegeRepositoryView 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

NewApiPrivilegeRepositoryViewWithDefaults

func NewApiPrivilegeRepositoryViewWithDefaults() *ApiPrivilegeRepositoryView

NewApiPrivilegeRepositoryViewWithDefaults instantiates a new ApiPrivilegeRepositoryView 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 *ApiPrivilegeRepositoryView) GetActions() []string

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

GetActionsOk

func (o *ApiPrivilegeRepositoryView) 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 *ApiPrivilegeRepositoryView) SetActions(v []string)

SetActions sets Actions field to given value.

GetDescription

func (o *ApiPrivilegeRepositoryView) GetDescription() string

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

GetDescriptionOk

func (o *ApiPrivilegeRepositoryView) 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 *ApiPrivilegeRepositoryView) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *ApiPrivilegeRepositoryView) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetFormat

func (o *ApiPrivilegeRepositoryView) GetFormat() string

GetFormat returns the Format field if non-nil, zero value otherwise.

GetFormatOk

func (o *ApiPrivilegeRepositoryView) GetFormatOk() (*string, bool)

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

SetFormat

func (o *ApiPrivilegeRepositoryView) SetFormat(v string)

SetFormat sets Format field to given value.

GetName

func (o *ApiPrivilegeRepositoryView) GetName() string

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

GetNameOk

func (o *ApiPrivilegeRepositoryView) 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 *ApiPrivilegeRepositoryView) SetName(v string)

SetName sets Name field to given value.

GetReadOnly

func (o *ApiPrivilegeRepositoryView) GetReadOnly() bool

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

GetReadOnlyOk

func (o *ApiPrivilegeRepositoryView) 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 *ApiPrivilegeRepositoryView) SetReadOnly(v bool)

SetReadOnly sets ReadOnly field to given value.

HasReadOnly

func (o *ApiPrivilegeRepositoryView) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

GetRepository

func (o *ApiPrivilegeRepositoryView) GetRepository() string

GetRepository returns the Repository field if non-nil, zero value otherwise.

GetRepositoryOk

func (o *ApiPrivilegeRepositoryView) GetRepositoryOk() (*string, bool)

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

SetRepository

func (o *ApiPrivilegeRepositoryView) SetRepository(v string)

SetRepository sets Repository field to given value.

GetType

func (o *ApiPrivilegeRepositoryView) GetType() string

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

GetTypeOk

func (o *ApiPrivilegeRepositoryView) 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 *ApiPrivilegeRepositoryView) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *ApiPrivilegeRepositoryView) HasType() bool

HasType returns a boolean if a field has been set.

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