Name | Type | Description | Notes |
---|---|---|---|
Created | Pointer to time.Time | The date this StackScript was created. | [optional] [readonly] |
DeploymentsActive | Pointer to int32 | Count of currently active, deployed Linodes created from this StackScript. | [optional] [readonly] |
DeploymentsTotal | Pointer to int32 | The total number of times this StackScript has been deployed. | [optional] [readonly] |
Description | Pointer to string | A description for the StackScript. | [optional] |
Id | Pointer to int32 | The unique ID of this StackScript. | [optional] [readonly] |
Images | []string | An array of Image IDs. These are the Images that can be deployed with this StackScript. `any/all` indicates that all available Images, including private Images, are accepted. | |
IsPublic | Pointer to bool | This determines whether other users can use your StackScript. Once a StackScript is made public, it cannot be made private. | [optional] |
Label | string | The StackScript's label is for display purposes only. | |
Mine | Pointer to bool | Returns `true` if this StackScript is owned by the account of the user making the request, and the user making the request is unrestricted or has access to this StackScript. | [optional] [readonly] |
RevNote | Pointer to string | This field allows you to add notes for the set of revisions made to this StackScript. | [optional] |
Script | string | The script to execute when provisioning a new Linode with this StackScript. | |
Updated | Pointer to time.Time | The date this StackScript was last updated. | [optional] [readonly] |
UserDefinedFields | Pointer to []GetStackScripts200ResponseDataInnerUserDefinedFieldsInner | This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment. See Declare User-Defined Fields (UDFs) for more information. | [optional] [readonly] |
UserGravatarId | Pointer to string | The Gravatar ID for the User who created the StackScript. | [optional] [readonly] |
Username | Pointer to string | The User who created the StackScript. | [optional] [readonly] |
func NewPostAddStackScriptRequest(images []string, label string, script string, ) *PostAddStackScriptRequest
NewPostAddStackScriptRequest instantiates a new PostAddStackScriptRequest 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
func NewPostAddStackScriptRequestWithDefaults() *PostAddStackScriptRequest
NewPostAddStackScriptRequestWithDefaults instantiates a new PostAddStackScriptRequest 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
func (o *PostAddStackScriptRequest) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *PostAddStackScriptRequest) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *PostAddStackScriptRequest) GetDeploymentsActive() int32
GetDeploymentsActive returns the DeploymentsActive field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetDeploymentsActiveOk() (*int32, bool)
GetDeploymentsActiveOk returns a tuple with the DeploymentsActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetDeploymentsActive(v int32)
SetDeploymentsActive sets DeploymentsActive field to given value.
func (o *PostAddStackScriptRequest) HasDeploymentsActive() bool
HasDeploymentsActive returns a boolean if a field has been set.
func (o *PostAddStackScriptRequest) GetDeploymentsTotal() int32
GetDeploymentsTotal returns the DeploymentsTotal field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetDeploymentsTotalOk() (*int32, bool)
GetDeploymentsTotalOk returns a tuple with the DeploymentsTotal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetDeploymentsTotal(v int32)
SetDeploymentsTotal sets DeploymentsTotal field to given value.
func (o *PostAddStackScriptRequest) HasDeploymentsTotal() bool
HasDeploymentsTotal returns a boolean if a field has been set.
func (o *PostAddStackScriptRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *PostAddStackScriptRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *PostAddStackScriptRequest) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetIdOk() (*int32, 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.
func (o *PostAddStackScriptRequest) SetId(v int32)
SetId sets Id field to given value.
func (o *PostAddStackScriptRequest) HasId() bool
HasId returns a boolean if a field has been set.
func (o *PostAddStackScriptRequest) GetImages() []string
GetImages returns the Images field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetImagesOk() (*[]string, bool)
GetImagesOk returns a tuple with the Images field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetImages(v []string)
SetImages sets Images field to given value.
func (o *PostAddStackScriptRequest) GetIsPublic() bool
GetIsPublic returns the IsPublic field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetIsPublicOk() (*bool, bool)
GetIsPublicOk returns a tuple with the IsPublic field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetIsPublic(v bool)
SetIsPublic sets IsPublic field to given value.
func (o *PostAddStackScriptRequest) HasIsPublic() bool
HasIsPublic returns a boolean if a field has been set.
func (o *PostAddStackScriptRequest) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *PostAddStackScriptRequest) GetMine() bool
GetMine returns the Mine field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetMineOk() (*bool, bool)
GetMineOk returns a tuple with the Mine field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetMine(v bool)
SetMine sets Mine field to given value.
func (o *PostAddStackScriptRequest) HasMine() bool
HasMine returns a boolean if a field has been set.
func (o *PostAddStackScriptRequest) GetRevNote() string
GetRevNote returns the RevNote field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetRevNoteOk() (*string, bool)
GetRevNoteOk returns a tuple with the RevNote field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetRevNote(v string)
SetRevNote sets RevNote field to given value.
func (o *PostAddStackScriptRequest) HasRevNote() bool
HasRevNote returns a boolean if a field has been set.
func (o *PostAddStackScriptRequest) GetScript() string
GetScript returns the Script field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) 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.
func (o *PostAddStackScriptRequest) SetScript(v string)
SetScript sets Script field to given value.
func (o *PostAddStackScriptRequest) GetUpdated() time.Time
GetUpdated returns the Updated field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetUpdatedOk() (*time.Time, bool)
GetUpdatedOk returns a tuple with the Updated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetUpdated(v time.Time)
SetUpdated sets Updated field to given value.
func (o *PostAddStackScriptRequest) HasUpdated() bool
HasUpdated returns a boolean if a field has been set.
func (o *PostAddStackScriptRequest) GetUserDefinedFields() []GetStackScripts200ResponseDataInnerUserDefinedFieldsInner
GetUserDefinedFields returns the UserDefinedFields field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetUserDefinedFieldsOk() (*[]GetStackScripts200ResponseDataInnerUserDefinedFieldsInner, bool)
GetUserDefinedFieldsOk returns a tuple with the UserDefinedFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetUserDefinedFields(v []GetStackScripts200ResponseDataInnerUserDefinedFieldsInner)
SetUserDefinedFields sets UserDefinedFields field to given value.
func (o *PostAddStackScriptRequest) HasUserDefinedFields() bool
HasUserDefinedFields returns a boolean if a field has been set.
func (o *PostAddStackScriptRequest) GetUserGravatarId() string
GetUserGravatarId returns the UserGravatarId field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetUserGravatarIdOk() (*string, bool)
GetUserGravatarIdOk returns a tuple with the UserGravatarId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetUserGravatarId(v string)
SetUserGravatarId sets UserGravatarId field to given value.
func (o *PostAddStackScriptRequest) HasUserGravatarId() bool
HasUserGravatarId returns a boolean if a field has been set.
func (o *PostAddStackScriptRequest) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *PostAddStackScriptRequest) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddStackScriptRequest) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *PostAddStackScriptRequest) HasUsername() bool
HasUsername returns a boolean if a field has been set.