Class: TencentCloud::Smh::V20210712::UserFilter

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

Overview

用于唯一查找用户的过滤器。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ UserFilter



1217
1218
1219
1220
# File 'lib/v20210712/models.rb', line 1217

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

UserId: user12345678abcde PhoneNumber: +86-13800000000(格式为:CountryCode-PhoneNumber)Email: [email protected] AccountName: account_name AccountUserId: x53mYVqykfPqTCqekbNwwa4aXk4



1215
1216
1217
# File 'lib/v20210712/models.rb', line 1215

def Key
  @Key
end

#ValueObject

UserId: user12345678abcde PhoneNumber: +86-13800000000(格式为:CountryCode-PhoneNumber)Email: [email protected] AccountName: account_name AccountUserId: x53mYVqykfPqTCqekbNwwa4aXk4



1215
1216
1217
# File 'lib/v20210712/models.rb', line 1215

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



1222
1223
1224
1225
# File 'lib/v20210712/models.rb', line 1222

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
end