JJens Langhammertag version v0.13.1
25fe1bfa创建于 2024年10月21日历史提交

TftpRoleConfig

Properties

Name Type Description Notes
EnableLocal Pointer to bool [optional]
Port Pointer to int32 [optional]

Methods

NewTftpRoleConfig

func NewTftpRoleConfig() *TftpRoleConfig

NewTftpRoleConfig instantiates a new TftpRoleConfig 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

NewTftpRoleConfigWithDefaults

func NewTftpRoleConfigWithDefaults() *TftpRoleConfig

NewTftpRoleConfigWithDefaults instantiates a new TftpRoleConfig 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

GetEnableLocal

func (o *TftpRoleConfig) GetEnableLocal() bool

GetEnableLocal returns the EnableLocal field if non-nil, zero value otherwise.

GetEnableLocalOk

func (o *TftpRoleConfig) GetEnableLocalOk() (*bool, bool)

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

SetEnableLocal

func (o *TftpRoleConfig) SetEnableLocal(v bool)

SetEnableLocal sets EnableLocal field to given value.

HasEnableLocal

func (o *TftpRoleConfig) HasEnableLocal() bool

HasEnableLocal returns a boolean if a field has been set.

GetPort

func (o *TftpRoleConfig) GetPort() int32

GetPort returns the Port field if non-nil, zero value otherwise.

GetPortOk

func (o *TftpRoleConfig) GetPortOk() (*int32, bool)

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

SetPort

func (o *TftpRoleConfig) SetPort(v int32)

SetPort sets Port field to given value.

HasPort

func (o *TftpRoleConfig) HasPort() bool

HasPort returns a boolean if a field has been set.

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