Files
sdk/docs/SandboxExecResult.md

3.4 KiB

SandboxExecResult

Properties

Name Type Description Notes
ExitCode Pointer to int64 ExitCode is the command's own exit status. A non-zero one is a SUCCESSFUL call carrying a failed command — the HTTP status stays 200, because "the command failed" and "the call failed" are different facts and a caller has to be able to tell them apart. [optional]
Stderr Pointer to string Stderr is everything it wrote to standard error. It is populated on a successful run too — plenty of tools report progress there — so it is not a signal that anything went wrong; ExitCode is. [optional]
Stdout Pointer to string Stdout is everything the command wrote to standard output, as text. [optional]

Methods

NewSandboxExecResult

func NewSandboxExecResult() *SandboxExecResult

NewSandboxExecResult instantiates a new SandboxExecResult 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

NewSandboxExecResultWithDefaults

func NewSandboxExecResultWithDefaults() *SandboxExecResult

NewSandboxExecResultWithDefaults instantiates a new SandboxExecResult 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

GetExitCode

func (o *SandboxExecResult) GetExitCode() int64

GetExitCode returns the ExitCode field if non-nil, zero value otherwise.

GetExitCodeOk

func (o *SandboxExecResult) GetExitCodeOk() (*int64, bool)

GetExitCodeOk returns a tuple with the ExitCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExitCode

func (o *SandboxExecResult) SetExitCode(v int64)

SetExitCode sets ExitCode field to given value.

HasExitCode

func (o *SandboxExecResult) HasExitCode() bool

HasExitCode returns a boolean if a field has been set.

GetStderr

func (o *SandboxExecResult) GetStderr() string

GetStderr returns the Stderr field if non-nil, zero value otherwise.

GetStderrOk

func (o *SandboxExecResult) GetStderrOk() (*string, bool)

GetStderrOk returns a tuple with the Stderr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStderr

func (o *SandboxExecResult) SetStderr(v string)

SetStderr sets Stderr field to given value.

HasStderr

func (o *SandboxExecResult) HasStderr() bool

HasStderr returns a boolean if a field has been set.

GetStdout

func (o *SandboxExecResult) GetStdout() string

GetStdout returns the Stdout field if non-nil, zero value otherwise.

GetStdoutOk

func (o *SandboxExecResult) GetStdoutOk() (*string, bool)

GetStdoutOk returns a tuple with the Stdout field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStdout

func (o *SandboxExecResult) SetStdout(v string)

SetStdout sets Stdout field to given value.

HasStdout

func (o *SandboxExecResult) HasStdout() bool

HasStdout returns a boolean if a field has been set.

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