sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
t to modify.
Type: C<string>
=back
=head3 Request Body
=head3 Content Type: C<application/json>
=head4 Models
ID of the model to use. You can use the L<List models|https
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
gether
with the DataDog specific data like C<resource_name>.
This structure will be send of as a JSON string to the local installed DataDog
agent.
=cut
our $VERSION = 'v0.47.2';
use English;
us
NV;
use MooX::ProtectedAttributes;
use MooX::Should;
use Carp;
use HTTP::Request ();
use JSON::MaybeXS qw(JSON);
use LWP::UserAgent;
use PerlX::Maybe qw/maybe provided/;
use Regexp::Common qw/URI/;
u
uild__default_http_headers {
return [
'Content-Type' => 'application/json; charset=UTF-8',
'Datadog-Meta-Lang' => 'perl',
'Datadog-Meta-Lang-In
);
=head3 Parameters
=over 4
=back
=head3 Request Body
=head3 Content Type: C<application/json>
Realtime session object configuration.
Example:
{
"client
e: C<200>
Session created successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
special care needs to be taken when rendering to JSON, as the GO language
is not forgiving for double qouted values when using big numbers.
Use C<<JSON->allow_bignum>>.
=cut
use Math::BigInt::Random
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
<200>
Certificate deleted successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
00>
Certificate retrieved successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
ication/json>
=head3 Responses
=head4 Status Code: C<200>
Certificate modified successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Exam
ct service accounts listed successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
Error response when project is archived.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
n/json>
=head3 Responses
=head4 Status Code: C<200>
Project service account created successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
the project.
Type: C<string>
=back
=head3 Request Body
=head3 Content Type: C<application/json>
Example:
{
"certificate_ids" : [
"cert_abc"
Certificates deactivated successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
hat completion was deleted successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
4 Status Code: C<200>
A chat completion
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
: C<application/json>
=head3 Responses
=head4 Status Code: C<200>
A chat completion
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See
);
=head3 Parameters
=over 4
=back
=head3 Request Body
=head3 Content Type: C<application/json>
=head4 Models
The content moderation model you would like to use. Learn m
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
200>
Project users listed successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
Error response when project is archived.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
cation/json>
=head3 Responses
=head4 Status Code: C<200>
User added to project successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Exam
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
200>
Usage data retrieved successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
::Base -base;
use strict;
use warnings;
use Mojo::IOLoop;
use Mojo::UserAgent;
use Mojo::JSON qw/encode_json/;
use Carp qw/croak/;
use Log::Any;
use Data::Dumper;
use Telegram::Bot::Object::Message
ification} if exists $args->{disable_notification};
$send_args->{reply_parameters} = encode_json($args->{reply_parameters}->as_hashref)
if exists $args->{reply_parameters};
# deprecated
age_id
if (exists $args->{reply_to_message_id}) {
$send_args->{reply_parameters} = encode_json({message_id => $args->{reply_to_message_id}});
}
# $send_args->{reply_to_message_id} = $args
200>
Project user deleted successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
Error response for various conditions.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
0>
Project user retrieved successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
pecific headers in the bounce mail headers such as C<X-Failed-Recipients:>, which MTA modules
for JSON structure.
=head1 CLASS METHODS
=head2 C<B<another()>>
C<another()> method returns another lis
mai::Time;
use parent 'Time::Piece';
use v5.26;
use strict;
use warnings;
sub TO_JSON {
# Instance method for JSON::encode()
# @return [Integer] Machine time
my $self = shift;
retur
] argv0 Path to mbox or Maildir/
# @param [Hash] argv0 or Hash (decoded JSON)
# @param [Handle] argv0 or STDIN
# @param [Hash] argv1 Opt
code mailbox/Maildir and dump as JSON
# @param [String] argv0 Path to mbox or Maildir/
# @param [Hash] argv0 or Hash (decoded JSON)
# @param [Handle]
Code reference to a callback method
# @return [String] Decoded data as JSON text
my $class = shift;
my $argv0 = shift // return undef; die ' ***error: wrong number o