Module: RiCal::Properties::Freebusy

Included in:
Component::Freebusy
Defined in:
lib/ri_cal/properties/freebusy.rb

Overview

Properties::Freebusy provides property accessing methods for the Freebusy class This source file is generated by the rical:gen_propmodules rake tasks, DO NOT EDIT

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(mod) ⇒ Object

:nodoc:



581
582
583
# File 'lib/ri_cal/properties/freebusy.rb', line 581

def self.included(mod) #:nodoc:
  mod.extend ClassMethods
end

Instance Method Details

#==(o) ⇒ Object

:nodoc:



535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
# File 'lib/ri_cal/properties/freebusy.rb', line 535

def ==(o) #:nodoc:
  if o.class == self.class
  (contact_property == o.contact_property) &&
  (duration_property == o.duration_property) &&
  (dtend_property == o.dtend_property) &&
  (dtstart_property == o.dtstart_property) &&
  (dtstamp_property == o.dtstamp_property) &&
  (attendee_property == o.attendee_property) &&
  (uid_property == o.uid_property) &&
  (url_property == o.url_property) &&
  (organizer_property == o.organizer_property) &&
  (freebusy_property == o.freebusy_property) &&
  (request_status_property == o.request_status_property) &&
  (comment_property == o.comment_property)
  else
     super
  end
end

#add_attendee(ruby_value) ⇒ Object

add one value to the ATTENDEE property one instances of CalAddress may be passed to this method



308
309
310
# File 'lib/ri_cal/properties/freebusy.rb', line 308

def  add_attendee(ruby_value)
 self.attendee_property << RiCal::PropertyValue::CalAddress.convert(self, ruby_value)
end

#add_attendees(*ruby_values) ⇒ Object

add one or more values to the ATTENDEE property one or more instances of CalAddress may be passed to this method



302
303
304
# File 'lib/ri_cal/properties/freebusy.rb', line 302

def  add_attendees(*ruby_values)
 ruby_values.each {|val|  self.attendee_property << RiCal::PropertyValue::CalAddress.convert(self, val)}
end

#add_comment(ruby_value) ⇒ Object

add one value to the COMMENT property one instances of String may be passed to this method



371
372
373
# File 'lib/ri_cal/properties/freebusy.rb', line 371

def  add_comment(ruby_value)
 self.comment_property << RiCal::PropertyValue::Text.convert(self, ruby_value)
end

#add_comments(*ruby_values) ⇒ Object

add one or more values to the COMMENT property one or more instances of String may be passed to this method



365
366
367
# File 'lib/ri_cal/properties/freebusy.rb', line 365

def  add_comments(*ruby_values)
 ruby_values.each {|val|  self.comment_property << RiCal::PropertyValue::Text.convert(self, val)}
end

#add_date_times_to(required_timezones) ⇒ Object

:nodoc:



570
571
572
573
# File 'lib/ri_cal/properties/freebusy.rb', line 570

def add_date_times_to(required_timezones) #:nodoc:
  add_property_date_times_to(required_timezones, dtstart_property)
  add_property_date_times_to(required_timezones, dtend_property)
end

#add_freebusy(ruby_value) ⇒ Object

add one value to the FREEBUSY property one instances of Period may be passed to this method



434
435
436
# File 'lib/ri_cal/properties/freebusy.rb', line 434

def  add_freebusy(ruby_value)
 self.freebusy_property << RiCal::PropertyValue::Period.convert(self, ruby_value)
end

#add_freebusys(*ruby_values) ⇒ Object

add one or more values to the FREEBUSY property one or more instances of Period may be passed to this method



428
429
430
# File 'lib/ri_cal/properties/freebusy.rb', line 428

def  add_freebusys(*ruby_values)
 ruby_values.each {|val|  self.freebusy_property << RiCal::PropertyValue::Period.convert(self, val)}
end

#add_request_status(ruby_value) ⇒ Object

add one value to the REQUEST-STATUS property one instances of String may be passed to this method



494
495
496
# File 'lib/ri_cal/properties/freebusy.rb', line 494

def  add_request_status(ruby_value)
 self.request_status_property << RiCal::PropertyValue::Text.convert(self, ruby_value)
end

#add_request_statuses(*ruby_values) ⇒ Object

