AgentPushKit-Client
view release on metacpan or search on metacpan
t/EventsApiTest.t view on Meta::CPAN
=begin comment
Agent Push Kit API
The complete Agent Push Kit REST API. Application event ingestion uses an organization key beginning with `apk_`. Authenticated user operations accept either an Agent Push Kit login JWT or an agent access token beginning with `apt_`.
The version of the OpenAPI document: 0.1.0
Generated by: https://openapi-generator.tech
=end comment
=cut
#
# NOTE: This class is auto generated by OpenAPI Generator
# Please update the test cases below to test the API endpoints.
# Ref: https://openapi-generator.tech
#
use Test::More;
use Test::Exception;
use lib 'lib';
use strict;
use warnings;
use_ok('AgentPushKit::Client::EventsApi');
my $api = AgentPushKit::Client::EventsApi->new();
isa_ok($api, 'AgentPushKit::Client::EventsApi');
#
# get_event test
#
# uncomment below and update the test
#my $get_event_organization_id = undef; # replace NULL with a proper value
#my $get_event_event_id = undef; # replace NULL with a proper value
#my $get_event_result = $api->get_event(organization_id => $get_event_organization_id, event_id => $get_event_event_id);
#
# list_events test
#
# uncomment below and update the test
#my $list_events_organization_id = undef; # replace NULL with a proper value
#my $list_events_service = undef; # replace NULL with a proper value
#my $list_events_type = undef; # replace NULL with a proper value
#my $list_events_search = undef; # replace NULL with a proper value
#my $list_events_cursor = undef; # replace NULL with a proper value
#my $list_events_limit = undef; # replace NULL with a proper value
#my $list_events_result = $api->list_events(organization_id => $list_events_organization_id, service => $list_events_service, type => $list_events_type, search => $list_events_search, cursor => $list_events_cursor, limit => $list_events_limit);
#
# list_notification_types test
#
# uncomment below and update the test
#my $list_notification_types_organization_id = undef; # replace NULL with a proper value
#my $list_notification_types_service_id = undef; # replace NULL with a proper value
#my $list_notification_types_result = $api->list_notification_types(organization_id => $list_notification_types_organization_id, service_id => $list_notification_types_service_id);
#
# list_services test
#
# uncomment below and update the test
#my $list_services_organization_id = undef; # replace NULL with a proper value
#my $list_services_result = $api->list_services(organization_id => $list_services_organization_id);
#
# search_events test
#
# uncomment below and update the test
#my $search_events_organization_id = undef; # replace NULL with a proper value
#my $search_events_search_events_input = undef; # replace NULL with a proper value
#my $search_events_result = $api->search_events(organization_id => $search_events_organization_id, search_events_input => $search_events_search_events_input);
#
# send_event test
#
# uncomment below and update the test
#my $send_event_send_event_input = undef; # replace NULL with a proper value
#my $send_event_result = $api->send_event(send_event_input => $send_event_send_event_input);
#
# send_event_as_user test
#
# uncomment below and update the test
#my $send_event_as_user_organization_id = undef; # replace NULL with a proper value
#my $send_event_as_user_send_event_input = undef; # replace NULL with a proper value
#my $send_event_as_user_result = $api->send_event_as_user(organization_id => $send_event_as_user_organization_id, send_event_input => $send_event_as_user_send_event_input);
done_testing();
( run in 1.234 second using v1.01-cache-2.11-cpan-c221a9de4ec )