Name | Type | Description | Notes |
---|---|---|---|
TTL | Pointer to NullableInt64 | The TTL (time to live in seconds) describing how long the workspace will be still available for. | [optional] [default to 3600] |
Links | NullableWorkspaceItemLinks | ||
Metadata | NullableCommonMetadata | ||
Ephemeral | Pointer to bool | True when the workspace has a TTL | [optional] [readonly] |
Name | string | Unique ID of the Workspace. | [readonly] |
Title | Pointer to NullableString | Optional human readable name of the Workspace. | [optional] |
func NewWorkspaceItem(links NullableWorkspaceItemLinks, metadata NullableCommonMetadata, name string, ) *WorkspaceItem
NewWorkspaceItem instantiates a new WorkspaceItem 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 NewWorkspaceItemWithDefaults() *WorkspaceItem
NewWorkspaceItemWithDefaults instantiates a new WorkspaceItem 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 *WorkspaceItem) GetTTL() int64
GetTTL returns the TTL field if non-nil, zero value otherwise.
func (o *WorkspaceItem) GetTTLOk() (*int64, bool)
GetTTLOk returns a tuple with the TTL field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WorkspaceItem) SetTTL(v int64)
SetTTL sets TTL field to given value.
func (o *WorkspaceItem) HasTTL() bool
HasTTL returns a boolean if a field has been set.
func (o *WorkspaceItem) SetTTLNil(b bool)
SetTTLNil sets the value for TTL to be an explicit nil
func (o *WorkspaceItem) UnsetTTL()
UnsetTTL ensures that no value is present for TTL, not even an explicit nil
func (o *WorkspaceItem) GetLinks() WorkspaceItemLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *WorkspaceItem) GetLinksOk() (*WorkspaceItemLinks, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WorkspaceItem) SetLinks(v WorkspaceItemLinks)
SetLinks sets Links field to given value.
func (o *WorkspaceItem) SetLinksNil(b bool)
SetLinksNil sets the value for Links to be an explicit nil
func (o *WorkspaceItem) UnsetLinks()
UnsetLinks ensures that no value is present for Links, not even an explicit nil
func (o *WorkspaceItem) GetMetadata() CommonMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *WorkspaceItem) GetMetadataOk() (*CommonMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WorkspaceItem) SetMetadata(v CommonMetadata)
SetMetadata sets Metadata field to given value.
func (o *WorkspaceItem) SetMetadataNil(b bool)
SetMetadataNil sets the value for Metadata to be an explicit nil
func (o *WorkspaceItem) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil
func (o *WorkspaceItem) GetEphemeral() bool
GetEphemeral returns the Ephemeral field if non-nil, zero value otherwise.
func (o *WorkspaceItem) GetEphemeralOk() (*bool, bool)
GetEphemeralOk returns a tuple with the Ephemeral field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WorkspaceItem) SetEphemeral(v bool)
SetEphemeral sets Ephemeral field to given value.
func (o *WorkspaceItem) HasEphemeral() bool
HasEphemeral returns a boolean if a field has been set.
func (o *WorkspaceItem) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *WorkspaceItem) 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 *WorkspaceItem) SetName(v string)
SetName sets Name field to given value.
func (o *WorkspaceItem) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *WorkspaceItem) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WorkspaceItem) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *WorkspaceItem) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *WorkspaceItem) SetTitleNil(b bool)
SetTitleNil sets the value for Title to be an explicit nil
func (o *WorkspaceItem) UnsetTitle()
UnsetTitle ensures that no value is present for Title, not even an explicit nil