add one or more values to the REQUEST-STATUS property one or more instances of String may be passed to this method



488
489
490
# File 'lib/ri_cal/properties/freebusy.rb', line 488

def  add_request_statuses(*ruby_values)
 ruby_values.each {|val|  self.request_status_property << RiCal::PropertyValue::Text.convert(self, val)}
end

#attendeeObject

return the value of the ATTENDEE property which will be an array of instances of CalAddress



326
327
328
# File 'lib/ri_cal/properties/freebusy.rb', line 326

def attendee
  attendee_property.map {|prop| prop ? prop.ruby_value : prop}
end

#attendee=(ruby_value) ⇒ Object

set the value of the ATTENDEE property to a single value one instance of CalAddress may be passed to this method



296
297
298
# File 'lib/ri_cal/properties/freebusy.rb', line 296

def attendee=(ruby_value)
  @attendee_property = [RiCal::PropertyValue::CalAddress.convert(self, ruby_value)]
end

#attendee_propertyObject

return the the ATTENDEE property which will be an array of instances of RiCal::PropertyValueCalAddress

purpose (from RFC 2445)

The property defines an ‘Attendee’ within a calendar component.

see RFC 2445 4.8.4.1 pp 102-104



278
279
280
# File 'lib/ri_cal/properties/freebusy.rb', line 278

def attendee_property
  @attendee_property ||= []
end

#attendee_property=(*property_values) ⇒ Object

set the the ATTENDEE property one or more instances of RiCal::PropertyValueCalAddress may be passed to this method



284
285
286
# File 'lib/ri_cal/properties/freebusy.rb', line 284

def attendee_property=(*property_values)
  @attendee_property= property_values
end

#attendee_property_from_string(line) ⇒ Object

:nodoc:



330
331
332
# File 'lib/ri_cal/properties/freebusy.rb', line 330

def attendee_property_from_string(line) # :nodoc:
  attendee_property << RiCal::PropertyValue::CalAddress.new(self, line)
end

#attendees=(ruby_values) ⇒ Object

set the value of the ATTENDEE property to multiple values one or more instances of CalAddress may be passed to this method



290
291
292
# File 'lib/ri_cal/properties/freebusy.rb', line 290

def attendees=(ruby_values)
  @attendee_property = ruby_values.map {|val| RiCal::PropertyValue::CalAddress.convert(self, val)}
end

#commentObject

return the value of the COMMENT property which will be an array of instances of String



389
390
391
# File 'lib/ri_cal/properties/freebusy.rb', line 389

def comment
  comment_property.map {|prop| prop ? prop.ruby_value : prop}
end

#comment=(ruby_value) ⇒ Object

set the value of the COMMENT property to a single value one instance of String may be passed to this method



359
360
361
# File 'lib/ri_cal/properties/freebusy.rb', line 359

def comment=(ruby_value)
  @comment_property = [RiCal::PropertyValue::Text.convert(self, ruby_value)]
end

#comment_propertyObject

return the the COMMENT property which will be an array of instances of RiCal::PropertyValueText

purpose (from RFC 2445)

This property specifies non-processing information intended to provide a comment to the calendar user.

see RFC 2445 4.8.1.4 pp 80-81



341
342
343
# File 'lib/ri_cal/properties/freebusy.rb', line 341

def comment_property
  @comment_property ||= []
end

#comment_property=(*property_values) ⇒ Object

set the the COMMENT property one or more instances of RiCal::PropertyValueText may be passed to this method



347
348
349
# File 'lib/ri_cal/properties/freebusy.rb', line 347

def comment_property=(*property_values)
  @comment_property= property_values
end

#comment_property_from_string(line) ⇒ Object

:nodoc:



393
394
395
# File 'lib/ri_cal/properties/freebusy.rb', line 393

def comment_property_from_string(line) # :nodoc:
  comment_property << RiCal::PropertyValue::Text.new(self, line)
end

#comments=(ruby_values) ⇒ Object

set the value of the COMMENT property to multiple values one or more instances of String may be passed to this method



353
354
355
# File 'lib/ri_cal/properties/freebusy.rb', line 353

def comments=(ruby_values)
  @comment_property = ruby_values.map {|val| RiCal::PropertyValue::Text.convert(self, val)}
end

