1.6 KiB
TrackDTO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| TrackCode | Pointer to string | Трек-код почтового отправления. | [optional] |
Methods
NewTrackDTO
func NewTrackDTO() *TrackDTO
NewTrackDTO instantiates a new TrackDTO 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
NewTrackDTOWithDefaults
func NewTrackDTOWithDefaults() *TrackDTO
NewTrackDTOWithDefaults instantiates a new TrackDTO 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
GetTrackCode
func (o *TrackDTO) GetTrackCode() string
GetTrackCode returns the TrackCode field if non-nil, zero value otherwise.
GetTrackCodeOk
func (o *TrackDTO) GetTrackCodeOk() (*string, bool)
GetTrackCodeOk returns a tuple with the TrackCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTrackCode
func (o *TrackDTO) SetTrackCode(v string)
SetTrackCode sets TrackCode field to given value.
HasTrackCode
func (o *TrackDTO) HasTrackCode() bool
HasTrackCode returns a boolean if a field has been set.