Name | Type | Description | Notes |
---|---|---|---|
CurrentState | Pointer to NullableContainerStateDto | [optional] | |
Image | string | ||
LastTerminatedState | Pointer to NullableContainerStateTerminatedDto | [optional] | |
Name | string | ||
RestartCount | int32 |
func NewContainerStatusDto(image string, name string, restartCount int32, ) *ContainerStatusDto
NewContainerStatusDto instantiates a new ContainerStatusDto 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 NewContainerStatusDtoWithDefaults() *ContainerStatusDto
NewContainerStatusDtoWithDefaults instantiates a new ContainerStatusDto 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 *ContainerStatusDto) GetCurrentState() ContainerStateDto
GetCurrentState returns the CurrentState field if non-nil, zero value otherwise.
func (o *ContainerStatusDto) GetCurrentStateOk() (*ContainerStateDto, bool)
GetCurrentStateOk returns a tuple with the CurrentState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerStatusDto) SetCurrentState(v ContainerStateDto)
SetCurrentState sets CurrentState field to given value.
func (o *ContainerStatusDto) HasCurrentState() bool
HasCurrentState returns a boolean if a field has been set.
func (o *ContainerStatusDto) SetCurrentStateNil(b bool)
SetCurrentStateNil sets the value for CurrentState to be an explicit nil
func (o *ContainerStatusDto) UnsetCurrentState()
UnsetCurrentState ensures that no value is present for CurrentState, not even an explicit nil
func (o *ContainerStatusDto) GetImage() string
GetImage returns the Image field if non-nil, zero value otherwise.
func (o *ContainerStatusDto) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerStatusDto) SetImage(v string)
SetImage sets Image field to given value.
func (o *ContainerStatusDto) GetLastTerminatedState() ContainerStateTerminatedDto
GetLastTerminatedState returns the LastTerminatedState field if non-nil, zero value otherwise.
func (o *ContainerStatusDto) GetLastTerminatedStateOk() (*ContainerStateTerminatedDto, bool)
GetLastTerminatedStateOk returns a tuple with the LastTerminatedState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerStatusDto) SetLastTerminatedState(v ContainerStateTerminatedDto)
SetLastTerminatedState sets LastTerminatedState field to given value.
func (o *ContainerStatusDto) HasLastTerminatedState() bool
HasLastTerminatedState returns a boolean if a field has been set.
func (o *ContainerStatusDto) SetLastTerminatedStateNil(b bool)
SetLastTerminatedStateNil sets the value for LastTerminatedState to be an explicit nil
func (o *ContainerStatusDto) UnsetLastTerminatedState()
UnsetLastTerminatedState ensures that no value is present for LastTerminatedState, not even an explicit nil
func (o *ContainerStatusDto) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ContainerStatusDto) 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 *ContainerStatusDto) SetName(v string)
SetName sets Name field to given value.
func (o *ContainerStatusDto) GetRestartCount() int32
GetRestartCount returns the RestartCount field if non-nil, zero value otherwise.
func (o *ContainerStatusDto) 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 *ContainerStatusDto) SetRestartCount(v int32)
SetRestartCount sets RestartCount field to given value.