#contactObject

return the value of the CONTACT property which will be an instance of String



31
32
33
# File 'lib/ri_cal/properties/freebusy.rb', line 31

def contact
  contact_property ? contact_property.ruby_value : nil
end

#contact=(ruby_value) ⇒ Object

set the value of the CONTACT property



25
26
27
# File 'lib/ri_cal/properties/freebusy.rb', line 25

def contact=(ruby_value)
  self.contact_property= RiCal::PropertyValue::Text.convert(self, ruby_value)
end

#contact_propertyObject

return the the CONTACT property which will be an instances of RiCal::PropertyValueText

purpose (from RFC 2445)

The property is used to represent contact information oralternately a reference to contact information associated with the calendar component.

see RFC 2445 4.8.4.2 pp 104-106



14
15
16
# File 'lib/ri_cal/properties/freebusy.rb', line 14

def contact_property
  @contact_property
end

#contact_property=(property_value) ⇒ Object

set the CONTACT property property value should be an instance of RiCal::PropertyValueText



20
21
22
# File 'lib/ri_cal/properties/freebusy.rb', line 20

def contact_property=(property_value)
  @contact_property = property_value
end

#contact_property_from_string(line) ⇒ Object

:nodoc:



35
36
37
# File 'lib/ri_cal/properties/freebusy.rb', line 35

def contact_property_from_string(line) # :nodoc:
  @contact_property = RiCal::PropertyValue::Text.new(self, line)
end

#dtendObject

return the value of the DTEND property which will be an instance of either DateTime or Date



97
98
99
# File 'lib/ri_cal/properties/freebusy.rb', line 97

def dtend
  dtend_property ? dtend_property.ruby_value : nil
end

#dtend=(ruby_value) ⇒ Object

set the value of the DTEND property



91
92
93
# File 'lib/ri_cal/properties/freebusy.rb', line 91

def dtend=(ruby_value)
  self.dtend_property= RiCal::PropertyValue::DateTime.convert(self, ruby_value)
end

#dtend_propertyObject

return the the DTEND property which will be an instances of either RiCal::PropertyValue::DateTime or RiCal::PropertyValue::Date

purpose (from RFC 2445)

This property specifies the date and time that a calendar component ends.

see RFC 2445 4.8.2.2 pp 91-92



80
81
82
# File 'lib/ri_cal/properties/freebusy.rb', line 80

def dtend_property
  @dtend_property
end

#dtend_property=(property_value) ⇒ Object

set the DTEND property property value should be an instance of either RiCal::PropertyValue::DateTime or RiCal::PropertyValue::Date



86
87
88
# File 'lib/ri_cal/properties/freebusy.rb', line 86

def dtend_property=(property_value)
  @dtend_property = property_value ? property_value.for_parent(self) : nil
end

#dtend_property_from_string(line) ⇒ Object

:nodoc:



101
102
103
# File 'lib/ri_cal/properties/freebusy.rb', line 101

def dtend_property_from_string(line) # :nodoc:
  @dtend_property = RiCal::PropertyValue::DateTime.or_date(self, line)
end

#dtstampObject

return the value of the DTSTAMP property which will be an instance of ZuluDateTime



163
164
165
# File 'lib/ri_cal/properties/freebusy.rb', line 163

def dtstamp
  dtstamp_property ? dtstamp_property.ruby_value : nil
end

#dtstamp=(ruby_value) ⇒ Object

set the value of the DTSTAMP property



157
158
159
# File 'lib/ri_cal/properties/freebusy.rb', line 157

def dtstamp=(ruby_value)
  self.dtstamp_property= RiCal::PropertyValue::ZuluDateTime.convert(self, ruby_value)
end

#dtstamp_propertyObject

return the the DTSTAMP property which will be an instances of RiCal::PropertyValueZuluDateTime

purpose (from RFC 2445)

This property indicates the date/time that the instance of the iCalendar object was created.

see RFC 2445 4.8.7.2 pp 130-131



146
147
148
# File 'lib/ri_cal/properties/freebusy.rb', line 146

def dtstamp_property
  @dtstamp_property
end

#dtstamp_property=(property_value) ⇒ Object

set the DTSTAMP property property value should be an instance of RiCal::PropertyValueZuluDateTime



