@huaweicloud/huaweicloud-sdk-cdn 3.1.38 → 3.1.39

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-cdn",
3
- "version": "3.1.38",
3
+ "version": "3.1.39",
4
4
  "description": "Huaweicloud SDK for cdn",
5
5
  "main": "huaweicloud-sdk-cdn.js",
6
6
  "typings": "huaweicloud-sdk-cdn.d.ts",
@@ -14,6 +14,6 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.1.38"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.39"
18
18
  }
19
19
  }
@@ -1,6 +1,7 @@
1
1
  import { SourcesConfig } from './SourcesConfig';
2
2
  export declare class DomainsWithPort {
3
3
  id?: string;
4
+ private 'domain_name'?;
4
5
  private 'business_type'?;
5
6
  private 'domain_status'?;
6
7
  cname?: string;
@@ -13,6 +14,9 @@ export declare class DomainsWithPort {
13
14
  private 'service_area'?;
14
15
  constructor();
15
16
  withId(id: string): DomainsWithPort;
17
+ withDomainName(domainName: string): DomainsWithPort;
18
+ set domainName(domainName: string | undefined);
19
+ get domainName(): string | undefined;
16
20
  withBusinessType(businessType: string): DomainsWithPort;
17
21
  set businessType(businessType: string | undefined);
18
22
  get businessType(): string | undefined;
@@ -8,6 +8,20 @@ var DomainsWithPort = /** @class */ (function () {
8
8
  this['id'] = id;
9
9
  return this;
10
10
  };
11
+ DomainsWithPort.prototype.withDomainName = function (domainName) {
12
+ this['domain_name'] = domainName;
13
+ return this;
14
+ };
15
+ Object.defineProperty(DomainsWithPort.prototype, "domainName", {
16
+ get: function () {
17
+ return this['domain_name'];
18
+ },
19
+ set: function (domainName) {
20
+ this['domain_name'] = domainName;
21
+ },
22
+ enumerable: false,
23
+ configurable: true
24
+ });
11
25
  DomainsWithPort.prototype.withBusinessType = function (businessType) {
12
26
  this['business_type'] = businessType;
13
27
  return this;