4.0 KiB
SandboxBlob
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Data | Pointer to string | Data is the file's bytes, verbatim, base64 on the wire. Empty for a directory and for an empty file alike; Dir is what tells those apart. | [optional] |
| Dir | Pointer to bool | Dir says which of the two answers this is: true and the path is a directory, so read Entries; false and it is a file, so read Data. Nothing else distinguishes them — an empty file and an empty directory look alike here. | [optional] |
| Entries | Pointer to []string | Entries is a directory's contents as bare NAMES, not paths — one level, no recursion, dotfiles included, "." and ".." excluded (`ls -1A`). Empty for a file, and for an empty directory. | [optional] |
| Path | Pointer to string | Path is the RESOLVED absolute path that was read — the caller's relative path joined onto the sandbox's working directory (Leased.Workdir), so it names the same file for a reader who does not know the class. | [optional] |
Methods
NewSandboxBlob
func NewSandboxBlob() *SandboxBlob
NewSandboxBlob instantiates a new SandboxBlob 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
NewSandboxBlobWithDefaults
func NewSandboxBlobWithDefaults() *SandboxBlob
NewSandboxBlobWithDefaults instantiates a new SandboxBlob 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
GetData
func (o *SandboxBlob) GetData() string
GetData returns the Data field if non-nil, zero value otherwise.
GetDataOk
func (o *SandboxBlob) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetData
func (o *SandboxBlob) SetData(v string)
SetData sets Data field to given value.
HasData
func (o *SandboxBlob) HasData() bool
HasData returns a boolean if a field has been set.
GetDir
func (o *SandboxBlob) GetDir() bool
GetDir returns the Dir field if non-nil, zero value otherwise.
GetDirOk
func (o *SandboxBlob) GetDirOk() (*bool, bool)
GetDirOk returns a tuple with the Dir field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDir
func (o *SandboxBlob) SetDir(v bool)
SetDir sets Dir field to given value.
HasDir
func (o *SandboxBlob) HasDir() bool
HasDir returns a boolean if a field has been set.
GetEntries
func (o *SandboxBlob) GetEntries() []string
GetEntries returns the Entries field if non-nil, zero value otherwise.
GetEntriesOk
func (o *SandboxBlob) GetEntriesOk() (*[]string, bool)
GetEntriesOk returns a tuple with the Entries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEntries
func (o *SandboxBlob) SetEntries(v []string)
SetEntries sets Entries field to given value.
HasEntries
func (o *SandboxBlob) HasEntries() bool
HasEntries returns a boolean if a field has been set.
GetPath
func (o *SandboxBlob) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
GetPathOk
func (o *SandboxBlob) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPath
func (o *SandboxBlob) SetPath(v string)
SetPath sets Path field to given value.
HasPath
func (o *SandboxBlob) HasPath() bool
HasPath returns a boolean if a field has been set.