152
153
154
# File 'lib/ri_cal/properties/freebusy.rb', line 152

def dtstamp_property=(property_value)
  @dtstamp_property = property_value
end

#dtstamp_property_from_string(line) ⇒ Object

:nodoc:



167
168
169
# File 'lib/ri_cal/properties/freebusy.rb', line 167

def dtstamp_property_from_string(line) # :nodoc:
  @dtstamp_property = RiCal::PropertyValue::ZuluDateTime.new(self, line)
end

#dtstartObject

return the value of the DTSTART property which will be an instance of either DateTime or Date



64
65
66
# File 'lib/ri_cal/properties/freebusy.rb', line 64

def dtstart
  dtstart_property ? dtstart_property.ruby_value : nil
end

#dtstart=(ruby_value) ⇒ Object

set the value of the DTSTART property



58
59
60
# File 'lib/ri_cal/properties/freebusy.rb', line 58

def dtstart=(ruby_value)
  self.dtstart_property= RiCal::PropertyValue::DateTime.convert(self, ruby_value)
end

#dtstart_propertyObject

return the the DTSTART property which will be an instances of either RiCal::PropertyValue::DateTime or RiCal::PropertyValue::Date

purpose (from RFC 2445)

This property specifies when the calendar component begins.

see RFC 2445 4.8.2.4 pp 93-94



47
48
49
# File 'lib/ri_cal/properties/freebusy.rb', line 47

def dtstart_property
  @dtstart_property
end

#dtstart_property=(property_value) ⇒ Object

set the DTSTART property property value should be an instance of either RiCal::PropertyValue::DateTime or RiCal::PropertyValue::Date



53
54
55
# File 'lib/ri_cal/properties/freebusy.rb', line 53

def dtstart_property=(property_value)
  @dtstart_property = property_value ? property_value.for_parent(self) : nil
end

#dtstart_property_from_string(line) ⇒ Object

:nodoc:



68
69
70
# File 'lib/ri_cal/properties/freebusy.rb', line 68

def dtstart_property_from_string(line) # :nodoc:
  @dtstart_property = RiCal::PropertyValue::DateTime.or_date(self, line)
end

#durationObject

return the value of the DURATION property which will be an instance of Duration



130
131
132
# File 'lib/ri_cal/properties/freebusy.rb', line 130

def duration
  duration_property ? duration_property.ruby_value : nil
end

#duration=(ruby_value) ⇒ Object

set the value of the DURATION property



124
125
126
# File 'lib/ri_cal/properties/freebusy.rb', line 124

def duration=(ruby_value)
  self.duration_property= RiCal::PropertyValue::Duration.convert(self, ruby_value)
end

#duration_propertyObject

return the the DURATION property which will be an instances of RiCal::PropertyValueDuration

purpose (from RFC 2445)

This property specifies a positive duration of time.

see RFC 2445 4.8.2.5 pp 94-95



113
114
115
# File 'lib/ri_cal/properties/freebusy.rb', line 113

def duration_property
  @duration_property
end

#duration_property=(property_value) ⇒ Object

set the DURATION property property value should be an instance of RiCal::PropertyValueDuration



119
120
121
# File 'lib/ri_cal/properties/freebusy.rb', line 119

def duration_property=(property_value)
  @duration_property = property_value
end

#duration_property_from_string(line) ⇒ Object

:nodoc:



134
135
136
# File 'lib/ri_cal/properties/freebusy.rb', line 134

def duration_property_from_string(line) # :nodoc:
  @duration_property = RiCal::PropertyValue::Duration.new(self, line)
end

#export_properties_to(export_stream) ⇒ Object

:nodoc:



520
521
522
523
524
525
526
527
528
529
530
531
532
533
# File 'lib/ri_cal/properties/freebusy.rb', line 520

def export_properties_to(export_stream) #:nodoc:
  export_prop_to(export_stream, "CONTACT", @contact_property)
  export_prop_to(export_stream, "DURATION", @duration_property)
  export_prop_to(export_stream, "DTEND", @dtend_property)
  export_prop_to(export_stream, "DTSTART", @dtstart_property)
  export_prop_to(export_stream, "DTSTAMP", @dtstamp_property)
  export_prop_to(export_stream, "ATTENDEE", @attendee_property)
  export_prop_to(export_stream, "UID", @uid_property)
  export_prop_to(export_stream, "URL", @url_property)
  export_prop_to(export_stream, "ORGANIZER", @organizer_property)
  export_prop_to(export_stream, "FREEBUSY", @freebusy_property)
  export_prop_to(export_stream, "REQUEST-STATUS", @request_status_property)
  export_prop_to(export_stream, "COMMENT", @comment_property)
