| Name | Type | Description | Notes |
|---|---|---|---|
| IpBlock | Pointer to []V1IpBlock | List of ip blocks | [optional] |
| InstanceSelectors | Pointer to []V1MatchExpression | List of instance selectors | [optional] |
| NetworkSelectors | Pointer to []V1MatchExpression | List of network selectors | [optional] |
func NewV1HostRule() *V1HostRule
NewV1HostRule instantiates a new V1HostRule 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 NewV1HostRuleWithDefaults() *V1HostRule
NewV1HostRuleWithDefaults instantiates a new V1HostRule 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 *V1HostRule) GetIpBlock() []V1IpBlock
GetIpBlock returns the IpBlock field if non-nil, zero value otherwise.
func (o *V1HostRule) GetIpBlockOk() (*[]V1IpBlock, bool)
GetIpBlockOk returns a tuple with the IpBlock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1HostRule) SetIpBlock(v []V1IpBlock)
SetIpBlock sets IpBlock field to given value.
func (o *V1HostRule) HasIpBlock() bool
HasIpBlock returns a boolean if a field has been set.
func (o *V1HostRule) GetInstanceSelectors() []V1MatchExpression
GetInstanceSelectors returns the InstanceSelectors field if non-nil, zero value otherwise.
func (o *V1HostRule) GetInstanceSelectorsOk() (*[]V1MatchExpression, bool)
GetInstanceSelectorsOk returns a tuple with the InstanceSelectors field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1HostRule) SetInstanceSelectors(v []V1MatchExpression)
SetInstanceSelectors sets InstanceSelectors field to given value.
func (o *V1HostRule) HasInstanceSelectors() bool
HasInstanceSelectors returns a boolean if a field has been set.
func (o *V1HostRule) GetNetworkSelectors() []V1MatchExpression
GetNetworkSelectors returns the NetworkSelectors field if non-nil, zero value otherwise.
func (o *V1HostRule) GetNetworkSelectorsOk() (*[]V1MatchExpression, bool)
GetNetworkSelectorsOk returns a tuple with the NetworkSelectors field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1HostRule) SetNetworkSelectors(v []V1MatchExpression)
SetNetworkSelectors sets NetworkSelectors field to given value.
func (o *V1HostRule) HasNetworkSelectors() bool
HasNetworkSelectors returns a boolean if a field has been set.