github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/ResourceOwner.md (about) 1 # ResourceOwner 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | **string** | | 8 **GroupId** | Pointer to **string** | | [optional] 9 **UserId** | Pointer to **string** | | [optional] 10 **AuthorId** | Pointer to **string** | | [optional] 11 **Profile** | [**ResourceOwnerProfile**](ResourceOwner_profile.md) | | 12 **Type** | **string** | | 13 14 ## Methods 15 16 ### NewResourceOwner 17 18 `func NewResourceOwner(id string, profile ResourceOwnerProfile, type_ string, ) *ResourceOwner` 19 20 NewResourceOwner instantiates a new ResourceOwner object 21 This constructor will assign default values to properties that have it defined, 22 and makes sure properties required by API are set, but the set of arguments 23 will change when the set of required properties is changed 24 25 ### NewResourceOwnerWithDefaults 26 27 `func NewResourceOwnerWithDefaults() *ResourceOwner` 28 29 NewResourceOwnerWithDefaults instantiates a new ResourceOwner object 30 This constructor will only assign default values to properties that have it defined, 31 but it doesn't guarantee that properties required by API are set 32 33 ### GetId 34 35 `func (o *ResourceOwner) GetId() string` 36 37 GetId returns the Id field if non-nil, zero value otherwise. 38 39 ### GetIdOk 40 41 `func (o *ResourceOwner) GetIdOk() (*string, bool)` 42 43 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 44 and a boolean to check if the value has been set. 45 46 ### SetId 47 48 `func (o *ResourceOwner) SetId(v string)` 49 50 SetId sets Id field to given value. 51 52 53 ### GetGroupId 54 55 `func (o *ResourceOwner) GetGroupId() string` 56 57 GetGroupId returns the GroupId field if non-nil, zero value otherwise. 58 59 ### GetGroupIdOk 60 61 `func (o *ResourceOwner) GetGroupIdOk() (*string, bool)` 62 63 GetGroupIdOk returns a tuple with the GroupId field if it's non-nil, zero value otherwise 64 and a boolean to check if the value has been set. 65 66 ### SetGroupId 67 68 `func (o *ResourceOwner) SetGroupId(v string)` 69 70 SetGroupId sets GroupId field to given value. 71 72 ### HasGroupId 73 74 `func (o *ResourceOwner) HasGroupId() bool` 75 76 HasGroupId returns a boolean if a field has been set. 77 78 ### GetUserId 79 80 `func (o *ResourceOwner) GetUserId() string` 81 82 GetUserId returns the UserId field if non-nil, zero value otherwise. 83 84 ### GetUserIdOk 85 86 `func (o *ResourceOwner) GetUserIdOk() (*string, bool)` 87 88 GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise 89 and a boolean to check if the value has been set. 90 91 ### SetUserId 92 93 `func (o *ResourceOwner) SetUserId(v string)` 94 95 SetUserId sets UserId field to given value. 96 97 ### HasUserId 98 99 `func (o *ResourceOwner) HasUserId() bool` 100 101 HasUserId returns a boolean if a field has been set. 102 103 ### GetAuthorId 104 105 `func (o *ResourceOwner) GetAuthorId() string` 106 107 GetAuthorId returns the AuthorId field if non-nil, zero value otherwise. 108 109 ### GetAuthorIdOk 110 111 `func (o *ResourceOwner) GetAuthorIdOk() (*string, bool)` 112 113 GetAuthorIdOk returns a tuple with the AuthorId field if it's non-nil, zero value otherwise 114 and a boolean to check if the value has been set. 115 116 ### SetAuthorId 117 118 `func (o *ResourceOwner) SetAuthorId(v string)` 119 120 SetAuthorId sets AuthorId field to given value. 121 122 ### HasAuthorId 123 124 `func (o *ResourceOwner) HasAuthorId() bool` 125 126 HasAuthorId returns a boolean if a field has been set. 127 128 ### GetProfile 129 130 `func (o *ResourceOwner) GetProfile() ResourceOwnerProfile` 131 132 GetProfile returns the Profile field if non-nil, zero value otherwise. 133 134 ### GetProfileOk 135 136 `func (o *ResourceOwner) GetProfileOk() (*ResourceOwnerProfile, bool)` 137 138 GetProfileOk returns a tuple with the Profile field if it's non-nil, zero value otherwise 139 and a boolean to check if the value has been set. 140 141 ### SetProfile 142 143 `func (o *ResourceOwner) SetProfile(v ResourceOwnerProfile)` 144 145 SetProfile sets Profile field to given value. 146 147 148 ### GetType 149 150 `func (o *ResourceOwner) GetType() string` 151 152 GetType returns the Type field if non-nil, zero value otherwise. 153 154 ### GetTypeOk 155 156 `func (o *ResourceOwner) GetTypeOk() (*string, bool)` 157 158 GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 159 and a boolean to check if the value has been set. 160 161 ### SetType 162 163 `func (o *ResourceOwner) SetType(v string)` 164 165 SetType sets Type field to given value. 166 167 168 169 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 170 171