end

#freebusyObject

return the value of the FREEBUSY property which will be an array of instances of Period



452
453
454
# File 'lib/ri_cal/properties/freebusy.rb', line 452

def freebusy
  freebusy_property.map {|prop| prop ? prop.ruby_value : prop}
end

#freebusy=(ruby_value) ⇒ Object

set the value of the FREEBUSY property to a single value one instance of Period may be passed to this method



422
423
424
# File 'lib/ri_cal/properties/freebusy.rb', line 422

def freebusy=(ruby_value)
  @freebusy_property = [RiCal::PropertyValue::Period.convert(self, ruby_value)]
end

#freebusy_propertyObject

return the the FREEBUSY property which will be an array of instances of RiCal::PropertyValuePeriod

purpose (from RFC 2445)

This property defines one or more free or busy time intervals.

see RFC 2445 4.8.2.6 pp 95-96



404
405
406
# File 'lib/ri_cal/properties/freebusy.rb', line 404

def freebusy_property
  @freebusy_property ||= []
end

#freebusy_property=(*property_values) ⇒ Object

set the the FREEBUSY property one or more instances of RiCal::PropertyValuePeriod may be passed to this method



410
411
412
# File 'lib/ri_cal/properties/freebusy.rb', line 410

def freebusy_property=(*property_values)
  @freebusy_property= property_values
end

#freebusy_property_from_string(line) ⇒ Object

:nodoc:



456
457
458
# File 'lib/ri_cal/properties/freebusy.rb', line 456

def freebusy_property_from_string(line) # :nodoc:
  freebusy_property << RiCal::PropertyValue::Period.new(self, line)
end

#freebusys=(ruby_values) ⇒ Object

set the value of the FREEBUSY property to multiple values one or more instances of Period may be passed to this method



416
417
418
# File 'lib/ri_cal/properties/freebusy.rb', line 416

def freebusys=(ruby_values)
  @freebusy_property = ruby_values.map {|val| RiCal::PropertyValue::Period.convert(self, val)}
end

#initialize_copy(o) ⇒ Object

:nodoc:



554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
# File 'lib/ri_cal/properties/freebusy.rb', line 554

def initialize_copy(o) #:nodoc:
  super
  contact_property = contact_property && contact_property.dup
  duration_property = duration_property && duration_property.dup
  dtend_property = dtend_property && dtend_property.dup
  dtstart_property = dtstart_property && dtstart_property.dup
  dtstamp_property = dtstamp_property && dtstamp_property.dup
  attendee_property = attendee_property && attendee_property.dup
  uid_property = uid_property && uid_property.dup
  url_property = url_property && url_property.dup
  organizer_property = organizer_property && organizer_property.dup
  freebusy_property = freebusy_property && freebusy_property.dup
  request_status_property = request_status_property && request_status_property.dup
  comment_property = comment_property && comment_property.dup
end

#mutual_exclusion_violationObject

:nodoc:



585
586
587
# File 'lib/ri_cal/properties/freebusy.rb', line 585

def mutual_exclusion_violation #:nodoc:
  false
end

#organizerObject

return the value of the ORGANIZER property which will be an instance of CalAddress



196
197
198
# File 'lib/ri_cal/properties/freebusy.rb', line 196

def organizer
  organizer_property ? organizer_property.ruby_value : nil
end

#organizer=(ruby_value) ⇒ Object

set the value of the ORGANIZER property



190
191
192
# File 'lib/ri_cal/properties/freebusy.rb', line 190

def organizer=(ruby_value)
  self.organizer_property= RiCal::PropertyValue::CalAddress.convert(self, ruby_value)
end

#organizer_propertyObject

return the the ORGANIZER property which will be an instances of RiCal::PropertyValueCalAddress

purpose (from RFC 2445)

The property defines the organizer for a calendar component.

