Skip to content

Latest commit

 

History

History
103 lines (56 loc) · 2.95 KB

PermissionAssignRequest.md

File metadata and controls

103 lines (56 loc) · 2.95 KB

PermissionAssignRequest

Properties

Name Type Description Notes
Permissions []string
Model Pointer to ModelEnum [optional]
ObjectPk Pointer to string [optional]

Methods

NewPermissionAssignRequest

func NewPermissionAssignRequest(permissions []string, ) *PermissionAssignRequest

NewPermissionAssignRequest instantiates a new PermissionAssignRequest 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

NewPermissionAssignRequestWithDefaults

func NewPermissionAssignRequestWithDefaults() *PermissionAssignRequest

NewPermissionAssignRequestWithDefaults instantiates a new PermissionAssignRequest 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

GetPermissions

func (o *PermissionAssignRequest) GetPermissions() []string

GetPermissions returns the Permissions field if non-nil, zero value otherwise.

GetPermissionsOk

func (o *PermissionAssignRequest) GetPermissionsOk() (*[]string, bool)

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

SetPermissions

func (o *PermissionAssignRequest) SetPermissions(v []string)

SetPermissions sets Permissions field to given value.

GetModel

func (o *PermissionAssignRequest) GetModel() ModelEnum

GetModel returns the Model field if non-nil, zero value otherwise.

GetModelOk

func (o *PermissionAssignRequest) GetModelOk() (*ModelEnum, bool)

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

SetModel

func (o *PermissionAssignRequest) SetModel(v ModelEnum)

SetModel sets Model field to given value.

HasModel

func (o *PermissionAssignRequest) HasModel() bool

HasModel returns a boolean if a field has been set.

GetObjectPk

func (o *PermissionAssignRequest) GetObjectPk() string

GetObjectPk returns the ObjectPk field if non-nil, zero value otherwise.

GetObjectPkOk

func (o *PermissionAssignRequest) GetObjectPkOk() (*string, bool)

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

SetObjectPk

func (o *PermissionAssignRequest) SetObjectPk(v string)

SetObjectPk sets ObjectPk field to given value.

HasObjectPk

func (o *PermissionAssignRequest) HasObjectPk() bool

HasObjectPk returns a boolean if a field has been set.

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