Operator

Operator

new Operator()

Version:
  • 1.0

The Operator model module.

Members

createdAt :Number

Operator creation time

Type:
  • Number

operator :String

Operator’s Klaytn account address

Type:
  • String

setting :OperatorSetting

Type:

Methods

(static) constructFromObject(data, obj) → {Operator}

Constructs a Operator from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj Operator

Optional instance to populate.

Returns:

The populated Operator instance.

Type
Operator

Operator

new Operator(createdAt, operator)

Constructs a new Operator. Operator information

Parameters:
Name Type Description
createdAt Number

Operator creation time

operator String

Operator’s Klaytn account address

Members

createdAt :Number

Operator creation time

Type:
  • Number

operator :String

Operator’s Klaytn account address

Type:
  • String

setting :OperatorSetting

Type:

Methods

(static) constructFromObject(data, obj) → {Operator}

Constructs a Operator from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj Operator

Optional instance to populate.

Returns:

The populated Operator instance.

Type
Operator