see RFC 2445 4.8.4.3 pp 106-107



179
180
181
# File 'lib/ri_cal/properties/freebusy.rb', line 179

def organizer_property
  @organizer_property
end

#organizer_property=(property_value) ⇒ Object

set the ORGANIZER property property value should be an instance of RiCal::PropertyValueCalAddress



185
186
187
# File 'lib/ri_cal/properties/freebusy.rb', line 185

def organizer_property=(property_value)
  @organizer_property = property_value
end

#organizer_property_from_string(line) ⇒ Object

:nodoc:



200
201
202
# File 'lib/ri_cal/properties/freebusy.rb', line 200

def organizer_property_from_string(line) # :nodoc:
  @organizer_property = RiCal::PropertyValue::CalAddress.new(self, line)
end

#remove_attendee(ruby_value) ⇒ Object

remove one value from the ATTENDEE property one instances of CalAddress may be passed to this method



320
321
322
# File 'lib/ri_cal/properties/freebusy.rb', line 320

def  remove_attendee(ruby_value)
 self.attendee_property.delete(RiCal::PropertyValue::CalAddress.convert(self, ruby_value))
end

#remove_attendees(*ruby_values) ⇒ Object

remove one or more values from the ATTENDEE property one or more instances of CalAddress may be passed to this method



314
315
316
# File 'lib/ri_cal/properties/freebusy.rb', line 314

def  remove_attendees(*ruby_values)
 ruby_values.each {|val|  self.attendee_property.delete(RiCal::PropertyValue::CalAddress.convert(self, val))}
end

#remove_comment(ruby_value) ⇒ Object

remove one value from the COMMENT property one instances of String may be passed to this method



383
384
385
# File 'lib/ri_cal/properties/freebusy.rb', line 383

def  remove_comment(ruby_value)
 self.comment_property.delete(RiCal::PropertyValue::Text.convert(self, ruby_value))
end

#remove_comments(*ruby_values) ⇒ Object

remove one or more values from the COMMENT property one or more instances of String may be passed to this method



377
378
379
# File 'lib/ri_cal/properties/freebusy.rb', line 377

def  remove_comments(*ruby_values)
 ruby_values.each {|val|  self.comment_property.delete(RiCal::PropertyValue::Text.convert(self, val))}
end

#remove_freebusy(ruby_value) ⇒ Object

remove one value from the FREEBUSY property one instances of Period may be passed to this method



446
447
448
# File 'lib/ri_cal/properties/freebusy.rb', line 446

def  remove_freebusy(ruby_value)
 self.freebusy_property.delete(RiCal::PropertyValue::Period.convert(self, ruby_value))
end

#remove_freebusys(*ruby_values) ⇒ Object

remove one or more values from the FREEBUSY property one or more instances of Period may be passed to this method



440
441
442
# File 'lib/ri_cal/properties/freebusy.rb', line 440

def  remove_freebusys(*ruby_values)
 ruby_values.each {|val|  self.freebusy_property.delete(RiCal::PropertyValue::Period.convert(self, val))}
end

#remove_request_status(ruby_value) ⇒ Object

remove one value from the REQUEST-STATUS property one instances of String may be passed to this method



506
507
508
# File 'lib/ri_cal/properties/freebusy.rb', line 506

def  remove_request_status(ruby_value)
 self.request_status_property.delete(RiCal::PropertyValue::Text.convert(self, ruby_value))
end

#remove_request_statuses(*ruby_values) ⇒ Object

remove one or more values from the REQUEST-STATUS property one or more instances of String may be passed to this method



500
501
502
# File 'lib/ri_cal/properties/freebusy.rb', line 500

def  remove_request_statuses(*ruby_values)
 ruby_values.each {|val|  self.request_status_property.delete(RiCal::PropertyValue::Text.convert(self, val))}
end

#request_statusObject

return the value of the REQUEST-STATUS property which will be an array of instances of String



512
513
514
# File 'lib/ri_cal/properties/freebusy.rb', line 512

def request_status
  request_status_property.map {|prop| prop ? prop.ruby_value : prop}
end

#request_status=(ruby_value) ⇒ Object

set the value of the REQUEST-STATUS property to a single value one instance of String may be passed to this method



482
483
484
# File 'lib/ri_cal/properties/freebusy.rb', line 482

