class Google::Apis::TasksV1::Task::Link

Attributes

description[RW]

The description. In HTML speak: Everything between <a> and </a>. Corresponds to the JSON property `description` @return [String]

type[RW]

Type of the link, e.g. “email”. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/tasks_v1/classes.rb, line 158
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/tasks_v1/classes.rb, line 163
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @link = args[:link] if args.key?(:link)
  @type = args[:type] if args.key?(:type)
end