Name | Type | Description | Notes |
---|---|---|---|
Key | Pointer to string | The key of the source environment to clone from | [optional] |
Version | Pointer to int32 | (Optional) The version number of the source environment to clone from. Used for optimistic locking | [optional] |
func NewSourceEnv() *SourceEnv
NewSourceEnv instantiates a new SourceEnv 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 NewSourceEnvWithDefaults() *SourceEnv
NewSourceEnvWithDefaults instantiates a new SourceEnv 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 *SourceEnv) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *SourceEnv) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SourceEnv) SetKey(v string)
SetKey sets Key field to given value.
func (o *SourceEnv) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *SourceEnv) GetVersion() int32
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *SourceEnv) GetVersionOk() (*int32, 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.
func (o *SourceEnv) SetVersion(v int32)
SetVersion sets Version field to given value.
func (o *SourceEnv) HasVersion() bool
HasVersion returns a boolean if a field has been set.