Skip to content

OtoNatInfoOpenApiVO

Properties

Name Type Description Notes
Description Pointer to string Description should contain 1 to 64 characters. [optional]
Dmz bool Whether to enable the DMZ
ExternalIp string External IP
Id Pointer to string ID [optional]
InterfaceIds []string This field represents WAN port ID. WAN port ID can be obtained from can be obtained from 'Get internet basic info' interface.
InternalIp string Internal IP
Name string Name should contain 1 to 64 characters.
Status bool Status

Methods

NewOtoNatInfoOpenApiVO

func NewOtoNatInfoOpenApiVO(dmz bool, externalIp string, interfaceIds []string, internalIp string, name string, status bool, ) *OtoNatInfoOpenApiVO

NewOtoNatInfoOpenApiVO instantiates a new OtoNatInfoOpenApiVO 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

NewOtoNatInfoOpenApiVOWithDefaults

func NewOtoNatInfoOpenApiVOWithDefaults() *OtoNatInfoOpenApiVO

NewOtoNatInfoOpenApiVOWithDefaults instantiates a new OtoNatInfoOpenApiVO 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

GetDescription

func (o *OtoNatInfoOpenApiVO) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *OtoNatInfoOpenApiVO) 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.

SetDescription

func (o *OtoNatInfoOpenApiVO) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *OtoNatInfoOpenApiVO) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetDmz

func (o *OtoNatInfoOpenApiVO) GetDmz() bool

GetDmz returns the Dmz field if non-nil, zero value otherwise.

GetDmzOk

func (o *OtoNatInfoOpenApiVO) GetDmzOk() (*bool, bool)

GetDmzOk returns a tuple with the Dmz field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDmz

func (o *OtoNatInfoOpenApiVO) SetDmz(v bool)

SetDmz sets Dmz field to given value.

GetExternalIp

func (o *OtoNatInfoOpenApiVO) GetExternalIp() string

GetExternalIp returns the ExternalIp field if non-nil, zero value otherwise.

GetExternalIpOk

func (o *OtoNatInfoOpenApiVO) GetExternalIpOk() (*string, bool)

GetExternalIpOk returns a tuple with the ExternalIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExternalIp

func (o *OtoNatInfoOpenApiVO) SetExternalIp(v string)

SetExternalIp sets ExternalIp field to given value.

GetId

func (o *OtoNatInfoOpenApiVO) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *OtoNatInfoOpenApiVO) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *OtoNatInfoOpenApiVO) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *OtoNatInfoOpenApiVO) HasId() bool

HasId returns a boolean if a field has been set.

GetInterfaceIds

func (o *OtoNatInfoOpenApiVO) GetInterfaceIds() []string

GetInterfaceIds returns the InterfaceIds field if non-nil, zero value otherwise.

GetInterfaceIdsOk

func (o *OtoNatInfoOpenApiVO) GetInterfaceIdsOk() (*[]string, bool)

GetInterfaceIdsOk returns a tuple with the InterfaceIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInterfaceIds

func (o *OtoNatInfoOpenApiVO) SetInterfaceIds(v []string)

SetInterfaceIds sets InterfaceIds field to given value.

GetInternalIp

func (o *OtoNatInfoOpenApiVO) GetInternalIp() string

GetInternalIp returns the InternalIp field if non-nil, zero value otherwise.

GetInternalIpOk

func (o *OtoNatInfoOpenApiVO) GetInternalIpOk() (*string, bool)

GetInternalIpOk returns a tuple with the InternalIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInternalIp

func (o *OtoNatInfoOpenApiVO) SetInternalIp(v string)

SetInternalIp sets InternalIp field to given value.

GetName

func (o *OtoNatInfoOpenApiVO) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *OtoNatInfoOpenApiVO) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *OtoNatInfoOpenApiVO) SetName(v string)

SetName sets Name field to given value.

GetStatus

func (o *OtoNatInfoOpenApiVO) GetStatus() bool

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *OtoNatInfoOpenApiVO) GetStatusOk() (*bool, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatus

func (o *OtoNatInfoOpenApiVO) SetStatus(v bool)

SetStatus sets Status field to given value.

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