def request_status=(ruby_value)
  @request_status_property = [RiCal::PropertyValue::Text.convert(self, ruby_value)]
end

#request_status_propertyObject

return the the REQUEST-STATUS property which will be an array of instances of RiCal::PropertyValueText

see RFC 2445 4.8.8.2 pp 134-136



464
465
466
# File 'lib/ri_cal/properties/freebusy.rb', line 464

def request_status_property
  @request_status_property ||= []
end

#request_status_property=(*property_values) ⇒ Object

set the the REQUEST-STATUS property one or more instances of RiCal::PropertyValueText may be passed to this method



470
471
472
# File 'lib/ri_cal/properties/freebusy.rb', line 470

def request_status_property=(*property_values)
  @request_status_property= property_values
end

#request_status_property_from_string(line) ⇒ Object

:nodoc:



516
517
518
# File 'lib/ri_cal/properties/freebusy.rb', line 516

def request_status_property_from_string(line) # :nodoc:
  request_status_property << RiCal::PropertyValue::Text.new(self, line)
end

#request_statuses=(ruby_values) ⇒ Object

set the value of the REQUEST-STATUS property to multiple values one or more instances of String may be passed to this method



476
477
478
# File 'lib/ri_cal/properties/freebusy.rb', line 476

def request_statuses=(ruby_values)
  @request_status_property = ruby_values.map {|val| RiCal::PropertyValue::Text.convert(self, val)}
end

#uidObject

return the value of the UID property which will be an instance of String



229
230
231
# File 'lib/ri_cal/properties/freebusy.rb', line 229

def uid
  uid_property ? uid_property.ruby_value : nil
end

#uid=(ruby_value) ⇒ Object

set the value of the UID property



223
224
225
# File 'lib/ri_cal/properties/freebusy.rb', line 223

def uid=(ruby_value)
  self.uid_property= RiCal::PropertyValue::Text.convert(self, ruby_value)
end

#uid_propertyObject

return the the UID property which will be an instances of RiCal::PropertyValueText

purpose (from RFC 2445)

This property defines the persistent, globally unique identifier for the calendar component.

see RFC 2445 4.8.4.7 pp 111-112



212
213
214
# File 'lib/ri_cal/properties/freebusy.rb', line 212

def uid_property
  @uid_property
end

#uid_property=(property_value) ⇒ Object

set the UID property property value should be an instance of RiCal::PropertyValueText



218
219
220
# File 'lib/ri_cal/properties/freebusy.rb', line 218

def uid_property=(property_value)
  @uid_property = property_value
end

#uid_property_from_string(line) ⇒ Object

:nodoc:



233
234
235
# File 'lib/ri_cal/properties/freebusy.rb', line 233

def uid_property_from_string(line) # :nodoc:
  @uid_property = RiCal::PropertyValue::Text.new(self, line)
end

#urlObject

return the value of the URL property which will be an instance of Uri



262
263
264
# File 'lib/ri_cal/properties/freebusy.rb', line 262

def url
  url_property ? url_property.ruby_value : nil
end

#url=(ruby_value) ⇒ Object

set the value of the URL property



256
257
258
# File 'lib/ri_cal/properties/freebusy.rb', line 256

def url=(ruby_value)
  self.url_property= RiCal::PropertyValue::Uri.convert(self, ruby_value)
end

#url_propertyObject

return the the URL property which will be an instances of RiCal::PropertyValueUri

purpose (from RFC 2445)

This property defines a Uniform Resource Locator (URL) associated with the iCalendar object.

see RFC 2445 4.8.4.6 pp 110-111



245
246
247
# File 'lib/ri_cal/properties/freebusy.rb', line 245

def url_property
  @url_property
end

#url_property=(property_value) ⇒ Object

set the URL property property value should be an instance of RiCal::PropertyValueUri



251
252
253
# File 'lib/ri_cal/properties/freebusy.rb', line 251

def url_property=(property_value)
  @url_property = property_value
end

#url_property_from_string(line) ⇒ Object

:nodoc:



266
267
268
# File 'lib/ri_cal/properties/freebusy.rb', line 266

def url_property_from_string(line) # :nodoc:
  @url_property = RiCal::PropertyValue::Uri.new(self, line)
end