Name | Type | Description | Notes |
---|---|---|---|
Host | Pointer to string | Node name on which the event is generated. | [optional] |
Component | Pointer to string | Component from which the event is generated. | [optional] |
func NewV1EventSource() *V1EventSource
NewV1EventSource instantiates a new V1EventSource 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 NewV1EventSourceWithDefaults() *V1EventSource
NewV1EventSourceWithDefaults instantiates a new V1EventSource 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 *V1EventSource) GetHost() string
GetHost returns the Host field if non-nil, zero value otherwise.
func (o *V1EventSource) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1EventSource) SetHost(v string)
SetHost sets Host field to given value.
func (o *V1EventSource) HasHost() bool
HasHost returns a boolean if a field has been set.
func (o *V1EventSource) GetComponent() string
GetComponent returns the Component field if non-nil, zero value otherwise.
func (o *V1EventSource) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1EventSource) SetComponent(v string)
SetComponent sets Component field to given value.
func (o *V1EventSource) HasComponent() bool
HasComponent returns a boolean if a field has been set.