Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 1.89 KB

File metadata and controls

56 lines (31 loc) · 1.89 KB

V1GetNetworkPolicyResponse

Properties

Name Type Description Notes
NetworkPolicy Pointer to V1NetworkPolicy [optional]

Methods

NewV1GetNetworkPolicyResponse

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

NewV1GetNetworkPolicyResponseWithDefaults

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

GetNetworkPolicy

func (o *V1GetNetworkPolicyResponse) GetNetworkPolicy() V1NetworkPolicy

GetNetworkPolicy returns the NetworkPolicy field if non-nil, zero value otherwise.

GetNetworkPolicyOk

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.

SetNetworkPolicy

func (o *V1GetNetworkPolicyResponse) SetNetworkPolicy(v V1NetworkPolicy)

SetNetworkPolicy sets NetworkPolicy field to given value.

HasNetworkPolicy

func (o *V1GetNetworkPolicyResponse) HasNetworkPolicy() bool

HasNetworkPolicy returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]