Class ResponseInputMessageItem
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseInputMessageItem 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseInputMessageItem.BuilderA builder for ResponseInputMessageItem.
public final classResponseInputMessageItem.RoleThe role of the message input. One of
user,system, ordeveloper.public final classResponseInputMessageItem.StatusThe status of item. One of
in_progress,completed, orincomplete. Populated when items are returned via API.public final classResponseInputMessageItem.TypeThe type of the message input. Always set to
message. 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the message input. final List<ResponseInputContent>content()A list of one or many input items to the model, containing different content types. final ResponseInputMessageItem.Rolerole()The role of the message input. final Optional<ResponseInputMessageItem.Status>status()The status of item. final Optional<ResponseInputMessageItem.Type>type()The type of the message input. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<List<ResponseInputContent>>_content()Returns the raw JSON value of content. final JsonField<ResponseInputMessageItem.Role>_role()Returns the raw JSON value of role. final JsonField<ResponseInputMessageItem.Status>_status()Returns the raw JSON value of status. final JsonField<ResponseInputMessageItem.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final ResponseInputMessageItem.BuildertoBuilder()final ResponseInputMessageItemvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseInputMessageItem.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseInputMessageItem. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
content
final List<ResponseInputContent> content()
A list of one or many input items to the model, containing different content types.
 
- 
                                        
role
final ResponseInputMessageItem.Role role()
The role of the message input. One of
user,system, ordeveloper. 
- 
                                        
status
final Optional<ResponseInputMessageItem.Status> status()
The status of item. One of
in_progress,completed, orincomplete. Populated when items are returned via API. 
- 
                                        
type
final Optional<ResponseInputMessageItem.Type> type()
The type of the message input. Always set to
message. 
- 
                                        
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_content
final JsonField<List<ResponseInputContent>> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_role
final JsonField<ResponseInputMessageItem.Role> _role()
Returns the raw JSON value of role.
Unlike role, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_status
final JsonField<ResponseInputMessageItem.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_type
final JsonField<ResponseInputMessageItem.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final ResponseInputMessageItem.Builder toBuilder()
 
- 
                                        
validate
final ResponseInputMessageItem validate()
 
- 
                                        
builder
final static ResponseInputMessageItem.Builder builder()
Returns a mutable builder for constructing an instance of ResponseInputMessageItem.
The following fields are required:
.id() .content() .role() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -