| Name | Type | Description | Notes |
|---|---|---|---|
| Description | Pointer to string | Detailed summary of what the egress rule does | [optional] |
| Action | Pointer to V1Action | [optional] [default to "UNDEFINED"] | |
| To | Pointer to V1HostRule | [optional] | |
| Protocols | Pointer to V1Protocols | [optional] |
func NewV1Egress() *V1Egress
NewV1Egress instantiates a new V1Egress 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 NewV1EgressWithDefaults() *V1Egress
NewV1EgressWithDefaults instantiates a new V1Egress 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 *V1Egress) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *V1Egress) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1Egress) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *V1Egress) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *V1Egress) GetAction() V1Action
GetAction returns the Action field if non-nil, zero value otherwise.
func (o *V1Egress) GetActionOk() (*V1Action, bool)
GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1Egress) SetAction(v V1Action)
SetAction sets Action field to given value.
func (o *V1Egress) HasAction() bool
HasAction returns a boolean if a field has been set.
func (o *V1Egress) GetTo() V1HostRule
GetTo returns the To field if non-nil, zero value otherwise.
func (o *V1Egress) GetToOk() (*V1HostRule, bool)
GetToOk returns a tuple with the To field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1Egress) SetTo(v V1HostRule)
SetTo sets To field to given value.
func (o *V1Egress) HasTo() bool
HasTo returns a boolean if a field has been set.
func (o *V1Egress) GetProtocols() V1Protocols
GetProtocols returns the Protocols field if non-nil, zero value otherwise.
func (o *V1Egress) GetProtocolsOk() (*V1Protocols, bool)
GetProtocolsOk returns a tuple with the Protocols field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1Egress) SetProtocols(v V1Protocols)
SetProtocols sets Protocols field to given value.
func (o *V1Egress) HasProtocols() bool
HasProtocols returns a boolean if a field has been set.