Class: StackOne::Models::Shared::ActionLog
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::ActionLog
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/actionlog.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(action_run_id:, log_id:, log_type:, account_id: nil, action_id: nil, action_type: nil, agent_id: nil, auth_id: nil, auth_type: nil, category: nil, connector_key: nil, connector_owner: nil, connector_profile_id: nil, connector_version: nil, duration_ms: nil, end_time: nil, event_time: nil, http_method: nil, ip_address: nil, is_background: nil, mode: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, risk_level: nil, session_id: nil, source_id: nil, source_type: nil, source_value: nil, start_time: nil, status_code: nil, stream_type: nil, success: nil, tier2_score: nil, transport_type: nil, url: nil, user_agent: nil) ⇒ ActionLog
constructor
A new instance of ActionLog.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(action_run_id:, log_id:, log_type:, account_id: nil, action_id: nil, action_type: nil, agent_id: nil, auth_id: nil, auth_type: nil, category: nil, connector_key: nil, connector_owner: nil, connector_profile_id: nil, connector_version: nil, duration_ms: nil, end_time: nil, event_time: nil, http_method: nil, ip_address: nil, is_background: nil, mode: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, risk_level: nil, session_id: nil, source_id: nil, source_type: nil, source_value: nil, start_time: nil, status_code: nil, stream_type: nil, success: nil, tier2_score: nil, transport_type: nil, url: nil, user_agent: nil) ⇒ ActionLog
Returns a new instance of ActionLog.
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/stack_one/models/shared/actionlog.rb', line 91 def initialize(action_run_id:, log_id:, log_type:, account_id: nil, action_id: nil, action_type: nil, agent_id: nil, auth_id: nil, auth_type: nil, category: nil, connector_key: nil, connector_owner: nil, connector_profile_id: nil, connector_version: nil, duration_ms: nil, end_time: nil, event_time: nil, http_method: nil, ip_address: nil, is_background: nil, mode: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, risk_level: nil, session_id: nil, source_id: nil, source_type: nil, source_value: nil, start_time: nil, status_code: nil, stream_type: nil, success: nil, tier2_score: nil, transport_type: nil, url: nil, user_agent: nil) @action_run_id = action_run_id @log_id = log_id @log_type = log_type @account_id = account_id @action_id = action_id @action_type = action_type @agent_id = agent_id @auth_id = auth_id @auth_type = auth_type @category = category @connector_key = connector_key @connector_owner = connector_owner @connector_profile_id = connector_profile_id @connector_version = connector_version @duration_ms = duration_ms @end_time = end_time @event_time = event_time @http_method = http_method @ip_address = ip_address @is_background = is_background @mode = mode @origin_owner_id = origin_owner_id @origin_owner_name = origin_owner_name @project_id = project_id @risk_level = risk_level @session_id = session_id @source_id = source_id @source_type = source_type @source_value = source_value @start_time = start_time @status_code = status_code @stream_type = stream_type @success = success @tier2_score = tier2_score @transport_type = transport_type @url = url @user_agent = user_agent end |
Instance Method Details
#==(other) ⇒ Object
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
# File 'lib/stack_one/models/shared/actionlog.rb', line 132 def ==(other) return false unless other.is_a? self.class return false unless @action_run_id == other.action_run_id return false unless @log_id == other.log_id return false unless @log_type == other.log_type return false unless @account_id == other.account_id return false unless @action_id == other.action_id return false unless @action_type == other.action_type return false unless @agent_id == other.agent_id return false unless @auth_id == other.auth_id return false unless @auth_type == other.auth_type return false unless @category == other.category return false unless @connector_key == other.connector_key return false unless @connector_owner == other.connector_owner return false unless @connector_profile_id == other.connector_profile_id return false unless @connector_version == other.connector_version return false unless @duration_ms == other.duration_ms return false unless @end_time == other.end_time return false unless @event_time == other.event_time return false unless @http_method == other.http_method return false unless @ip_address == other.ip_address return false unless @is_background == other.is_background return false unless @mode == other.mode return false unless @origin_owner_id == other.origin_owner_id return false unless @origin_owner_name == other.origin_owner_name return false unless @project_id == other.project_id return false unless @risk_level == other.risk_level return false unless @session_id == other.session_id return false unless @source_id == other.source_id return false unless @source_type == other.source_type return false unless @source_value == other.source_value return false unless @start_time == other.start_time return false unless @status_code == other.status_code return false unless @stream_type == other.stream_type return false unless @success == other.success return false unless @tier2_score == other.tier2_score return false unless @transport_type == other.transport_type return false unless @url == other.url return false unless @user_agent == other.user_agent true end |