Comms Module Message

CommsModuleMessage

CommsModuleMessage Objects

class CommsModuleMessage()

This is a base object that allows the user to create a CommsModule.

constructor
function constructor()

Arguments:

  • ogapi *

composeElement
function composeElement() -> '*'

Returns:

  • *

withAntennaStatus
function withAntennaStatus(antennaStatus: string) -> 'CommsModule'

Set the antennaStatus attribute

Arguments:

  • antennaStatus string - optional field

Returns:

  • CommsModule

withHardware
function withHardware(hardware: Hardware) -> 'CommsModule'

Set the hardware attribute

Arguments:

  • hardware Hardware - optionals field

Returns:

  • CommsModule

withId
function withId(id: string) -> 'CommsModule'

Set the id attribute

Arguments:

  • id string - optional field

Returns:

  • CommsModule

withMobile
function withMobile(mobile: *) -> 'CommsModule'

Set the mobile attribute

Arguments:

  • mobile *

Returns:

  • CommsModule

withName
function withName(name: string) -> 'CommsModule'

Set the name attribute

Arguments:

  • name string - optional field

Returns:

  • CommsModule

withOperationalStatus
function withOperationalStatus(operationalStatus: string) -> 'CommsModule'

Set the operationalStatus attribute

Arguments:

  • operationalStatus string

Returns:

  • CommsModule

withSoftware
function withSoftware(software: *) -> 'CommsModule'

Set the software attribute

Arguments:

  • software *

Returns:

  • CommsModule

withSubscriber
function withSubscriber(subscriber: *) -> 'CommsModule'

Set the subscriber attribute

Arguments:

  • subscriber *

Returns:

  • CommsModule

withSubscription
function withSubscription(subscription: *) -> 'CommsModule'

Set the subscription attribute

Arguments:

  • subscription *

Returns:

  • CommsModule

withType
function withType(type: string) -> 'CommsModule'

Set the type attribute

Arguments:

  • type string - optional field

Returns:

  • CommsModule