Name | Type | Description | Notes |
---|---|---|---|
Privilege | string | The level of privilege that the user or team should be granted to the specified repository. | |
Service | Pointer to string | The service identifier (slug). | [optional] |
Team | Pointer to string | The team identifier (slug). | [optional] |
User | Pointer to string | The user identifier (slug). | [optional] |
func NewRepositoryPrivilegeDict(privilege string, ) *RepositoryPrivilegeDict
NewRepositoryPrivilegeDict instantiates a new RepositoryPrivilegeDict 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
func NewRepositoryPrivilegeDictWithDefaults() *RepositoryPrivilegeDict
NewRepositoryPrivilegeDictWithDefaults instantiates a new RepositoryPrivilegeDict 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
func (o *RepositoryPrivilegeDict) GetPrivilege() string
GetPrivilege returns the Privilege field if non-nil, zero value otherwise.
func (o *RepositoryPrivilegeDict) GetPrivilegeOk() (*string, bool)
GetPrivilegeOk returns a tuple with the Privilege field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryPrivilegeDict) SetPrivilege(v string)
SetPrivilege sets Privilege field to given value.
func (o *RepositoryPrivilegeDict) GetService() string
GetService returns the Service field if non-nil, zero value otherwise.
func (o *RepositoryPrivilegeDict) GetServiceOk() (*string, bool)
GetServiceOk returns a tuple with the Service field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryPrivilegeDict) SetService(v string)
SetService sets Service field to given value.
func (o *RepositoryPrivilegeDict) HasService() bool
HasService returns a boolean if a field has been set.
func (o *RepositoryPrivilegeDict) GetTeam() string
GetTeam returns the Team field if non-nil, zero value otherwise.
func (o *RepositoryPrivilegeDict) GetTeamOk() (*string, bool)
GetTeamOk returns a tuple with the Team field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryPrivilegeDict) SetTeam(v string)
SetTeam sets Team field to given value.
func (o *RepositoryPrivilegeDict) HasTeam() bool
HasTeam returns a boolean if a field has been set.
func (o *RepositoryPrivilegeDict) GetUser() string
GetUser returns the User field if non-nil, zero value otherwise.
func (o *RepositoryPrivilegeDict) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryPrivilegeDict) SetUser(v string)
SetUser sets User field to given value.
func (o *RepositoryPrivilegeDict) HasUser() bool
HasUser returns a boolean if a field has been set.