2.3 KiB
SandboxEndIn
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Id | Pointer to string | ID is the sandbox whose lease ends, from an earlier lease. | [optional] |
| Purge | Pointer to bool | Purge deletes the project's DISK as well. It is opt-in because the disk holds the only copy of the checkout: ending a lease is cheap and reversible, deleting someone's uncommitted work is neither. | [optional] |
Methods
NewSandboxEndIn
func NewSandboxEndIn() *SandboxEndIn
NewSandboxEndIn instantiates a new SandboxEndIn 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
NewSandboxEndInWithDefaults
func NewSandboxEndInWithDefaults() *SandboxEndIn
NewSandboxEndInWithDefaults instantiates a new SandboxEndIn 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
GetId
func (o *SandboxEndIn) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *SandboxEndIn) 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 *SandboxEndIn) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *SandboxEndIn) HasId() bool
HasId returns a boolean if a field has been set.
GetPurge
func (o *SandboxEndIn) GetPurge() bool
GetPurge returns the Purge field if non-nil, zero value otherwise.
GetPurgeOk
func (o *SandboxEndIn) GetPurgeOk() (*bool, bool)
GetPurgeOk returns a tuple with the Purge field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPurge
func (o *SandboxEndIn) SetPurge(v bool)
SetPurge sets Purge field to given value.
HasPurge
func (o *SandboxEndIn) HasPurge() bool
HasPurge returns a boolean if a field has been set.