Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | [optional] | |
Description | Pointer to string | [optional] | |
CreatedOn | string | ||
CreatedBy | string | ||
Type | string | ||
Labels | Pointer to []string | [optional] | |
State | ArtifactState | ||
GlobalId | int64 | ||
Version | string | ||
Properties | Pointer to map[string]string | User-defined name-value pairs. Name and value must be strings. | [optional] |
ContentId | int64 | ||
References | []ArtifactReference |
func NewSearchedVersion(createdOn string, createdBy string, type_ string, state ArtifactState, globalId int64, version string, contentId int64, references []ArtifactReference, ) *SearchedVersion
NewSearchedVersion instantiates a new SearchedVersion 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 NewSearchedVersionWithDefaults() *SearchedVersion
NewSearchedVersionWithDefaults instantiates a new SearchedVersion 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 *SearchedVersion) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SearchedVersion) 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 *SearchedVersion) SetName(v string)
SetName sets Name field to given value.
func (o *SearchedVersion) HasName() bool
HasName returns a boolean if a field has been set.
func (o *SearchedVersion) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SearchedVersion) 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 *SearchedVersion) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SearchedVersion) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *SearchedVersion) GetCreatedOn() string
GetCreatedOn returns the CreatedOn field if non-nil, zero value otherwise.
func (o *SearchedVersion) GetCreatedOnOk() (*string, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchedVersion) SetCreatedOn(v string)
SetCreatedOn sets CreatedOn field to given value.
func (o *SearchedVersion) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *SearchedVersion) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchedVersion) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *SearchedVersion) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *SearchedVersion) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchedVersion) SetType(v string)
SetType sets Type field to given value.
func (o *SearchedVersion) GetLabels() []string
GetLabels returns the Labels field if non-nil, zero value otherwise.
func (o *SearchedVersion) GetLabelsOk() (*[]string, bool)
GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchedVersion) SetLabels(v []string)
SetLabels sets Labels field to given value.
func (o *SearchedVersion) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (o *SearchedVersion) GetState() ArtifactState
GetState returns the State field if non-nil, zero value otherwise.
func (o *SearchedVersion) GetStateOk() (*ArtifactState, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchedVersion) SetState(v ArtifactState)
SetState sets State field to given value.
func (o *SearchedVersion) GetGlobalId() int64
GetGlobalId returns the GlobalId field if non-nil, zero value otherwise.
func (o *SearchedVersion) GetGlobalIdOk() (*int64, bool)
GetGlobalIdOk returns a tuple with the GlobalId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchedVersion) SetGlobalId(v int64)
SetGlobalId sets GlobalId field to given value.
func (o *SearchedVersion) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *SearchedVersion) 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 *SearchedVersion) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *SearchedVersion) GetProperties() map[string]string
GetProperties returns the Properties field if non-nil, zero value otherwise.
func (o *SearchedVersion) GetPropertiesOk() (*map[string]string, bool)
GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchedVersion) SetProperties(v map[string]string)
SetProperties sets Properties field to given value.
func (o *SearchedVersion) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (o *SearchedVersion) GetContentId() int64
GetContentId returns the ContentId field if non-nil, zero value otherwise.
func (o *SearchedVersion) GetContentIdOk() (*int64, bool)
GetContentIdOk returns a tuple with the ContentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchedVersion) SetContentId(v int64)
SetContentId sets ContentId field to given value.
func (o *SearchedVersion) GetReferences() []ArtifactReference
GetReferences returns the References field if non-nil, zero value otherwise.
func (o *SearchedVersion) GetReferencesOk() (*[]ArtifactReference, bool)
GetReferencesOk returns a tuple with the References field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SearchedVersion) SetReferences(v []ArtifactReference)
SetReferences sets References field to given value.