CreateAgentVersionFromCodeContent Class
- java.
lang. Object - com.
azure. ai. agents. models. CreateAgentVersionFromCodeContent
- com.
public final class CreateAgentVersionFromCodeContent
Multipart request body for updating or versioning a code-based agent (POST /agents/{name} and POST /agents/{name}/versions).
Constructor Summary
| Constructor | Description |
|---|---|
| CreateAgentVersionFromCodeContent(CreateAgentVersionFromCodeMetadata metadata, CodeFileDetails code) |
Creates an instance of Create |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Code |
getCode()
Get the code property: The code zip file (max 250 MB). |
|
Create |
getMetadata()
Get the metadata property: JSON metadata including description and hosted definition. |
Methods inherited from java.lang.Object
Constructor Details
CreateAgentVersionFromCodeContent
public CreateAgentVersionFromCodeContent(CreateAgentVersionFromCodeMetadata metadata, CodeFileDetails code)
Creates an instance of CreateAgentVersionFromCodeContent class.
Parameters:
Method Details
getCode
public CodeFileDetails getCode()
Get the code property: The code zip file (max 250 MB).
Returns:
getMetadata
public CreateAgentVersionFromCodeMetadata getMetadata()
Get the metadata property: JSON metadata including description and hosted definition.
Returns: