2.3 KiB
TrainPublishCapIn
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Name | Pointer to string | [optional] | |
| Version | Pointer to int64 | Version is the version to install; the newest that passed when absent. | [optional] |
Methods
NewTrainPublishCapIn
func NewTrainPublishCapIn() *TrainPublishCapIn
NewTrainPublishCapIn instantiates a new TrainPublishCapIn 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
NewTrainPublishCapInWithDefaults
func NewTrainPublishCapInWithDefaults() *TrainPublishCapIn
NewTrainPublishCapInWithDefaults instantiates a new TrainPublishCapIn 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
GetName
func (o *TrainPublishCapIn) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *TrainPublishCapIn) 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.
SetName
func (o *TrainPublishCapIn) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *TrainPublishCapIn) HasName() bool
HasName returns a boolean if a field has been set.
GetVersion
func (o *TrainPublishCapIn) GetVersion() int64
GetVersion returns the Version field if non-nil, zero value otherwise.
GetVersionOk
func (o *TrainPublishCapIn) GetVersionOk() (*int64, 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.
SetVersion
func (o *TrainPublishCapIn) SetVersion(v int64)
SetVersion sets Version field to given value.
HasVersion
func (o *TrainPublishCapIn) HasVersion() bool
HasVersion returns a boolean if a field has been set.