| 1 | package Bb::Collaborate::Ultra::Session::RecurrenceRule; | ||
| 2 | 4 | ▶ | use warnings; use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 4 | ▶ | use Mouse; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 4 | ▶ | use JSON; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 4 | extends 'Bb::Collaborate::Ultra::DAO'; | |
| 6 | 4 | ▶ | use Mouse::Util::TypeConstraints; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | coerce __PACKAGE__, from 'HashRef' => via { | ||
| 8 | 0 | ▶ | __PACKAGE__->new( $_ ) |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 9 | 4 | }; | |
| 10 | 4 | __PACKAGE__->load_schema(<DATA>); | |
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Bb::Collaborate::Ultra::Session::RecurrenceRule | ||
| 15 | |||
| 16 | =head1 DESCRIPTION | ||
| 17 | |||
| 18 | Session scheduling sub-record. | ||
| 19 | |||
| 20 | =head1 METHODS | ||
| 21 | |||
| 22 | See L<https://xx-csa.bbcollab.com/documentation#Session> | ||
| 23 | |||
| 24 | =cut | ||
| 25 | |||
| 26 | 4 | 1; | |
| 27 | # downloaded from https://xx-csa.bbcollab.com/documentation | ||
| 28 | __DATA__ | ||
| 29 | { | ||
| 30 | "type" : "object", | ||
| 31 | "id" : "RecurrenceRule", | ||
| 32 | "properties" : { | ||
| 33 | "recurrenceEndType" : { | ||
| 34 | "type" : "string", | ||
| 35 | "enum" : [ "on_date", "after_occurrences_count" ] | ||
| 36 | }, | ||
| 37 | "daysOfTheWeek" : { | ||
| 38 | "type" : "array", | ||
| 39 | "items" : { | ||
| 40 | "type" : "string", | ||
| 41 | "enum" : [ "mo", "tu", "we", "th", "fr", "sa", "su" ] | ||
| 42 | } | ||
| 43 | }, | ||
| 44 | "recurrenceType" : { | ||
| 45 | "type" : "string", | ||
| 46 | "enum" : [ "daily", "weekly", "monthly" ] | ||
| 47 | }, | ||
| 48 | "interval" : { | ||
| 49 | "type" : "string", | ||
| 50 | "enum" : [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ] | ||
| 51 | }, | ||
| 52 | "numberOfOccurrence" : { | ||
| 53 | "type" : "integer" | ||
| 54 | }, | ||
| 55 | "endDate" : { | ||
| 56 | "type" : "string", | ||
| 57 | "format" : "DATE_TIME" | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } | ||