Class: TencentCloud::Weilingwith::V20230427::ApiInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230427/models.rb

Overview

API描述

Instance Attribute Summary collapse

Instance Method Summary collapse

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



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

#AddressObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def Address
  @Address
end

#ApiIdObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def ApiId
  @ApiId
end

#AppIdObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def AppId
  @AppId
end

#ApplyAuditObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def ApplyAudit
  @ApplyAudit
end

#BodyObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def Body
  @Body
end

#DataAuditObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def DataAudit
  @DataAudit
end

#DescriptionObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def Description
  @Description
end

#IsCommonSpaceObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def IsCommonSpace
  @IsCommonSpace
end

#MethodObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def Method
  @Method
end

#NameObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def Name
  @Name
end

#PathParamsObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def PathParams
  @PathParams
end

#PoiCodeObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def PoiCode
  @PoiCode
end

#PreviewUrlObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def PreviewUrl
  @PreviewUrl
end

#QueryParamsObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def QueryParams
  @QueryParams
end

#RequestHeadersObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def RequestHeaders
  @RequestHeaders
end

#ResponseBodyObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def ResponseBody
  @ResponseBody
end

#ResponseHeadersObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def ResponseHeaders
  @ResponseHeaders
end

#StatusObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def Status
  @Status
end

#StyleObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def Style
  @Style
end

#TypeObject



579
580
581
# File 'lib/v20230427/models.rb', line 579

def Type
  @Type
end

#WorkspaceIdObject



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