| Name | Type | Description | Notes |
|---|---|---|---|
| NetworkPolicy | Pointer to V1NetworkPolicy | [optional] |
func NewV1GetNetworkPolicyResponse() *V1GetNetworkPolicyResponse
NewV1GetNetworkPolicyResponse instantiates a new V1GetNetworkPolicyResponse 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 NewV1GetNetworkPolicyResponseWithDefaults() *V1GetNetworkPolicyResponse
NewV1GetNetworkPolicyResponseWithDefaults instantiates a new V1GetNetworkPolicyResponse 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 *V1GetNetworkPolicyResponse) GetNetworkPolicy() V1NetworkPolicy
GetNetworkPolicy returns the NetworkPolicy field if non-nil, zero value otherwise.
func (o *V1GetNetworkPolicyResponse) GetNetworkPolicyOk() (*V1NetworkPolicy, bool)
GetNetworkPolicyOk returns a tuple with the NetworkPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1GetNetworkPolicyResponse) SetNetworkPolicy(v V1NetworkPolicy)
SetNetworkPolicy sets NetworkPolicy field to given value.
func (o *V1GetNetworkPolicyResponse) HasNetworkPolicy() bool
HasNetworkPolicy returns a boolean if a field has been set.