Represents a HSMLocalizableParameter.

Hierarchy

  • HSMLocalizableParameter

Implements

Constructors

Properties

currency?: null | IHSMCurrency

HSMLocalizableParameter currency.

dateTime?: null | IHSMDateTime

HSMLocalizableParameter dateTime.

default: string

HSMLocalizableParameter default.

paramOneof?: "currency" | "dateTime"

HSMLocalizableParameter paramOneof.

Methods

  • Converts this HSMLocalizableParameter to JSON.

    Returns {
        [k: string]: any;
    }

    JSON object

    • [k: string]: any
  • Decodes a HSMLocalizableParameter message from the specified reader or buffer.

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    • Optional length: number

      Message length if known beforehand

    Returns HSMLocalizableParameter

    HSMLocalizableParameter

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

  • Decodes a HSMLocalizableParameter message from the specified reader or buffer, length delimited.

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    Returns HSMLocalizableParameter

    HSMLocalizableParameter

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

  • Encodes the specified HSMLocalizableParameter message. Does not implicitly verify messages.

    Parameters

    • message: IHSMLocalizableParameter

      HSMLocalizableParameter message or plain object to encode

    • Optional writer: Writer

      Writer to encode to

    Returns Writer

    Writer

  • Encodes the specified HSMLocalizableParameter message, length delimited. Does not implicitly verify messages.

    Parameters

    • message: IHSMLocalizableParameter

      HSMLocalizableParameter message or plain object to encode

    • Optional writer: Writer

      Writer to encode to

    Returns Writer

    Writer

  • Creates a plain object from a HSMLocalizableParameter message. Also converts values to other types if specified.

    Parameters

    Returns {
        [k: string]: any;
    }

    Plain object

    • [k: string]: any
  • Verifies a HSMLocalizableParameter message.

    Parameters

    • message: {
          [k: string]: any;
      }

      Plain object to verify

      • [k: string]: any

    Returns null | string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc