Class: TencentCloud::Cloudaudit::V20190319::CreateAuditTrackRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudaudit::V20190319::CreateAuditTrackRequest
- Defined in:
- lib/v20190319/models.rb
Overview
CreateAuditTrack请求参数结构体
Instance Attribute Summary collapse
- #ActionType ⇒ Object
- #EventNames ⇒ Object
- #ExportId ⇒ Object
- #Name ⇒ Object
- #ResourceType ⇒ Object
- #Status ⇒ Object
- #Storage ⇒ Object
- #TrackForAllMembers ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, status = nil, storage = nil, actiontype = nil, resourcetype = nil, eventnames = nil, trackforallmembers = nil, exportid = nil) ⇒ CreateAuditTrackRequest
constructor
A new instance of CreateAuditTrackRequest.
Constructor Details
#initialize(name = nil, status = nil, storage = nil, actiontype = nil, resourcetype = nil, eventnames = nil, trackforallmembers = nil, exportid = nil) ⇒ CreateAuditTrackRequest
Returns a new instance of CreateAuditTrackRequest.
141 142 143 144 145 146 147 148 149 150 |
# File 'lib/v20190319/models.rb', line 141 def initialize(name=nil, status=nil, storage=nil, actiontype=nil, resourcetype=nil, eventnames=nil, trackforallmembers=nil, exportid=nil) @Name = name @Status = status @Storage = storage @ActionType = actiontype @ResourceType = resourcetype @EventNames = eventnames @TrackForAllMembers = trackforallmembers @ExportId = exportid end |
Instance Attribute Details
#ActionType ⇒ Object
139 140 141 |
# File 'lib/v20190319/models.rb', line 139 def ActionType @ActionType end |
#EventNames ⇒ Object
139 140 141 |
# File 'lib/v20190319/models.rb', line 139 def EventNames @EventNames end |
#ExportId ⇒ Object
139 140 141 |
# File 'lib/v20190319/models.rb', line 139 def ExportId @ExportId end |
#Name ⇒ Object
139 140 141 |
# File 'lib/v20190319/models.rb', line 139 def Name @Name end |
#ResourceType ⇒ Object
139 140 141 |
# File 'lib/v20190319/models.rb', line 139 def ResourceType @ResourceType end |
#Status ⇒ Object
139 140 141 |
# File 'lib/v20190319/models.rb', line 139 def Status @Status end |
#Storage ⇒ Object
139 140 141 |
# File 'lib/v20190319/models.rb', line 139 def Storage @Storage end |
#TrackForAllMembers ⇒ Object
139 140 141 |
# File 'lib/v20190319/models.rb', line 139 def TrackForAllMembers @TrackForAllMembers end |
Instance Method Details
#deserialize(params) ⇒ Object
152 153 154 155 156 157 158 159 160 161 162 163 164 |
# File 'lib/v20190319/models.rb', line 152 def deserialize(params) @Name = params['Name'] @Status = params['Status'] unless params['Storage'].nil? @Storage = Storage.new @Storage.deserialize(params['Storage']) end @ActionType = params['ActionType'] @ResourceType = params['ResourceType'] @EventNames = params['EventNames'] @TrackForAllMembers = params['TrackForAllMembers'] @ExportId = params['ExportId'] end |