Class: TencentCloud::Cdn::V20180606::ClientInfo

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

Overview

客户端信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(provname = nil, country = nil, ispname = nil, ip = nil) ⇒ ClientInfo

Returns a new instance of ClientInfo.



1898
1899
1900
1901
1902
1903
# File 'lib/v20180606/models.rb', line 1898

def initialize(provname=nil, country=nil, ispname=nil, ip=nil)
  @ProvName = provname
  @Country = country
  @IspName = ispname
  @Ip = ip
end

Instance Attribute Details

#CountryObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProvName:

    省份。

  • Country:

    国家。

  • IspName:

    运营商。

  • Ip:

    客户端IP



1896
1897
1898
# File 'lib/v20180606/models.rb', line 1896

def Country
  @Country
end

#IpObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProvName:

    省份。

  • Country:

    国家。

  • IspName:

    运营商。

  • Ip:

    客户端IP



1896
1897
1898
# File 'lib/v20180606/models.rb', line 1896

def Ip
  @Ip
end

#IspNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProvName:

    省份。

  • Country:

    国家。

  • IspName:

    运营商。

  • Ip:

    客户端IP



1896
1897
1898
# File 'lib/v20180606/models.rb', line 1896

def IspName
  @IspName
end

#ProvNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProvName:

    省份。

  • Country:

    国家。

  • IspName:

    运营商。

  • Ip:

    客户端IP



1896
1897
1898
# File 'lib/v20180606/models.rb', line 1896

def ProvName
  @ProvName
end

Instance Method Details

#deserialize(params) ⇒ Object



1905
1906
1907
1908
1909
1910
# File 'lib/v20180606/models.rb', line 1905

def deserialize(params)
  @ProvName = params['ProvName']
  @Country = params['Country']
  @IspName = params['IspName']
  @Ip = params['Ip']
end