mirror of
https://github.com/bitwarden/jslib
synced 2025-12-18 09:13:19 +00:00
19 lines
497 B
TypeScript
19 lines
497 B
TypeScript
import { BaseResponse } from '../response/baseResponse';
|
|
|
|
import { UriMatchType } from '../../enums/uriMatchType';
|
|
|
|
export class LoginUriApi extends BaseResponse {
|
|
uri: string;
|
|
match: UriMatchType = null;
|
|
|
|
constructor(data: any = null) {
|
|
super(data);
|
|
if (data == null) {
|
|
return;
|
|
}
|
|
this.uri = this.getResponseProperty('Uri');
|
|
const match = this.getResponseProperty('Match');
|
|
this.match = match != null ? match : null;
|
|
}
|
|
}
|