RoomArtifactMetadata
extends Message
in package
RoomArtifactMetadata is the universal structure for the 'metadata' JSON field in the pnm_room_artifacts table. All fields are optional.
Generated from protobuf message plugnmeet.RoomArtifactMetadata
Table of Contents
Properties
- $file_info : mixed
- Optional: Information about the final generated file artifact.
- $provider_job_info : mixed
- Optional: Information about an asynchronous provider job.
- $reference_artifact_id : mixed
- A field to link a file artifact back to its usage artifact.
- $usage_details : mixed
- $user_info : mixed
- Optional: Information about the user who initiated or is associated with the artifact.
Methods
- __construct() : mixed
- Constructor.
- clearFileInfo() : mixed
- clearProviderJobInfo() : mixed
- clearReferenceArtifactId() : mixed
- clearUserInfo() : mixed
- getCharacterCountUsage() : RoomArtifactCharacterCountUsage|null
- Generated from protobuf field <code>.plugnmeet.RoomArtifactCharacterCountUsage character_count_usage = 6;</code>
- getDurationUsage() : RoomArtifactDurationUsage|null
- Generated from protobuf field <code>.plugnmeet.RoomArtifactDurationUsage duration_usage = 5;</code>
- getFileInfo() : RoomArtifactFileInfo|null
- Optional: Information about the final generated file artifact.
- getProviderJobInfo() : RoomArtifactProviderJobInfo|null
- Optional: Information about an asynchronous provider job.
- getReferenceArtifactId() : string
- A field to link a file artifact back to its usage artifact.
- getTokenUsage() : RoomArtifactTokenUsage|null
- Generated from protobuf field <code>.plugnmeet.RoomArtifactTokenUsage token_usage = 4;</code>
- getUsageDetails() : string
- getUserInfo() : RoomArtifactUserInfo|null
- Optional: Information about the user who initiated or is associated with the artifact.
- hasCharacterCountUsage() : mixed
- hasDurationUsage() : mixed
- hasFileInfo() : mixed
- hasProviderJobInfo() : mixed
- hasReferenceArtifactId() : mixed
- hasTokenUsage() : mixed
- hasUserInfo() : mixed
- setCharacterCountUsage() : $this
- Generated from protobuf field <code>.plugnmeet.RoomArtifactCharacterCountUsage character_count_usage = 6;</code>
- setDurationUsage() : $this
- Generated from protobuf field <code>.plugnmeet.RoomArtifactDurationUsage duration_usage = 5;</code>
- setFileInfo() : $this
- Optional: Information about the final generated file artifact.
- setProviderJobInfo() : $this
- Optional: Information about an asynchronous provider job.
- setReferenceArtifactId() : $this
- A field to link a file artifact back to its usage artifact.
- setTokenUsage() : $this
- Generated from protobuf field <code>.plugnmeet.RoomArtifactTokenUsage token_usage = 4;</code>
- setUserInfo() : $this
- Optional: Information about the user who initiated or is associated with the artifact.
Properties
$file_info
Optional: Information about the final generated file artifact.
protected
mixed
$file_info
= null
Generated from protobuf field .plugnmeet.RoomArtifactFileInfo file_info = 3;
$provider_job_info
Optional: Information about an asynchronous provider job.
protected
mixed
$provider_job_info
= null
Generated from protobuf field .plugnmeet.RoomArtifactProviderJobInfo provider_job_info = 2;
$reference_artifact_id
A field to link a file artifact back to its usage artifact.
protected
mixed
$reference_artifact_id
= null
Generated from protobuf field optional string reference_artifact_id = 10;
$usage_details
protected
mixed
$usage_details
$user_info
Optional: Information about the user who initiated or is associated with the artifact.
protected
mixed
$user_info
= null
Generated from protobuf field .plugnmeet.RoomArtifactUserInfo user_info = 1;
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type \Mynaparrot\PlugnmeetProto\RoomArtifactUserInfo $user_info Optional: Information about the user who initiated or is associated with the artifact. @type \Mynaparrot\PlugnmeetProto\RoomArtifactProviderJobInfo $provider_job_info Optional: Information about an asynchronous provider job. @type \Mynaparrot\PlugnmeetProto\RoomArtifactFileInfo $file_info Optional: Information about the final generated file artifact. @type \Mynaparrot\PlugnmeetProto\RoomArtifactTokenUsage $token_usage @type \Mynaparrot\PlugnmeetProto\RoomArtifactDurationUsage $duration_usage @type \Mynaparrot\PlugnmeetProto\RoomArtifactCharacterCountUsage $character_count_usage @type string $reference_artifact_id A field to link a file artifact back to its usage artifact.}
clearFileInfo()
public
clearFileInfo() : mixed
clearProviderJobInfo()
public
clearProviderJobInfo() : mixed
clearReferenceArtifactId()
public
clearReferenceArtifactId() : mixed
clearUserInfo()
public
clearUserInfo() : mixed
getCharacterCountUsage()
Generated from protobuf field <code>.plugnmeet.RoomArtifactCharacterCountUsage character_count_usage = 6;</code>
public
getCharacterCountUsage() : RoomArtifactCharacterCountUsage|null
Return values
RoomArtifactCharacterCountUsage|nullgetDurationUsage()
Generated from protobuf field <code>.plugnmeet.RoomArtifactDurationUsage duration_usage = 5;</code>
public
getDurationUsage() : RoomArtifactDurationUsage|null
Return values
RoomArtifactDurationUsage|nullgetFileInfo()
Optional: Information about the final generated file artifact.
public
getFileInfo() : RoomArtifactFileInfo|null
Generated from protobuf field .plugnmeet.RoomArtifactFileInfo file_info = 3;
Return values
RoomArtifactFileInfo|nullgetProviderJobInfo()
Optional: Information about an asynchronous provider job.
public
getProviderJobInfo() : RoomArtifactProviderJobInfo|null
Generated from protobuf field .plugnmeet.RoomArtifactProviderJobInfo provider_job_info = 2;
Return values
RoomArtifactProviderJobInfo|nullgetReferenceArtifactId()
A field to link a file artifact back to its usage artifact.
public
getReferenceArtifactId() : string
Generated from protobuf field optional string reference_artifact_id = 10;
Return values
stringgetTokenUsage()
Generated from protobuf field <code>.plugnmeet.RoomArtifactTokenUsage token_usage = 4;</code>
public
getTokenUsage() : RoomArtifactTokenUsage|null
Return values
RoomArtifactTokenUsage|nullgetUsageDetails()
public
getUsageDetails() : string
Return values
stringgetUserInfo()
Optional: Information about the user who initiated or is associated with the artifact.
public
getUserInfo() : RoomArtifactUserInfo|null
Generated from protobuf field .plugnmeet.RoomArtifactUserInfo user_info = 1;
Return values
RoomArtifactUserInfo|nullhasCharacterCountUsage()
public
hasCharacterCountUsage() : mixed
hasDurationUsage()
public
hasDurationUsage() : mixed
hasFileInfo()
public
hasFileInfo() : mixed
hasProviderJobInfo()
public
hasProviderJobInfo() : mixed
hasReferenceArtifactId()
public
hasReferenceArtifactId() : mixed
hasTokenUsage()
public
hasTokenUsage() : mixed
hasUserInfo()
public
hasUserInfo() : mixed
setCharacterCountUsage()
Generated from protobuf field <code>.plugnmeet.RoomArtifactCharacterCountUsage character_count_usage = 6;</code>
public
setCharacterCountUsage(RoomArtifactCharacterCountUsage $var) : $this
Parameters
Return values
$thissetDurationUsage()
Generated from protobuf field <code>.plugnmeet.RoomArtifactDurationUsage duration_usage = 5;</code>
public
setDurationUsage(RoomArtifactDurationUsage $var) : $this
Parameters
- $var : RoomArtifactDurationUsage
Return values
$thissetFileInfo()
Optional: Information about the final generated file artifact.
public
setFileInfo(RoomArtifactFileInfo $var) : $this
Generated from protobuf field .plugnmeet.RoomArtifactFileInfo file_info = 3;
Parameters
- $var : RoomArtifactFileInfo
Return values
$thissetProviderJobInfo()
Optional: Information about an asynchronous provider job.
public
setProviderJobInfo(RoomArtifactProviderJobInfo $var) : $this
Generated from protobuf field .plugnmeet.RoomArtifactProviderJobInfo provider_job_info = 2;
Parameters
- $var : RoomArtifactProviderJobInfo
Return values
$thissetReferenceArtifactId()
A field to link a file artifact back to its usage artifact.
public
setReferenceArtifactId(string $var) : $this
Generated from protobuf field optional string reference_artifact_id = 10;
Parameters
- $var : string
Return values
$thissetTokenUsage()
Generated from protobuf field <code>.plugnmeet.RoomArtifactTokenUsage token_usage = 4;</code>
public
setTokenUsage(RoomArtifactTokenUsage $var) : $this
Parameters
- $var : RoomArtifactTokenUsage
Return values
$thissetUserInfo()
Optional: Information about the user who initiated or is associated with the artifact.
public
setUserInfo(RoomArtifactUserInfo $var) : $this
Generated from protobuf field .plugnmeet.RoomArtifactUserInfo user_info = 1;
Parameters
- $var : RoomArtifactUserInfo