Class: WhopSDK::Models::AppLogsResponse::Data
Defined Under Namespace
Modules: Source
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(app_build_id:, app_id:, created_at:, level:, message:, request_id:, source:, cpu_time_ms: nil, outcome: nil, request_method: nil, request_path: nil, response_status: nil, stack: nil, truncated: nil, wall_time_ms: nil) ⇒ Object
constructor
-
#to_hash ⇒ {
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(app_build_id:, app_id:, created_at:, level:, message:, request_id:, source:, cpu_time_ms: nil, outcome: nil, request_method: nil, request_path: nil, response_status: nil, stack: nil, truncated: nil, wall_time_ms: nil) ⇒ Object
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 21
class Data < WhopSDK::Internal::Type::BaseModel
required :app_build_id, String
required :app_id, String
required :created_at, Time
required :level, String
required :message, String
required :request_id, String
required :source, enum: -> { WhopSDK::Models::AppLogsResponse::Data::Source }
optional :cpu_time_ms, Integer
optional :outcome, String, nil?: true
optional :request_method, String, nil?: true
optional :request_path, String, nil?: true
optional :response_status, Integer, nil?: true
optional :stack, String, nil?: true
optional :truncated, WhopSDK::Internal::Type::Boolean
optional :wall_time_ms, Integer
module Source
extend WhopSDK::Internal::Type::Enum
CONSOLE = :console
EXCEPTION = :exception
REQUEST = :request
end
end
|
Instance Attribute Details
#app_build_id ⇒ String
25
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 25
required :app_build_id, String
|
#app_id ⇒ String
30
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 30
required :app_id, String
|
#cpu_time_ms ⇒ Integer?
60
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 60
optional :cpu_time_ms, Integer
|
#created_at ⇒ Time
35
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 35
required :created_at, Time
|
#level ⇒ String
40
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 40
required :level, String
|
#message ⇒ String
45
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 45
required :message, String
|
#outcome ⇒ String?
65
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 65
optional :outcome, String, nil?: true
|
#request_id ⇒ String
50
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 50
required :request_id, String
|
#request_method ⇒ String?
70
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 70
optional :request_method, String, nil?: true
|
#request_path ⇒ String?
75
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 75
optional :request_path, String, nil?: true
|
#response_status ⇒ Integer?
80
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 80
optional :response_status, Integer, nil?: true
|
55
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 55
required :source, enum: -> { WhopSDK::Models::AppLogsResponse::Data::Source }
|
#stack ⇒ String?
85
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 85
optional :stack, String, nil?: true
|
#truncated ⇒ Boolean?
90
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 90
optional :truncated, WhopSDK::Internal::Type::Boolean
|
#wall_time_ms ⇒ Integer?
95
|
# File 'lib/whop_sdk/models/app_logs_response.rb', line 95
optional :wall_time_ms, Integer
|
Instance Method Details
#to_hash ⇒ {
98
|
# File 'sig/whop_sdk/models/app_logs_response.rbs', line 98
def to_hash: -> {
|