• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / box-node-sdk / 18874824868

28 Oct 2025 12:30PM UTC coverage: 5.219% (-0.2%) from 5.39%
18874824868

Pull #1149

github

web-flow
Merge c5f88e527 into 45de76d0d
Pull Request #1149: feat(boxsdkgen): Add GET enterprise configuration endpoint (box/box-openapi#559)

835 of 28525 branches covered (2.93%)

Branch coverage included in aggregate %.

0 of 891 new or added lines in 25 files covered. (0.0%)

1 existing line in 1 file now uncovered.

2535 of 36047 relevant lines covered (7.03%)

42.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/sdk-gen/schemas/v2025R0/listUserV2025R0.ts
NEW
1
import { BoxSdkError } from '../../box/errors';
×
2
import { SerializedData } from '../../serialization/json';
3
import { sdIsEmpty } from '../../serialization/json';
4
import { sdIsBoolean } from '../../serialization/json';
NEW
5
import { sdIsNumber } from '../../serialization/json';
×
NEW
6
import { sdIsString } from '../../serialization/json';
×
7
import { sdIsList } from '../../serialization/json';
NEW
8
import { sdIsMap } from '../../serialization/json';
×
9
export interface ListUserV2025R0 {
10
  /**
11
   * The ID of the user. */
12
  readonly id?: number | null;
13
  /**
14
   * The name of the user. */
15
  readonly name?: string | null;
16
  /**
17
   * The email of the user. */
18
  readonly email?: string | null;
19
  readonly rawData?: SerializedData;
20
}
NEW
21
export function serializeListUserV2025R0(val: ListUserV2025R0): SerializedData {
×
NEW
22
  return { ['id']: val.id, ['name']: val.name, ['email']: val.email };
×
23
}
NEW
24
export function deserializeListUserV2025R0(
×
25
  val: SerializedData
26
): ListUserV2025R0 {
NEW
27
  if (!sdIsMap(val)) {
×
NEW
28
    throw new BoxSdkError({ message: 'Expecting a map for "ListUserV2025R0"' });
×
29
  }
NEW
30
  if (!(val.id == void 0) && !sdIsNumber(val.id)) {
×
NEW
31
    throw new BoxSdkError({
×
32
      message: 'Expecting number for "id" of type "ListUserV2025R0"',
33
    });
34
  }
NEW
35
  const id: undefined | number = val.id == void 0 ? void 0 : val.id;
×
NEW
36
  if (!(val.name == void 0) && !sdIsString(val.name)) {
×
NEW
37
    throw new BoxSdkError({
×
38
      message: 'Expecting string for "name" of type "ListUserV2025R0"',
39
    });
40
  }
NEW
41
  const name: undefined | string = val.name == void 0 ? void 0 : val.name;
×
NEW
42
  if (!(val.email == void 0) && !sdIsString(val.email)) {
×
NEW
43
    throw new BoxSdkError({
×
44
      message: 'Expecting string for "email" of type "ListUserV2025R0"',
45
    });
46
  }
NEW
47
  const email: undefined | string = val.email == void 0 ? void 0 : val.email;
×
NEW
48
  return { id: id, name: name, email: email } satisfies ListUserV2025R0;
×
49
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc