Name | Type | Description | Notes |
---|---|---|---|
ApiVersion | Pointer to string | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] |
Kind | Pointer to string | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] |
Metadata | Pointer to V1ObjectMeta | [optional] | |
Spec | Pointer to V1NamespaceSpec | [optional] | |
Status | Pointer to V1NamespaceStatus | [optional] |
func NewV1Namespace() *V1Namespace
NewV1Namespace instantiates a new V1Namespace 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 NewV1NamespaceWithDefaults() *V1Namespace
NewV1NamespaceWithDefaults instantiates a new V1Namespace 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 *V1Namespace) GetApiVersion() string
GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.
func (o *V1Namespace) GetApiVersionOk() (*string, bool)
GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1Namespace) SetApiVersion(v string)
SetApiVersion sets ApiVersion field to given value.
func (o *V1Namespace) HasApiVersion() bool
HasApiVersion returns a boolean if a field has been set.
func (o *V1Namespace) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
func (o *V1Namespace) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1Namespace) SetKind(v string)
SetKind sets Kind field to given value.
func (o *V1Namespace) HasKind() bool
HasKind returns a boolean if a field has been set.
func (o *V1Namespace) GetMetadata() V1ObjectMeta
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *V1Namespace) GetMetadataOk() (*V1ObjectMeta, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1Namespace) SetMetadata(v V1ObjectMeta)
SetMetadata sets Metadata field to given value.
func (o *V1Namespace) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *V1Namespace) GetSpec() V1NamespaceSpec
GetSpec returns the Spec field if non-nil, zero value otherwise.
func (o *V1Namespace) GetSpecOk() (*V1NamespaceSpec, bool)
GetSpecOk returns a tuple with the Spec field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1Namespace) SetSpec(v V1NamespaceSpec)
SetSpec sets Spec field to given value.
func (o *V1Namespace) HasSpec() bool
HasSpec returns a boolean if a field has been set.
func (o *V1Namespace) GetStatus() V1NamespaceStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *V1Namespace) GetStatusOk() (*V1NamespaceStatus, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1Namespace) SetStatus(v V1NamespaceStatus)
SetStatus sets Status field to given value.
func (o *V1Namespace) HasStatus() bool
HasStatus returns a boolean if a field has been set.