AsposeTasksCloud-TasksApi/lib/AsposeTasksCloud/Object/TaskItem.pm
package AsposeTasksCloud::Object::TaskItem;
require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::Parse;
use DateTime;
use base "AsposeTasksCloud::Object::BaseObject";
#
#
#
#NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
#
my $swagger_types = {
'Link' => 'Link',
'Uid' => 'int',
'Id' => 'int',
'Name' => 'string',
'Start' => 'string',
'Finish' => 'string',
'Duration' => 'string',
'DurationString' => 'string'
};
my $attribute_map = {
'Link' => 'Link',
'Uid' => 'Uid',
'Id' => 'Id',
'Name' => 'Name',
'Start' => 'Start',
'Finish' => 'Finish',
'Duration' => 'Duration',
'DurationString' => 'DurationString'
};
# new object
sub new {
my ($class, %args) = @_;
my $self = {
#
'Link' => $args{'Link'},
#
'Uid' => $args{'Uid'},
#
'Id' => $args{'Id'},
#
'Name' => $args{'Name'},
#
'Start' => $args{'Start'},
#
'Finish' => $args{'Finish'},
#
'Duration' => $args{'Duration'},
#
'DurationString' => $args{'DurationString'}
};
return bless $self, $class;
}
# get swagger type of the attribute
sub get_swagger_types {
return $swagger_types;
}
# get attribute mappping
sub get_attribute_map {
return $attribute_map;
}
1;