Class: Courier::Models::FeedbackCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::FeedbackCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/courier/models/feedback_create_params.rb,
sig/courier/models/feedback_create_params.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#category ⇒ Symbol, Courier::Models::FeedbackCreateParams::Category
What kind of report this is:
possible_bugfor behavior that looks wrong,confusing_behaviorfor behavior that works but was hard to understand,feature_requestfor something Courier does not do yet, andother. -
#description ⇒ String
What happened, in enough detail for someone at Courier to follow it.
-
#expected_behavior ⇒ String?
What you expected to happen instead.
-
#harness ⇒ String?
The agent or tool that submitted the report, such as
Claude Code. -
#location ⇒ String?
Where it happened, such as an endpoint (
POST /send), an SDK method, an MCP tool name or a docs URL. -
#model ⇒ String?
The AI model that submitted the report, such as
claude-opus-5-5. -
#request_id ⇒ String?
The request ID of an API call that shows the problem, if there is one.
-
#surface ⇒ Symbol, Courier::Models::FeedbackCreateParams::Surface
Where you met the problem: the REST
api, ansdk, the Couriermcpserver, the Courier appui, thedocs, orother. -
#title ⇒ String
A one-line summary of the report.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category:, description:, surface:, title:, expected_behavior: nil, harness: nil, location: nil, model: nil, request_id: nil, request_options: {}) ⇒ FeedbackCreateParams
constructor
Some parameter documentations has been truncated, see FeedbackCreateParams for more details.
- #to_hash ⇒ { category: Courier::Models::FeedbackCreateParams::category, description: String, surface: Courier::Models::FeedbackCreateParams::surface, title: String, expected_behavior: String, harness: String, location: String, model: String, request_id: String, request_options: Courier::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(category:, description:, surface:, title:, expected_behavior: nil, harness: nil, location: nil, model: nil, request_id: nil, request_options: {}) ⇒ FeedbackCreateParams
Some parameter documentations has been truncated, see Courier::Models::FeedbackCreateParams for more details.
|
|
# File 'lib/courier/models/feedback_create_params.rb', line 68
|
Instance Attribute Details
#category ⇒ Symbol, Courier::Models::FeedbackCreateParams::Category
What kind of report this is: possible_bug for behavior that looks wrong,
confusing_behavior for behavior that works but was hard to understand,
feature_request for something Courier does not do yet, and other.
16 |
# File 'lib/courier/models/feedback_create_params.rb', line 16 required :category, enum: -> { Courier::FeedbackCreateParams::Category } |
#description ⇒ String
What happened, in enough detail for someone at Courier to follow it.
22 |
# File 'lib/courier/models/feedback_create_params.rb', line 22 required :description, String |
#expected_behavior ⇒ String?
What you expected to happen instead.
41 |
# File 'lib/courier/models/feedback_create_params.rb', line 41 optional :expected_behavior, String |
#harness ⇒ String?
The agent or tool that submitted the report, such as Claude Code.
47 |
# File 'lib/courier/models/feedback_create_params.rb', line 47 optional :harness, String |
#location ⇒ String?
Where it happened, such as an endpoint (POST /send), an SDK method, an MCP
tool name or a docs URL.
54 |
# File 'lib/courier/models/feedback_create_params.rb', line 54 optional :location, String |
#model ⇒ String?
The AI model that submitted the report, such as claude-opus-5-5.
60 |
# File 'lib/courier/models/feedback_create_params.rb', line 60 optional :model, String |
#request_id ⇒ String?
The request ID of an API call that shows the problem, if there is one.
66 |
# File 'lib/courier/models/feedback_create_params.rb', line 66 optional :request_id, String |
#surface ⇒ Symbol, Courier::Models::FeedbackCreateParams::Surface
Where you met the problem: the REST api, an sdk, the Courier mcp server,
the Courier app ui, the docs, or other.
29 |
# File 'lib/courier/models/feedback_create_params.rb', line 29 required :surface, enum: -> { Courier::FeedbackCreateParams::Surface } |
#title ⇒ String
A one-line summary of the report.
35 |
# File 'lib/courier/models/feedback_create_params.rb', line 35 required :title, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/courier/models/feedback_create_params.rb', line 103
|
Instance Method Details
#to_hash ⇒ { category: Courier::Models::FeedbackCreateParams::category, description: String, surface: Courier::Models::FeedbackCreateParams::surface, title: String, expected_behavior: String, harness: String, location: String, model: String, request_id: String, request_options: Courier::RequestOptions }
62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'sig/courier/models/feedback_create_params.rbs', line 62
def to_hash: -> {
category: Courier::Models::FeedbackCreateParams::category,
description: String,
surface: Courier::Models::FeedbackCreateParams::surface,
title: String,
expected_behavior: String,
harness: String,
location: String,
model: String,
request_id: String,
request_options: Courier::RequestOptions
}
|