github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/Node.md (about) 1 # Node 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | **string** | | 8 **CreatedAt** | **string** | | 9 **CreatedBy** | Pointer to [**CreatedBy**](CreatedBy.md) | | [optional] 10 **UpdatedAt** | **string** | | 11 **UpdatedBy** | Pointer to [**UpdatedBy**](UpdatedBy.md) | | [optional] 12 **Name** | **string** | | 13 **ParentNodeId** | Pointer to **NullableString** | | [optional] 14 **Key** | **string** | | 15 **IsDirectory** | **bool** | | 16 **File** | Pointer to [**NodeFile**](Node_file.md) | | [optional] 17 18 ## Methods 19 20 ### NewNode 21 22 `func NewNode(id string, createdAt string, updatedAt string, name string, key string, isDirectory bool, ) *Node` 23 24 NewNode instantiates a new Node object 25 This constructor will assign default values to properties that have it defined, 26 and makes sure properties required by API are set, but the set of arguments 27 will change when the set of required properties is changed 28 29 ### NewNodeWithDefaults 30 31 `func NewNodeWithDefaults() *Node` 32 33 NewNodeWithDefaults instantiates a new Node object 34 This constructor will only assign default values to properties that have it defined, 35 but it doesn't guarantee that properties required by API are set 36 37 ### GetId 38 39 `func (o *Node) GetId() string` 40 41 GetId returns the Id field if non-nil, zero value otherwise. 42 43 ### GetIdOk 44 45 `func (o *Node) GetIdOk() (*string, bool)` 46 47 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 48 and a boolean to check if the value has been set. 49 50 ### SetId 51 52 `func (o *Node) SetId(v string)` 53 54 SetId sets Id field to given value. 55 56 57 ### GetCreatedAt 58 59 `func (o *Node) GetCreatedAt() string` 60 61 GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. 62 63 ### GetCreatedAtOk 64 65 `func (o *Node) GetCreatedAtOk() (*string, bool)` 66 67 GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise 68 and a boolean to check if the value has been set. 69 70 ### SetCreatedAt 71 72 `func (o *Node) SetCreatedAt(v string)` 73 74 SetCreatedAt sets CreatedAt field to given value. 75 76 77 ### GetCreatedBy 78 79 `func (o *Node) GetCreatedBy() CreatedBy` 80 81 GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise. 82 83 ### GetCreatedByOk 84 85 `func (o *Node) GetCreatedByOk() (*CreatedBy, bool)` 86 87 GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise 88 and a boolean to check if the value has been set. 89 90 ### SetCreatedBy 91 92 `func (o *Node) SetCreatedBy(v CreatedBy)` 93 94 SetCreatedBy sets CreatedBy field to given value. 95 96 ### HasCreatedBy 97 98 `func (o *Node) HasCreatedBy() bool` 99 100 HasCreatedBy returns a boolean if a field has been set. 101 102 ### GetUpdatedAt 103 104 `func (o *Node) GetUpdatedAt() string` 105 106 GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. 107 108 ### GetUpdatedAtOk 109 110 `func (o *Node) GetUpdatedAtOk() (*string, bool)` 111 112 GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise 113 and a boolean to check if the value has been set. 114 115 ### SetUpdatedAt 116 117 `func (o *Node) SetUpdatedAt(v string)` 118 119 SetUpdatedAt sets UpdatedAt field to given value. 120 121 122 ### GetUpdatedBy 123 124 `func (o *Node) GetUpdatedBy() UpdatedBy` 125 126 GetUpdatedBy returns the UpdatedBy field if non-nil, zero value otherwise. 127 128 ### GetUpdatedByOk 129 130 `func (o *Node) GetUpdatedByOk() (*UpdatedBy, bool)` 131 132 GetUpdatedByOk returns a tuple with the UpdatedBy field if it's non-nil, zero value otherwise 133 and a boolean to check if the value has been set. 134 135 ### SetUpdatedBy 136 137 `func (o *Node) SetUpdatedBy(v UpdatedBy)` 138 139 SetUpdatedBy sets UpdatedBy field to given value. 140 141 ### HasUpdatedBy 142 143 `func (o *Node) HasUpdatedBy() bool` 144 145 HasUpdatedBy returns a boolean if a field has been set. 146 147 ### GetName 148 149 `func (o *Node) GetName() string` 150 151 GetName returns the Name field if non-nil, zero value otherwise. 152 153 ### GetNameOk 154 155 `func (o *Node) GetNameOk() (*string, bool)` 156 157 GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 158 and a boolean to check if the value has been set. 159 160 ### SetName 161 162 `func (o *Node) SetName(v string)` 163 164 SetName sets Name field to given value. 165 166 167 ### GetParentNodeId 168 169 `func (o *Node) GetParentNodeId() string` 170 171 GetParentNodeId returns the ParentNodeId field if non-nil, zero value otherwise. 172 173 ### GetParentNodeIdOk 174 175 `func (o *Node) GetParentNodeIdOk() (*string, bool)` 176 177 GetParentNodeIdOk returns a tuple with the ParentNodeId field if it's non-nil, zero value otherwise 178 and a boolean to check if the value has been set. 179 180 ### SetParentNodeId 181 182 `func (o *Node) SetParentNodeId(v string)` 183 184 SetParentNodeId sets ParentNodeId field to given value. 185 186 ### HasParentNodeId 187 188 `func (o *Node) HasParentNodeId() bool` 189 190 HasParentNodeId returns a boolean if a field has been set. 191 192 ### SetParentNodeIdNil 193 194 `func (o *Node) SetParentNodeIdNil(b bool)` 195 196 SetParentNodeIdNil sets the value for ParentNodeId to be an explicit nil 197 198 ### UnsetParentNodeId 199 `func (o *Node) UnsetParentNodeId()` 200 201 UnsetParentNodeId ensures that no value is present for ParentNodeId, not even an explicit nil 202 ### GetKey 203 204 `func (o *Node) GetKey() string` 205 206 GetKey returns the Key field if non-nil, zero value otherwise. 207 208 ### GetKeyOk 209 210 `func (o *Node) GetKeyOk() (*string, bool)` 211 212 GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise 213 and a boolean to check if the value has been set. 214 215 ### SetKey 216 217 `func (o *Node) SetKey(v string)` 218 219 SetKey sets Key field to given value. 220 221 222 ### GetIsDirectory 223 224 `func (o *Node) GetIsDirectory() bool` 225 226 GetIsDirectory returns the IsDirectory field if non-nil, zero value otherwise. 227 228 ### GetIsDirectoryOk 229 230 `func (o *Node) GetIsDirectoryOk() (*bool, bool)` 231 232 GetIsDirectoryOk returns a tuple with the IsDirectory field if it's non-nil, zero value otherwise 233 and a boolean to check if the value has been set. 234 235 ### SetIsDirectory 236 237 `func (o *Node) SetIsDirectory(v bool)` 238 239 SetIsDirectory sets IsDirectory field to given value. 240 241 242 ### GetFile 243 244 `func (o *Node) GetFile() NodeFile` 245 246 GetFile returns the File field if non-nil, zero value otherwise. 247 248 ### GetFileOk 249 250 `func (o *Node) GetFileOk() (*NodeFile, bool)` 251 252 GetFileOk returns a tuple with the File field if it's non-nil, zero value otherwise 253 and a boolean to check if the value has been set. 254 255 ### SetFile 256 257 `func (o *Node) SetFile(v NodeFile)` 258 259 SetFile sets File field to given value. 260 261 ### HasFile 262 263 `func (o *Node) HasFile() bool` 264 265 HasFile returns a boolean if a field has been set. 266 267 268 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 269 270