Skip to content

Latest commit

 

History

History
271 lines (144 loc) · 7.16 KB

Folder.md

File metadata and controls

271 lines (144 loc) · 7.16 KB

Folder

Properties

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]

Methods

NewFolder

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

NewFolderWithDefaults

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

GetCreatedAt

func (o *Folder) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

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.

SetCreatedAt

func (o *Folder) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetCreatedBy

func (o *Folder) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

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.

SetCreatedBy

func (o *Folder) SetCreatedBy(v string)

SetCreatedBy sets CreatedBy field to given value.

GetModifiedAt

func (o *Folder) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.

GetModifiedAtOk

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.

SetModifiedAt

func (o *Folder) SetModifiedAt(v time.Time)

SetModifiedAt sets ModifiedAt field to given value.

GetModifiedBy

func (o *Folder) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.

GetModifiedByOk

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.

SetModifiedBy

func (o *Folder) SetModifiedBy(v string)

SetModifiedBy sets ModifiedBy field to given value.

GetId

func (o *Folder) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *Folder) SetId(v string)

SetId sets Id field to given value.

GetName

func (o *Folder) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *Folder) SetName(v string)

SetName sets Name field to given value.

GetItemType

func (o *Folder) GetItemType() string

GetItemType returns the ItemType field if non-nil, zero value otherwise.

GetItemTypeOk

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.

SetItemType

func (o *Folder) SetItemType(v string)

SetItemType sets ItemType field to given value.

GetParentId

func (o *Folder) GetParentId() string

GetParentId returns the ParentId field if non-nil, zero value otherwise.

GetParentIdOk

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.

SetParentId

func (o *Folder) SetParentId(v string)

SetParentId sets ParentId field to given value.

GetPermissions

func (o *Folder) GetPermissions() []string

GetPermissions returns the Permissions field if non-nil, zero value otherwise.

GetPermissionsOk

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.

SetPermissions

func (o *Folder) SetPermissions(v []string)

SetPermissions sets Permissions field to given value.

GetDescription

func (o *Folder) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

SetDescription

func (o *Folder) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Folder) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetChildren

func (o *Folder) GetChildren() []Content

GetChildren returns the Children field if non-nil, zero value otherwise.

GetChildrenOk

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.

SetChildren

func (o *Folder) SetChildren(v []Content)

SetChildren sets Children field to given value.

HasChildren

func (o *Folder) HasChildren() bool

HasChildren returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]