1/* 2 * Copyright (c) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16export default class DomainAccountRequest { 17 18 private accountName: string; 19 private accountId: string; 20 private accountType: number; 21 private keywordsList: string[]; 22 23 public setAccountName(accountName: string): void { 24 this.accountName = accountName; 25 } 26 27 public getAccountName(): string { 28 return this.accountName; 29 } 30 31 public setAccountId(accountId: string): void { 32 this.accountId = accountId; 33 } 34 35 public getAccountId(): string { 36 return this.accountId; 37 } 38 39 public setAccountType(accountType: number): void { 40 this.accountType = accountType; 41 } 42 43 public getAccountType(): number { 44 return this.accountType; 45 } 46 47 public setKeywordsList(keywordsList: string[]): void { 48 this.keywordsList = keywordsList; 49 } 50 51 public getKeywordsList(): string[] { 52 return this.keywordsList; 53 } 54 55}