LineProfileDTO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| GemPortNum | Pointer to int64 | The number of gem ports created under this Line template is non-configurable. | [optional] |
| IsInUse | Pointer to bool | Whether the Line Profile is in use: if it is in use, deletion is not allowed. True indicates it is in use, while false indicates it is not in use. This field should not be provided | [optional] |
| IsSystemProfile | Pointer to bool | IsSystemProfile should be null, because it's generated by device. | [optional] |
| LineProfileId | int32 | ID of line profile should be within the range of 1 to 512 and should not be null | |
| MappingMode | string | Mapping method for the ONT. MappingMode should be a value as follows: VLAN, PRIORITY, VLAN_PRIORITY, PORT, PORT_VLAN, PORT_PRIORITY, PORT_VLAN_PRIORITY. Default value: VLAN. | |
| Name | Pointer to string | The name of the Line template, an optional configuration. If not configured by the user, it will be automatically generated by the device. Name should contain 1 to 32 characters including digits, upper and lower letters, and the following six characters: -@_:/. . It can be left empty; if empty, it will be assigned automatically by the device. | [optional] |
| OmccEncrypt | Pointer to string | Whether to enable OMCC encryption feature: when OMCC encryption is enabled, OMCI messages will be encrypted; otherwise, they will not be encrypted. OmccEncrypt should be a value as follows: ENABLE;DISABLE. Default value: ENABLE. | [optional] |
| TcontNum | Pointer to int64 | The number of T-conts created under this Line template is non-configurable. | [optional] |
| UpstreamFEC | string | Enable/Disable Upstream FEC feature. UpstreamFEC should be a value as follows: DISABLE;ENABLE. |
Methods
NewLineProfileDTO
func NewLineProfileDTO(lineProfileId int32, mappingMode string, upstreamFEC string, ) *LineProfileDTO
NewLineProfileDTO instantiates a new LineProfileDTO 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
NewLineProfileDTOWithDefaults
func NewLineProfileDTOWithDefaults() *LineProfileDTO
NewLineProfileDTOWithDefaults instantiates a new LineProfileDTO 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
GetGemPortNum
func (o *LineProfileDTO) GetGemPortNum() int64
GetGemPortNum returns the GemPortNum field if non-nil, zero value otherwise.
GetGemPortNumOk
func (o *LineProfileDTO) GetGemPortNumOk() (*int64, bool)
GetGemPortNumOk returns a tuple with the GemPortNum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGemPortNum
func (o *LineProfileDTO) SetGemPortNum(v int64)
SetGemPortNum sets GemPortNum field to given value.
HasGemPortNum
func (o *LineProfileDTO) HasGemPortNum() bool
HasGemPortNum returns a boolean if a field has been set.
GetIsInUse
func (o *LineProfileDTO) GetIsInUse() bool
GetIsInUse returns the IsInUse field if non-nil, zero value otherwise.
GetIsInUseOk
func (o *LineProfileDTO) GetIsInUseOk() (*bool, bool)
GetIsInUseOk returns a tuple with the IsInUse field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIsInUse
func (o *LineProfileDTO) SetIsInUse(v bool)
SetIsInUse sets IsInUse field to given value.
HasIsInUse
func (o *LineProfileDTO) HasIsInUse() bool
HasIsInUse returns a boolean if a field has been set.
GetIsSystemProfile
func (o *LineProfileDTO) GetIsSystemProfile() bool
GetIsSystemProfile returns the IsSystemProfile field if non-nil, zero value otherwise.
GetIsSystemProfileOk
func (o *LineProfileDTO) GetIsSystemProfileOk() (*bool, bool)
GetIsSystemProfileOk returns a tuple with the IsSystemProfile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIsSystemProfile
func (o *LineProfileDTO) SetIsSystemProfile(v bool)
SetIsSystemProfile sets IsSystemProfile field to given value.
HasIsSystemProfile
func (o *LineProfileDTO) HasIsSystemProfile() bool
HasIsSystemProfile returns a boolean if a field has been set.
GetLineProfileId
func (o *LineProfileDTO) GetLineProfileId() int32
GetLineProfileId returns the LineProfileId field if non-nil, zero value otherwise.
GetLineProfileIdOk
func (o *LineProfileDTO) GetLineProfileIdOk() (*int32, bool)
GetLineProfileIdOk returns a tuple with the LineProfileId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLineProfileId
func (o *LineProfileDTO) SetLineProfileId(v int32)
SetLineProfileId sets LineProfileId field to given value.
GetMappingMode
func (o *LineProfileDTO) GetMappingMode() string
GetMappingMode returns the MappingMode field if non-nil, zero value otherwise.
GetMappingModeOk
func (o *LineProfileDTO) GetMappingModeOk() (*string, bool)
GetMappingModeOk returns a tuple with the MappingMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMappingMode
func (o *LineProfileDTO) SetMappingMode(v string)
SetMappingMode sets MappingMode field to given value.
GetName
func (o *LineProfileDTO) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *LineProfileDTO) 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 *LineProfileDTO) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *LineProfileDTO) HasName() bool
HasName returns a boolean if a field has been set.
GetOmccEncrypt
func (o *LineProfileDTO) GetOmccEncrypt() string
GetOmccEncrypt returns the OmccEncrypt field if non-nil, zero value otherwise.
GetOmccEncryptOk
func (o *LineProfileDTO) GetOmccEncryptOk() (*string, bool)
GetOmccEncryptOk returns a tuple with the OmccEncrypt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOmccEncrypt
func (o *LineProfileDTO) SetOmccEncrypt(v string)
SetOmccEncrypt sets OmccEncrypt field to given value.
HasOmccEncrypt
func (o *LineProfileDTO) HasOmccEncrypt() bool
HasOmccEncrypt returns a boolean if a field has been set.
GetTcontNum
func (o *LineProfileDTO) GetTcontNum() int64
GetTcontNum returns the TcontNum field if non-nil, zero value otherwise.
GetTcontNumOk
func (o *LineProfileDTO) GetTcontNumOk() (*int64, bool)
GetTcontNumOk returns a tuple with the TcontNum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTcontNum
func (o *LineProfileDTO) SetTcontNum(v int64)
SetTcontNum sets TcontNum field to given value.
HasTcontNum
func (o *LineProfileDTO) HasTcontNum() bool
HasTcontNum returns a boolean if a field has been set.
GetUpstreamFEC
func (o *LineProfileDTO) GetUpstreamFEC() string
GetUpstreamFEC returns the UpstreamFEC field if non-nil, zero value otherwise.
GetUpstreamFECOk
func (o *LineProfileDTO) GetUpstreamFECOk() (*string, bool)
GetUpstreamFECOk returns a tuple with the UpstreamFEC field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUpstreamFEC
func (o *LineProfileDTO) SetUpstreamFEC(v string)
SetUpstreamFEC sets UpstreamFEC field to given value.