Reference / Modules / client / LegalOfficerClass
Class: LegalOfficerClass
client.LegalOfficerClass
Implements
Table of contents
Constructors
Properties
- account
- additionalDetails
- axiosFactory
- config
- name
- node
- nodeId
- postalAddress
- region
- token
- userIdentity
- workload
Accessors
Methods
Constructors
constructor
• new LegalOfficerClass(args
): LegalOfficerClass
Parameters
Name | Type |
---|---|
args | Object |
args.axiosFactory | AxiosFactory |
args.legalOfficer | LegalOfficer |
args.token? | string |
Returns
Defined in
packages/client/src/Types.ts:110
Properties
account
• Readonly
account: ValidAccountId
Implementation of
Defined in
packages/client/src/Types.ts:133
additionalDetails
• Readonly
additionalDetails: string
Implementation of
LegalOfficer.additionalDetails
Defined in
packages/client/src/Types.ts:134
axiosFactory
• Private
axiosFactory: AxiosFactory
Defined in
packages/client/src/Types.ts:141
config
• Private
config: undefined
| BackendConfig
Defined in
packages/client/src/Types.ts:142
name
• Readonly
name: string
Implementation of
Defined in
packages/client/src/Types.ts:136
node
• Readonly
node: string
Implementation of
Defined in
packages/client/src/Types.ts:135
nodeId
• Readonly
nodeId: string
Implementation of
Defined in
packages/client/src/Types.ts:137
postalAddress
• Readonly
postalAddress: LegalOfficerPostalAddress
Implementation of
Defined in
packages/client/src/Types.ts:132
region
• Readonly
region: "Europe"
Implementation of
Defined in
packages/client/src/Types.ts:138
token
• Readonly
token: undefined
| string
Defined in
packages/client/src/Types.ts:139
userIdentity
• Readonly
userIdentity: UserIdentity
Implementation of
Defined in
packages/client/src/Types.ts:131
workload
▪ Private
Static
Readonly
workload: Workload
Defined in
packages/client/src/Types.ts:108
Accessors
workloadCacheTtlMs
• set
workloadCacheTtlMs(value
): void
Parameters
Name | Type |
---|---|
value | number |
Returns
void
Defined in
packages/client/src/Types.ts:178
Methods
buildAxiosToNode
▸ buildAxiosToNode(): AxiosInstance
Returns
AxiosInstance
Defined in
packages/client/src/Types.ts:144
fetchConfig
▸ fetchConfig(): Promise
<BackendConfig
>
Returns
Promise
<BackendConfig
>
Defined in
packages/client/src/Types.ts:161
getConfig
▸ getConfig(): Promise
<BackendConfig
>
Returns
Promise
<BackendConfig
>
Defined in
packages/client/src/Types.ts:156
getWorkload
▸ getWorkload(): Promise
<number
>
Returns
Promise
<number
>
Defined in
packages/client/src/Types.ts:170
withToken
▸ withToken(token?
): LegalOfficerClass
Parameters
Name | Type |
---|---|
token? | string |
Returns
Defined in
packages/client/src/Types.ts:148
flushWorkloadCache
▸ flushWorkloadCache(): void
Returns
void