Mx

package
v0.0.0-...-ff84ec8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mx

type Mx struct {
	Id        int    `json:"mx_id,omitempty"`
	Name      string `json:"mx_name"`
	Updatable bool   `json:"ip_updatable,omitempty"`
	Removable bool   `json:"is_removable,omitempty"`
}

func NewMxByValue

func NewMxByValue(value string, fromApi bool) (*Mx, error)

NewMxByValue Constructor to build object by Value, if fromApi = true, try to load from API

func (*Mx) Delete

func (o *Mx) Delete()

Delete Function used to Delete the Object to Api

func (*Mx) Load

func (o *Mx) Load() (err error)

Load Function used to load the Object to Api

func (*Mx) Save

func (o *Mx) Save()

Save Function used to save the Object to Api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL