@girs/icalglib-3.0 3.0.0-3.2.6 → 3.0.0-3.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -738,13 +738,13 @@ export function error_get_error_state(error: ErrorEnum): ErrorState
738
738
  * the current error.
739
739
  * @returns The string representation of the current error
740
740
  */
741
- export function error_perror(): string | null
741
+ export function error_perror(): string
742
742
  /**
743
743
  * Restores the error to specified state.
744
744
  * @param error The error to be restored
745
745
  * @param es The error state to be restored
746
746
  */
747
- export function error_restore(error: string | null, es: ErrorState): void
747
+ export function error_restore(error: string, es: ErrorState): void
748
748
  /**
749
749
  * Sets the errno.
750
750
  * @param x The error to be set
@@ -762,13 +762,13 @@ export function error_stop_here(): void
762
762
  * @param e The #ICalErrorEnum to be translated
763
763
  * @returns The string representation of @e
764
764
  */
765
- export function error_strerror(e: ErrorEnum): string | null
765
+ export function error_strerror(e: ErrorEnum): string
766
766
  /**
767
767
  * Suppresses the error.
768
768
  * @param error The error to be suppressed
769
769
  * @returns The error state suppressed
770
770
  */
771
- export function error_supress(error: string | null): ErrorState
771
+ export function error_supress(error: string): ErrorState
772
772
  /**
773
773
  * Gets the setting of #ICalUnknowntokenhandling.
774
774
  * @returns The setting of #ICalUnknowntokenhandling
@@ -796,7 +796,7 @@ export function memory_append_char(buf: number[], pos: number[], ch: number): [
796
796
  * @param pos The position at which the new string to be appended
797
797
  * @param str The string to be allocated
798
798
  */
799
- export function memory_append_string(buf: number[], pos: number[], str: string | null): [ /* buf */ number[], /* pos */ number[] ]
799
+ export function memory_append_string(buf: number[], pos: number[], str: string): [ /* buf */ number[], /* pos */ number[] ]
800
800
  /**
801
801
  * Frees the buffer.
802
802
  * @param buf The buffer to be freed
@@ -821,7 +821,7 @@ export function memory_resize_buffer(buf: any | null, size: number): any | null
821
821
  * @param s The string to be cloned
822
822
  * @returns The cloned string.
823
823
  */
824
- export function memory_strdup(s: string | null): string | null
824
+ export function memory_strdup(s: string): string | null
825
825
  /**
826
826
  * Creates a buffer with target size.
827
827
  * @param size The size of the buffer to be created
@@ -833,7 +833,7 @@ export function memory_tmp_buffer(size: number): any | null
833
833
  * @param str The string to be copied
834
834
  * @returns The new copy of the @str.
835
835
  */
836
- export function memory_tmp_copy(str: string | null): string | null
836
+ export function memory_tmp_copy(str: string): string | null
837
837
  /**
838
838
  * Parses data to #ICalComponent using the given function.
839
839
  * @param func The parsing function
@@ -849,7 +849,7 @@ export function mime_parse(func: MimeParseFunc): Component
849
849
  * @param count The number of elements to be filled up in the `array`
850
850
  * @returns If successful, return the array. NULL if failed.
851
851
  */
852
- export function recur_expand_recurrence(rule: string | null, start: number, count: number): number[]
852
+ export function recur_expand_recurrence(rule: string, start: number, count: number): number[]
853
853
  /**
854
854
  * Returns the code for a request status.
855
855
  * @param stat The #ICalRequestStatus to be queried
@@ -861,7 +861,7 @@ export function request_status_code(stat: RequestStatus): string | null
861
861
  * @param stat The #ICalRequestStatus to be translated
862
862
  * @returns The description of the @stat
863
863
  */
864
- export function request_status_desc(stat: RequestStatus): string | null
864
+ export function request_status_desc(stat: RequestStatus): string
865
865
  /**
866
866
  * Returns a request status for major/minor status numbers.
867
867
  * @param major The major number
@@ -1006,7 +1006,7 @@ export interface Attach {
1006
1006
  * @param key name of the key for that association
1007
1007
  * @returns the data if found, or %NULL if no such data exists.
1008
1008
  */
1009
- get_data(key: string | null): any | null
1009
+ get_data(key: string): any | null
1010
1010
  /**
1011
1011
  * Checks whether the #ICalAttach is built from url.
1012
1012
  * @returns Whether the @attach is built from url
@@ -1071,14 +1071,14 @@ export class Attach extends Object {
1071
1071
  * @param free_fn The function used to free the data when the create #ICalAttach is destroyed
1072
1072
  * @returns The newly created #ICalAttach
1073
1073
  */
1074
- static new_from_data(data: string | null, free_fn: GLib.Func | null): Attach
1074
+ static new_from_data(data: string, free_fn: GLib.Func | null): Attach
1075
1075
  /**
1076
1076
  * Creates a new #ICalAttach from the url.
1077
1077
  * @constructor
1078
1078
  * @param url The url from which the object is created
1079
1079
  * @returns The newly created #ICalAttach from the @url
1080
1080
  */
1081
- static new_from_url(url: string | null): Attach
1081
+ static new_from_url(url: string): Attach
1082
1082
  _init(config?: Attach.ConstructorProperties): void
1083
1083
  }
1084
1084
 
@@ -1238,7 +1238,7 @@ export interface Component {
1238
1238
  * Gets the comment of the #ICalComponent.
1239
1239
  * @returns The comment of @comp.
1240
1240
  */
1241
- get_comment(): string | null
1241
+ get_comment(): string
1242
1242
  /**
1243
1243
  * Gets the current #ICalComponent in #ICalComponent.
1244
1244
  * @returns The current #ICalComponent.
@@ -1253,7 +1253,7 @@ export interface Component {
1253
1253
  * Gets the description of the #ICalComponent.
1254
1254
  * @returns The description of @comp.
1255
1255
  */
1256
- get_description(): string | null
1256
+ get_description(): string
1257
1257
  /**
1258
1258
  * Gets the dtend of the #ICalComponent.
1259
1259
  * @returns A #ICalTime.
@@ -1305,7 +1305,7 @@ export interface Component {
1305
1305
  * Gets the location of the #ICalComponent.
1306
1306
  * @returns The location of @comp.
1307
1307
  */
1308
- get_location(): string | null
1308
+ get_location(): string
1309
1309
  /**
1310
1310
  * Gets the method of the #ICalComponent.
1311
1311
  * @returns A #ICalPropertyMethod.
@@ -1337,7 +1337,7 @@ export interface Component {
1337
1337
  * Gets the relcalid of the #ICalComponent.
1338
1338
  * @returns The relcalid of @comp.
1339
1339
  */
1340
- get_relcalid(): string | null
1340
+ get_relcalid(): string
1341
1341
  /**
1342
1342
  * Gets the sequence of the #ICalComponent.
1343
1343
  * @returns The sequence of @comp.
@@ -1357,18 +1357,18 @@ export interface Component {
1357
1357
  * Gets the summary of the #ICalComponent.
1358
1358
  * @returns The summary of @comp.
1359
1359
  */
1360
- get_summary(): string | null
1360
+ get_summary(): string
1361
1361
  /**
1362
1362
  * Returns the icaltimezone in the component corresponding to the TZID, or NULL if it can't be found.
1363
1363
  * @param tzid A string representing timezone
1364
1364
  * @returns A #ICalTimezone.
1365
1365
  */
1366
- get_timezone(tzid: string | null): Timezone | null
1366
+ get_timezone(tzid: string): Timezone | null
1367
1367
  /**
1368
1368
  * Gets the uid of the #ICalComponent.
1369
1369
  * @returns The uid of @comp.
1370
1370
  */
1371
- get_uid(): string | null
1371
+ get_uid(): string
1372
1372
  /**
1373
1373
  * Checks whether #ICalComponent is valid.
1374
1374
  * @returns 1 if yes, 0 if not.
@@ -1405,12 +1405,12 @@ export interface Component {
1405
1405
  * Sets the comment of the #ICalComponent.
1406
1406
  * @param v A string representing comment
1407
1407
  */
1408
- set_comment(v: string | null): void
1408
+ set_comment(v: string): void
1409
1409
  /**
1410
1410
  * Sets the description of the #ICalComponent.
1411
1411
  * @param v A string representing description
1412
1412
  */
1413
- set_description(v: string | null): void
1413
+ set_description(v: string): void
1414
1414
  /**
1415
1415
  * Sets the dtend of the #ICalComponent.
1416
1416
  * @param v A #ICalTime
@@ -1440,7 +1440,7 @@ export interface Component {
1440
1440
  * Sets the location of the #ICalComponent.
1441
1441
  * @param v A string representing location
1442
1442
  */
1443
- set_location(v: string | null): void
1443
+ set_location(v: string): void
1444
1444
  /**
1445
1445
  * Sets the method of the #ICalComponent.
1446
1446
  * @param method A #ICalPropertyMethod
@@ -1460,7 +1460,7 @@ export interface Component {
1460
1460
  * Sets the relcalid of the #ICalComponent.
1461
1461
  * @param v A string representing relcalid
1462
1462
  */
1463
- set_relcalid(v: string | null): void
1463
+ set_relcalid(v: string): void
1464
1464
  /**
1465
1465
  * Sets the sequence of the #ICalComponent.
1466
1466
  * @param v The sequence number
@@ -1475,12 +1475,12 @@ export interface Component {
1475
1475
  * Sets the summary of the #ICalComponent.
1476
1476
  * @param v A string representing summary
1477
1477
  */
1478
- set_summary(v: string | null): void
1478
+ set_summary(v: string): void
1479
1479
  /**
1480
1480
  * Sets the uid of the #ICalComponent.
1481
1481
  * @param v A string representing uid
1482
1482
  */
1483
- set_uid(v: string | null): void
1483
+ set_uid(v: string): void
1484
1484
  /**
1485
1485
  * Removes all X-LIC-ERROR properties.
1486
1486
  */
@@ -1543,7 +1543,7 @@ export class Component extends Object {
1543
1543
  * @param str The string used to create #ICalComponent
1544
1544
  * @returns The newly created #ICalComponent based on @str.
1545
1545
  */
1546
- static new_from_string(str: string | null): Component
1546
+ static new_from_string(str: string): Component
1547
1547
  /**
1548
1548
  * Creates a #ICalComponent with the type to be vagenda.
1549
1549
  * @constructor
@@ -1622,7 +1622,7 @@ export class Component extends Object {
1622
1622
  * @param x_name The name of x property
1623
1623
  * @returns The newly created #ICalComponent.
1624
1624
  */
1625
- static new_x(x_name: string | null): Component
1625
+ static new_x(x_name: string): Component
1626
1626
  /**
1627
1627
  * Creates a #ICalComponent with the type to be xavailable.
1628
1628
  * @constructor
@@ -1653,7 +1653,7 @@ export class Component extends Object {
1653
1653
  * @param string A string
1654
1654
  * @returns A #ICalComponentKind
1655
1655
  */
1656
- static kind_from_string(string: string | null): ComponentKind
1656
+ static kind_from_string(string: string): ComponentKind
1657
1657
  /**
1658
1658
  * Checks if a #ICalComponentKind is valid.
1659
1659
  * @param kind A #ICalComponentKind
@@ -1665,7 +1665,7 @@ export class Component extends Object {
1665
1665
  * @param kind A #ICalComponentKind
1666
1666
  * @returns The string representation of @kind.
1667
1667
  */
1668
- static kind_to_string(kind: ComponentKind): string | null
1668
+ static kind_to_string(kind: ComponentKind): string
1669
1669
  }
1670
1670
 
1671
1671
  export module Datetimeperiod {
@@ -1904,7 +1904,7 @@ export class Duration extends Object {
1904
1904
  * @param str The string representation of the duration
1905
1905
  * @returns The newly created #ICalDuration
1906
1906
  */
1907
- static new_from_string(str: string | null): Duration
1907
+ static new_from_string(str: string): Duration
1908
1908
  /**
1909
1909
  * Creates a #ICalDuration with all the fields to be zero.
1910
1910
  * @constructor
@@ -2021,12 +2021,12 @@ export module Object {
2021
2021
  * Whether free the native libical structure on #ICalObject's finalize even
2022
2022
  * if the object has set an owner.
2023
2023
  */
2024
- always_destroy?: boolean | null
2024
+ alwaysDestroy?: boolean | null
2025
2025
  /**
2026
2026
  * Whether the native libical structure is from a global shared memory.
2027
2027
  * If TRUE, then it is not freed on #ICalObject's finalize.
2028
2028
  */
2029
- is_global_memory?: boolean | null
2029
+ isGlobalMemory?: boolean | null
2030
2030
  /**
2031
2031
  * The native libical structure for this ICalObject.
2032
2032
  */
@@ -2034,26 +2034,12 @@ export module Object {
2034
2034
  /**
2035
2035
  * GDestroyNotify function to use to destroy the native libical pointer.
2036
2036
  */
2037
- native_destroy_func?: any | null
2037
+ nativeDestroyFunc?: any | null
2038
2038
  /**
2039
2039
  * Owner of the native libical structure. If set, then it is
2040
2040
  * responsible for a free of the native libical structure.
2041
2041
  */
2042
2042
  owner?: GObject.Object | null
2043
- /**
2044
- * Whether free the native libical structure on #ICalObject's finalize even
2045
- * if the object has set an owner.
2046
- */
2047
- alwaysDestroy?: boolean | null
2048
- /**
2049
- * Whether the native libical structure is from a global shared memory.
2050
- * If TRUE, then it is not freed on #ICalObject's finalize.
2051
- */
2052
- isGlobalMemory?: boolean | null
2053
- /**
2054
- * GDestroyNotify function to use to destroy the native libical pointer.
2055
- */
2056
- nativeDestroyFunc?: any | null
2057
2043
  }
2058
2044
 
2059
2045
  }
@@ -2062,21 +2048,11 @@ export interface Object {
2062
2048
 
2063
2049
  // Own properties of ICalGLib-3.0.ICalGLib.Object
2064
2050
 
2065
- /**
2066
- * Whether free the native libical structure on #ICalObject's finalize even
2067
- * if the object has set an owner.
2068
- */
2069
- always_destroy: boolean
2070
2051
  /**
2071
2052
  * Whether free the native libical structure on #ICalObject's finalize even
2072
2053
  * if the object has set an owner.
2073
2054
  */
2074
2055
  alwaysDestroy: boolean
2075
- /**
2076
- * Whether the native libical structure is from a global shared memory.
2077
- * If TRUE, then it is not freed on #ICalObject's finalize.
2078
- */
2079
- readonly is_global_memory: boolean
2080
2056
  /**
2081
2057
  * Whether the native libical structure is from a global shared memory.
2082
2058
  * If TRUE, then it is not freed on #ICalObject's finalize.
@@ -2086,10 +2062,6 @@ export interface Object {
2086
2062
  * The native libical structure for this ICalObject.
2087
2063
  */
2088
2064
  readonly native: any
2089
- /**
2090
- * GDestroyNotify function to use to destroy the native libical pointer.
2091
- */
2092
- native_destroy_func: any
2093
2065
  /**
2094
2066
  * GDestroyNotify function to use to destroy the native libical pointer.
2095
2067
  */
@@ -2323,42 +2295,42 @@ export interface Parameter {
2323
2295
  */
2324
2296
  isa_parameter(): number
2325
2297
  set_actionparam(v: ParameterAction): void
2326
- set_altrep(v: string | null): void
2327
- set_charset(v: string | null): void
2328
- set_cn(v: string | null): void
2298
+ set_altrep(v: string): void
2299
+ set_charset(v: string): void
2300
+ set_cn(v: string): void
2329
2301
  set_cutype(v: ParameterCutype): void
2330
- set_delegatedfrom(v: string | null): void
2331
- set_delegatedto(v: string | null): void
2332
- set_dir(v: string | null): void
2302
+ set_delegatedfrom(v: string): void
2303
+ set_delegatedto(v: string): void
2304
+ set_dir(v: string): void
2333
2305
  set_display(value: ParameterDisplay): void
2334
- set_email(value: string | null): void
2306
+ set_email(value: string): void
2335
2307
  set_enable(v: ParameterEnable): void
2336
2308
  set_encoding(v: ParameterEncoding): void
2337
2309
  set_fbtype(v: ParameterFbtype): void
2338
2310
  set_feature(value: ParameterFeature): void
2339
- set_filename(v: string | null): void
2340
- set_fmttype(v: string | null): void
2341
- set_iana(v: string | null): void
2311
+ set_filename(v: string): void
2312
+ set_fmttype(v: string): void
2313
+ set_iana(v: string): void
2342
2314
  /**
2343
2315
  * Sets the iana_name property of the native part of the #ICalParameter.
2344
2316
  * @param v The name to be set into the `param`
2345
2317
  */
2346
- set_iana_name(v: string | null): void
2318
+ set_iana_name(v: string): void
2347
2319
  /**
2348
2320
  * Sets the iana_value property of the native part of the #ICalParameter.
2349
2321
  * @param v The value to be set into the `param`
2350
2322
  */
2351
- set_iana_value(v: string | null): void
2352
- set_id(v: string | null): void
2353
- set_label(value: string | null): void
2354
- set_language(v: string | null): void
2355
- set_latency(v: string | null): void
2323
+ set_iana_value(v: string): void
2324
+ set_id(v: string): void
2325
+ set_label(value: string): void
2326
+ set_language(v: string): void
2327
+ set_latency(v: string): void
2356
2328
  set_local(v: ParameterLocal): void
2357
- set_localize(v: string | null): void
2358
- set_managedid(v: string | null): void
2359
- set_member(v: string | null): void
2360
- set_modified(v: string | null): void
2361
- set_options(v: string | null): void
2329
+ set_localize(v: string): void
2330
+ set_managedid(v: string): void
2331
+ set_member(v: string): void
2332
+ set_modified(v: string): void
2333
+ set_options(v: string): void
2362
2334
  /**
2363
2335
  * Sets the parent #ICalProperty of an #ICalParameter.
2364
2336
  * @param property The parent #ICalProperty
@@ -2366,9 +2338,9 @@ export interface Parameter {
2366
2338
  set_parent(property: Property | null): void
2367
2339
  set_partstat(v: ParameterPartstat): void
2368
2340
  set_patchaction(value: ParameterPatchaction): void
2369
- set_publiccomment(v: string | null): void
2341
+ set_publiccomment(v: string): void
2370
2342
  set_range(v: ParameterRange): void
2371
- set_reason(v: string | null): void
2343
+ set_reason(v: string): void
2372
2344
  set_related(v: ParameterRelated): void
2373
2345
  set_reltype(v: ParameterReltype): void
2374
2346
  set_required(v: ParameterRequired): void
@@ -2377,26 +2349,26 @@ export interface Parameter {
2377
2349
  set_rsvp(v: ParameterRsvp): void
2378
2350
  set_scheduleagent(v: ParameterScheduleagent): void
2379
2351
  set_scheduleforcesend(v: ParameterScheduleforcesend): void
2380
- set_schedulestatus(v: string | null): void
2381
- set_sentby(v: string | null): void
2382
- set_size(v: string | null): void
2352
+ set_schedulestatus(v: string): void
2353
+ set_sentby(v: string): void
2354
+ set_size(v: string): void
2383
2355
  set_stayinformed(v: ParameterStayinformed): void
2384
2356
  set_substate(v: ParameterSubstate): void
2385
- set_tzid(v: string | null): void
2357
+ set_tzid(v: string): void
2386
2358
  set_value(v: ParameterValue): void
2387
- set_x(v: string | null): void
2359
+ set_x(v: string): void
2388
2360
  set_xliccomparetype(v: ParameterXliccomparetype): void
2389
2361
  set_xlicerrortype(v: ParameterXlicerrortype): void
2390
2362
  /**
2391
2363
  * Sets the xname property of the native part of the #ICalParameter.
2392
2364
  * @param v The name to be set into the `param`
2393
2365
  */
2394
- set_xname(v: string | null): void
2366
+ set_xname(v: string): void
2395
2367
  /**
2396
2368
  * Sets the xvalue property of the native part of the #ICalParameter.
2397
2369
  * @param v The value to be set into the `param`
2398
2370
  */
2399
- set_xvalue(v: string | null): void
2371
+ set_xvalue(v: string): void
2400
2372
 
2401
2373
  // Class property signals of ICalGLib-3.0.ICalGLib.Parameter
2402
2374
 
@@ -2456,15 +2428,15 @@ export class Parameter extends Object {
2456
2428
  * @returns The newly created #ICalParameter.
2457
2429
  */
2458
2430
  static new_actionparam(v: ParameterAction): Parameter
2459
- static new_altrep(v: string | null): Parameter
2460
- static new_charset(v: string | null): Parameter
2461
- static new_cn(v: string | null): Parameter
2431
+ static new_altrep(v: string): Parameter
2432
+ static new_charset(v: string): Parameter
2433
+ static new_cn(v: string): Parameter
2462
2434
  static new_cutype(v: ParameterCutype): Parameter
2463
- static new_delegatedfrom(v: string | null): Parameter
2464
- static new_delegatedto(v: string | null): Parameter
2465
- static new_dir(v: string | null): Parameter
2435
+ static new_delegatedfrom(v: string): Parameter
2436
+ static new_delegatedto(v: string): Parameter
2437
+ static new_dir(v: string): Parameter
2466
2438
  static new_display(value: ParameterDisplay): Parameter
2467
- static new_email(value: string | null): Parameter
2439
+ static new_email(value: string): Parameter
2468
2440
  /**
2469
2441
  * Creates a new #ICalParameter according to the enable type.
2470
2442
  * @constructor
@@ -2487,15 +2459,15 @@ export class Parameter extends Object {
2487
2459
  */
2488
2460
  static new_fbtype(v: ParameterFbtype): Parameter
2489
2461
  static new_feature(value: ParameterFeature): Parameter
2490
- static new_filename(v: string | null): Parameter
2491
- static new_fmttype(v: string | null): Parameter
2462
+ static new_filename(v: string): Parameter
2463
+ static new_fmttype(v: string): Parameter
2492
2464
  /**
2493
2465
  * Creates a #ICalParameter from a string of form "PARAMNAME=VALUE".
2494
2466
  * @constructor
2495
2467
  * @param value The string from which the #ICalParameter is created
2496
2468
  * @returns The newly created $ICalParameter with the properties specified in the @value.
2497
2469
  */
2498
- static new_from_string(value: string | null): Parameter
2470
+ static new_from_string(value: string): Parameter
2499
2471
  /**
2500
2472
  * Creates a new #ICalParameter from just the value, the part after the "="
2501
2473
  * @constructor
@@ -2503,12 +2475,12 @@ export class Parameter extends Object {
2503
2475
  * @param value The string from which #ICalParameter to be created
2504
2476
  * @returns The newly created #ICalParameter
2505
2477
  */
2506
- static new_from_value_string(kind: ParameterKind, value: string | null): Parameter
2507
- static new_iana(v: string | null): Parameter
2508
- static new_id(v: string | null): Parameter
2509
- static new_label(value: string | null): Parameter
2510
- static new_language(v: string | null): Parameter
2511
- static new_latency(v: string | null): Parameter
2478
+ static new_from_value_string(kind: ParameterKind, value: string): Parameter
2479
+ static new_iana(v: string): Parameter
2480
+ static new_id(v: string): Parameter
2481
+ static new_label(value: string): Parameter
2482
+ static new_language(v: string): Parameter
2483
+ static new_latency(v: string): Parameter
2512
2484
  /**
2513
2485
  * Creates a new #ICalParameter according to the local type.
2514
2486
  * @constructor
@@ -2516,11 +2488,11 @@ export class Parameter extends Object {
2516
2488
  * @returns The newly created #ICalParameter.
2517
2489
  */
2518
2490
  static new_local(v: ParameterLocal): Parameter
2519
- static new_localize(v: string | null): Parameter
2520
- static new_managedid(v: string | null): Parameter
2521
- static new_member(v: string | null): Parameter
2522
- static new_modified(v: string | null): Parameter
2523
- static new_options(v: string | null): Parameter
2491
+ static new_localize(v: string): Parameter
2492
+ static new_managedid(v: string): Parameter
2493
+ static new_member(v: string): Parameter
2494
+ static new_modified(v: string): Parameter
2495
+ static new_options(v: string): Parameter
2524
2496
  /**
2525
2497
  * Creates a new #ICalParameter according to the partstat type.
2526
2498
  * @constructor
@@ -2529,7 +2501,7 @@ export class Parameter extends Object {
2529
2501
  */
2530
2502
  static new_partstat(v: ParameterPartstat): Parameter
2531
2503
  static new_patchaction(value: ParameterPatchaction): Parameter
2532
- static new_publiccomment(v: string | null): Parameter
2504
+ static new_publiccomment(v: string): Parameter
2533
2505
  /**
2534
2506
  * Creates a new #ICalParameter according to the range type.
2535
2507
  * @constructor
@@ -2537,7 +2509,7 @@ export class Parameter extends Object {
2537
2509
  * @returns The newly created #ICalParameter.
2538
2510
  */
2539
2511
  static new_range(v: ParameterRange): Parameter
2540
- static new_reason(v: string | null): Parameter
2512
+ static new_reason(v: string): Parameter
2541
2513
  /**
2542
2514
  * Creates a new #ICalParameter according to the related type.
2543
2515
  * @constructor
@@ -2594,9 +2566,9 @@ export class Parameter extends Object {
2594
2566
  * @returns The newly created #ICalParameter.
2595
2567
  */
2596
2568
  static new_scheduleforcesend(v: ParameterScheduleforcesend): Parameter
2597
- static new_schedulestatus(v: string | null): Parameter
2598
- static new_sentby(v: string | null): Parameter
2599
- static new_size(v: string | null): Parameter
2569
+ static new_schedulestatus(v: string): Parameter
2570
+ static new_sentby(v: string): Parameter
2571
+ static new_size(v: string): Parameter
2600
2572
  /**
2601
2573
  * Creates a new #ICalParameter according to the stayinformed type.
2602
2574
  * @constructor
@@ -2611,7 +2583,7 @@ export class Parameter extends Object {
2611
2583
  * @returns The newly created #ICalParameter.
2612
2584
  */
2613
2585
  static new_substate(v: ParameterSubstate): Parameter
2614
- static new_tzid(v: string | null): Parameter
2586
+ static new_tzid(v: string): Parameter
2615
2587
  /**
2616
2588
  * Creates a new #ICalParameter according to the value type.
2617
2589
  * @constructor
@@ -2619,7 +2591,7 @@ export class Parameter extends Object {
2619
2591
  * @returns The newly created #ICalParameter.
2620
2592
  */
2621
2593
  static new_value(v: ParameterValue): Parameter
2622
- static new_x(v: string | null): Parameter
2594
+ static new_x(v: string): Parameter
2623
2595
  /**
2624
2596
  * Creates a new #ICalParameter according to the xliccomparetype type.
2625
2597
  * @constructor
@@ -2640,7 +2612,7 @@ export class Parameter extends Object {
2640
2612
  * @param string The string representation of the #ICalParameter
2641
2613
  * @returns The #ICalParameterKind converted from @string
2642
2614
  */
2643
- static kind_from_string(string: string | null): ParameterKind
2615
+ static kind_from_string(string: string): ParameterKind
2644
2616
  /**
2645
2617
  * Checks whether #ICalParameterKind is valid.
2646
2618
  * @param kind The #ICalPropertyKind
@@ -2652,7 +2624,7 @@ export class Parameter extends Object {
2652
2624
  * @param kind The #ICalParameterKind to be converted
2653
2625
  * @returns The string representation of @kind.
2654
2626
  */
2655
- static kind_to_string(kind: ParameterKind): string | null
2627
+ static kind_to_string(kind: ParameterKind): string
2656
2628
  /**
2657
2629
  * Converts the #ICalParameterValue to #ICalValueKind.
2658
2630
  * @param value A #ICalParameterValue
@@ -2766,7 +2738,7 @@ export class Parser extends Object {
2766
2738
  * @param str The string to be parsed
2767
2739
  * @returns The #ICalComponent parsed from str.
2768
2740
  */
2769
- static parse_string(str: string | null): Component
2741
+ static parse_string(str: string): Component
2770
2742
  }
2771
2743
 
2772
2744
  export module Period {
@@ -2871,7 +2843,7 @@ export class Period extends Object {
2871
2843
  * @param str The string used to create the #ICalPeriod
2872
2844
  * @returns The newly created #ICalPeriod
2873
2845
  */
2874
- static new_from_string(str: string | null): Period
2846
+ static new_from_string(str: string): Period
2875
2847
  /**
2876
2848
  * Creates a default #ICalPeriod.
2877
2849
  * @constructor
@@ -2919,7 +2891,7 @@ export interface Property {
2919
2891
  * Gets the acceptresponse of #ICalProperty.
2920
2892
  * @returns Get the acceptresponse of #ICalProperty.
2921
2893
  */
2922
- get_acceptresponse(): string | null
2894
+ get_acceptresponse(): string
2923
2895
  /**
2924
2896
  * Gets the acknowledged time of #ICalProperty.
2925
2897
  * @returns Get the acknowledged time of #ICalProperty.
@@ -2934,7 +2906,7 @@ export interface Property {
2934
2906
  * Gets the allowconflict of #ICalProperty.
2935
2907
  * @returns Get the allowconflict of #ICalProperty.
2936
2908
  */
2937
- get_allowconflict(): string | null
2909
+ get_allowconflict(): string
2938
2910
  /**
2939
2911
  * Gets the attach of #ICalProperty.
2940
2912
  * @returns Get the attach of #ICalProperty.
@@ -2944,7 +2916,7 @@ export interface Property {
2944
2916
  * Gets the attendee of #ICalProperty.
2945
2917
  * @returns Get the attendee of #ICalProperty.
2946
2918
  */
2947
- get_attendee(): string | null
2919
+ get_attendee(): string
2948
2920
  /**
2949
2921
  * Gets the busytype of #ICalProperty.
2950
2922
  * @returns Get the busytype of #ICalProperty.
@@ -2954,27 +2926,27 @@ export interface Property {
2954
2926
  * Gets the calid of #ICalProperty.
2955
2927
  * @returns Get the calid of #ICalProperty.
2956
2928
  */
2957
- get_calid(): string | null
2929
+ get_calid(): string
2958
2930
  /**
2959
2931
  * Gets the calmaster of #ICalProperty.
2960
2932
  * @returns Get the calmaster of #ICalProperty.
2961
2933
  */
2962
- get_calmaster(): string | null
2934
+ get_calmaster(): string
2963
2935
  /**
2964
2936
  * Gets the calscale of #ICalProperty.
2965
2937
  * @returns Get the calscale of #ICalProperty.
2966
2938
  */
2967
- get_calscale(): string | null
2939
+ get_calscale(): string
2968
2940
  /**
2969
2941
  * Gets the capversion of #ICalProperty.
2970
2942
  * @returns Get the capversion of #ICalProperty.
2971
2943
  */
2972
- get_capversion(): string | null
2944
+ get_capversion(): string
2973
2945
  /**
2974
2946
  * Gets the carid of #ICalProperty.
2975
2947
  * @returns Get the carid of #ICalProperty.
2976
2948
  */
2977
- get_carid(): string | null
2949
+ get_carid(): string
2978
2950
  /**
2979
2951
  * Gets the carlevel of #ICalProperty.
2980
2952
  * @returns Get the carlevel of #ICalProperty.
@@ -2984,7 +2956,7 @@ export interface Property {
2984
2956
  * Gets the categories of #ICalProperty.
2985
2957
  * @returns Get the categories of #ICalProperty.
2986
2958
  */
2987
- get_categories(): string | null
2959
+ get_categories(): string
2988
2960
  /**
2989
2961
  * Gets the class of #ICalProperty.
2990
2962
  * @returns Get the class of #ICalProperty.
@@ -2999,12 +2971,12 @@ export interface Property {
2999
2971
  * Gets the color property of the `prop`.
3000
2972
  * @returns Get the color property.
3001
2973
  */
3002
- get_color(): string | null
2974
+ get_color(): string
3003
2975
  /**
3004
2976
  * Gets the comment of #ICalProperty.
3005
2977
  * @returns Get the comment of #ICalProperty.
3006
2978
  */
3007
- get_comment(): string | null
2979
+ get_comment(): string
3008
2980
  /**
3009
2981
  * Gets the completed time of #ICalProperty.
3010
2982
  * @returns Get the completed time of #ICalProperty.
@@ -3014,12 +2986,12 @@ export interface Property {
3014
2986
  * Gets the components of #ICalProperty.
3015
2987
  * @returns Get the components of #ICalProperty.
3016
2988
  */
3017
- get_components(): string | null
2989
+ get_components(): string
3018
2990
  /**
3019
2991
  * Gets the contact of #ICalProperty.
3020
2992
  * @returns Get the contact of #ICalProperty.
3021
2993
  */
3022
- get_contact(): string | null
2994
+ get_contact(): string
3023
2995
  /**
3024
2996
  * Gets the created time of #ICalProperty.
3025
2997
  * @returns Get the created time of #ICalProperty.
@@ -3029,7 +3001,7 @@ export interface Property {
3029
3001
  * Gets the csid of #ICalProperty.
3030
3002
  * @returns Get the csid of #ICalProperty.
3031
3003
  */
3032
- get_csid(): string | null
3004
+ get_csid(): string
3033
3005
  /**
3034
3006
  * Gets the datemax time of #ICalProperty.
3035
3007
  * @returns Get the datemax time of #ICalProperty.
@@ -3055,37 +3027,37 @@ export interface Property {
3055
3027
  * Gets the decreed of #ICalProperty.
3056
3028
  * @returns Get the decreed of #ICalProperty.
3057
3029
  */
3058
- get_decreed(): string | null
3030
+ get_decreed(): string
3059
3031
  /**
3060
3032
  * Gets the defaultcharset of #ICalProperty.
3061
3033
  * @returns Get the defaultcharset of #ICalProperty.
3062
3034
  */
3063
- get_defaultcharset(): string | null
3035
+ get_defaultcharset(): string
3064
3036
  /**
3065
3037
  * Gets the defaultlocale of #ICalProperty.
3066
3038
  * @returns Get the defaultlocale of #ICalProperty.
3067
3039
  */
3068
- get_defaultlocale(): string | null
3040
+ get_defaultlocale(): string
3069
3041
  /**
3070
3042
  * Gets the defaulttzid of #ICalProperty.
3071
3043
  * @returns Get the defaulttzid of #ICalProperty.
3072
3044
  */
3073
- get_defaulttzid(): string | null
3045
+ get_defaulttzid(): string
3074
3046
  /**
3075
3047
  * Gets the defaultvcars of #ICalProperty.
3076
3048
  * @returns Get the defaultvcars of #ICalProperty.
3077
3049
  */
3078
- get_defaultvcars(): string | null
3050
+ get_defaultvcars(): string
3079
3051
  /**
3080
3052
  * Gets the deny of #ICalProperty.
3081
3053
  * @returns Get the deny of #ICalProperty.
3082
3054
  */
3083
- get_deny(): string | null
3055
+ get_deny(): string
3084
3056
  /**
3085
3057
  * Gets the description of #ICalProperty.
3086
3058
  * @returns Get the description of #ICalProperty.
3087
3059
  */
3088
- get_description(): string | null
3060
+ get_description(): string
3089
3061
  /**
3090
3062
  * Gets the dtend time of #ICalProperty.
3091
3063
  * @returns Get the dtend time of #ICalProperty.
@@ -3151,12 +3123,12 @@ export interface Property {
3151
3123
  * Gets the grant of #ICalProperty.
3152
3124
  * @returns Get the grant of #ICalProperty.
3153
3125
  */
3154
- get_grant(): string | null
3126
+ get_grant(): string
3155
3127
  /**
3156
3128
  * Gets the itipversion of #ICalProperty.
3157
3129
  * @returns Get the itipversion of #ICalProperty.
3158
3130
  */
3159
- get_itipversion(): string | null
3131
+ get_itipversion(): string
3160
3132
  /**
3161
3133
  * Gets the lastmodified time of #ICalProperty.
3162
3134
  * @returns Get the lastmodified time of #ICalProperty.
@@ -3166,7 +3138,7 @@ export interface Property {
3166
3138
  * Gets the location of #ICalProperty.
3167
3139
  * @returns Get the location of #ICalProperty.
3168
3140
  */
3169
- get_location(): string | null
3141
+ get_location(): string
3170
3142
  /**
3171
3143
  * Gets the maxcomponentsize of #ICalProperty.
3172
3144
  * @returns Get the maxcomponentsize of #ICalProperty.
@@ -3201,12 +3173,12 @@ export interface Property {
3201
3173
  * Gets the multipart of #ICalProperty.
3202
3174
  * @returns Get the multipart of #ICalProperty.
3203
3175
  */
3204
- get_multipart(): string | null
3176
+ get_multipart(): string
3205
3177
  /**
3206
3178
  * Gets the name of #ICalProperty.
3207
3179
  * @returns Get the name of #ICalProperty.
3208
3180
  */
3209
- get_name(): string | null
3181
+ get_name(): string
3210
3182
  /**
3211
3183
  * Gets the next #ICalParameter from the parent #ICalProperty.
3212
3184
  * @param kind The target kind of #ICalParameter to be retrieved
@@ -3217,18 +3189,18 @@ export interface Property {
3217
3189
  * Gets the organizer of #ICalProperty.
3218
3190
  * @returns Get the organizer of #ICalProperty.
3219
3191
  */
3220
- get_organizer(): string | null
3192
+ get_organizer(): string
3221
3193
  /**
3222
3194
  * Gets the owner of #ICalProperty.
3223
3195
  * @returns Get the owner of #ICalProperty.
3224
3196
  */
3225
- get_owner(): string | null
3197
+ get_owner(): string
3226
3198
  /**
3227
3199
  * Gets the string representation of the target parameter in the #ICalProperty.
3228
3200
  * @param name The name of the target parameter
3229
3201
  * @returns The string representation of the parameter.
3230
3202
  */
3231
- get_parameter_as_string(name: string | null): string | null
3203
+ get_parameter_as_string(name: string): string | null
3232
3204
  /**
3233
3205
  * Gets the parent component of the property. Use with caution. When icalproperty is deallocated, it won't
3234
3206
  * deallocate its parent. However the #ICalComponent object created using this method will be deallocated
@@ -3246,7 +3218,7 @@ export interface Property {
3246
3218
  * Gets the permission of #ICalProperty.
3247
3219
  * @returns Get the permission of #ICalProperty.
3248
3220
  */
3249
- get_permission(): string | null
3221
+ get_permission(): string
3250
3222
  /**
3251
3223
  * Gets the pollcompletion of #ICalProperty.
3252
3224
  * @returns Get the pollcompletion of #ICalProperty.
@@ -3266,7 +3238,7 @@ export interface Property {
3266
3238
  * Gets the pollproperties of #ICalProperty.
3267
3239
  * @returns Get the pollproperties of #ICalProperty.
3268
3240
  */
3269
- get_pollproperties(): string | null
3241
+ get_pollproperties(): string
3270
3242
  /**
3271
3243
  * Gets the pollwinner of #ICalProperty.
3272
3244
  * @returns Get the pollwinner of #ICalProperty.
@@ -3281,7 +3253,7 @@ export interface Property {
3281
3253
  * Gets the prodid of #ICalProperty.
3282
3254
  * @returns Get the prodid of #ICalProperty.
3283
3255
  */
3284
- get_prodid(): string | null
3256
+ get_prodid(): string
3285
3257
  /**
3286
3258
  * Gets the property name of #ICalProperty.
3287
3259
  * @returns Property name of #ICalProperty.
@@ -3291,12 +3263,12 @@ export interface Property {
3291
3263
  * Gets the query of #ICalProperty.
3292
3264
  * @returns Get the query of #ICalProperty.
3293
3265
  */
3294
- get_query(): string | null
3266
+ get_query(): string
3295
3267
  /**
3296
3268
  * Gets the queryid of #ICalProperty.
3297
3269
  * @returns Get the queryid of #ICalProperty.
3298
3270
  */
3299
- get_queryid(): string | null
3271
+ get_queryid(): string
3300
3272
  /**
3301
3273
  * Gets the querylevel of #ICalProperty.
3302
3274
  * @returns Get the querylevel of #ICalProperty.
@@ -3306,7 +3278,7 @@ export interface Property {
3306
3278
  * Gets the queryname of #ICalProperty.
3307
3279
  * @returns Get the queryname of #ICalProperty.
3308
3280
  */
3309
- get_queryname(): string | null
3281
+ get_queryname(): string
3310
3282
  /**
3311
3283
  * Gets the rdate of #ICalProperty.
3312
3284
  * @returns Get the rdate of #ICalProperty.
@@ -3316,17 +3288,17 @@ export interface Property {
3316
3288
  * Gets the recuraccepted of #ICalProperty.
3317
3289
  * @returns Get the recuraccepted of #ICalProperty.
3318
3290
  */
3319
- get_recuraccepted(): string | null
3291
+ get_recuraccepted(): string
3320
3292
  /**
3321
3293
  * Gets the recurexpand of #ICalProperty.
3322
3294
  * @returns Get the recurexpand of #ICalProperty.
3323
3295
  */
3324
- get_recurexpand(): string | null
3296
+ get_recurexpand(): string
3325
3297
  /**
3326
3298
  * Gets the recurlimit of #ICalProperty.
3327
3299
  * @returns Get the recurlimit of #ICalProperty.
3328
3300
  */
3329
- get_recurlimit(): string | null
3301
+ get_recurlimit(): string
3330
3302
  /**
3331
3303
  * Gets the recurrenceid time of #ICalProperty.
3332
3304
  * @returns Get the recurrenceid time of #ICalProperty.
@@ -3336,12 +3308,12 @@ export interface Property {
3336
3308
  * Gets the relatedto of #ICalProperty.
3337
3309
  * @returns Get the relatedto of #ICalProperty.
3338
3310
  */
3339
- get_relatedto(): string | null
3311
+ get_relatedto(): string
3340
3312
  /**
3341
3313
  * Gets the relcalid of #ICalProperty.
3342
3314
  * @returns Get the relcalid of #ICalProperty.
3343
3315
  */
3344
- get_relcalid(): string | null
3316
+ get_relcalid(): string
3345
3317
  /**
3346
3318
  * Gets the repeat of #ICalProperty.
3347
3319
  * @returns Get the repeat of #ICalProperty.
@@ -3351,7 +3323,7 @@ export interface Property {
3351
3323
  * Gets the replyurl of #ICalProperty.
3352
3324
  * @returns Get the replyurl of #ICalProperty.
3353
3325
  */
3354
- get_replyurl(): string | null
3326
+ get_replyurl(): string
3355
3327
  /**
3356
3328
  * Gets the requeststatus of #ICalProperty.
3357
3329
  * @returns Get the requeststatus of #ICalProperty.
@@ -3361,7 +3333,7 @@ export interface Property {
3361
3333
  * Gets the resources of #ICalProperty.
3362
3334
  * @returns Get the resources of #ICalProperty.
3363
3335
  */
3364
- get_resources(): string | null
3336
+ get_resources(): string
3365
3337
  /**
3366
3338
  * Gets the response of #ICalProperty.
3367
3339
  * @returns Get the response of #ICalProperty.
@@ -3371,7 +3343,7 @@ export interface Property {
3371
3343
  * Gets the restriction of #ICalProperty.
3372
3344
  * @returns Get the restriction of #ICalProperty.
3373
3345
  */
3374
- get_restriction(): string | null
3346
+ get_restriction(): string
3375
3347
  /**
3376
3348
  * Gets the rrule recurrence type of #ICalProperty.
3377
3349
  * @returns Get the rrule recurrence type of #ICalProperty.
@@ -3381,7 +3353,7 @@ export interface Property {
3381
3353
  * Gets the scope of #ICalProperty.
3382
3354
  * @returns Get the scope of #ICalProperty.
3383
3355
  */
3384
- get_scope(): string | null
3356
+ get_scope(): string
3385
3357
  /**
3386
3358
  * Gets the sequence of #ICalProperty.
3387
3359
  * @returns Get the sequence of #ICalProperty.
@@ -3396,17 +3368,17 @@ export interface Property {
3396
3368
  * Gets the storesexpanded of #ICalProperty.
3397
3369
  * @returns Get the storesexpanded of #ICalProperty.
3398
3370
  */
3399
- get_storesexpanded(): string | null
3371
+ get_storesexpanded(): string
3400
3372
  /**
3401
3373
  * Gets the summary of #ICalProperty.
3402
3374
  * @returns Get the summary of #ICalProperty.
3403
3375
  */
3404
- get_summary(): string | null
3376
+ get_summary(): string
3405
3377
  /**
3406
3378
  * Gets the target of #ICalProperty.
3407
3379
  * @returns Get the target of #ICalProperty.
3408
3380
  */
3409
- get_target(): string | null
3381
+ get_target(): string
3410
3382
  /**
3411
3383
  * Gets the taskmode of #ICalProperty.
3412
3384
  * @returns Get the taskmode of #ICalProperty.
@@ -3426,17 +3398,17 @@ export interface Property {
3426
3398
  * Gets the tzid of #ICalProperty.
3427
3399
  * @returns Get the tzid of #ICalProperty.
3428
3400
  */
3429
- get_tzid(): string | null
3401
+ get_tzid(): string
3430
3402
  /**
3431
3403
  * Gets the tzidaliasof of #ICalProperty.
3432
3404
  * @returns Get the tzidaliasof of #ICalProperty.
3433
3405
  */
3434
- get_tzidaliasof(): string | null
3406
+ get_tzidaliasof(): string
3435
3407
  /**
3436
3408
  * Gets the tzname of #ICalProperty.
3437
3409
  * @returns Get the tzname of #ICalProperty.
3438
3410
  */
3439
- get_tzname(): string | null
3411
+ get_tzname(): string
3440
3412
  /**
3441
3413
  * Gets the tzoffsetfrom of #ICalProperty.
3442
3414
  * @returns Get the tzoffsetfrom of #ICalProperty.
@@ -3456,17 +3428,17 @@ export interface Property {
3456
3428
  * Gets the tzurl of #ICalProperty.
3457
3429
  * @returns Get the tzurl of #ICalProperty.
3458
3430
  */
3459
- get_tzurl(): string | null
3431
+ get_tzurl(): string
3460
3432
  /**
3461
3433
  * Gets the uid of #ICalProperty.
3462
3434
  * @returns Get the uid of #ICalProperty.
3463
3435
  */
3464
- get_uid(): string | null
3436
+ get_uid(): string
3465
3437
  /**
3466
3438
  * Gets the url of #ICalProperty.
3467
3439
  * @returns Get the url of #ICalProperty.
3468
3440
  */
3469
- get_url(): string | null
3441
+ get_url(): string
3470
3442
  /**
3471
3443
  * Gets the #ICalValue of #ICalProperty.
3472
3444
  * @returns The #ICalValue of @prop.
@@ -3481,17 +3453,17 @@ export interface Property {
3481
3453
  * Gets the version of #ICalProperty.
3482
3454
  * @returns Get the version of #ICalProperty.
3483
3455
  */
3484
- get_version(): string | null
3456
+ get_version(): string
3485
3457
  /**
3486
3458
  * Gets the voter of #ICalProperty.
3487
3459
  * @returns Get the voter of #ICalProperty.
3488
3460
  */
3489
- get_voter(): string | null
3461
+ get_voter(): string
3490
3462
  /**
3491
3463
  * Gets the x of #ICalProperty.
3492
3464
  * @returns Get the x of #ICalProperty.
3493
3465
  */
3494
- get_x(): string | null
3466
+ get_x(): string
3495
3467
  /**
3496
3468
  * Gets the name of x property.
3497
3469
  * @returns The name of x property.
@@ -3506,42 +3478,42 @@ export interface Property {
3506
3478
  * Gets the xlicclustercount of #ICalProperty.
3507
3479
  * @returns Get the xlicclustercount of #ICalProperty.
3508
3480
  */
3509
- get_xlicclustercount(): string | null
3481
+ get_xlicclustercount(): string
3510
3482
  /**
3511
3483
  * Gets the xlicerror of #ICalProperty.
3512
3484
  * @returns Get the xlicerror of #ICalProperty.
3513
3485
  */
3514
- get_xlicerror(): string | null
3486
+ get_xlicerror(): string
3515
3487
  /**
3516
3488
  * Gets the xlicmimecharset of #ICalProperty.
3517
3489
  * @returns Get the xlicmimecharset of #ICalProperty.
3518
3490
  */
3519
- get_xlicmimecharset(): string | null
3491
+ get_xlicmimecharset(): string
3520
3492
  /**
3521
3493
  * Gets the xlicmimecid of #ICalProperty.
3522
3494
  * @returns Get the xlicmimecid of #ICalProperty.
3523
3495
  */
3524
- get_xlicmimecid(): string | null
3496
+ get_xlicmimecid(): string
3525
3497
  /**
3526
3498
  * Gets the xlicmimecontenttype of #ICalProperty.
3527
3499
  * @returns Get the xlicmimecontenttype of #ICalProperty.
3528
3500
  */
3529
- get_xlicmimecontenttype(): string | null
3501
+ get_xlicmimecontenttype(): string
3530
3502
  /**
3531
3503
  * Gets the xlicmimeencoding of #ICalProperty.
3532
3504
  * @returns Get the xlicmimeencoding of #ICalProperty.
3533
3505
  */
3534
- get_xlicmimeencoding(): string | null
3506
+ get_xlicmimeencoding(): string
3535
3507
  /**
3536
3508
  * Gets the xlicmimefilename of #ICalProperty.
3537
3509
  * @returns Get the xlicmimefilename of #ICalProperty.
3538
3510
  */
3539
- get_xlicmimefilename(): string | null
3511
+ get_xlicmimefilename(): string
3540
3512
  /**
3541
3513
  * Gets the xlicmimeoptinfo of #ICalProperty.
3542
3514
  * @returns Get the xlicmimeoptinfo of #ICalProperty.
3543
3515
  */
3544
- get_xlicmimeoptinfo(): string | null
3516
+ get_xlicmimeoptinfo(): string
3545
3517
  /**
3546
3518
  * Gets the kind of #ICalProperty.
3547
3519
  * @returns The type of #ICalProperty.
@@ -3561,7 +3533,7 @@ export interface Property {
3561
3533
  * Removes parameter in the #ICalProperty by name.
3562
3534
  * @param name The name of the parameter to be removed
3563
3535
  */
3564
- remove_parameter_by_name(name: string | null): void
3536
+ remove_parameter_by_name(name: string): void
3565
3537
  /**
3566
3538
  * Removes the parameter in the #ICalProperty by ref.
3567
3539
  * @param param The #ICalParameter to be removed
@@ -3571,7 +3543,7 @@ export interface Property {
3571
3543
  * Sets the acceptresponse for the #ICalProperty.
3572
3544
  * @param v The acceptresponse
3573
3545
  */
3574
- set_acceptresponse(v: string | null): void
3546
+ set_acceptresponse(v: string): void
3575
3547
  /**
3576
3548
  * Sets the acknowledged time for the #ICalProperty.
3577
3549
  * @param v The acknowledgement time
@@ -3586,7 +3558,7 @@ export interface Property {
3586
3558
  * Sets the allowconflict for the #ICalProperty.
3587
3559
  * @param v The allowconflict
3588
3560
  */
3589
- set_allowconflict(v: string | null): void
3561
+ set_allowconflict(v: string): void
3590
3562
  /**
3591
3563
  * Sets the attach for the #ICalProperty.
3592
3564
  * @param v The attach
@@ -3596,7 +3568,7 @@ export interface Property {
3596
3568
  * Sets the attendee for the #ICalProperty.
3597
3569
  * @param v The attendee
3598
3570
  */
3599
- set_attendee(v: string | null): void
3571
+ set_attendee(v: string): void
3600
3572
  /**
3601
3573
  * Sets the busytype for the #ICalProperty.
3602
3574
  * @param v The busytype
@@ -3606,27 +3578,27 @@ export interface Property {
3606
3578
  * Sets the calid for the #ICalProperty.
3607
3579
  * @param v The calid
3608
3580
  */
3609
- set_calid(v: string | null): void
3581
+ set_calid(v: string): void
3610
3582
  /**
3611
3583
  * Sets the calmaster for the #ICalProperty.
3612
3584
  * @param v The calmaster
3613
3585
  */
3614
- set_calmaster(v: string | null): void
3586
+ set_calmaster(v: string): void
3615
3587
  /**
3616
3588
  * Sets the calscale for the #ICalProperty.
3617
3589
  * @param v The calscale
3618
3590
  */
3619
- set_calscale(v: string | null): void
3591
+ set_calscale(v: string): void
3620
3592
  /**
3621
3593
  * Sets the capversion for the #ICalProperty.
3622
3594
  * @param v The capversion
3623
3595
  */
3624
- set_capversion(v: string | null): void
3596
+ set_capversion(v: string): void
3625
3597
  /**
3626
3598
  * Sets the carid for the #ICalProperty.
3627
3599
  * @param v The carid
3628
3600
  */
3629
- set_carid(v: string | null): void
3601
+ set_carid(v: string): void
3630
3602
  /**
3631
3603
  * Sets the carlevel for the #ICalProperty.
3632
3604
  * @param v The carlevel
@@ -3636,7 +3608,7 @@ export interface Property {
3636
3608
  * Sets the categories for the #ICalProperty.
3637
3609
  * @param v The categories
3638
3610
  */
3639
- set_categories(v: string | null): void
3611
+ set_categories(v: string): void
3640
3612
  /**
3641
3613
  * Sets the class for the #ICalProperty.
3642
3614
  * @param v The class
@@ -3651,12 +3623,12 @@ export interface Property {
3651
3623
  * Sets the color for the `prop`.
3652
3624
  * @param v The color
3653
3625
  */
3654
- set_color(v: string | null): void
3626
+ set_color(v: string): void
3655
3627
  /**
3656
3628
  * Sets the comment for the #ICalProperty.
3657
3629
  * @param v The comment
3658
3630
  */
3659
- set_comment(v: string | null): void
3631
+ set_comment(v: string): void
3660
3632
  /**
3661
3633
  * Sets the completed time for the #ICalProperty.
3662
3634
  * @param v The completed time
@@ -3666,12 +3638,12 @@ export interface Property {
3666
3638
  * Sets the components for the #ICalProperty.
3667
3639
  * @param v The components
3668
3640
  */
3669
- set_components(v: string | null): void
3641
+ set_components(v: string): void
3670
3642
  /**
3671
3643
  * Sets the contact for the #ICalProperty.
3672
3644
  * @param v The contact
3673
3645
  */
3674
- set_contact(v: string | null): void
3646
+ set_contact(v: string): void
3675
3647
  /**
3676
3648
  * Sets the created time for the #ICalProperty.
3677
3649
  * @param v The created time
@@ -3681,7 +3653,7 @@ export interface Property {
3681
3653
  * Sets the csid for the #ICalProperty.
3682
3654
  * @param v The csid
3683
3655
  */
3684
- set_csid(v: string | null): void
3656
+ set_csid(v: string): void
3685
3657
  /**
3686
3658
  * Sets the datemax time for the #ICalProperty.
3687
3659
  * @param v The datemax time
@@ -3696,37 +3668,37 @@ export interface Property {
3696
3668
  * Sets the decreed for the #ICalProperty.
3697
3669
  * @param v The decreed
3698
3670
  */
3699
- set_decreed(v: string | null): void
3671
+ set_decreed(v: string): void
3700
3672
  /**
3701
3673
  * Sets the defaultcharset for the #ICalProperty.
3702
3674
  * @param v The defaultcharset
3703
3675
  */
3704
- set_defaultcharset(v: string | null): void
3676
+ set_defaultcharset(v: string): void
3705
3677
  /**
3706
3678
  * Sets the defaultlocale for the #ICalProperty.
3707
3679
  * @param v The defaultlocale
3708
3680
  */
3709
- set_defaultlocale(v: string | null): void
3681
+ set_defaultlocale(v: string): void
3710
3682
  /**
3711
3683
  * Sets the defaulttzid for the #ICalProperty.
3712
3684
  * @param v The defaulttzid
3713
3685
  */
3714
- set_defaulttzid(v: string | null): void
3686
+ set_defaulttzid(v: string): void
3715
3687
  /**
3716
3688
  * Sets the defaultvcars for the #ICalProperty.
3717
3689
  * @param v The defaultvcars
3718
3690
  */
3719
- set_defaultvcars(v: string | null): void
3691
+ set_defaultvcars(v: string): void
3720
3692
  /**
3721
3693
  * Sets the deny for the #ICalProperty.
3722
3694
  * @param v The deny
3723
3695
  */
3724
- set_deny(v: string | null): void
3696
+ set_deny(v: string): void
3725
3697
  /**
3726
3698
  * Sets the description for the #ICalProperty.
3727
3699
  * @param v The description
3728
3700
  */
3729
- set_description(v: string | null): void
3701
+ set_description(v: string): void
3730
3702
  /**
3731
3703
  * Sets the dtend time for the #ICalProperty.
3732
3704
  * @param v The dtend time
@@ -3786,12 +3758,12 @@ export interface Property {
3786
3758
  * Sets the grant for the #ICalProperty.
3787
3759
  * @param v The grant
3788
3760
  */
3789
- set_grant(v: string | null): void
3761
+ set_grant(v: string): void
3790
3762
  /**
3791
3763
  * Sets the itipversion for the #ICalProperty.
3792
3764
  * @param v The itipversion
3793
3765
  */
3794
- set_itipversion(v: string | null): void
3766
+ set_itipversion(v: string): void
3795
3767
  /**
3796
3768
  * Sets the lastmodified time for the #ICalProperty.
3797
3769
  * @param v The lastmodified time
@@ -3801,7 +3773,7 @@ export interface Property {
3801
3773
  * Sets the location for the #ICalProperty.
3802
3774
  * @param v The location
3803
3775
  */
3804
- set_location(v: string | null): void
3776
+ set_location(v: string): void
3805
3777
  /**
3806
3778
  * Sets the maxcomponentsize for the #ICalProperty.
3807
3779
  * @param v The maxcomponentsize
@@ -3836,22 +3808,22 @@ export interface Property {
3836
3808
  * Sets the multipart for the #ICalProperty.
3837
3809
  * @param v The multipart
3838
3810
  */
3839
- set_multipart(v: string | null): void
3811
+ set_multipart(v: string): void
3840
3812
  /**
3841
3813
  * Sets the name for the #ICalProperty.
3842
3814
  * @param v The name
3843
3815
  */
3844
- set_name(v: string | null): void
3816
+ set_name(v: string): void
3845
3817
  /**
3846
3818
  * Sets the organizer for the #ICalProperty.
3847
3819
  * @param v The organizer
3848
3820
  */
3849
- set_organizer(v: string | null): void
3821
+ set_organizer(v: string): void
3850
3822
  /**
3851
3823
  * Sets the owner for the #ICalProperty.
3852
3824
  * @param v The owner
3853
3825
  */
3854
- set_owner(v: string | null): void
3826
+ set_owner(v: string): void
3855
3827
 
3856
3828
  // Overloads of set_owner
3857
3829
 
@@ -3872,7 +3844,7 @@ export interface Property {
3872
3844
  * @param name The name of the parameter
3873
3845
  * @param value The value of the parameter
3874
3846
  */
3875
- set_parameter_from_string(name: string | null, value: string | null): void
3847
+ set_parameter_from_string(name: string, value: string): void
3876
3848
  /**
3877
3849
  * Sets the parent #ICalComponent of the specified #ICalProperty.
3878
3850
  * @param component An #ICalComponent
@@ -3887,7 +3859,7 @@ export interface Property {
3887
3859
  * Sets the permission for the #ICalProperty.
3888
3860
  * @param v The permission
3889
3861
  */
3890
- set_permission(v: string | null): void
3862
+ set_permission(v: string): void
3891
3863
  /**
3892
3864
  * Sets the pollcompletion for the #ICalProperty.
3893
3865
  * @param v The pollcompletion
@@ -3907,7 +3879,7 @@ export interface Property {
3907
3879
  * Sets the pollproperties for the #ICalProperty.
3908
3880
  * @param v The pollproperties
3909
3881
  */
3910
- set_pollproperties(v: string | null): void
3882
+ set_pollproperties(v: string): void
3911
3883
  /**
3912
3884
  * Sets the pollwinner for the #ICalProperty.
3913
3885
  * @param v The pollwinner
@@ -3922,17 +3894,17 @@ export interface Property {
3922
3894
  * Sets the prodid for the #ICalProperty.
3923
3895
  * @param v The prodid
3924
3896
  */
3925
- set_prodid(v: string | null): void
3897
+ set_prodid(v: string): void
3926
3898
  /**
3927
3899
  * Sets the query for the #ICalProperty.
3928
3900
  * @param v The query
3929
3901
  */
3930
- set_query(v: string | null): void
3902
+ set_query(v: string): void
3931
3903
  /**
3932
3904
  * Sets the queryid for the #ICalProperty.
3933
3905
  * @param v The queryid
3934
3906
  */
3935
- set_queryid(v: string | null): void
3907
+ set_queryid(v: string): void
3936
3908
  /**
3937
3909
  * Sets the querylevel for the #ICalProperty.
3938
3910
  * @param v The querylevel
@@ -3942,7 +3914,7 @@ export interface Property {
3942
3914
  * Sets the queryname for the #ICalProperty.
3943
3915
  * @param v The queryname
3944
3916
  */
3945
- set_queryname(v: string | null): void
3917
+ set_queryname(v: string): void
3946
3918
  /**
3947
3919
  * Sets the rdate for the #ICalProperty.
3948
3920
  * @param v The rdate
@@ -3952,17 +3924,17 @@ export interface Property {
3952
3924
  * Sets the recuraccepted for the #ICalProperty.
3953
3925
  * @param v The recuraccepted
3954
3926
  */
3955
- set_recuraccepted(v: string | null): void
3927
+ set_recuraccepted(v: string): void
3956
3928
  /**
3957
3929
  * Sets the recurexpand for the #ICalProperty.
3958
3930
  * @param v The recurexpand
3959
3931
  */
3960
- set_recurexpand(v: string | null): void
3932
+ set_recurexpand(v: string): void
3961
3933
  /**
3962
3934
  * Sets the recurlimit for the #ICalProperty.
3963
3935
  * @param v The recurlimit
3964
3936
  */
3965
- set_recurlimit(v: string | null): void
3937
+ set_recurlimit(v: string): void
3966
3938
  /**
3967
3939
  * Sets the recurrenceid time for the #ICalProperty.
3968
3940
  * @param v The recurrenceid time
@@ -3972,12 +3944,12 @@ export interface Property {
3972
3944
  * Sets the relatedto for the #ICalProperty.
3973
3945
  * @param v The relatedto
3974
3946
  */
3975
- set_relatedto(v: string | null): void
3947
+ set_relatedto(v: string): void
3976
3948
  /**
3977
3949
  * Sets the relcalid for the #ICalProperty.
3978
3950
  * @param v The relcalid
3979
3951
  */
3980
- set_relcalid(v: string | null): void
3952
+ set_relcalid(v: string): void
3981
3953
  /**
3982
3954
  * Sets the repeat for the #ICalProperty.
3983
3955
  * @param v The repeat
@@ -3987,7 +3959,7 @@ export interface Property {
3987
3959
  * Sets the replyurl for the #ICalProperty.
3988
3960
  * @param v The replyurl
3989
3961
  */
3990
- set_replyurl(v: string | null): void
3962
+ set_replyurl(v: string): void
3991
3963
  /**
3992
3964
  * Sets the requeststatus for the #ICalProperty.
3993
3965
  * @param v The requeststatus
@@ -3997,7 +3969,7 @@ export interface Property {
3997
3969
  * Sets the resources for the #ICalProperty.
3998
3970
  * @param v The resources
3999
3971
  */
4000
- set_resources(v: string | null): void
3972
+ set_resources(v: string): void
4001
3973
  /**
4002
3974
  * Sets the response for the #ICalProperty.
4003
3975
  * @param v The response
@@ -4007,7 +3979,7 @@ export interface Property {
4007
3979
  * Sets the restriction for the #ICalProperty.
4008
3980
  * @param v The restriction
4009
3981
  */
4010
- set_restriction(v: string | null): void
3982
+ set_restriction(v: string): void
4011
3983
  /**
4012
3984
  * Sets the rrule for the #ICalProperty.
4013
3985
  * @param v The rrule recurrence type
@@ -4017,7 +3989,7 @@ export interface Property {
4017
3989
  * Sets the scope for the #ICalProperty.
4018
3990
  * @param v The scope
4019
3991
  */
4020
- set_scope(v: string | null): void
3992
+ set_scope(v: string): void
4021
3993
  /**
4022
3994
  * Sets the sequence for the #ICalProperty.
4023
3995
  * @param v The sequence
@@ -4032,17 +4004,17 @@ export interface Property {
4032
4004
  * Sets the storesexpanded for the #ICalProperty.
4033
4005
  * @param v The storesexpanded
4034
4006
  */
4035
- set_storesexpanded(v: string | null): void
4007
+ set_storesexpanded(v: string): void
4036
4008
  /**
4037
4009
  * Sets the summary for the #ICalProperty.
4038
4010
  * @param v The summary
4039
4011
  */
4040
- set_summary(v: string | null): void
4012
+ set_summary(v: string): void
4041
4013
  /**
4042
4014
  * Sets the target for the #ICalProperty.
4043
4015
  * @param v The target
4044
4016
  */
4045
- set_target(v: string | null): void
4017
+ set_target(v: string): void
4046
4018
  /**
4047
4019
  * Sets the taskmode for the #ICalProperty.
4048
4020
  * @param v The taskmode
@@ -4062,17 +4034,17 @@ export interface Property {
4062
4034
  * Sets the tzid for the #ICalProperty.
4063
4035
  * @param v The tzid
4064
4036
  */
4065
- set_tzid(v: string | null): void
4037
+ set_tzid(v: string): void
4066
4038
  /**
4067
4039
  * Sets the tzidaliasof for the #ICalProperty.
4068
4040
  * @param v The tzidaliasof
4069
4041
  */
4070
- set_tzidaliasof(v: string | null): void
4042
+ set_tzidaliasof(v: string): void
4071
4043
  /**
4072
4044
  * Sets the tzname for the #ICalProperty.
4073
4045
  * @param v The tzname
4074
4046
  */
4075
- set_tzname(v: string | null): void
4047
+ set_tzname(v: string): void
4076
4048
  /**
4077
4049
  * Sets the tzoffsetfrom for the #ICalProperty.
4078
4050
  * @param v The tzoffsetfrom
@@ -4092,17 +4064,17 @@ export interface Property {
4092
4064
  * Sets the tzurl for the #ICalProperty.
4093
4065
  * @param v The tzurl
4094
4066
  */
4095
- set_tzurl(v: string | null): void
4067
+ set_tzurl(v: string): void
4096
4068
  /**
4097
4069
  * Sets the uid for the #ICalProperty.
4098
4070
  * @param v The uid
4099
4071
  */
4100
- set_uid(v: string | null): void
4072
+ set_uid(v: string): void
4101
4073
  /**
4102
4074
  * Sets the url for the #ICalProperty.
4103
4075
  * @param v The url
4104
4076
  */
4105
- set_url(v: string | null): void
4077
+ set_url(v: string): void
4106
4078
  /**
4107
4079
  * Sets the #ICalProperty with the #ICalValue.
4108
4080
  * @param value The #ICalValue will be set as the property of `prop`
@@ -4113,27 +4085,27 @@ export interface Property {
4113
4085
  * @param value The value used to construct the #ICalValue
4114
4086
  * @param kind The kind used to construct the #ICalValue
4115
4087
  */
4116
- set_value_from_string(value: string | null, kind: string | null): void
4088
+ set_value_from_string(value: string, kind: string): void
4117
4089
  /**
4118
4090
  * Sets the version for the #ICalProperty.
4119
4091
  * @param v The version
4120
4092
  */
4121
- set_version(v: string | null): void
4093
+ set_version(v: string): void
4122
4094
  /**
4123
4095
  * Sets the voter for the #ICalProperty.
4124
4096
  * @param v The voter
4125
4097
  */
4126
- set_voter(v: string | null): void
4098
+ set_voter(v: string): void
4127
4099
  /**
4128
4100
  * Sets the x for the #ICalProperty.
4129
4101
  * @param v The x
4130
4102
  */
4131
- set_x(v: string | null): void
4103
+ set_x(v: string): void
4132
4104
  /**
4133
4105
  * Sets the name of x property for the #ICalProperty.
4134
4106
  * @param name The name string
4135
4107
  */
4136
- set_x_name(name: string | null): void
4108
+ set_x_name(name: string): void
4137
4109
  /**
4138
4110
  * Sets the xlicclass for the #ICalProperty.
4139
4111
  * @param v The xlicclass
@@ -4143,42 +4115,42 @@ export interface Property {
4143
4115
  * Sets the xlicclustercount for the #ICalProperty.
4144
4116
  * @param v The xlicclustercount
4145
4117
  */
4146
- set_xlicclustercount(v: string | null): void
4118
+ set_xlicclustercount(v: string): void
4147
4119
  /**
4148
4120
  * Sets the xlicerror for the #ICalProperty.
4149
4121
  * @param v The xlicerror
4150
4122
  */
4151
- set_xlicerror(v: string | null): void
4123
+ set_xlicerror(v: string): void
4152
4124
  /**
4153
4125
  * Sets the xlicmimecharset for the #ICalProperty.
4154
4126
  * @param v The xlicmimecharset
4155
4127
  */
4156
- set_xlicmimecharset(v: string | null): void
4128
+ set_xlicmimecharset(v: string): void
4157
4129
  /**
4158
4130
  * Sets the xlicmimecid for the #ICalProperty.
4159
4131
  * @param v The xlicmimecid
4160
4132
  */
4161
- set_xlicmimecid(v: string | null): void
4133
+ set_xlicmimecid(v: string): void
4162
4134
  /**
4163
4135
  * Sets the xlicmimecontenttype for the #ICalProperty.
4164
4136
  * @param v The xlicmimecontenttype
4165
4137
  */
4166
- set_xlicmimecontenttype(v: string | null): void
4138
+ set_xlicmimecontenttype(v: string): void
4167
4139
  /**
4168
4140
  * Sets the xlicmimeencoding for the #ICalProperty.
4169
4141
  * @param v The xlicmimeencoding
4170
4142
  */
4171
- set_xlicmimeencoding(v: string | null): void
4143
+ set_xlicmimeencoding(v: string): void
4172
4144
  /**
4173
4145
  * Sets the xlicmimefilename for the #ICalProperty.
4174
4146
  * @param v The xlicmimefilename
4175
4147
  */
4176
- set_xlicmimefilename(v: string | null): void
4148
+ set_xlicmimefilename(v: string): void
4177
4149
  /**
4178
4150
  * Sets the xlicmimeoptinfo for the #ICalProperty.
4179
4151
  * @param v The xlicmimeoptinfo
4180
4152
  */
4181
- set_xlicmimeoptinfo(v: string | null): void
4153
+ set_xlicmimeoptinfo(v: string): void
4182
4154
 
4183
4155
  // Class property signals of ICalGLib-3.0.ICalGLib.Property
4184
4156
 
@@ -4237,7 +4209,7 @@ export class Property extends Object {
4237
4209
  * @param v The acceptresponse
4238
4210
  * @returns The newly created #ICalProperty
4239
4211
  */
4240
- static new_acceptresponse(v: string | null): Property
4212
+ static new_acceptresponse(v: string): Property
4241
4213
  /**
4242
4214
  * Creates a new #ICalProperty.
4243
4215
  * @constructor
@@ -4258,7 +4230,7 @@ export class Property extends Object {
4258
4230
  * @param v The allowconflict
4259
4231
  * @returns The newly created #ICalProperty
4260
4232
  */
4261
- static new_allowconflict(v: string | null): Property
4233
+ static new_allowconflict(v: string): Property
4262
4234
  /**
4263
4235
  * Creates a new #ICalProperty.
4264
4236
  * @constructor
@@ -4272,7 +4244,7 @@ export class Property extends Object {
4272
4244
  * @param v The attendee
4273
4245
  * @returns The newly created #ICalProperty
4274
4246
  */
4275
- static new_attendee(v: string | null): Property
4247
+ static new_attendee(v: string): Property
4276
4248
  /**
4277
4249
  * Creates a new #ICalProperty.
4278
4250
  * @constructor
@@ -4286,35 +4258,35 @@ export class Property extends Object {
4286
4258
  * @param v The calid
4287
4259
  * @returns The newly created #ICalProperty
4288
4260
  */
4289
- static new_calid(v: string | null): Property
4261
+ static new_calid(v: string): Property
4290
4262
  /**
4291
4263
  * Creates a new #ICalProperty.
4292
4264
  * @constructor
4293
4265
  * @param v The calmaster
4294
4266
  * @returns The newly created #ICalProperty
4295
4267
  */
4296
- static new_calmaster(v: string | null): Property
4268
+ static new_calmaster(v: string): Property
4297
4269
  /**
4298
4270
  * Creates a new #ICalProperty.
4299
4271
  * @constructor
4300
4272
  * @param v The calscale
4301
4273
  * @returns The newly created #ICalProperty
4302
4274
  */
4303
- static new_calscale(v: string | null): Property
4275
+ static new_calscale(v: string): Property
4304
4276
  /**
4305
4277
  * Creates a new #ICalProperty.
4306
4278
  * @constructor
4307
4279
  * @param v The capversion
4308
4280
  * @returns The newly created #ICalProperty
4309
4281
  */
4310
- static new_capversion(v: string | null): Property
4282
+ static new_capversion(v: string): Property
4311
4283
  /**
4312
4284
  * Creates a new #ICalProperty.
4313
4285
  * @constructor
4314
4286
  * @param v The carid
4315
4287
  * @returns The newly created #ICalProperty
4316
4288
  */
4317
- static new_carid(v: string | null): Property
4289
+ static new_carid(v: string): Property
4318
4290
  /**
4319
4291
  * Creates a new #ICalProperty.
4320
4292
  * @constructor
@@ -4328,7 +4300,7 @@ export class Property extends Object {
4328
4300
  * @param v The categories
4329
4301
  * @returns The newly created #ICalProperty
4330
4302
  */
4331
- static new_categories(v: string | null): Property
4303
+ static new_categories(v: string): Property
4332
4304
  /**
4333
4305
  * Creates a new #ICalProperty.
4334
4306
  * @constructor
@@ -4349,14 +4321,14 @@ export class Property extends Object {
4349
4321
  * @param v The color
4350
4322
  * @returns The newly created #ICalProperty
4351
4323
  */
4352
- static new_color(v: string | null): Property
4324
+ static new_color(v: string): Property
4353
4325
  /**
4354
4326
  * Creates a new #ICalProperty.
4355
4327
  * @constructor
4356
4328
  * @param v The comment
4357
4329
  * @returns The newly created #ICalProperty
4358
4330
  */
4359
- static new_comment(v: string | null): Property
4331
+ static new_comment(v: string): Property
4360
4332
  /**
4361
4333
  * Creates a new #ICalProperty.
4362
4334
  * @constructor
@@ -4370,14 +4342,14 @@ export class Property extends Object {
4370
4342
  * @param v The components
4371
4343
  * @returns The newly created #ICalProperty
4372
4344
  */
4373
- static new_components(v: string | null): Property
4345
+ static new_components(v: string): Property
4374
4346
  /**
4375
4347
  * Creates a new #ICalProperty.
4376
4348
  * @constructor
4377
4349
  * @param v The contact
4378
4350
  * @returns The newly created #ICalProperty
4379
4351
  */
4380
- static new_contact(v: string | null): Property
4352
+ static new_contact(v: string): Property
4381
4353
  /**
4382
4354
  * Creates a new #ICalProperty.
4383
4355
  * @constructor
@@ -4391,7 +4363,7 @@ export class Property extends Object {
4391
4363
  * @param v The csid
4392
4364
  * @returns The newly created #ICalProperty
4393
4365
  */
4394
- static new_csid(v: string | null): Property
4366
+ static new_csid(v: string): Property
4395
4367
  /**
4396
4368
  * Creates a new #ICalProperty.
4397
4369
  * @constructor
@@ -4412,49 +4384,49 @@ export class Property extends Object {
4412
4384
  * @param v The decreed
4413
4385
  * @returns The newly created #ICalProperty
4414
4386
  */
4415
- static new_decreed(v: string | null): Property
4387
+ static new_decreed(v: string): Property
4416
4388
  /**
4417
4389
  * Creates a new #ICalProperty.
4418
4390
  * @constructor
4419
4391
  * @param v The defaultcharset
4420
4392
  * @returns The newly created #ICalProperty
4421
4393
  */
4422
- static new_defaultcharset(v: string | null): Property
4394
+ static new_defaultcharset(v: string): Property
4423
4395
  /**
4424
4396
  * Creates a new #ICalProperty.
4425
4397
  * @constructor
4426
4398
  * @param v The defaultlocale
4427
4399
  * @returns The newly created #ICalProperty
4428
4400
  */
4429
- static new_defaultlocale(v: string | null): Property
4401
+ static new_defaultlocale(v: string): Property
4430
4402
  /**
4431
4403
  * Creates a new #ICalProperty.
4432
4404
  * @constructor
4433
4405
  * @param v The defaulttzid
4434
4406
  * @returns The newly created #ICalProperty
4435
4407
  */
4436
- static new_defaulttzid(v: string | null): Property
4408
+ static new_defaulttzid(v: string): Property
4437
4409
  /**
4438
4410
  * Creates a new #ICalProperty.
4439
4411
  * @constructor
4440
4412
  * @param v The defaultvcars
4441
4413
  * @returns The newly created #ICalProperty
4442
4414
  */
4443
- static new_defaultvcars(v: string | null): Property
4415
+ static new_defaultvcars(v: string): Property
4444
4416
  /**
4445
4417
  * Creates a new #ICalProperty.
4446
4418
  * @constructor
4447
4419
  * @param v The deny
4448
4420
  * @returns The newly created #ICalProperty
4449
4421
  */
4450
- static new_deny(v: string | null): Property
4422
+ static new_deny(v: string): Property
4451
4423
  /**
4452
4424
  * Creates a new #ICalProperty.
4453
4425
  * @constructor
4454
4426
  * @param v The description
4455
4427
  * @returns The newly created #ICalProperty
4456
4428
  */
4457
- static new_description(v: string | null): Property
4429
+ static new_description(v: string): Property
4458
4430
  /**
4459
4431
  * Creates a new #ICalProperty.
4460
4432
  * @constructor
@@ -4531,7 +4503,7 @@ export class Property extends Object {
4531
4503
  * @param str The string used to construct a #ICalProperty
4532
4504
  * @returns The newly created #ICalProperty from @str.
4533
4505
  */
4534
- static new_from_string(str: string | null): Property
4506
+ static new_from_string(str: string): Property
4535
4507
  /**
4536
4508
  * Creates a new #ICalProperty.
4537
4509
  * @constructor
@@ -4545,14 +4517,14 @@ export class Property extends Object {
4545
4517
  * @param v The grant
4546
4518
  * @returns The newly created #ICalProperty
4547
4519
  */
4548
- static new_grant(v: string | null): Property
4520
+ static new_grant(v: string): Property
4549
4521
  /**
4550
4522
  * Creates a new #ICalProperty.
4551
4523
  * @constructor
4552
4524
  * @param v The itipversion
4553
4525
  * @returns The newly created #ICalProperty
4554
4526
  */
4555
- static new_itipversion(v: string | null): Property
4527
+ static new_itipversion(v: string): Property
4556
4528
  /**
4557
4529
  * Creates a new #ICalProperty.
4558
4530
  * @constructor
@@ -4566,7 +4538,7 @@ export class Property extends Object {
4566
4538
  * @param v The location
4567
4539
  * @returns The newly created #ICalProperty
4568
4540
  */
4569
- static new_location(v: string | null): Property
4541
+ static new_location(v: string): Property
4570
4542
  /**
4571
4543
  * Creates a new #ICalProperty.
4572
4544
  * @constructor
@@ -4615,28 +4587,28 @@ export class Property extends Object {
4615
4587
  * @param v The multipart
4616
4588
  * @returns The newly created #ICalProperty
4617
4589
  */
4618
- static new_multipart(v: string | null): Property
4590
+ static new_multipart(v: string): Property
4619
4591
  /**
4620
4592
  * Creates a new #ICalProperty.
4621
4593
  * @constructor
4622
4594
  * @param v The name
4623
4595
  * @returns The newly created #ICalProperty
4624
4596
  */
4625
- static new_name(v: string | null): Property
4597
+ static new_name(v: string): Property
4626
4598
  /**
4627
4599
  * Creates a new #ICalProperty.
4628
4600
  * @constructor
4629
4601
  * @param v The organizer
4630
4602
  * @returns The newly created #ICalProperty
4631
4603
  */
4632
- static new_organizer(v: string | null): Property
4604
+ static new_organizer(v: string): Property
4633
4605
  /**
4634
4606
  * Creates a new #ICalProperty.
4635
4607
  * @constructor
4636
4608
  * @param v The owner
4637
4609
  * @returns The newly created #ICalProperty
4638
4610
  */
4639
- static new_owner(v: string | null): Property
4611
+ static new_owner(v: string): Property
4640
4612
  /**
4641
4613
  * Creates a new #ICalProperty.
4642
4614
  * @constructor
@@ -4650,7 +4622,7 @@ export class Property extends Object {
4650
4622
  * @param v The permission
4651
4623
  * @returns The newly created #ICalProperty
4652
4624
  */
4653
- static new_permission(v: string | null): Property
4625
+ static new_permission(v: string): Property
4654
4626
  /**
4655
4627
  * Creates a new #ICalProperty.
4656
4628
  * @constructor
@@ -4678,7 +4650,7 @@ export class Property extends Object {
4678
4650
  * @param v The pollproperties
4679
4651
  * @returns The newly created #ICalProperty
4680
4652
  */
4681
- static new_pollproperties(v: string | null): Property
4653
+ static new_pollproperties(v: string): Property
4682
4654
  /**
4683
4655
  * Creates a new #ICalProperty.
4684
4656
  * @constructor
@@ -4699,21 +4671,21 @@ export class Property extends Object {
4699
4671
  * @param v The prodid
4700
4672
  * @returns The newly created #ICalProperty
4701
4673
  */
4702
- static new_prodid(v: string | null): Property
4674
+ static new_prodid(v: string): Property
4703
4675
  /**
4704
4676
  * Creates a new #ICalProperty.
4705
4677
  * @constructor
4706
4678
  * @param v The query
4707
4679
  * @returns The newly created #ICalProperty
4708
4680
  */
4709
- static new_query(v: string | null): Property
4681
+ static new_query(v: string): Property
4710
4682
  /**
4711
4683
  * Creates a new #ICalProperty.
4712
4684
  * @constructor
4713
4685
  * @param v The queryid
4714
4686
  * @returns The newly created #ICalProperty
4715
4687
  */
4716
- static new_queryid(v: string | null): Property
4688
+ static new_queryid(v: string): Property
4717
4689
  /**
4718
4690
  * Creates a new #ICalProperty.
4719
4691
  * @constructor
@@ -4727,7 +4699,7 @@ export class Property extends Object {
4727
4699
  * @param v The queryname
4728
4700
  * @returns The newly created #ICalProperty
4729
4701
  */
4730
- static new_queryname(v: string | null): Property
4702
+ static new_queryname(v: string): Property
4731
4703
  /**
4732
4704
  * Creates a new #ICalProperty.
4733
4705
  * @constructor
@@ -4741,21 +4713,21 @@ export class Property extends Object {
4741
4713
  * @param v The recuraccepted
4742
4714
  * @returns The newly created #ICalProperty
4743
4715
  */
4744
- static new_recuraccepted(v: string | null): Property
4716
+ static new_recuraccepted(v: string): Property
4745
4717
  /**
4746
4718
  * Creates a new #ICalProperty.
4747
4719
  * @constructor
4748
4720
  * @param v The recurexpand
4749
4721
  * @returns The newly created #ICalProperty
4750
4722
  */
4751
- static new_recurexpand(v: string | null): Property
4723
+ static new_recurexpand(v: string): Property
4752
4724
  /**
4753
4725
  * Creates a new #ICalProperty.
4754
4726
  * @constructor
4755
4727
  * @param v The recurlimit
4756
4728
  * @returns The newly created #ICalProperty
4757
4729
  */
4758
- static new_recurlimit(v: string | null): Property
4730
+ static new_recurlimit(v: string): Property
4759
4731
  /**
4760
4732
  * Creates a new #ICalProperty.
4761
4733
  * @constructor
@@ -4769,14 +4741,14 @@ export class Property extends Object {
4769
4741
  * @param v The relatedto
4770
4742
  * @returns The newly created #ICalProperty
4771
4743
  */
4772
- static new_relatedto(v: string | null): Property
4744
+ static new_relatedto(v: string): Property
4773
4745
  /**
4774
4746
  * Creates a new #ICalProperty.
4775
4747
  * @constructor
4776
4748
  * @param v The relcalid
4777
4749
  * @returns The newly created #ICalProperty
4778
4750
  */
4779
- static new_relcalid(v: string | null): Property
4751
+ static new_relcalid(v: string): Property
4780
4752
  /**
4781
4753
  * Creates a new #ICalProperty.
4782
4754
  * @constructor
@@ -4790,7 +4762,7 @@ export class Property extends Object {
4790
4762
  * @param v The replyurl
4791
4763
  * @returns The newly created #ICalProperty
4792
4764
  */
4793
- static new_replyurl(v: string | null): Property
4765
+ static new_replyurl(v: string): Property
4794
4766
  /**
4795
4767
  * Creates a new #ICalProperty.
4796
4768
  * @constructor
@@ -4804,7 +4776,7 @@ export class Property extends Object {
4804
4776
  * @param v The resources
4805
4777
  * @returns The newly created #ICalProperty
4806
4778
  */
4807
- static new_resources(v: string | null): Property
4779
+ static new_resources(v: string): Property
4808
4780
  /**
4809
4781
  * Creates a new #ICalProperty.
4810
4782
  * @constructor
@@ -4818,7 +4790,7 @@ export class Property extends Object {
4818
4790
  * @param v The restriction
4819
4791
  * @returns The newly created #ICalProperty
4820
4792
  */
4821
- static new_restriction(v: string | null): Property
4793
+ static new_restriction(v: string): Property
4822
4794
  /**
4823
4795
  * Creates a new #ICalProperty.
4824
4796
  * @constructor
@@ -4832,7 +4804,7 @@ export class Property extends Object {
4832
4804
  * @param v The scope
4833
4805
  * @returns The newly created #ICalProperty
4834
4806
  */
4835
- static new_scope(v: string | null): Property
4807
+ static new_scope(v: string): Property
4836
4808
  /**
4837
4809
  * Creates a new #ICalProperty.
4838
4810
  * @constructor
@@ -4853,21 +4825,21 @@ export class Property extends Object {
4853
4825
  * @param v The storesexpanded
4854
4826
  * @returns The newly created #ICalProperty
4855
4827
  */
4856
- static new_storesexpanded(v: string | null): Property
4828
+ static new_storesexpanded(v: string): Property
4857
4829
  /**
4858
4830
  * Creates a new #ICalProperty.
4859
4831
  * @constructor
4860
4832
  * @param v The summary
4861
4833
  * @returns The newly created #ICalProperty
4862
4834
  */
4863
- static new_summary(v: string | null): Property
4835
+ static new_summary(v: string): Property
4864
4836
  /**
4865
4837
  * Creates a new #ICalProperty.
4866
4838
  * @constructor
4867
4839
  * @param v The target
4868
4840
  * @returns The newly created #ICalProperty
4869
4841
  */
4870
- static new_target(v: string | null): Property
4842
+ static new_target(v: string): Property
4871
4843
  /**
4872
4844
  * Creates a new #ICalProperty.
4873
4845
  * @constructor
@@ -4895,21 +4867,21 @@ export class Property extends Object {
4895
4867
  * @param v The tzid
4896
4868
  * @returns The newly created #ICalProperty
4897
4869
  */
4898
- static new_tzid(v: string | null): Property
4870
+ static new_tzid(v: string): Property
4899
4871
  /**
4900
4872
  * Creates a new #ICalProperty.
4901
4873
  * @constructor
4902
4874
  * @param v The tzidaliasof
4903
4875
  * @returns The newly created #ICalProperty
4904
4876
  */
4905
- static new_tzidaliasof(v: string | null): Property
4877
+ static new_tzidaliasof(v: string): Property
4906
4878
  /**
4907
4879
  * Creates a new #ICalProperty.
4908
4880
  * @constructor
4909
4881
  * @param v The tzname
4910
4882
  * @returns The newly created #ICalProperty
4911
4883
  */
4912
- static new_tzname(v: string | null): Property
4884
+ static new_tzname(v: string): Property
4913
4885
  /**
4914
4886
  * Creates a new #ICalProperty.
4915
4887
  * @constructor
@@ -4937,42 +4909,42 @@ export class Property extends Object {
4937
4909
  * @param v The tzurl
4938
4910
  * @returns The newly created #ICalProperty
4939
4911
  */
4940
- static new_tzurl(v: string | null): Property
4912
+ static new_tzurl(v: string): Property
4941
4913
  /**
4942
4914
  * Creates a new #ICalProperty.
4943
4915
  * @constructor
4944
4916
  * @param v The uid
4945
4917
  * @returns The newly created #ICalProperty
4946
4918
  */
4947
- static new_uid(v: string | null): Property
4919
+ static new_uid(v: string): Property
4948
4920
  /**
4949
4921
  * Creates a new #ICalProperty.
4950
4922
  * @constructor
4951
4923
  * @param v The url
4952
4924
  * @returns The newly created #ICalProperty
4953
4925
  */
4954
- static new_url(v: string | null): Property
4926
+ static new_url(v: string): Property
4955
4927
  /**
4956
4928
  * Creates a new #ICalProperty.
4957
4929
  * @constructor
4958
4930
  * @param v The version
4959
4931
  * @returns The newly created #ICalProperty
4960
4932
  */
4961
- static new_version(v: string | null): Property
4933
+ static new_version(v: string): Property
4962
4934
  /**
4963
4935
  * Creates a new #ICalProperty.
4964
4936
  * @constructor
4965
4937
  * @param v The voter
4966
4938
  * @returns The newly created #ICalProperty
4967
4939
  */
4968
- static new_voter(v: string | null): Property
4940
+ static new_voter(v: string): Property
4969
4941
  /**
4970
4942
  * Creates a new #ICalProperty.
4971
4943
  * @constructor
4972
4944
  * @param v The x
4973
4945
  * @returns The newly created #ICalProperty
4974
4946
  */
4975
- static new_x(v: string | null): Property
4947
+ static new_x(v: string): Property
4976
4948
  /**
4977
4949
  * Creates a new #ICalProperty.
4978
4950
  * @constructor
@@ -4986,56 +4958,56 @@ export class Property extends Object {
4986
4958
  * @param v The xlicclustercount
4987
4959
  * @returns The newly created #ICalProperty
4988
4960
  */
4989
- static new_xlicclustercount(v: string | null): Property
4961
+ static new_xlicclustercount(v: string): Property
4990
4962
  /**
4991
4963
  * Creates a new #ICalProperty.
4992
4964
  * @constructor
4993
4965
  * @param v The xlicerror
4994
4966
  * @returns The newly created #ICalProperty
4995
4967
  */
4996
- static new_xlicerror(v: string | null): Property
4968
+ static new_xlicerror(v: string): Property
4997
4969
  /**
4998
4970
  * Creates a new #ICalProperty.
4999
4971
  * @constructor
5000
4972
  * @param v The xlicmimecharset
5001
4973
  * @returns The newly created #ICalProperty
5002
4974
  */
5003
- static new_xlicmimecharset(v: string | null): Property
4975
+ static new_xlicmimecharset(v: string): Property
5004
4976
  /**
5005
4977
  * Creates a new #ICalProperty.
5006
4978
  * @constructor
5007
4979
  * @param v The xlicmimecid
5008
4980
  * @returns The newly created #ICalProperty
5009
4981
  */
5010
- static new_xlicmimecid(v: string | null): Property
4982
+ static new_xlicmimecid(v: string): Property
5011
4983
  /**
5012
4984
  * Creates a new #ICalProperty.
5013
4985
  * @constructor
5014
4986
  * @param v The xlicmimecontenttype
5015
4987
  * @returns The newly created #ICalProperty
5016
4988
  */
5017
- static new_xlicmimecontenttype(v: string | null): Property
4989
+ static new_xlicmimecontenttype(v: string): Property
5018
4990
  /**
5019
4991
  * Creates a new #ICalProperty.
5020
4992
  * @constructor
5021
4993
  * @param v The xlicmimeencoding
5022
4994
  * @returns The newly created #ICalProperty
5023
4995
  */
5024
- static new_xlicmimeencoding(v: string | null): Property
4996
+ static new_xlicmimeencoding(v: string): Property
5025
4997
  /**
5026
4998
  * Creates a new #ICalProperty.
5027
4999
  * @constructor
5028
5000
  * @param v The xlicmimefilename
5029
5001
  * @returns The newly created #ICalProperty
5030
5002
  */
5031
- static new_xlicmimefilename(v: string | null): Property
5003
+ static new_xlicmimefilename(v: string): Property
5032
5004
  /**
5033
5005
  * Creates a new #ICalProperty.
5034
5006
  * @constructor
5035
5007
  * @param v The xlicmimeoptinfo
5036
5008
  * @returns The newly created #ICalProperty
5037
5009
  */
5038
- static new_xlicmimeoptinfo(v: string | null): Property
5010
+ static new_xlicmimeoptinfo(v: string): Property
5039
5011
  _init(config?: Property.ConstructorProperties): void
5040
5012
  /**
5041
5013
  * Converts the enum to string.
@@ -5049,13 +5021,13 @@ export class Property extends Object {
5049
5021
  * @param str A string
5050
5022
  * @returns The enum.
5051
5023
  */
5052
- static kind_and_string_to_enum(kind: number, str: string | null): number
5024
+ static kind_and_string_to_enum(kind: number, str: string): number
5053
5025
  /**
5054
5026
  * Converts the string to #ICalPropertyKind.
5055
5027
  * @param string A string representing #ICalPropertyKind
5056
5028
  * @returns The #ICalPropertyKind.
5057
5029
  */
5058
- static kind_from_string(string: string | null): PropertyKind
5030
+ static kind_from_string(string: string): PropertyKind
5059
5031
  /**
5060
5032
  * Checks whether the enum belongs to the #ICalPropertyKind.
5061
5033
  * @param kind A #ICalPropertyKind
@@ -5074,7 +5046,7 @@ export class Property extends Object {
5074
5046
  * @param kind A #ICalPropertyKind
5075
5047
  * @returns The string representation of @kind.
5076
5048
  */
5077
- static kind_to_string(kind: PropertyKind): string | null
5049
+ static kind_to_string(kind: PropertyKind): string
5078
5050
  /**
5079
5051
  * Converts the #ICalPropertyKind to #ICalValueKind.
5080
5052
  * @param kind A #ICalPropertyKind
@@ -5086,13 +5058,13 @@ export class Property extends Object {
5086
5058
  * @param str A string
5087
5059
  * @returns The #ICalPropertyMethod.
5088
5060
  */
5089
- static method_from_string(str: string | null): PropertyMethod
5061
+ static method_from_string(str: string): PropertyMethod
5090
5062
  /**
5091
5063
  * Converts the #ICalPropertyMethod to string.
5092
5064
  * @param method The #ICalPropertyMethod
5093
5065
  * @returns The string representation of #ICalPropertyMethod.
5094
5066
  */
5095
- static method_to_string(method: PropertyMethod): string | null
5067
+ static method_to_string(method: PropertyMethod): string
5096
5068
  /**
5097
5069
  * Decides if this recurrence is acceptable. This function decides if a specific recurrence value is excluded
5098
5070
  * by EXRULE or EXDATE properties.
@@ -5107,13 +5079,13 @@ export class Property extends Object {
5107
5079
  * @param str A string
5108
5080
  * @returns The #ICalPropertyStatus.
5109
5081
  */
5110
- static status_from_string(str: string | null): PropertyStatus
5082
+ static status_from_string(str: string): PropertyStatus
5111
5083
  /**
5112
5084
  * Converts the #ICalPropertyStatus to string.
5113
5085
  * @param method The #ICalPropertyStatus
5114
5086
  * @returns The string representation of #ICalPropertyStatus.
5115
5087
  */
5116
- static status_to_string(method: PropertyStatus): string | null
5088
+ static status_to_string(method: PropertyStatus): string
5117
5089
  }
5118
5090
 
5119
5091
  export module RecurIterator {
@@ -5534,7 +5506,7 @@ export class Recurrence extends Object {
5534
5506
  * @param str The string representation of the #ICalRecurrence
5535
5507
  * @returns The #ICalRecurrence converted from @str.
5536
5508
  */
5537
- static new_from_string(str: string | null): Recurrence
5509
+ static new_from_string(str: string): Recurrence
5538
5510
  _init(config?: Recurrence.ConstructorProperties): void
5539
5511
  /**
5540
5512
  * Decodes a day to a weekday in a week.
@@ -5553,13 +5525,13 @@ export class Recurrence extends Object {
5553
5525
  * @param str The string representation of the frequency
5554
5526
  * @returns The enum representation of the frequency.
5555
5527
  */
5556
- static frequency_from_string(str: string | null): RecurrenceFrequency
5528
+ static frequency_from_string(str: string): RecurrenceFrequency
5557
5529
  /**
5558
5530
  * Converts a enum representation to a string representation for the frequency.
5559
5531
  * @param kind The frequency enum
5560
5532
  * @returns The string representation of frequency
5561
5533
  */
5562
- static frequency_to_string(kind: RecurrenceFrequency): string | null
5534
+ static frequency_to_string(kind: RecurrenceFrequency): string
5563
5535
  /**
5564
5536
  * Decodes a month and check whether it is a leap month.
5565
5537
  * @param month The month to be decoded
@@ -5582,25 +5554,25 @@ export class Recurrence extends Object {
5582
5554
  * @param str The string representation of the skip
5583
5555
  * @returns The enum representation of the skip.
5584
5556
  */
5585
- static skip_from_string(str: string | null): RecurrenceSkip
5557
+ static skip_from_string(str: string): RecurrenceSkip
5586
5558
  /**
5587
5559
  * Converts a enum representation to a string representation for the skip.
5588
5560
  * @param kind The frequency enum
5589
5561
  * @returns The string representation of skip
5590
5562
  */
5591
- static skip_to_string(kind: RecurrenceSkip): string | null
5563
+ static skip_to_string(kind: RecurrenceSkip): string
5592
5564
  /**
5593
5565
  * Converts a string representation to an enum representation for the weekday.
5594
5566
  * @param str The string representation of the weekday
5595
5567
  * @returns The enum representation of the weekday.
5596
5568
  */
5597
- static weekday_from_string(str: string | null): RecurrenceWeekday
5569
+ static weekday_from_string(str: string): RecurrenceWeekday
5598
5570
  /**
5599
5571
  * Converts a enum representation to a string representation for the weekday.
5600
5572
  * @param kind The frequency enum
5601
5573
  * @returns The string representation of weekday
5602
5574
  */
5603
- static weekday_to_string(kind: RecurrenceWeekday): string | null
5575
+ static weekday_to_string(kind: RecurrenceWeekday): string
5604
5576
  }
5605
5577
 
5606
5578
  export module Reqstat {
@@ -5625,12 +5597,12 @@ export interface Reqstat {
5625
5597
  * Gets the debug of #ICalReqstat.
5626
5598
  * @returns The debug of @reqstat.
5627
5599
  */
5628
- get_debug(): string | null
5600
+ get_debug(): string
5629
5601
  /**
5630
5602
  * Gets the desc of #ICalReqstat.
5631
5603
  * @returns The desc of @reqstat.
5632
5604
  */
5633
- get_desc(): string | null
5605
+ get_desc(): string
5634
5606
  /**
5635
5607
  * Sets the code of #ICalReqstat.
5636
5608
  * @param code The code of `reqstat`
@@ -5685,7 +5657,7 @@ export class Reqstat extends Object {
5685
5657
  * @param str A string
5686
5658
  * @returns The newly created #ICalReqstat.
5687
5659
  */
5688
- static new_from_string(str: string | null): Reqstat
5660
+ static new_from_string(str: string): Reqstat
5689
5661
  _init(config?: Reqstat.ConstructorProperties): void
5690
5662
  }
5691
5663
 
@@ -6016,7 +5988,7 @@ export class Time extends Object {
6016
5988
  * @param str The ISO format string
6017
5989
  * @returns The newly created #ICalTime
6018
5990
  */
6019
- static new_from_string(str: string | null): Time
5991
+ static new_from_string(str: string): Time
6020
5992
  /**
6021
5993
  * Converts seconds past UNIX epoch to a timetype, using timezones.
6022
5994
  * @constructor
@@ -6235,7 +6207,7 @@ export interface Timezone {
6235
6207
  * Gets the display name of the `zone`.
6236
6208
  * @returns The display name of @zone
6237
6209
  */
6238
- get_display_name(): string | null
6210
+ get_display_name(): string
6239
6211
  /**
6240
6212
  * Returns the latitude of a builtin timezone.
6241
6213
  * @returns The latitude of the #ICalTimezone
@@ -6416,7 +6388,7 @@ export class Timezone extends Object {
6416
6388
  * Gets the directory to look for the zonefiles.
6417
6389
  * @returns The path to look for the zonefiles
6418
6390
  */
6419
- static get_zone_directory(): string | null
6391
+ static get_zone_directory(): string
6420
6392
  /**
6421
6393
  * Frees memory dedicated to the zonefile directory.
6422
6394
  */
@@ -6432,12 +6404,12 @@ export class Timezone extends Object {
6432
6404
  * Do not change or de-allocate the string buffer after calling this.
6433
6405
  * @param new_prefix The #ICalTimezone to be set
6434
6406
  */
6435
- static set_tzid_prefix(new_prefix: string | null): void
6407
+ static set_tzid_prefix(new_prefix: string): void
6436
6408
  /**
6437
6409
  * Sets the directory to look for the zonefiles.
6438
6410
  * @param path The path to look for the zonefiles
6439
6411
  */
6440
- static set_zone_directory(path: string | null): void
6412
+ static set_zone_directory(path: string): void
6441
6413
  }
6442
6414
 
6443
6415
  export module Trigger {
@@ -6534,7 +6506,7 @@ export class Trigger extends Object {
6534
6506
  * @param str A string
6535
6507
  * @returns The newly created #ICalTrigger.
6536
6508
  */
6537
- static new_from_string(str: string | null): Trigger
6509
+ static new_from_string(str: string): Trigger
6538
6510
  _init(config?: Trigger.ConstructorProperties): void
6539
6511
  }
6540
6512
 
@@ -6780,7 +6752,7 @@ export interface Value {
6780
6752
  * Sets the binary in the #ICalValue.
6781
6753
  * @param v The binary value
6782
6754
  */
6783
- set_binary(v: string | null): void
6755
+ set_binary(v: string): void
6784
6756
  /**
6785
6757
  * Sets the boolean in the #ICalValue.
6786
6758
  * @param v The boolean value
@@ -6795,7 +6767,7 @@ export interface Value {
6795
6767
  * Sets the caladdress in the #ICalValue.
6796
6768
  * @param v The caladdress value
6797
6769
  */
6798
- set_caladdress(v: string | null): void
6770
+ set_caladdress(v: string): void
6799
6771
  /**
6800
6772
  * Sets the carlevel in the #ICalValue.
6801
6773
  * @param v The carlevel value
@@ -6880,7 +6852,7 @@ export interface Value {
6880
6852
  * Sets the query in the #ICalValue.
6881
6853
  * @param v The query value
6882
6854
  */
6883
- set_query(v: string | null): void
6855
+ set_query(v: string): void
6884
6856
  /**
6885
6857
  * Sets the querylevel in the #ICalValue.
6886
6858
  * @param v The querylevel value
@@ -6905,7 +6877,7 @@ export interface Value {
6905
6877
  * Sets the string in the #ICalValue.
6906
6878
  * @param v The string value
6907
6879
  */
6908
- set_string(v: string | null): void
6880
+ set_string(v: string): void
6909
6881
  /**
6910
6882
  * Sets the taskmode in the #ICalValue.
6911
6883
  * @param v The taskmode value
@@ -6915,7 +6887,7 @@ export interface Value {
6915
6887
  * Sets the text in the #ICalValue.
6916
6888
  * @param v The text value
6917
6889
  */
6918
- set_text(v: string | null): void
6890
+ set_text(v: string): void
6919
6891
  /**
6920
6892
  * Sets the transp in the #ICalValue.
6921
6893
  * @param v The transp value
@@ -6930,7 +6902,7 @@ export interface Value {
6930
6902
  * Sets the uri in the #ICalValue.
6931
6903
  * @param v The uri value
6932
6904
  */
6933
- set_uri(v: string | null): void
6905
+ set_uri(v: string): void
6934
6906
  /**
6935
6907
  * Sets the utcoffset in the #ICalValue.
6936
6908
  * @param v The utcoffset value
@@ -6940,7 +6912,7 @@ export interface Value {
6940
6912
  * Sets the x in the #ICalValue.
6941
6913
  * @param v The x value
6942
6914
  */
6943
- set_x(v: string | null): void
6915
+ set_x(v: string): void
6944
6916
  /**
6945
6917
  * Sets the xlicclass in the #ICalValue.
6946
6918
  * @param v The xlicclass value
@@ -7018,7 +6990,7 @@ export class Value extends Object {
7018
6990
  * @param v The binary value
7019
6991
  * @returns The newly created #ICalValue.
7020
6992
  */
7021
- static new_binary(v: string | null): Value
6993
+ static new_binary(v: string): Value
7022
6994
  /**
7023
6995
  * Creates a new #ICalValue with the type boolean.
7024
6996
  * @constructor
@@ -7039,7 +7011,7 @@ export class Value extends Object {
7039
7011
  * @param v The caladdress value
7040
7012
  * @returns The newly created #ICalValue.
7041
7013
  */
7042
- static new_caladdress(v: string | null): Value
7014
+ static new_caladdress(v: string): Value
7043
7015
  /**
7044
7016
  * Creates a new #ICalValue with the type carlevel.
7045
7017
  * @constructor
@@ -7110,7 +7082,7 @@ export class Value extends Object {
7110
7082
  * @param str A string
7111
7083
  * @returns The newly created #ICalValue based on the @kind and @str.
7112
7084
  */
7113
- static new_from_string(kind: ValueKind, str: string | null): Value
7085
+ static new_from_string(kind: ValueKind, str: string): Value
7114
7086
  /**
7115
7087
  * Creates a new #ICalValue with the type geo.
7116
7088
  * @constructor
@@ -7159,7 +7131,7 @@ export class Value extends Object {
7159
7131
  * @param v The query value
7160
7132
  * @returns The newly created #ICalValue.
7161
7133
  */
7162
- static new_query(v: string | null): Value
7134
+ static new_query(v: string): Value
7163
7135
  /**
7164
7136
  * Creates a new #ICalValue with the type querylevel.
7165
7137
  * @constructor
@@ -7194,7 +7166,7 @@ export class Value extends Object {
7194
7166
  * @param v The string value
7195
7167
  * @returns The newly created #ICalValue.
7196
7168
  */
7197
- static new_string(v: string | null): Value
7169
+ static new_string(v: string): Value
7198
7170
  /**
7199
7171
  * Creates a new #ICalValue with the type taskmode.
7200
7172
  * @constructor
@@ -7208,7 +7180,7 @@ export class Value extends Object {
7208
7180
  * @param v The text value
7209
7181
  * @returns The newly created #ICalValue.
7210
7182
  */
7211
- static new_text(v: string | null): Value
7183
+ static new_text(v: string): Value
7212
7184
  /**
7213
7185
  * Creates a new #ICalValue with the type transp.
7214
7186
  * @constructor
@@ -7229,7 +7201,7 @@ export class Value extends Object {
7229
7201
  * @param v The uri value
7230
7202
  * @returns The newly created #ICalValue.
7231
7203
  */
7232
- static new_uri(v: string | null): Value
7204
+ static new_uri(v: string): Value
7233
7205
  /**
7234
7206
  * Creates a new #ICalValue with the type utcoffset.
7235
7207
  * @constructor
@@ -7243,7 +7215,7 @@ export class Value extends Object {
7243
7215
  * @param v The x value
7244
7216
  * @returns The newly created #ICalValue.
7245
7217
  */
7246
- static new_x(v: string | null): Value
7218
+ static new_x(v: string): Value
7247
7219
  /**
7248
7220
  * Creates a new #ICalValue with the type xlicclass.
7249
7221
  * @constructor
@@ -7257,19 +7229,19 @@ export class Value extends Object {
7257
7229
  * @param szText A string
7258
7230
  * @returns The decoded string. NULL if fail.
7259
7231
  */
7260
- static decode_ical_string(szText: string | null): string | null
7232
+ static decode_ical_string(szText: string): string | null
7261
7233
  /**
7262
7234
  * Encodes a character string in ical format, escape certain characters, etc.
7263
7235
  * @param szText A string
7264
7236
  * @returns The encoded string. NULL if fail.
7265
7237
  */
7266
- static encode_ical_string(szText: string | null): string | null
7238
+ static encode_ical_string(szText: string): string | null
7267
7239
  /**
7268
7240
  * Converts a string to #ICalValueKind.
7269
7241
  * @param str A string
7270
7242
  * @returns A #ICalValueKind.
7271
7243
  */
7272
- static kind_from_string(str: string | null): ValueKind
7244
+ static kind_from_string(str: string): ValueKind
7273
7245
  /**
7274
7246
  * Checks whether the #ICalValueKind is valid.
7275
7247
  * @param kind The #ICalValueKind to be checked
@@ -7287,7 +7259,7 @@ export class Value extends Object {
7287
7259
  * @param kind A #ICalValueKind
7288
7260
  * @returns The string representation of #ICalValueKind.
7289
7261
  */
7290
- static kind_to_string(kind: ValueKind): string | null
7262
+ static kind_to_string(kind: ValueKind): string
7291
7263
  }
7292
7264
 
7293
7265
  export interface ArrayClass {