starting point for go docs

This commit is contained in:
darrell-thobe-sp
2025-03-27 14:43:04 -04:00
parent bdfaf3e228
commit 34d14a520e
2762 changed files with 516453 additions and 0 deletions

View File

@@ -0,0 +1,80 @@
---
id: beta-source-code
title: SourceCode
pagination_label: SourceCode
sidebar_label: SourceCode
sidebar_class_name: gosdk
keywords: ['go', 'Golang', 'sdk', 'SourceCode', 'BetaSourceCode']
slug: /tools/sdk/go/beta/models/source-code
tags: ['SDK', 'Software Development Kit', 'SourceCode', 'BetaSourceCode']
---
# SourceCode
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Version** | **string** | the version of the code |
**Script** | **string** | The 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.