Class: TencentCloud::Bma::V20210624::CreateBPProtectURLsRequest

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

Overview

CreateBPProtectURLs请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(companyname = nil, phone = nil, licensename = nil, protecturls = nil, protectwebs = nil) ⇒ CreateBPProtectURLsRequest

Returns a new instance of CreateBPProtectURLsRequest.



227
228
229
230
231
232
233
# File 'lib/v20210624/models.rb', line 227

def initialize(companyname=nil, phone=nil, licensename=nil, protecturls=nil, protectwebs=nil)
  @CompanyName = companyname
  @Phone = phone
  @LicenseName = licensename
  @ProtectURLs = protecturls
  @ProtectWebs = protectwebs
end

Instance Attribute Details

#CompanyNameObject

Parameters:

  • CompanyName:

    企业名称

  • Phone:

    电话号码

  • LicenseName:

    营业执照

  • ProtectURLs:

    保护网站

  • ProtectWebs:

    网站名称



225
226
227
# File 'lib/v20210624/models.rb', line 225

def CompanyName
  @CompanyName
end

#LicenseNameObject

Parameters:

  • CompanyName:

    企业名称

  • Phone:

    电话号码

  • LicenseName:

    营业执照

  • ProtectURLs:

    保护网站

  • ProtectWebs:

    网站名称



225
226
227
# File 'lib/v20210624/models.rb', line 225

def LicenseName
  @LicenseName
end

#PhoneObject

Parameters:

  • CompanyName:

    企业名称

  • Phone:

    电话号码

  • LicenseName:

    营业执照

  • ProtectURLs:

    保护网站

  • ProtectWebs:

    网站名称



225
226
227
# File 'lib/v20210624/models.rb', line 225

def Phone
  @Phone
end

#ProtectURLsObject

Parameters:

  • CompanyName:

    企业名称

  • Phone:

    电话号码

  • LicenseName:

    营业执照

  • ProtectURLs:

    保护网站

  • ProtectWebs:

    网站名称



225
226
227
# File 'lib/v20210624/models.rb', line 225

def ProtectURLs
  @ProtectURLs
end

#ProtectWebsObject

Parameters:

  • CompanyName:

    企业名称

  • Phone:

    电话号码

  • LicenseName:

    营业执照

  • ProtectURLs:

    保护网站

  • ProtectWebs:

    网站名称



225
226
227
# File 'lib/v20210624/models.rb', line 225

def ProtectWebs
  @ProtectWebs
end

Instance Method Details

#deserialize(params) ⇒ Object



235
236
237
238
239
240
241
# File 'lib/v20210624/models.rb', line 235

def deserialize(params)
  @CompanyName = params['CompanyName']
  @Phone = params['Phone']
  @LicenseName = params['LicenseName']
  @ProtectURLs = params['ProtectURLs']
  @ProtectWebs = params['ProtectWebs']
end