public class ContextCreateResponse extends AbstractResponse
responseMetadata| Constructor and Description |
|---|
ContextCreateResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId()
Get id
|
String |
getModel()
Get model
|
@Valid TruncationStrategyForContextCreateOutput |
getTruncationStrategy()
Get truncationStrategy
|
Integer |
getTtl()
Get ttl
|
@Valid UsageForContextCreateOutput |
getUsage()
Get usage
|
int |
hashCode() |
ContextCreateResponse |
id(String id) |
ContextCreateResponse |
model(String model) |
void |
setId(String id) |
void |
setModel(String model) |
void |
setTruncationStrategy(TruncationStrategyForContextCreateOutput truncationStrategy) |
void |
setTtl(Integer ttl) |
void |
setUsage(UsageForContextCreateOutput usage) |
String |
toString() |
ContextCreateResponse |
truncationStrategy(TruncationStrategyForContextCreateOutput truncationStrategy) |
ContextCreateResponse |
ttl(Integer ttl) |
ContextCreateResponse |
usage(UsageForContextCreateOutput usage) |
getResponseMetadata, setResponseMetadatapublic ContextCreateResponse id(String id)
public String getId()
public void setId(String id)
public ContextCreateResponse model(String model)
public String getModel()
public void setModel(String model)
public ContextCreateResponse truncationStrategy(TruncationStrategyForContextCreateOutput truncationStrategy)
@Valid public @Valid TruncationStrategyForContextCreateOutput getTruncationStrategy()
public void setTruncationStrategy(TruncationStrategyForContextCreateOutput truncationStrategy)
public ContextCreateResponse ttl(Integer ttl)
public Integer getTtl()
public void setTtl(Integer ttl)
public ContextCreateResponse usage(UsageForContextCreateOutput usage)
@Valid public @Valid UsageForContextCreateOutput getUsage()
public void setUsage(UsageForContextCreateOutput usage)
Copyright © 2025. All rights reserved.