Class: TencentCloud::Iss::V20230517::AddStreamAuthData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::AddStreamAuthData
- Defined in:
- lib/v20230517/models.rb
Overview
设置推拉流鉴权返回数据结构
Instance Attribute Summary collapse
- #AppId ⇒ Object
- #Id ⇒ Object
- #PullExpired ⇒ Object
- #PullSecret ⇒ Object
- #PullState ⇒ Object
- #PushExpired ⇒ Object
- #PushSecret ⇒ Object
- #PushState ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, pullstate = nil, pullsecret = nil, pullexpired = nil, pushstate = nil, pushsecret = nil, pushexpired = nil, appid = nil) ⇒ AddStreamAuthData
constructor
A new instance of AddStreamAuthData.
Constructor Details
#initialize(id = nil, pullstate = nil, pullsecret = nil, pullexpired = nil, pushstate = nil, pushsecret = nil, pushexpired = nil, appid = nil) ⇒ AddStreamAuthData
Returns a new instance of AddStreamAuthData.
1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 |
# File 'lib/v20230517/models.rb', line 1014 def initialize(id=nil, pullstate=nil, pullsecret=nil, pullexpired=nil, pushstate=nil, pushsecret=nil, pushexpired=nil, appid=nil) @Id = id @PullState = pullstate @PullSecret = pullsecret @PullExpired = pullexpired @PushState = pushstate @PushSecret = pushsecret @PushExpired = pushexpired @AppId = appid end |
Instance Attribute Details
#AppId ⇒ Object
1012 1013 1014 |
# File 'lib/v20230517/models.rb', line 1012 def AppId @AppId end |
#Id ⇒ Object
1012 1013 1014 |
# File 'lib/v20230517/models.rb', line 1012 def Id @Id end |
#PullExpired ⇒ Object
1012 1013 1014 |
# File 'lib/v20230517/models.rb', line 1012 def PullExpired @PullExpired end |
#PullSecret ⇒ Object
1012 1013 1014 |
# File 'lib/v20230517/models.rb', line 1012 def PullSecret @PullSecret end |
#PullState ⇒ Object
1012 1013 1014 |
# File 'lib/v20230517/models.rb', line 1012 def PullState @PullState end |
#PushExpired ⇒ Object
1012 1013 1014 |
# File 'lib/v20230517/models.rb', line 1012 def PushExpired @PushExpired end |
#PushSecret ⇒ Object
1012 1013 1014 |
# File 'lib/v20230517/models.rb', line 1012 def PushSecret @PushSecret end |
#PushState ⇒ Object
1012 1013 1014 |
# File 'lib/v20230517/models.rb', line 1012 def PushState @PushState end |
Instance Method Details
#deserialize(params) ⇒ Object
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 |
# File 'lib/v20230517/models.rb', line 1025 def deserialize(params) @Id = params['Id'] @PullState = params['PullState'] @PullSecret = params['PullSecret'] @PullExpired = params['PullExpired'] @PushState = params['PushState'] @PushSecret = params['PushSecret'] @PushExpired = params['PushExpired'] @AppId = params['AppId'] end |