Class: Todoist::FileAttachment

Inherits:
Struct
  • Object
show all
Defined in:
lib/todoist/file_attachment.rb

Instance Attribute Summary collapse

Instance Attribute Details

#file_nameObject

Returns the value of attribute file_name

Returns:

  • (Object)

    the current value of file_name



2
3
4
# File 'lib/todoist/file_attachment.rb', line 2

def file_name
  @file_name
end

#file_sizeObject

Returns the value of attribute file_size

Returns:

  • (Object)

    the current value of file_size



2
3
4
# File 'lib/todoist/file_attachment.rb', line 2

def file_size
  @file_size
end

#file_typeObject

Returns the value of attribute file_type

Returns:

  • (Object)

    the current value of file_type



2
3
4
# File 'lib/todoist/file_attachment.rb', line 2

def file_type
  @file_type
end

#file_urlObject

Returns the value of attribute file_url

Returns:

  • (Object)

    the current value of file_url



2
3
4
# File 'lib/todoist/file_attachment.rb', line 2

def file_url
  @file_url
end

#imageObject

Returns the value of attribute image

Returns:

  • (Object)

    the current value of image



2
3
4
# File 'lib/todoist/file_attachment.rb', line 2

def image
  @image
end

#image_heightObject

Returns the value of attribute image_height

Returns:

  • (Object)

    the current value of image_height



2
3
4
# File 'lib/todoist/file_attachment.rb', line 2

def image_height
  @image_height
end

#image_widthObject

Returns the value of attribute image_width

Returns:

  • (Object)

    the current value of image_width



2
3
4
# File 'lib/todoist/file_attachment.rb', line 2

def image_width
  @image_width
end

#resource_typeObject

Returns the value of attribute resource_type

Returns:

  • (Object)

    the current value of resource_type



2
3
4
# File 'lib/todoist/file_attachment.rb', line 2

def resource_type
  @resource_type
end

#upload_stateObject

Returns the value of attribute upload_state

Returns:

  • (Object)

    the current value of upload_state



2
3
4
# File 'lib/todoist/file_attachment.rb', line 2

def upload_state
  @upload_state
end