Class: TencentCloud::Weilingwith::V20230427::ApiInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::ApiInfo
- Defined in:
- lib/v20230427/models.rb
Overview
API描述
Instance Attribute Summary collapse
- #Address ⇒ Object
- #ApiId ⇒ Object
- #AppId ⇒ Object
- #ApplyAudit ⇒ Object
- #Body ⇒ Object
- #DataAudit ⇒ Object
- #Description ⇒ Object
- #IsCommonSpace ⇒ Object
- #Method ⇒ Object
- #Name ⇒ Object
- #PathParams ⇒ Object
- #PoiCode ⇒ Object
- #PreviewUrl ⇒ Object
- #QueryParams ⇒ Object
- #RequestHeaders ⇒ Object
- #ResponseBody ⇒ Object
- #ResponseHeaders ⇒ Object
- #Status ⇒ Object
- #Style ⇒ Object
- #Type ⇒ Object
- #WorkspaceId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(apiid = nil, name = nil, appid = nil, workspaceid = nil, poicode = nil, type = nil, dataaudit = nil, applyaudit = nil, description = nil, address = nil, method = nil, status = nil, previewurl = nil, queryparams = nil, pathparams = nil, requestheaders = nil, responseheaders = nil, iscommonspace = nil, body = nil, responsebody = nil, style = nil) ⇒ ApiInfo
constructor
A new instance of ApiInfo.
Constructor Details
#initialize(apiid = nil, name = nil, appid = nil, workspaceid = nil, poicode = nil, type = nil, dataaudit = nil, applyaudit = nil, description = nil, address = nil, method = nil, status = nil, previewurl = nil, queryparams = nil, pathparams = nil, requestheaders = nil, responseheaders = nil, iscommonspace = nil, body = nil, responsebody = nil, style = nil) ⇒ ApiInfo
Returns a new instance of ApiInfo.
581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'lib/v20230427/models.rb', line 581 def initialize(apiid=nil, name=nil, appid=nil, workspaceid=nil, poicode=nil, type=nil, dataaudit=nil, applyaudit=nil, description=nil, address=nil, method=nil, status=nil, previewurl=nil, queryparams=nil, pathparams=nil, requestheaders=nil, responseheaders=nil, iscommonspace=nil, body=nil, responsebody=nil, style=nil) @ApiId = apiid @Name = name @AppId = appid @WorkspaceId = workspaceid @PoiCode = poicode @Type = type @DataAudit = dataaudit @ApplyAudit = applyaudit @Description = description @Address = address @Method = method @Status = status @PreviewUrl = previewurl @QueryParams = queryparams @PathParams = pathparams @RequestHeaders = requestheaders @ResponseHeaders = responseheaders @IsCommonSpace = iscommonspace @Body = body @ResponseBody = responsebody @Style = style end |
Instance Attribute Details
#Address ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def Address @Address end |
#ApiId ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def ApiId @ApiId end |
#AppId ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def AppId @AppId end |
#ApplyAudit ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def ApplyAudit @ApplyAudit end |
#Body ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def Body @Body end |
#DataAudit ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def DataAudit @DataAudit end |
#Description ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def Description @Description end |
#IsCommonSpace ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def IsCommonSpace @IsCommonSpace end |
#Method ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def Method @Method end |
#Name ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def Name @Name end |
#PathParams ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def PathParams @PathParams end |
#PoiCode ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def PoiCode @PoiCode end |
#PreviewUrl ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def PreviewUrl @PreviewUrl end |
#QueryParams ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def QueryParams @QueryParams end |
#RequestHeaders ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def RequestHeaders @RequestHeaders end |
#ResponseBody ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def ResponseBody @ResponseBody end |
#ResponseHeaders ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def ResponseHeaders @ResponseHeaders end |
#Status ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def Status @Status end |
#Style ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def Style @Style end |
#Type ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def Type @Type end |
#WorkspaceId ⇒ Object
579 580 581 |
# File 'lib/v20230427/models.rb', line 579 def WorkspaceId @WorkspaceId end |
Instance Method Details
#deserialize(params) ⇒ Object
605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 |
# File 'lib/v20230427/models.rb', line 605 def deserialize(params) @ApiId = params['ApiId'] @Name = params['Name'] @AppId = params['AppId'] @WorkspaceId = params['WorkspaceId'] @PoiCode = params['PoiCode'] @Type = params['Type'] @DataAudit = params['DataAudit'] @ApplyAudit = params['ApplyAudit'] @Description = params['Description'] @Address = params['Address'] @Method = params['Method'] @Status = params['Status'] @PreviewUrl = params['PreviewUrl'] unless params['QueryParams'].nil? @QueryParams = [] params['QueryParams'].each do |i| apicontent_tmp = ApiContent.new apicontent_tmp.deserialize(i) @QueryParams << apicontent_tmp end end unless params['PathParams'].nil? @PathParams = [] params['PathParams'].each do |i| apicontent_tmp = ApiContent.new apicontent_tmp.deserialize(i) @PathParams << apicontent_tmp end end unless params['RequestHeaders'].nil? @RequestHeaders = [] params['RequestHeaders'].each do |i| apicontent_tmp = ApiContent.new apicontent_tmp.deserialize(i) @RequestHeaders << apicontent_tmp end end unless params['ResponseHeaders'].nil? @ResponseHeaders = [] params['ResponseHeaders'].each do |i| apicontent_tmp = ApiContent.new apicontent_tmp.deserialize(i) @ResponseHeaders << apicontent_tmp end end @IsCommonSpace = params['IsCommonSpace'] @Body = params['Body'] @ResponseBody = params['ResponseBody'] @Style = params['Style'] end |