Name | Type | Description | Notes |
---|---|---|---|
Id | string | ||
Name | string | ||
IsSynced | bool | [default to false] | |
HasChildren | bool | [default to false] |
func NewDirectoryItem(id string, name string, isSynced bool, hasChildren bool, ) *DirectoryItem
NewDirectoryItem instantiates a new DirectoryItem 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 NewDirectoryItemWithDefaults() *DirectoryItem
NewDirectoryItemWithDefaults instantiates a new DirectoryItem 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 *DirectoryItem) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *DirectoryItem) 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 *DirectoryItem) SetId(v string)
SetId sets Id field to given value.
func (o *DirectoryItem) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *DirectoryItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DirectoryItem) SetName(v string)
SetName sets Name field to given value.
func (o *DirectoryItem) GetIsSynced() bool
GetIsSynced returns the IsSynced field if non-nil, zero value otherwise.
func (o *DirectoryItem) GetIsSyncedOk() (*bool, bool)
GetIsSyncedOk returns a tuple with the IsSynced field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DirectoryItem) SetIsSynced(v bool)
SetIsSynced sets IsSynced field to given value.
func (o *DirectoryItem) GetHasChildren() bool
GetHasChildren returns the HasChildren field if non-nil, zero value otherwise.
func (o *DirectoryItem) GetHasChildrenOk() (*bool, bool)
GetHasChildrenOk returns a tuple with the HasChildren field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DirectoryItem) SetHasChildren(v bool)
SetHasChildren sets HasChildren field to given value.