Name | Type | Description | Notes |
---|---|---|---|
Id | string | ||
GroupId | Pointer to string | [optional] | |
UserId | Pointer to string | [optional] | |
AuthorId | Pointer to string | [optional] | |
Profile | ResourceOwnerProfile | ||
Type | string |
func NewResourceOwner(id string, profile ResourceOwnerProfile, type_ string, ) *ResourceOwner
NewResourceOwner instantiates a new ResourceOwner 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 NewResourceOwnerWithDefaults() *ResourceOwner
NewResourceOwnerWithDefaults instantiates a new ResourceOwner 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 *ResourceOwner) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ResourceOwner) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceOwner) SetId(v string)
SetId sets Id field to given value.
func (o *ResourceOwner) GetGroupId() string
GetGroupId returns the GroupId field if non-nil, zero value otherwise.
func (o *ResourceOwner) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceOwner) SetGroupId(v string)
SetGroupId sets GroupId field to given value.
func (o *ResourceOwner) HasGroupId() bool
HasGroupId returns a boolean if a field has been set.
func (o *ResourceOwner) GetUserId() string
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *ResourceOwner) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceOwner) SetUserId(v string)
SetUserId sets UserId field to given value.
func (o *ResourceOwner) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (o *ResourceOwner) GetAuthorId() string
GetAuthorId returns the AuthorId field if non-nil, zero value otherwise.
func (o *ResourceOwner) GetAuthorIdOk() (*string, bool)
GetAuthorIdOk returns a tuple with the AuthorId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceOwner) SetAuthorId(v string)
SetAuthorId sets AuthorId field to given value.
func (o *ResourceOwner) HasAuthorId() bool
HasAuthorId returns a boolean if a field has been set.
func (o *ResourceOwner) GetProfile() ResourceOwnerProfile
GetProfile returns the Profile field if non-nil, zero value otherwise.
func (o *ResourceOwner) GetProfileOk() (*ResourceOwnerProfile, bool)
GetProfileOk returns a tuple with the Profile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResourceOwner) SetProfile(v ResourceOwnerProfile)
SetProfile sets Profile field to given value.
func (o *ResourceOwner) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ResourceOwner) 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.
func (o *ResourceOwner) SetType(v string)
SetType sets Type field to given value.