All files / output cl_send_request_bcs.clas.mjs

43.75% Statements 21/48
100% Branches 2/2
9.09% Functions 1/11
43.75% Lines 21/48

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 481x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x                     1x       1x       1x           1x       1x       1x 1x 1x
const {cx_root} = await import("./cx_root.clas.mjs");
// cl_send_request_bcs.clas.abap
class cl_send_request_bcs {
  static STATIC_SUPER = undefined;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CL_SEND_REQUEST_BCS';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {};
  static METHODS = {"SET_EXPIRES_ON": {"visibility": "U", "parameters": {"I_EXPIRES_ON": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}}},
  "SET_SEND_AT": {"visibility": "U", "parameters": {"I_SEND_AT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}}},
  "SET_LINK_TO_OUTBOX": {"visibility": "U", "parameters": {"I_LINK_TO_OUTBOX": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
  "SET_DISCLOSURE": {"visibility": "U", "parameters": {"I_DISCLOSURE": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}}}};
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "set_expires_on": this.set_expires_on.bind(this),
      "set_send_at": this.set_send_at.bind(this),
      "set_link_to_outbox": this.set_link_to_outbox.bind(this),
      "set_disclosure": this.set_disclosure.bind(this),
    };
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async set_disclosure(INPUT) {
    let i_disclosure = INPUT?.i_disclosure;
    return;
  }
  async set_link_to_outbox(INPUT) {
    let i_link_to_outbox = INPUT?.i_link_to_outbox;
    if (i_link_to_outbox?.getQualifiedName === undefined || i_link_to_outbox.getQualifiedName() !== "ABAP_BOOL") { i_link_to_outbox = undefined; }
    if (i_link_to_outbox === undefined) { i_link_to_outbox = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.i_link_to_outbox); }
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
  }
  async set_send_at(INPUT) {
    let i_send_at = INPUT?.i_send_at;
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
  }
  async set_expires_on(INPUT) {
    let i_expires_on = INPUT?.i_expires_on;
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
  }
}
abap.Classes['CL_SEND_REQUEST_BCS'] = cl_send_request_bcs;
export {cl_send_request_bcs};