| Name | Type | Description | Notes |
|---|---|---|---|
| Id | string | [readonly] | |
| CreatedAt | time.Time | [readonly] | |
| Component | string | key of the component | [readonly] |
| Version | string | version of the component | |
| Branch | Pointer to string | branch of the version | [optional] |
func NewComponentVersion(id string, createdAt time.Time, component string, version string, ) *ComponentVersion
NewComponentVersion instantiates a new ComponentVersion 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 NewComponentVersionWithDefaults() *ComponentVersion
NewComponentVersionWithDefaults instantiates a new ComponentVersion 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 *ComponentVersion) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ComponentVersion) GetIdOk() (*string, 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 *ComponentVersion) SetId(v string)
SetId sets Id field to given value.
func (o *ComponentVersion) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *ComponentVersion) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ComponentVersion) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *ComponentVersion) GetComponent() string
GetComponent returns the Component field if non-nil, zero value otherwise.
func (o *ComponentVersion) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ComponentVersion) SetComponent(v string)
SetComponent sets Component field to given value.
func (o *ComponentVersion) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *ComponentVersion) 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 *ComponentVersion) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *ComponentVersion) GetBranch() string
GetBranch returns the Branch field if non-nil, zero value otherwise.
func (o *ComponentVersion) 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 *ComponentVersion) SetBranch(v string)
SetBranch sets Branch field to given value.
func (o *ComponentVersion) HasBranch() bool
HasBranch returns a boolean if a field has been set.