Name | Type | Description | Notes |
---|---|---|---|
Version | string | version of the component | |
Branch | Pointer to string | branch of the version | [optional] |
func NewComponentVersionDraft(version string, ) *ComponentVersionDraft
NewComponentVersionDraft instantiates a new ComponentVersionDraft 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 NewComponentVersionDraftWithDefaults() *ComponentVersionDraft
NewComponentVersionDraftWithDefaults instantiates a new ComponentVersionDraft 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 *ComponentVersionDraft) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *ComponentVersionDraft) 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.
func (o *ComponentVersionDraft) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *ComponentVersionDraft) GetBranch() string
GetBranch returns the Branch field if non-nil, zero value otherwise.
func (o *ComponentVersionDraft) GetBranchOk() (*string, bool)
GetBranchOk returns a tuple with the Branch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ComponentVersionDraft) SetBranch(v string)
SetBranch sets Branch field to given value.
func (o *ComponentVersionDraft) HasBranch() bool
HasBranch returns a boolean if a field has been set.