Skip to main content

SourceCode

Properties

NameTypeDescriptionNotes
Versionstringthe version of the code
ScriptstringThe code

Methods

NewSourceCode

func NewSourceCode(version string, script string, ) *SourceCode

NewSourceCode instantiates a new SourceCode 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

NewSourceCodeWithDefaults

func NewSourceCodeWithDefaults() *SourceCode

NewSourceCodeWithDefaults instantiates a new SourceCode 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

GetVersion

func (o *SourceCode) GetVersion() string

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

func (o *SourceCode) GetVersionOk() (*string, bool)

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

SetVersion

func (o *SourceCode) SetVersion(v string)

SetVersion sets Version field to given value.

GetScript

func (o *SourceCode) GetScript() string

GetScript returns the Script field if non-nil, zero value otherwise.

GetScriptOk

func (o *SourceCode) GetScriptOk() (*string, bool)

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

SetScript

func (o *SourceCode) SetScript(v string)

SetScript sets Script field to given value.