All files / output/project zif_abapgit_http_agent.intf.mjs

100% Statements 22/22
100% Branches 3/3
20% Functions 2/10
100% Lines 22/22

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 221x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
function $t_emlmX2FiYXBnaXRfaHR0cF9hZ2VudC5pbnRmLm1qcw_0() { return new abap.types.Structure({
"get": new abap.types.String({qualifiedName: "STRING"}),
"post": new abap.types.String({qualifiedName: "STRING"}),
"put": new abap.types.String({qualifiedName: "STRING"}),
"delete": new abap.types.String({qualifiedName: "STRING"}),
"patch": new abap.types.String({qualifiedName: "STRING"})}); }
// zif_abapgit_http_agent.intf.abap
class zif_abapgit_http_agent {
  static INTERNAL_TYPE = 'INTF';
  static INTERNAL_NAME = 'ZIF_ABAPGIT_HTTP_AGENT';
  static ATTRIBUTES = {"C_METHODS": {"type": () => {return $t_emlmX2FiYXBnaXRfaHR0cF9hZ2VudC5pbnRmLm1qcw_0();}, "visibility": "U", "is_constant": "X", "is_class": "X"}};
  static METHODS = {"GLOBAL_HEADERS": {"visibility": "U", "parameters": {"RO_GLOBAL_HEADERS": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_STRING_MAP", RTTIName: "\\CLASS=ZCL_ABAPGIT_STRING_MAP"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}}},
  "REQUEST": {"visibility": "U", "exceptions": ["ZCX_ABAPGIT_EXCEPTION"], "parameters": {"RI_RESPONSE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTTP_RESPONSE", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTTP_RESPONSE"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}, "IV_URL": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}, "IV_METHOD": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": "X", "parm_kind": "I", "type_name": "StringType"}, "IO_QUERY": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_STRING_MAP", RTTIName: "\\CLASS=ZCL_ABAPGIT_STRING_MAP"});}, "is_optional": "X", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "IO_HEADERS": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_STRING_MAP", RTTIName: "\\CLASS=ZCL_ABAPGIT_STRING_MAP"});}, "is_optional": "X", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "IV_PAYLOAD": {"type": () => {return new abap.types.Character(4);}, "is_optional": "X", "parm_kind": "I", "type_name": "AnyType"}}}};
}
abap.Classes['ZIF_ABAPGIT_HTTP_AGENT'] = zif_abapgit_http_agent;
zif_abapgit_http_agent.zif_abapgit_http_agent$c_methods = $t_emlmX2FiYXBnaXRfaHR0cF9hZ2VudC5pbnRmLm1qcw_0();
zif_abapgit_http_agent.zif_abapgit_http_agent$c_methods.get().get.set('GET');
zif_abapgit_http_agent.zif_abapgit_http_agent$c_methods.get().post.set('POST');
zif_abapgit_http_agent.zif_abapgit_http_agent$c_methods.get().put.set('PUT');
zif_abapgit_http_agent.zif_abapgit_http_agent$c_methods.get().delete.set('DELETE');
zif_abapgit_http_agent.zif_abapgit_http_agent$c_methods.get().patch.set('PATCH');
export {zif_abapgit_http_agent};