Name | Type | Description | Notes |
---|---|---|---|
Name | string | name is the resource's name. | |
OrganizationId | string | organization_id is the id of the organization this resource belongs to. | |
ParentId | string | parent_id is the id of the resource's parent folder. "root" represents a root level resource. | |
Path | []PathSegment | path contains the ids and names of ancestors that make up the resource's lineage. | |
ResourceId | string | resource_id is the resource's id. | |
ResourceType | FolderResourceTypeType |
func NewFolderResource(name string, organizationId string, parentId string, path []PathSegment, resourceId string, resourceType FolderResourceTypeType, ) *FolderResource
NewFolderResource instantiates a new FolderResource 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 NewFolderResourceWithDefaults() *FolderResource
NewFolderResourceWithDefaults instantiates a new FolderResource 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 *FolderResource) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *FolderResource) SetName(v string)
SetName sets Name field to given value.
func (o *FolderResource) GetOrganizationId() string
GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.
func (o *FolderResource) SetOrganizationId(v string)
SetOrganizationId sets OrganizationId field to given value.
func (o *FolderResource) GetParentId() string
GetParentId returns the ParentId field if non-nil, zero value otherwise.
func (o *FolderResource) SetParentId(v string)
SetParentId sets ParentId field to given value.
func (o *FolderResource) GetPath() []PathSegment
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *FolderResource) SetPath(v []PathSegment)
SetPath sets Path field to given value.
func (o *FolderResource) GetResourceId() string
GetResourceId returns the ResourceId field if non-nil, zero value otherwise.
func (o *FolderResource) SetResourceId(v string)
SetResourceId sets ResourceId field to given value.
func (o *FolderResource) GetResourceType() FolderResourceTypeType
GetResourceType returns the ResourceType field if non-nil, zero value otherwise.
func (o *FolderResource) SetResourceType(v FolderResourceTypeType)
SetResourceType sets ResourceType field to given value.