Name | Type | Description | Notes |
---|---|---|---|
Metadata | KubernetesMetadata | ||
ServiceSpec | KubernetesServiceSpec |
func NewKubernetesService(metadata KubernetesMetadata, serviceSpec KubernetesServiceSpec, ) *KubernetesService
NewKubernetesService instantiates a new KubernetesService 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 NewKubernetesServiceWithDefaults() *KubernetesService
NewKubernetesServiceWithDefaults instantiates a new KubernetesService 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 *KubernetesService) GetMetadata() KubernetesMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *KubernetesService) GetMetadataOk() (*KubernetesMetadata, 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 *KubernetesService) SetMetadata(v KubernetesMetadata)
SetMetadata sets Metadata field to given value.
func (o *KubernetesService) GetServiceSpec() KubernetesServiceSpec
GetServiceSpec returns the ServiceSpec field if non-nil, zero value otherwise.
func (o *KubernetesService) GetServiceSpecOk() (*KubernetesServiceSpec, bool)
GetServiceSpecOk returns a tuple with the ServiceSpec field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KubernetesService) SetServiceSpec(v KubernetesServiceSpec)
SetServiceSpec sets ServiceSpec field to given value.