Files
sdk/docs/PlatformSetEnvReq.md

3.1 KiB

PlatformSetEnvReq

Properties

Name Type Description Notes
App Pointer to string App is the application's slug, from the path. [optional]
Env Pointer to []PlatformEnvVarJSON Env is the app's whole environment set, REPLACING what it had. Keys must match `^[A-Za-z_][A-Za-z0-9_]*$`; a variable marked `secret: true` is sealed into KMS and blanked in the database. [optional]
Project Pointer to string Project is the project the application lives under, from the path. [optional]

Methods

NewPlatformSetEnvReq

func NewPlatformSetEnvReq() *PlatformSetEnvReq

NewPlatformSetEnvReq instantiates a new PlatformSetEnvReq 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

NewPlatformSetEnvReqWithDefaults

func NewPlatformSetEnvReqWithDefaults() *PlatformSetEnvReq

NewPlatformSetEnvReqWithDefaults instantiates a new PlatformSetEnvReq 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

GetApp

func (o *PlatformSetEnvReq) GetApp() string

GetApp returns the App field if non-nil, zero value otherwise.

GetAppOk

func (o *PlatformSetEnvReq) GetAppOk() (*string, bool)

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

SetApp

func (o *PlatformSetEnvReq) SetApp(v string)

SetApp sets App field to given value.

HasApp

func (o *PlatformSetEnvReq) HasApp() bool

HasApp returns a boolean if a field has been set.

GetEnv

func (o *PlatformSetEnvReq) GetEnv() []PlatformEnvVarJSON

GetEnv returns the Env field if non-nil, zero value otherwise.

GetEnvOk

func (o *PlatformSetEnvReq) GetEnvOk() (*[]PlatformEnvVarJSON, bool)

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

SetEnv

func (o *PlatformSetEnvReq) SetEnv(v []PlatformEnvVarJSON)

SetEnv sets Env field to given value.

HasEnv

func (o *PlatformSetEnvReq) HasEnv() bool

HasEnv returns a boolean if a field has been set.

GetProject

func (o *PlatformSetEnvReq) GetProject() string

GetProject returns the Project field if non-nil, zero value otherwise.

GetProjectOk

func (o *PlatformSetEnvReq) GetProjectOk() (*string, bool)

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

SetProject

func (o *PlatformSetEnvReq) SetProject(v string)

SetProject sets Project field to given value.

HasProject

func (o *PlatformSetEnvReq) HasProject() bool

HasProject returns a boolean if a field has been set.

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