Class: TencentCloud::Cam::V20190116::DescribeSafeAuthFlagResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::DescribeSafeAuthFlagResponse
- Defined in:
- lib/v20190116/models.rb
Overview
DescribeSafeAuthFlag返回参数结构体
Instance Attribute Summary collapse
- #ActionFlag ⇒ Object
- #LoginFlag ⇒ Object
- #OffsiteFlag ⇒ Object
- #PromptTrust ⇒ Object
- #RequestId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loginflag = nil, actionflag = nil, offsiteflag = nil, prompttrust = nil, requestid = nil) ⇒ DescribeSafeAuthFlagResponse
constructor
A new instance of DescribeSafeAuthFlagResponse.
Constructor Details
#initialize(loginflag = nil, actionflag = nil, offsiteflag = nil, prompttrust = nil, requestid = nil) ⇒ DescribeSafeAuthFlagResponse
Returns a new instance of DescribeSafeAuthFlagResponse.
1872 1873 1874 1875 1876 1877 1878 |
# File 'lib/v20190116/models.rb', line 1872 def initialize(loginflag=nil, actionflag=nil, offsiteflag=nil, prompttrust=nil, requestid=nil) @LoginFlag = loginflag @ActionFlag = actionflag @OffsiteFlag = offsiteflag @PromptTrust = prompttrust @RequestId = requestid end |
Instance Attribute Details
#ActionFlag ⇒ Object
1870 1871 1872 |
# File 'lib/v20190116/models.rb', line 1870 def ActionFlag @ActionFlag end |
#LoginFlag ⇒ Object
1870 1871 1872 |
# File 'lib/v20190116/models.rb', line 1870 def LoginFlag @LoginFlag end |
#OffsiteFlag ⇒ Object
1870 1871 1872 |
# File 'lib/v20190116/models.rb', line 1870 def OffsiteFlag @OffsiteFlag end |
#PromptTrust ⇒ Object
1870 1871 1872 |
# File 'lib/v20190116/models.rb', line 1870 def PromptTrust @PromptTrust end |
#RequestId ⇒ Object
1870 1871 1872 |
# File 'lib/v20190116/models.rb', line 1870 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 |
# File 'lib/v20190116/models.rb', line 1880 def deserialize(params) unless params['LoginFlag'].nil? @LoginFlag = LoginActionFlag.new @LoginFlag.deserialize(params['LoginFlag']) end unless params['ActionFlag'].nil? @ActionFlag = LoginActionFlag.new @ActionFlag.deserialize(params['ActionFlag']) end unless params['OffsiteFlag'].nil? @OffsiteFlag = OffsiteFlag.new @OffsiteFlag.deserialize(params['OffsiteFlag']) end @PromptTrust = params['PromptTrust'] @RequestId = params['RequestId'] end |