Name | Type | Description | Notes |
---|---|---|---|
CreatedAt | time.Time | Creation timestamp in UTC in RFC3339 format. | |
CreatedBy | string | Identifier of the user who created the resource. | |
ModifiedAt | time.Time | Last modification timestamp in UTC. | |
ModifiedBy | string | Identifier of the user who last modified the resource. | |
Id | string | Identifier of the content item. | |
Name | string | The name of the content item. | |
ItemType | string | Type of the content item. Supported values are: 1. Folder 2. Search 3. Report (for old dashboards) 4. Dashboard (for new dashboards) 5. Lookups | |
ParentId | string | Identifier of the parent content item. | |
Permissions | []string | List of permissions the user has on the content item. | |
Description | Pointer to string | The description of the folder. | [optional] |
Children | Pointer to []Content | A list of the content items. | [optional] |
func NewFolder(createdAt time.Time, createdBy string, modifiedAt time.Time, modifiedBy string, id string, name string, itemType string, parentId string, permissions []string, ) *Folder
NewFolder instantiates a new Folder 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 NewFolderWithDefaults() *Folder
NewFolderWithDefaults instantiates a new Folder 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 *Folder) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Folder) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Folder) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Folder) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *Folder) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Folder) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *Folder) GetModifiedAt() time.Time
GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.
func (o *Folder) GetModifiedAtOk() (*time.Time, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Folder) SetModifiedAt(v time.Time)
SetModifiedAt sets ModifiedAt field to given value.
func (o *Folder) GetModifiedBy() string
GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.
func (o *Folder) GetModifiedByOk() (*string, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Folder) SetModifiedBy(v string)
SetModifiedBy sets ModifiedBy field to given value.
func (o *Folder) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Folder) 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 *Folder) SetId(v string)
SetId sets Id field to given value.
func (o *Folder) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Folder) 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 *Folder) SetName(v string)
SetName sets Name field to given value.
func (o *Folder) GetItemType() string
GetItemType returns the ItemType field if non-nil, zero value otherwise.
func (o *Folder) GetItemTypeOk() (*string, bool)
GetItemTypeOk returns a tuple with the ItemType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Folder) SetItemType(v string)
SetItemType sets ItemType field to given value.
func (o *Folder) GetParentId() string
GetParentId returns the ParentId field if non-nil, zero value otherwise.
func (o *Folder) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Folder) SetParentId(v string)
SetParentId sets ParentId field to given value.
func (o *Folder) GetPermissions() []string
GetPermissions returns the Permissions field if non-nil, zero value otherwise.
func (o *Folder) 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.
func (o *Folder) SetPermissions(v []string)
SetPermissions sets Permissions field to given value.
func (o *Folder) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Folder) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Folder) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Folder) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Folder) GetChildren() []Content
GetChildren returns the Children field if non-nil, zero value otherwise.
func (o *Folder) GetChildrenOk() (*[]Content, bool)
GetChildrenOk returns a tuple with the Children field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Folder) SetChildren(v []Content)
SetChildren sets Children field to given value.
func (o *Folder) HasChildren() bool
HasChildren returns a boolean if a field has been set.