Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
CreatedAt | time.Time | [readonly] | |
Key | string | key of the component | |
Description | Pointer to string | short description of the component | [optional] |
Name | string | name of the component |
func NewComponent(id string, createdAt time.Time, key string, name string, ) *Component
NewComponent instantiates a new Component 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 NewComponentWithDefaults() *Component
NewComponentWithDefaults instantiates a new Component 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 *Component) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Component) 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 *Component) SetId(v string)
SetId sets Id field to given value.
func (o *Component) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Component) 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 *Component) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Component) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *Component) 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 *Component) SetKey(v string)
SetKey sets Key field to given value.
func (o *Component) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Component) 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 *Component) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Component) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Component) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Component) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Component) SetName(v string)
SetName sets Name field to given value.