Name | Type | Description | Notes |
---|---|---|---|
Containers | []ContainerStatusDto | ||
Name | string | ||
RestartCount | int32 | ||
ServiceVersion | string | ||
StartedAt | int64 | ||
State | ServiceStateDto | ||
StateMessage | string | ||
StateReason | string |
func NewPodStatusDto(containers []ContainerStatusDto, name string, restartCount int32, serviceVersion string, startedAt int64, state ServiceStateDto, stateMessage string, stateReason string, ) *PodStatusDto
NewPodStatusDto instantiates a new PodStatusDto 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 NewPodStatusDtoWithDefaults() *PodStatusDto
NewPodStatusDtoWithDefaults instantiates a new PodStatusDto 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 *PodStatusDto) GetContainers() []ContainerStatusDto
GetContainers returns the Containers field if non-nil, zero value otherwise.
func (o *PodStatusDto) GetContainersOk() (*[]ContainerStatusDto, bool)
GetContainersOk returns a tuple with the Containers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PodStatusDto) SetContainers(v []ContainerStatusDto)
SetContainers sets Containers field to given value.
func (o *PodStatusDto) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PodStatusDto) 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 *PodStatusDto) SetName(v string)
SetName sets Name field to given value.
func (o *PodStatusDto) GetRestartCount() int32
GetRestartCount returns the RestartCount field if non-nil, zero value otherwise.
func (o *PodStatusDto) GetRestartCountOk() (*int32, bool)
GetRestartCountOk returns a tuple with the RestartCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PodStatusDto) SetRestartCount(v int32)
SetRestartCount sets RestartCount field to given value.
func (o *PodStatusDto) GetServiceVersion() string
GetServiceVersion returns the ServiceVersion field if non-nil, zero value otherwise.
func (o *PodStatusDto) GetServiceVersionOk() (*string, bool)
GetServiceVersionOk returns a tuple with the ServiceVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PodStatusDto) SetServiceVersion(v string)
SetServiceVersion sets ServiceVersion field to given value.
func (o *PodStatusDto) GetStartedAt() int64
GetStartedAt returns the StartedAt field if non-nil, zero value otherwise.
func (o *PodStatusDto) GetStartedAtOk() (*int64, bool)
GetStartedAtOk returns a tuple with the StartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PodStatusDto) SetStartedAt(v int64)
SetStartedAt sets StartedAt field to given value.
func (o *PodStatusDto) GetState() ServiceStateDto
GetState returns the State field if non-nil, zero value otherwise.
func (o *PodStatusDto) GetStateOk() (*ServiceStateDto, 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 *PodStatusDto) SetState(v ServiceStateDto)
SetState sets State field to given value.
func (o *PodStatusDto) GetStateMessage() string
GetStateMessage returns the StateMessage field if non-nil, zero value otherwise.
func (o *PodStatusDto) GetStateMessageOk() (*string, bool)
GetStateMessageOk returns a tuple with the StateMessage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PodStatusDto) SetStateMessage(v string)
SetStateMessage sets StateMessage field to given value.
func (o *PodStatusDto) GetStateReason() string
GetStateReason returns the StateReason field if non-nil, zero value otherwise.
func (o *PodStatusDto) GetStateReasonOk() (*string, bool)
GetStateReasonOk returns a tuple with the StateReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PodStatusDto) SetStateReason(v string)
SetStateReason sets StateReason field to given value.