Class: StackOne::Models::Shared::StepLogPartial
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::StepLogPartial
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/steplogpartial.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id: nil, action: nil, child_resource: nil, duration: nil, end_time: nil, http_method: nil, id: nil, is_worker: nil, path: nil, project_id: nil, provider: nil, request_id: nil, resource: nil, service: nil, start_time: nil, status: nil, sub_resource: nil, success: nil, url: nil) ⇒ StepLogPartial
constructor
A new instance of StepLogPartial.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id: nil, action: nil, child_resource: nil, duration: nil, end_time: nil, http_method: nil, id: nil, is_worker: nil, path: nil, project_id: nil, provider: nil, request_id: nil, resource: nil, service: nil, start_time: nil, status: nil, sub_resource: nil, success: nil, url: nil) ⇒ StepLogPartial
Returns a new instance of StepLogPartial.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/stack_one/models/shared/steplogpartial.rb', line 55 def initialize(account_id: nil, action: nil, child_resource: nil, duration: nil, end_time: nil, http_method: nil, id: nil, is_worker: nil, path: nil, project_id: nil, provider: nil, request_id: nil, resource: nil, service: nil, start_time: nil, status: nil, sub_resource: nil, success: nil, url: nil) @account_id = account_id @action = action @child_resource = child_resource @duration = duration @end_time = end_time @http_method = http_method @id = id @is_worker = is_worker @path = path @project_id = project_id @provider = provider @request_id = request_id @resource = resource @service = service @start_time = start_time @status = status @sub_resource = sub_resource @success = success @url = url end |
Instance Method Details
#==(other) ⇒ Object
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/stack_one/models/shared/steplogpartial.rb', line 78 def ==(other) return false unless other.is_a? self.class return false unless @account_id == other.account_id return false unless @action == other.action return false unless @child_resource == other.child_resource return false unless @duration == other.duration return false unless @end_time == other.end_time return false unless @http_method == other.http_method return false unless @id == other.id return false unless @is_worker == other.is_worker return false unless @path == other.path return false unless @project_id == other.project_id return false unless @provider == other.provider return false unless @request_id == other.request_id return false unless @resource == other.resource return false unless @service == other.service return false unless @start_time == other.start_time return false unless @status == other.status return false unless @sub_resource == other.sub_resource return false unless @success == other.success return false unless @url == other.url true end |