Class: AsposeImagingCloud::ExifData
- Inherits:
-
Object
- Object
- AsposeImagingCloud::ExifData
- Defined in:
- lib/aspose-imaging-cloud/models/exif_data.rb
Overview
Represents common EXIF data section.
Instance Attribute Summary collapse
-
#aperture_value ⇒ Object
Gets or sets the aperture.
-
#body_serial_number ⇒ Object
Gets or sets the body serial number.
-
#brightness_value ⇒ Object
Gets or sets the brightness.
-
#camera_owner_name ⇒ Object
Gets or sets the camera owner name.
-
#cfa_pattern ⇒ Object
Gets or sets the CFA pattern.
-
#color_space ⇒ Object
Gets or sets the color space.
-
#components_configuration ⇒ Object
Gets or sets the components configuration.
-
#compressed_bits_per_pixel ⇒ Object
Gets or sets the compressed bits per pixel.
-
#contrast ⇒ Object
Gets or sets the contrast.
-
#custom_rendered ⇒ Object
Gets or sets the value indincating if custom rendering is performed.
-
#date_time_digitized ⇒ Object
Gets or sets date and time when image was digitized.
-
#date_time_original ⇒ Object
Gets or sets date and time of the original image.
-
#device_setting_description ⇒ Object
Gets or sets the device setting description.
-
#digital_zoom_ratio ⇒ Object
Gets or sets the digital zoom ratio.
-
#exif_version ⇒ Object
Gets or sets EXIF version.
-
#exposure_bias_value ⇒ Object
Gets or sets the exposure bias.
-
#exposure_index ⇒ Object
Gets or sets the exposure index.
-
#exposure_mode ⇒ Object
Gets or sets the exposure mode.
-
#exposure_program ⇒ Object
Gets or sets the exposure program.
-
#exposure_time ⇒ Object
Gets or sets the exposure time.
-
#f_number ⇒ Object
Gets or sets the focal number.
-
#file_source ⇒ Object
Gets or sets the file source.
-
#flash ⇒ Object
Gets or sets the flash.
-
#flash_energy ⇒ Object
Gets or sets the flash energy.
-
#flashpix_version ⇒ Object
Gets or sets the Flashpix version.
-
#focal_length ⇒ Object
Gets or sets the focal length.
-
#focal_length_in35_mm_film ⇒ Object
Gets or sets the focal length in 35mm film.
-
#focal_plane_resolution_unit ⇒ Object
Gets or sets the focal plane resolution unit.
-
#focal_plane_x_resolution ⇒ Object
Gets or sets the focal plane X resolution.
-
#focal_plane_y_resolution ⇒ Object
Gets or sets the focal plane Y resolution.
-
#gain_control ⇒ Object
Gets or sets the gain control.
-
#gamma ⇒ Object
Gets or sets the gamma.
-
#gps_altitude ⇒ Object
Gets or sets the GPS altitude.
-
#gps_altitude_ref ⇒ Object
Gets or sets the GPS altitude reference (if it’s above or below sea level).
-
#gps_area_information ⇒ Object
Gets or sets the GPS area information.
-
#gps_date_stamp ⇒ Object
Gets or sets the GPS date stamp.
-
#gps_dest_bearing ⇒ Object
Gets or sets the GPS bearing of the destination.
-
#gps_dest_bearing_ref ⇒ Object
Gets or sets the GPS reference unit for bearing of the destination.
-
#gps_dest_distance ⇒ Object
Gets or sets the GPS destination distance.
-
#gps_dest_distance_ref ⇒ Object
Gets or sets the GPS reference unit for destination distance.
-
#gps_dest_latitude ⇒ Object
Gets or sets the GPS destination latitude.
-
#gps_dest_latitude_ref ⇒ Object
Gets or sets the GPS reference destination latitude (north or south).
-
#gps_dest_longitude ⇒ Object
Gets or sets the GPS destination longtitude.
-
#gps_dest_longitude_ref ⇒ Object
Gets or sets the GPS reference destination longtitude (east or west).
-
#gps_differential ⇒ Object
Gets or sets the GPS differential.
-
#gps_img_direction ⇒ Object
Gets or sets the GPS image direction.
-
#gps_img_direction_ref ⇒ Object
Gets or sets the GPS reference image direction.
-
#gps_latitude ⇒ Object
Gets or sets the GPS latitude.
-
#gps_latitude_ref ⇒ Object
Gets or sets the GPS latitude reference (north or south).
-
#gps_longitude ⇒ Object
Gets or sets the GPS longitude.
-
#gps_longitude_ref ⇒ Object
Gets or sets the GPS longitude reference (east or west).
-
#gps_map_datum ⇒ Object
Gets or sets the geodetic survey data used by the GPS receiver.
-
#gps_measure_mode ⇒ Object
Gets or sets the GPS measure mode.
-
#gps_processing_method ⇒ Object
Gets or setsthe GPS processing method.
-
#gps_satellites ⇒ Object
Gets or sets the GPS satellites info.
-
#gps_speed ⇒ Object
Gets or sets the GPS speed.
-
#gps_speed_ref ⇒ Object
Gets or sets the GPS speed reference unit.
-
#gps_status ⇒ Object
Gets or sets the GPS status.
-
#gps_timestamp ⇒ Object
Gets or sets the GPS times tamp.
-
#gps_track ⇒ Object
Gets or sets the GPS track.
-
#gps_track_ref ⇒ Object
Gets or sets the GPS track reference.
-
#gps_version_id ⇒ Object
Gets or sets the GPS version ID.
-
#gpsdop ⇒ Object
Gets or sets the GPS DOP (data degree of precision).
-
#image_unique_id ⇒ Object
Gets or sets the image unique ID.
-
#iso_speed ⇒ Object
Gets or sets the ISO speed.
-
#iso_speed_latitude_yyy ⇒ Object
Gets or sets the ISO speed latitude YYY value.
-
#iso_speed_latitude_zzz ⇒ Object
Gets or sets the ISO speed latitude ZZZ value.
-
#lens_make ⇒ Object
Gets or sets the lens manufacturer.
-
#lens_model ⇒ Object
Gets or sets the lens model.
-
#lens_serial_number ⇒ Object
Gets or sets the lens serial number.
-
#lens_specification ⇒ Object
Gets or sets the lens specification.
-
#light_source ⇒ Object
Gets or sets the light source.
-
#maker_note_raw_data ⇒ Object
Gets or sets the maker note raw data.
-
#max_aperture_value ⇒ Object
Gets or sets the max aperture.
-
#metering_mode ⇒ Object
Gets or sets the metering mode.
-
#oecf ⇒ Object
Gets or sets the OECF (Opto-Electric Conversion Function).
-
#photographic_sensitivity ⇒ Object
Gets or sets the photographic sensitivity.
-
#pixel_x_dimension ⇒ Object
Gets or sets the pixel X dimension.
-
#pixel_y_dimension ⇒ Object
Gets or sets the pixel Y dimension.
-
#recommended_exposure_index ⇒ Object
Gets or sets the recommended exposure index.
-
#related_sound_file ⇒ Object
Gets or sets the related sound file.
-
#saturation ⇒ Object
Gets or sets the saturation.
-
#scene_capture_type ⇒ Object
Gets or sets the scene capture type.
-
#scene_type ⇒ Object
Gets or sets the scene type.
-
#sensing_method ⇒ Object
Gets or sets the sensing method.
-
#sensitivity_type ⇒ Object
Gets or sets the sensitivity type.
-
#sharpness ⇒ Object
Gets or sets the sharpness.
-
#shutter_speed_value ⇒ Object
Gets or sets the shutter speed.
-
#spatial_frequency_response ⇒ Object
Gets or sets the spatial frequency response.
-
#spectral_sensitivity ⇒ Object
Gets or sets the spectral sensitivity.
-
#standard_output_sensitivity ⇒ Object
Gets or sets the standard output sensitivity.
-
#subject_area ⇒ Object
Gets or sets the subject area.
-
#subject_distance ⇒ Object
Gets or sets the subject distance.
-
#subject_distance_range ⇒ Object
Gets or sets the subject distance range.
-
#subject_location ⇒ Object
Gets or sets the subject location.
-
#subsec_time ⇒ Object
Gets or sets the fractions of seconds for the DateTime tag.
-
#subsec_time_digitized ⇒ Object
Gets or sets the fractions of seconds for the DateTimeDigitized tag.
-
#subsec_time_original ⇒ Object
Gets or sets the fractions of seconds for the DateTimeOriginal tag.
-
#user_comment ⇒ Object
Gets or sets the user comment.
-
#white_balance ⇒ Object
Gets or sets the white balance.
-
#white_point ⇒ Object
Gets or sets the white point.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ ExifData
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ ExifData
Initializes the object
551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 551 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } if attributes.has_key?(:'ApertureValue') self.aperture_value = attributes[:'ApertureValue'] end if attributes.has_key?(:'BodySerialNumber') self.body_serial_number = attributes[:'BodySerialNumber'] end if attributes.has_key?(:'BrightnessValue') self.brightness_value = attributes[:'BrightnessValue'] end if attributes.has_key?(:'CFAPattern') self.cfa_pattern = attributes[:'CFAPattern'] end if attributes.has_key?(:'CameraOwnerName') self.camera_owner_name = attributes[:'CameraOwnerName'] end if attributes.has_key?(:'ColorSpace') self.color_space = attributes[:'ColorSpace'] end if attributes.has_key?(:'ComponentsConfiguration') self.components_configuration = attributes[:'ComponentsConfiguration'] end if attributes.has_key?(:'CompressedBitsPerPixel') self.compressed_bits_per_pixel = attributes[:'CompressedBitsPerPixel'] end if attributes.has_key?(:'Contrast') self.contrast = attributes[:'Contrast'] end if attributes.has_key?(:'CustomRendered') self.custom_rendered = attributes[:'CustomRendered'] end if attributes.has_key?(:'DateTimeDigitized') self.date_time_digitized = attributes[:'DateTimeDigitized'] end if attributes.has_key?(:'DateTimeOriginal') self.date_time_original = attributes[:'DateTimeOriginal'] end if attributes.has_key?(:'DeviceSettingDescription') self.device_setting_description = attributes[:'DeviceSettingDescription'] end if attributes.has_key?(:'DigitalZoomRatio') self.digital_zoom_ratio = attributes[:'DigitalZoomRatio'] end if attributes.has_key?(:'ExifVersion') self.exif_version = attributes[:'ExifVersion'] end if attributes.has_key?(:'ExposureBiasValue') self.exposure_bias_value = attributes[:'ExposureBiasValue'] end if attributes.has_key?(:'ExposureIndex') self.exposure_index = attributes[:'ExposureIndex'] end if attributes.has_key?(:'ExposureMode') self.exposure_mode = attributes[:'ExposureMode'] end if attributes.has_key?(:'ExposureProgram') self.exposure_program = attributes[:'ExposureProgram'] end if attributes.has_key?(:'ExposureTime') self.exposure_time = attributes[:'ExposureTime'] end if attributes.has_key?(:'FNumber') self.f_number = attributes[:'FNumber'] end if attributes.has_key?(:'FileSource') self.file_source = attributes[:'FileSource'] end if attributes.has_key?(:'Flash') self.flash = attributes[:'Flash'] end if attributes.has_key?(:'FlashEnergy') self.flash_energy = attributes[:'FlashEnergy'] end if attributes.has_key?(:'FlashpixVersion') self.flashpix_version = attributes[:'FlashpixVersion'] end if attributes.has_key?(:'FocalLength') self.focal_length = attributes[:'FocalLength'] end if attributes.has_key?(:'FocalLengthIn35MmFilm') self.focal_length_in35_mm_film = attributes[:'FocalLengthIn35MmFilm'] end if attributes.has_key?(:'FocalPlaneResolutionUnit') self.focal_plane_resolution_unit = attributes[:'FocalPlaneResolutionUnit'] end if attributes.has_key?(:'FocalPlaneXResolution') self.focal_plane_x_resolution = attributes[:'FocalPlaneXResolution'] end if attributes.has_key?(:'FocalPlaneYResolution') self.focal_plane_y_resolution = attributes[:'FocalPlaneYResolution'] end if attributes.has_key?(:'GPSAltitude') self.gps_altitude = attributes[:'GPSAltitude'] end if attributes.has_key?(:'GPSAltitudeRef') self.gps_altitude_ref = attributes[:'GPSAltitudeRef'] end if attributes.has_key?(:'GPSAreaInformation') self.gps_area_information = attributes[:'GPSAreaInformation'] end if attributes.has_key?(:'GPSDOP') self.gpsdop = attributes[:'GPSDOP'] end if attributes.has_key?(:'GPSDestBearing') self.gps_dest_bearing = attributes[:'GPSDestBearing'] end if attributes.has_key?(:'GPSDestBearingRef') self.gps_dest_bearing_ref = attributes[:'GPSDestBearingRef'] end if attributes.has_key?(:'GPSDestDistance') self.gps_dest_distance = attributes[:'GPSDestDistance'] end if attributes.has_key?(:'GPSDestDistanceRef') self.gps_dest_distance_ref = attributes[:'GPSDestDistanceRef'] end if attributes.has_key?(:'GPSDestLatitude') if (value = attributes[:'GPSDestLatitude']).is_a?(Array) self.gps_dest_latitude = value end end if attributes.has_key?(:'GPSDestLatitudeRef') self.gps_dest_latitude_ref = attributes[:'GPSDestLatitudeRef'] end if attributes.has_key?(:'GPSDestLongitude') if (value = attributes[:'GPSDestLongitude']).is_a?(Array) self.gps_dest_longitude = value end end if attributes.has_key?(:'GPSDestLongitudeRef') self.gps_dest_longitude_ref = attributes[:'GPSDestLongitudeRef'] end if attributes.has_key?(:'GPSDifferential') self.gps_differential = attributes[:'GPSDifferential'] end if attributes.has_key?(:'GPSImgDirection') self.gps_img_direction = attributes[:'GPSImgDirection'] end if attributes.has_key?(:'GPSImgDirectionRef') self.gps_img_direction_ref = attributes[:'GPSImgDirectionRef'] end if attributes.has_key?(:'GPSDateStamp') self.gps_date_stamp = attributes[:'GPSDateStamp'] end if attributes.has_key?(:'GPSLatitude') if (value = attributes[:'GPSLatitude']).is_a?(Array) self.gps_latitude = value end end if attributes.has_key?(:'GPSLatitudeRef') self.gps_latitude_ref = attributes[:'GPSLatitudeRef'] end if attributes.has_key?(:'GPSLongitude') if (value = attributes[:'GPSLongitude']).is_a?(Array) self.gps_longitude = value end end if attributes.has_key?(:'GPSLongitudeRef') self.gps_longitude_ref = attributes[:'GPSLongitudeRef'] end if attributes.has_key?(:'GPSMapDatum') self.gps_map_datum = attributes[:'GPSMapDatum'] end if attributes.has_key?(:'GPSMeasureMode') self.gps_measure_mode = attributes[:'GPSMeasureMode'] end if attributes.has_key?(:'GPSProcessingMethod') self.gps_processing_method = attributes[:'GPSProcessingMethod'] end if attributes.has_key?(:'GPSSatellites') self.gps_satellites = attributes[:'GPSSatellites'] end if attributes.has_key?(:'GPSSpeed') self.gps_speed = attributes[:'GPSSpeed'] end if attributes.has_key?(:'GPSSpeedRef') self.gps_speed_ref = attributes[:'GPSSpeedRef'] end if attributes.has_key?(:'GPSStatus') self.gps_status = attributes[:'GPSStatus'] end if attributes.has_key?(:'GPSTimestamp') if (value = attributes[:'GPSTimestamp']).is_a?(Array) self. = value end end if attributes.has_key?(:'GPSTrack') self.gps_track = attributes[:'GPSTrack'] end if attributes.has_key?(:'GPSTrackRef') self.gps_track_ref = attributes[:'GPSTrackRef'] end if attributes.has_key?(:'GPSVersionID') self.gps_version_id = attributes[:'GPSVersionID'] end if attributes.has_key?(:'GainControl') self.gain_control = attributes[:'GainControl'] end if attributes.has_key?(:'Gamma') self.gamma = attributes[:'Gamma'] end if attributes.has_key?(:'ISOSpeed') self.iso_speed = attributes[:'ISOSpeed'] end if attributes.has_key?(:'ISOSpeedLatitudeYYY') self.iso_speed_latitude_yyy = attributes[:'ISOSpeedLatitudeYYY'] end if attributes.has_key?(:'ISOSpeedLatitudeZZZ') self.iso_speed_latitude_zzz = attributes[:'ISOSpeedLatitudeZZZ'] end if attributes.has_key?(:'PhotographicSensitivity') self.photographic_sensitivity = attributes[:'PhotographicSensitivity'] end if attributes.has_key?(:'ImageUniqueID') self.image_unique_id = attributes[:'ImageUniqueID'] end if attributes.has_key?(:'LensMake') self.lens_make = attributes[:'LensMake'] end if attributes.has_key?(:'LensModel') self.lens_model = attributes[:'LensModel'] end if attributes.has_key?(:'LensSerialNumber') self.lens_serial_number = attributes[:'LensSerialNumber'] end if attributes.has_key?(:'LensSpecification') if (value = attributes[:'LensSpecification']).is_a?(Array) self.lens_specification = value end end if attributes.has_key?(:'LightSource') self.light_source = attributes[:'LightSource'] end if attributes.has_key?(:'MakerNoteRawData') self.maker_note_raw_data = attributes[:'MakerNoteRawData'] end if attributes.has_key?(:'MaxApertureValue') self.max_aperture_value = attributes[:'MaxApertureValue'] end if attributes.has_key?(:'MeteringMode') self.metering_mode = attributes[:'MeteringMode'] end if attributes.has_key?(:'OECF') self.oecf = attributes[:'OECF'] end if attributes.has_key?(:'PixelXDimension') self.pixel_x_dimension = attributes[:'PixelXDimension'] end if attributes.has_key?(:'PixelYDimension') self.pixel_y_dimension = attributes[:'PixelYDimension'] end if attributes.has_key?(:'RecommendedExposureIndex') self.recommended_exposure_index = attributes[:'RecommendedExposureIndex'] end if attributes.has_key?(:'RelatedSoundFile') self. = attributes[:'RelatedSoundFile'] end if attributes.has_key?(:'Saturation') self.saturation = attributes[:'Saturation'] end if attributes.has_key?(:'SceneCaptureType') self.scene_capture_type = attributes[:'SceneCaptureType'] end if attributes.has_key?(:'SceneType') self.scene_type = attributes[:'SceneType'] end if attributes.has_key?(:'SensingMethod') self.sensing_method = attributes[:'SensingMethod'] end if attributes.has_key?(:'SensitivityType') self.sensitivity_type = attributes[:'SensitivityType'] end if attributes.has_key?(:'Sharpness') self.sharpness = attributes[:'Sharpness'] end if attributes.has_key?(:'ShutterSpeedValue') self.shutter_speed_value = attributes[:'ShutterSpeedValue'] end if attributes.has_key?(:'SpatialFrequencyResponse') self.spatial_frequency_response = attributes[:'SpatialFrequencyResponse'] end if attributes.has_key?(:'SpectralSensitivity') self.spectral_sensitivity = attributes[:'SpectralSensitivity'] end if attributes.has_key?(:'StandardOutputSensitivity') self.standard_output_sensitivity = attributes[:'StandardOutputSensitivity'] end if attributes.has_key?(:'SubjectArea') if (value = attributes[:'SubjectArea']).is_a?(Array) self.subject_area = value end end if attributes.has_key?(:'SubjectDistance') self.subject_distance = attributes[:'SubjectDistance'] end if attributes.has_key?(:'SubjectDistanceRange') self.subject_distance_range = attributes[:'SubjectDistanceRange'] end if attributes.has_key?(:'SubjectLocation') if (value = attributes[:'SubjectLocation']).is_a?(Array) self.subject_location = value end end if attributes.has_key?(:'SubsecTime') self.subsec_time = attributes[:'SubsecTime'] end if attributes.has_key?(:'SubsecTimeDigitized') self.subsec_time_digitized = attributes[:'SubsecTimeDigitized'] end if attributes.has_key?(:'SubsecTimeOriginal') self.subsec_time_original = attributes[:'SubsecTimeOriginal'] end if attributes.has_key?(:'UserComment') self.user_comment = attributes[:'UserComment'] end if attributes.has_key?(:'WhiteBalance') self.white_balance = attributes[:'WhiteBalance'] end if attributes.has_key?(:'WhitePoint') if (value = attributes[:'WhitePoint']).is_a?(Array) self.white_point = value end end end |
Instance Attribute Details
#aperture_value ⇒ Object
Gets or sets the aperture.
33 34 35 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 33 def aperture_value @aperture_value end |
#body_serial_number ⇒ Object
Gets or sets the body serial number.
36 37 38 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 36 def body_serial_number @body_serial_number end |
#brightness_value ⇒ Object
Gets or sets the brightness.
39 40 41 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 39 def brightness_value @brightness_value end |
#camera_owner_name ⇒ Object
Gets or sets the camera owner name.
45 46 47 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 45 def camera_owner_name @camera_owner_name end |
#cfa_pattern ⇒ Object
Gets or sets the CFA pattern.
42 43 44 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 42 def cfa_pattern @cfa_pattern end |
#color_space ⇒ Object
Gets or sets the color space.
48 49 50 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 48 def color_space @color_space end |
#components_configuration ⇒ Object
Gets or sets the components configuration.
51 52 53 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 51 def components_configuration @components_configuration end |
#compressed_bits_per_pixel ⇒ Object
Gets or sets the compressed bits per pixel.
54 55 56 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 54 def compressed_bits_per_pixel @compressed_bits_per_pixel end |
#contrast ⇒ Object
Gets or sets the contrast.
57 58 59 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 57 def contrast @contrast end |
#custom_rendered ⇒ Object
Gets or sets the value indincating if custom rendering is performed.
60 61 62 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 60 def custom_rendered @custom_rendered end |
#date_time_digitized ⇒ Object
Gets or sets date and time when image was digitized.
63 64 65 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 63 def date_time_digitized @date_time_digitized end |
#date_time_original ⇒ Object
Gets or sets date and time of the original image.
66 67 68 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 66 def date_time_original @date_time_original end |
#device_setting_description ⇒ Object
Gets or sets the device setting description.
69 70 71 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 69 def device_setting_description @device_setting_description end |
#digital_zoom_ratio ⇒ Object
Gets or sets the digital zoom ratio.
72 73 74 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 72 def digital_zoom_ratio @digital_zoom_ratio end |
#exif_version ⇒ Object
Gets or sets EXIF version.
75 76 77 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 75 def exif_version @exif_version end |
#exposure_bias_value ⇒ Object
Gets or sets the exposure bias.
78 79 80 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 78 def exposure_bias_value @exposure_bias_value end |
#exposure_index ⇒ Object
Gets or sets the exposure index.
81 82 83 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 81 def exposure_index @exposure_index end |
#exposure_mode ⇒ Object
Gets or sets the exposure mode.
84 85 86 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 84 def exposure_mode @exposure_mode end |
#exposure_program ⇒ Object
Gets or sets the exposure program.
87 88 89 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 87 def exposure_program @exposure_program end |
#exposure_time ⇒ Object
Gets or sets the exposure time.
90 91 92 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 90 def exposure_time @exposure_time end |
#f_number ⇒ Object
Gets or sets the focal number.
93 94 95 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 93 def f_number @f_number end |
#file_source ⇒ Object
Gets or sets the file source.
96 97 98 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 96 def file_source @file_source end |
#flash ⇒ Object
Gets or sets the flash.
99 100 101 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 99 def flash @flash end |
#flash_energy ⇒ Object
Gets or sets the flash energy.
102 103 104 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 102 def flash_energy @flash_energy end |
#flashpix_version ⇒ Object
Gets or sets the Flashpix version.
105 106 107 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 105 def flashpix_version @flashpix_version end |
#focal_length ⇒ Object
Gets or sets the focal length.
108 109 110 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 108 def focal_length @focal_length end |
#focal_length_in35_mm_film ⇒ Object
Gets or sets the focal length in 35mm film.
111 112 113 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 111 def focal_length_in35_mm_film @focal_length_in35_mm_film end |
#focal_plane_resolution_unit ⇒ Object
Gets or sets the focal plane resolution unit.
114 115 116 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 114 def focal_plane_resolution_unit @focal_plane_resolution_unit end |
#focal_plane_x_resolution ⇒ Object
Gets or sets the focal plane X resolution.
117 118 119 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 117 def focal_plane_x_resolution @focal_plane_x_resolution end |
#focal_plane_y_resolution ⇒ Object
Gets or sets the focal plane Y resolution.
120 121 122 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 120 def focal_plane_y_resolution @focal_plane_y_resolution end |
#gain_control ⇒ Object
Gets or sets the gain control.
216 217 218 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 216 def gain_control @gain_control end |
#gamma ⇒ Object
Gets or sets the gamma.
219 220 221 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 219 def gamma @gamma end |
#gps_altitude ⇒ Object
Gets or sets the GPS altitude.
123 124 125 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 123 def gps_altitude @gps_altitude end |
#gps_altitude_ref ⇒ Object
Gets or sets the GPS altitude reference (if it’s above or below sea level).
126 127 128 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 126 def gps_altitude_ref @gps_altitude_ref end |
#gps_area_information ⇒ Object
Gets or sets the GPS area information.
129 130 131 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 129 def gps_area_information @gps_area_information end |
#gps_date_stamp ⇒ Object
Gets or sets the GPS date stamp.
168 169 170 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 168 def gps_date_stamp @gps_date_stamp end |
#gps_dest_bearing ⇒ Object
Gets or sets the GPS bearing of the destination.
135 136 137 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 135 def gps_dest_bearing @gps_dest_bearing end |
#gps_dest_bearing_ref ⇒ Object
Gets or sets the GPS reference unit for bearing of the destination.
138 139 140 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 138 def gps_dest_bearing_ref @gps_dest_bearing_ref end |
#gps_dest_distance ⇒ Object
Gets or sets the GPS destination distance.
141 142 143 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 141 def gps_dest_distance @gps_dest_distance end |
#gps_dest_distance_ref ⇒ Object
Gets or sets the GPS reference unit for destination distance.
144 145 146 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 144 def gps_dest_distance_ref @gps_dest_distance_ref end |
#gps_dest_latitude ⇒ Object
Gets or sets the GPS destination latitude.
147 148 149 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 147 def gps_dest_latitude @gps_dest_latitude end |
#gps_dest_latitude_ref ⇒ Object
Gets or sets the GPS reference destination latitude (north or south).
150 151 152 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 150 def gps_dest_latitude_ref @gps_dest_latitude_ref end |
#gps_dest_longitude ⇒ Object
Gets or sets the GPS destination longtitude.
153 154 155 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 153 def gps_dest_longitude @gps_dest_longitude end |
#gps_dest_longitude_ref ⇒ Object
Gets or sets the GPS reference destination longtitude (east or west).
156 157 158 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 156 def gps_dest_longitude_ref @gps_dest_longitude_ref end |
#gps_differential ⇒ Object
Gets or sets the GPS differential.
159 160 161 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 159 def gps_differential @gps_differential end |
#gps_img_direction ⇒ Object
Gets or sets the GPS image direction.
162 163 164 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 162 def gps_img_direction @gps_img_direction end |
#gps_img_direction_ref ⇒ Object
Gets or sets the GPS reference image direction.
165 166 167 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 165 def gps_img_direction_ref @gps_img_direction_ref end |
#gps_latitude ⇒ Object
Gets or sets the GPS latitude.
171 172 173 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 171 def gps_latitude @gps_latitude end |
#gps_latitude_ref ⇒ Object
Gets or sets the GPS latitude reference (north or south).
174 175 176 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 174 def gps_latitude_ref @gps_latitude_ref end |
#gps_longitude ⇒ Object
Gets or sets the GPS longitude.
177 178 179 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 177 def gps_longitude @gps_longitude end |
#gps_longitude_ref ⇒ Object
Gets or sets the GPS longitude reference (east or west).
180 181 182 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 180 def gps_longitude_ref @gps_longitude_ref end |
#gps_map_datum ⇒ Object
Gets or sets the geodetic survey data used by the GPS receiver.
183 184 185 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 183 def gps_map_datum @gps_map_datum end |
#gps_measure_mode ⇒ Object
Gets or sets the GPS measure mode.
186 187 188 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 186 def gps_measure_mode @gps_measure_mode end |
#gps_processing_method ⇒ Object
Gets or setsthe GPS processing method.
189 190 191 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 189 def gps_processing_method @gps_processing_method end |
#gps_satellites ⇒ Object
Gets or sets the GPS satellites info.
192 193 194 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 192 def gps_satellites @gps_satellites end |
#gps_speed ⇒ Object
Gets or sets the GPS speed.
195 196 197 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 195 def gps_speed @gps_speed end |
#gps_speed_ref ⇒ Object
Gets or sets the GPS speed reference unit.
198 199 200 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 198 def gps_speed_ref @gps_speed_ref end |
#gps_status ⇒ Object
Gets or sets the GPS status.
201 202 203 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 201 def gps_status @gps_status end |
#gps_timestamp ⇒ Object
Gets or sets the GPS times tamp.
204 205 206 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 204 def @gps_timestamp end |
#gps_track ⇒ Object
Gets or sets the GPS track.
207 208 209 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 207 def gps_track @gps_track end |
#gps_track_ref ⇒ Object
Gets or sets the GPS track reference.
210 211 212 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 210 def gps_track_ref @gps_track_ref end |
#gps_version_id ⇒ Object
Gets or sets the GPS version ID.
213 214 215 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 213 def gps_version_id @gps_version_id end |
#gpsdop ⇒ Object
Gets or sets the GPS DOP (data degree of precision).
132 133 134 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 132 def gpsdop @gpsdop end |
#image_unique_id ⇒ Object
Gets or sets the image unique ID.
234 235 236 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 234 def image_unique_id @image_unique_id end |
#iso_speed ⇒ Object
Gets or sets the ISO speed.
222 223 224 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 222 def iso_speed @iso_speed end |
#iso_speed_latitude_yyy ⇒ Object
Gets or sets the ISO speed latitude YYY value.
225 226 227 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 225 def iso_speed_latitude_yyy @iso_speed_latitude_yyy end |
#iso_speed_latitude_zzz ⇒ Object
Gets or sets the ISO speed latitude ZZZ value.
228 229 230 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 228 def iso_speed_latitude_zzz @iso_speed_latitude_zzz end |
#lens_make ⇒ Object
Gets or sets the lens manufacturer.
237 238 239 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 237 def lens_make @lens_make end |
#lens_model ⇒ Object
Gets or sets the lens model.
240 241 242 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 240 def lens_model @lens_model end |
#lens_serial_number ⇒ Object
Gets or sets the lens serial number.
243 244 245 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 243 def lens_serial_number @lens_serial_number end |
#lens_specification ⇒ Object
Gets or sets the lens specification.
246 247 248 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 246 def lens_specification @lens_specification end |
#light_source ⇒ Object
Gets or sets the light source.
249 250 251 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 249 def light_source @light_source end |
#maker_note_raw_data ⇒ Object
Gets or sets the maker note raw data.
252 253 254 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 252 def maker_note_raw_data @maker_note_raw_data end |
#max_aperture_value ⇒ Object
Gets or sets the max aperture.
255 256 257 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 255 def max_aperture_value @max_aperture_value end |
#metering_mode ⇒ Object
Gets or sets the metering mode.
258 259 260 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 258 def metering_mode @metering_mode end |
#oecf ⇒ Object
Gets or sets the OECF (Opto-Electric Conversion Function).
261 262 263 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 261 def oecf @oecf end |
#photographic_sensitivity ⇒ Object
Gets or sets the photographic sensitivity.
231 232 233 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 231 def photographic_sensitivity @photographic_sensitivity end |
#pixel_x_dimension ⇒ Object
Gets or sets the pixel X dimension.
264 265 266 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 264 def pixel_x_dimension @pixel_x_dimension end |
#pixel_y_dimension ⇒ Object
Gets or sets the pixel Y dimension.
267 268 269 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 267 def pixel_y_dimension @pixel_y_dimension end |
#recommended_exposure_index ⇒ Object
Gets or sets the recommended exposure index.
270 271 272 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 270 def recommended_exposure_index @recommended_exposure_index end |
#related_sound_file ⇒ Object
Gets or sets the related sound file.
273 274 275 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 273 def @related_sound_file end |
#saturation ⇒ Object
Gets or sets the saturation.
276 277 278 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 276 def saturation @saturation end |
#scene_capture_type ⇒ Object
Gets or sets the scene capture type.
279 280 281 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 279 def scene_capture_type @scene_capture_type end |
#scene_type ⇒ Object
Gets or sets the scene type.
282 283 284 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 282 def scene_type @scene_type end |
#sensing_method ⇒ Object
Gets or sets the sensing method.
285 286 287 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 285 def sensing_method @sensing_method end |
#sensitivity_type ⇒ Object
Gets or sets the sensitivity type.
288 289 290 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 288 def sensitivity_type @sensitivity_type end |
#sharpness ⇒ Object
Gets or sets the sharpness.
291 292 293 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 291 def sharpness @sharpness end |
#shutter_speed_value ⇒ Object
Gets or sets the shutter speed.
294 295 296 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 294 def shutter_speed_value @shutter_speed_value end |
#spatial_frequency_response ⇒ Object
Gets or sets the spatial frequency response.
297 298 299 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 297 def spatial_frequency_response @spatial_frequency_response end |
#spectral_sensitivity ⇒ Object
Gets or sets the spectral sensitivity.
300 301 302 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 300 def spectral_sensitivity @spectral_sensitivity end |
#standard_output_sensitivity ⇒ Object
Gets or sets the standard output sensitivity.
303 304 305 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 303 def standard_output_sensitivity @standard_output_sensitivity end |
#subject_area ⇒ Object
Gets or sets the subject area.
306 307 308 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 306 def subject_area @subject_area end |
#subject_distance ⇒ Object
Gets or sets the subject distance.
309 310 311 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 309 def subject_distance @subject_distance end |
#subject_distance_range ⇒ Object
Gets or sets the subject distance range.
312 313 314 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 312 def subject_distance_range @subject_distance_range end |
#subject_location ⇒ Object
Gets or sets the subject location.
315 316 317 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 315 def subject_location @subject_location end |
#subsec_time ⇒ Object
Gets or sets the fractions of seconds for the DateTime tag.
318 319 320 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 318 def subsec_time @subsec_time end |
#subsec_time_digitized ⇒ Object
Gets or sets the fractions of seconds for the DateTimeDigitized tag.
321 322 323 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 321 def subsec_time_digitized @subsec_time_digitized end |
#subsec_time_original ⇒ Object
Gets or sets the fractions of seconds for the DateTimeOriginal tag.
324 325 326 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 324 def subsec_time_original @subsec_time_original end |
#user_comment ⇒ Object
Gets or sets the user comment.
327 328 329 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 327 def user_comment @user_comment end |
#white_balance ⇒ Object
Gets or sets the white balance.
330 331 332 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 330 def white_balance @white_balance end |
#white_point ⇒ Object
Gets or sets the white point.
333 334 335 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 333 def white_point @white_point end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 336 def self.attribute_map { :'aperture_value' => :'ApertureValue', :'body_serial_number' => :'BodySerialNumber', :'brightness_value' => :'BrightnessValue', :'cfa_pattern' => :'CFAPattern', :'camera_owner_name' => :'CameraOwnerName', :'color_space' => :'ColorSpace', :'components_configuration' => :'ComponentsConfiguration', :'compressed_bits_per_pixel' => :'CompressedBitsPerPixel', :'contrast' => :'Contrast', :'custom_rendered' => :'CustomRendered', :'date_time_digitized' => :'DateTimeDigitized', :'date_time_original' => :'DateTimeOriginal', :'device_setting_description' => :'DeviceSettingDescription', :'digital_zoom_ratio' => :'DigitalZoomRatio', :'exif_version' => :'ExifVersion', :'exposure_bias_value' => :'ExposureBiasValue', :'exposure_index' => :'ExposureIndex', :'exposure_mode' => :'ExposureMode', :'exposure_program' => :'ExposureProgram', :'exposure_time' => :'ExposureTime', :'f_number' => :'FNumber', :'file_source' => :'FileSource', :'flash' => :'Flash', :'flash_energy' => :'FlashEnergy', :'flashpix_version' => :'FlashpixVersion', :'focal_length' => :'FocalLength', :'focal_length_in35_mm_film' => :'FocalLengthIn35MmFilm', :'focal_plane_resolution_unit' => :'FocalPlaneResolutionUnit', :'focal_plane_x_resolution' => :'FocalPlaneXResolution', :'focal_plane_y_resolution' => :'FocalPlaneYResolution', :'gps_altitude' => :'GPSAltitude', :'gps_altitude_ref' => :'GPSAltitudeRef', :'gps_area_information' => :'GPSAreaInformation', :'gpsdop' => :'GPSDOP', :'gps_dest_bearing' => :'GPSDestBearing', :'gps_dest_bearing_ref' => :'GPSDestBearingRef', :'gps_dest_distance' => :'GPSDestDistance', :'gps_dest_distance_ref' => :'GPSDestDistanceRef', :'gps_dest_latitude' => :'GPSDestLatitude', :'gps_dest_latitude_ref' => :'GPSDestLatitudeRef', :'gps_dest_longitude' => :'GPSDestLongitude', :'gps_dest_longitude_ref' => :'GPSDestLongitudeRef', :'gps_differential' => :'GPSDifferential', :'gps_img_direction' => :'GPSImgDirection', :'gps_img_direction_ref' => :'GPSImgDirectionRef', :'gps_date_stamp' => :'GPSDateStamp', :'gps_latitude' => :'GPSLatitude', :'gps_latitude_ref' => :'GPSLatitudeRef', :'gps_longitude' => :'GPSLongitude', :'gps_longitude_ref' => :'GPSLongitudeRef', :'gps_map_datum' => :'GPSMapDatum', :'gps_measure_mode' => :'GPSMeasureMode', :'gps_processing_method' => :'GPSProcessingMethod', :'gps_satellites' => :'GPSSatellites', :'gps_speed' => :'GPSSpeed', :'gps_speed_ref' => :'GPSSpeedRef', :'gps_status' => :'GPSStatus', :'gps_timestamp' => :'GPSTimestamp', :'gps_track' => :'GPSTrack', :'gps_track_ref' => :'GPSTrackRef', :'gps_version_id' => :'GPSVersionID', :'gain_control' => :'GainControl', :'gamma' => :'Gamma', :'iso_speed' => :'ISOSpeed', :'iso_speed_latitude_yyy' => :'ISOSpeedLatitudeYYY', :'iso_speed_latitude_zzz' => :'ISOSpeedLatitudeZZZ', :'photographic_sensitivity' => :'PhotographicSensitivity', :'image_unique_id' => :'ImageUniqueID', :'lens_make' => :'LensMake', :'lens_model' => :'LensModel', :'lens_serial_number' => :'LensSerialNumber', :'lens_specification' => :'LensSpecification', :'light_source' => :'LightSource', :'maker_note_raw_data' => :'MakerNoteRawData', :'max_aperture_value' => :'MaxApertureValue', :'metering_mode' => :'MeteringMode', :'oecf' => :'OECF', :'pixel_x_dimension' => :'PixelXDimension', :'pixel_y_dimension' => :'PixelYDimension', :'recommended_exposure_index' => :'RecommendedExposureIndex', :'related_sound_file' => :'RelatedSoundFile', :'saturation' => :'Saturation', :'scene_capture_type' => :'SceneCaptureType', :'scene_type' => :'SceneType', :'sensing_method' => :'SensingMethod', :'sensitivity_type' => :'SensitivityType', :'sharpness' => :'Sharpness', :'shutter_speed_value' => :'ShutterSpeedValue', :'spatial_frequency_response' => :'SpatialFrequencyResponse', :'spectral_sensitivity' => :'SpectralSensitivity', :'standard_output_sensitivity' => :'StandardOutputSensitivity', :'subject_area' => :'SubjectArea', :'subject_distance' => :'SubjectDistance', :'subject_distance_range' => :'SubjectDistanceRange', :'subject_location' => :'SubjectLocation', :'subsec_time' => :'SubsecTime', :'subsec_time_digitized' => :'SubsecTimeDigitized', :'subsec_time_original' => :'SubsecTimeOriginal', :'user_comment' => :'UserComment', :'white_balance' => :'WhiteBalance', :'white_point' => :'WhitePoint' } end |
.swagger_types ⇒ Object
Attribute type mapping.
443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 443 def self.swagger_types { :'aperture_value' => :'Float', :'body_serial_number' => :'String', :'brightness_value' => :'Float', :'cfa_pattern' => :'String', :'camera_owner_name' => :'String', :'color_space' => :'String', :'components_configuration' => :'String', :'compressed_bits_per_pixel' => :'Float', :'contrast' => :'String', :'custom_rendered' => :'String', :'date_time_digitized' => :'String', :'date_time_original' => :'String', :'device_setting_description' => :'String', :'digital_zoom_ratio' => :'Float', :'exif_version' => :'String', :'exposure_bias_value' => :'Float', :'exposure_index' => :'Float', :'exposure_mode' => :'String', :'exposure_program' => :'String', :'exposure_time' => :'Float', :'f_number' => :'Float', :'file_source' => :'String', :'flash' => :'String', :'flash_energy' => :'Float', :'flashpix_version' => :'String', :'focal_length' => :'Float', :'focal_length_in35_mm_film' => :'Integer', :'focal_plane_resolution_unit' => :'String', :'focal_plane_x_resolution' => :'Float', :'focal_plane_y_resolution' => :'Float', :'gps_altitude' => :'Float', :'gps_altitude_ref' => :'String', :'gps_area_information' => :'String', :'gpsdop' => :'Float', :'gps_dest_bearing' => :'Float', :'gps_dest_bearing_ref' => :'String', :'gps_dest_distance' => :'Float', :'gps_dest_distance_ref' => :'String', :'gps_dest_latitude' => :'Array<Float>', :'gps_dest_latitude_ref' => :'String', :'gps_dest_longitude' => :'Array<Float>', :'gps_dest_longitude_ref' => :'String', :'gps_differential' => :'Integer', :'gps_img_direction' => :'Float', :'gps_img_direction_ref' => :'String', :'gps_date_stamp' => :'String', :'gps_latitude' => :'Array<Float>', :'gps_latitude_ref' => :'String', :'gps_longitude' => :'Array<Float>', :'gps_longitude_ref' => :'String', :'gps_map_datum' => :'String', :'gps_measure_mode' => :'String', :'gps_processing_method' => :'String', :'gps_satellites' => :'String', :'gps_speed' => :'Float', :'gps_speed_ref' => :'String', :'gps_status' => :'String', :'gps_timestamp' => :'Array<Float>', :'gps_track' => :'String', :'gps_track_ref' => :'String', :'gps_version_id' => :'String', :'gain_control' => :'String', :'gamma' => :'Float', :'iso_speed' => :'Integer', :'iso_speed_latitude_yyy' => :'Integer', :'iso_speed_latitude_zzz' => :'Integer', :'photographic_sensitivity' => :'Integer', :'image_unique_id' => :'String', :'lens_make' => :'String', :'lens_model' => :'String', :'lens_serial_number' => :'String', :'lens_specification' => :'Array<Float>', :'light_source' => :'String', :'maker_note_raw_data' => :'String', :'max_aperture_value' => :'Float', :'metering_mode' => :'String', :'oecf' => :'String', :'pixel_x_dimension' => :'Integer', :'pixel_y_dimension' => :'Integer', :'recommended_exposure_index' => :'Integer', :'related_sound_file' => :'String', :'saturation' => :'String', :'scene_capture_type' => :'String', :'scene_type' => :'Integer', :'sensing_method' => :'String', :'sensitivity_type' => :'Integer', :'sharpness' => :'Integer', :'shutter_speed_value' => :'Float', :'spatial_frequency_response' => :'String', :'spectral_sensitivity' => :'String', :'standard_output_sensitivity' => :'Integer', :'subject_area' => :'Array<Integer>', :'subject_distance' => :'Float', :'subject_distance_range' => :'String', :'subject_location' => :'Array<Integer>', :'subsec_time' => :'String', :'subsec_time_digitized' => :'String', :'subsec_time_original' => :'String', :'user_comment' => :'String', :'white_balance' => :'String', :'white_point' => :'Array<Float>' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 1335 def ==(o) return true if self.equal?(o) self.class == o.class && aperture_value == o.aperture_value && body_serial_number == o.body_serial_number && brightness_value == o.brightness_value && cfa_pattern == o.cfa_pattern && camera_owner_name == o.camera_owner_name && color_space == o.color_space && components_configuration == o.components_configuration && compressed_bits_per_pixel == o.compressed_bits_per_pixel && contrast == o.contrast && custom_rendered == o.custom_rendered && date_time_digitized == o.date_time_digitized && date_time_original == o.date_time_original && device_setting_description == o.device_setting_description && digital_zoom_ratio == o.digital_zoom_ratio && exif_version == o.exif_version && exposure_bias_value == o.exposure_bias_value && exposure_index == o.exposure_index && exposure_mode == o.exposure_mode && exposure_program == o.exposure_program && exposure_time == o.exposure_time && f_number == o.f_number && file_source == o.file_source && flash == o.flash && flash_energy == o.flash_energy && flashpix_version == o.flashpix_version && focal_length == o.focal_length && focal_length_in35_mm_film == o.focal_length_in35_mm_film && focal_plane_resolution_unit == o.focal_plane_resolution_unit && focal_plane_x_resolution == o.focal_plane_x_resolution && focal_plane_y_resolution == o.focal_plane_y_resolution && gps_altitude == o.gps_altitude && gps_altitude_ref == o.gps_altitude_ref && gps_area_information == o.gps_area_information && gpsdop == o.gpsdop && gps_dest_bearing == o.gps_dest_bearing && gps_dest_bearing_ref == o.gps_dest_bearing_ref && gps_dest_distance == o.gps_dest_distance && gps_dest_distance_ref == o.gps_dest_distance_ref && gps_dest_latitude == o.gps_dest_latitude && gps_dest_latitude_ref == o.gps_dest_latitude_ref && gps_dest_longitude == o.gps_dest_longitude && gps_dest_longitude_ref == o.gps_dest_longitude_ref && gps_differential == o.gps_differential && gps_img_direction == o.gps_img_direction && gps_img_direction_ref == o.gps_img_direction_ref && gps_date_stamp == o.gps_date_stamp && gps_latitude == o.gps_latitude && gps_latitude_ref == o.gps_latitude_ref && gps_longitude == o.gps_longitude && gps_longitude_ref == o.gps_longitude_ref && gps_map_datum == o.gps_map_datum && gps_measure_mode == o.gps_measure_mode && gps_processing_method == o.gps_processing_method && gps_satellites == o.gps_satellites && gps_speed == o.gps_speed && gps_speed_ref == o.gps_speed_ref && gps_status == o.gps_status && == o. && gps_track == o.gps_track && gps_track_ref == o.gps_track_ref && gps_version_id == o.gps_version_id && gain_control == o.gain_control && gamma == o.gamma && iso_speed == o.iso_speed && iso_speed_latitude_yyy == o.iso_speed_latitude_yyy && iso_speed_latitude_zzz == o.iso_speed_latitude_zzz && photographic_sensitivity == o.photographic_sensitivity && image_unique_id == o.image_unique_id && lens_make == o.lens_make && lens_model == o.lens_model && lens_serial_number == o.lens_serial_number && lens_specification == o.lens_specification && light_source == o.light_source && maker_note_raw_data == o.maker_note_raw_data && max_aperture_value == o.max_aperture_value && metering_mode == o.metering_mode && oecf == o.oecf && pixel_x_dimension == o.pixel_x_dimension && pixel_y_dimension == o.pixel_y_dimension && recommended_exposure_index == o.recommended_exposure_index && == o. && saturation == o.saturation && scene_capture_type == o.scene_capture_type && scene_type == o.scene_type && sensing_method == o.sensing_method && sensitivity_type == o.sensitivity_type && sharpness == o.sharpness && shutter_speed_value == o.shutter_speed_value && spatial_frequency_response == o.spatial_frequency_response && spectral_sensitivity == o.spectral_sensitivity && standard_output_sensitivity == o.standard_output_sensitivity && subject_area == o.subject_area && subject_distance == o.subject_distance && subject_distance_range == o.subject_distance_range && subject_location == o.subject_location && subsec_time == o.subsec_time && subsec_time_digitized == o.subsec_time_digitized && subsec_time_original == o.subsec_time_original && user_comment == o.user_comment && white_balance == o.white_balance && white_point == o.white_point end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 1479 def _deserialize(type, value) case type.to_sym when :DateTime DateTime.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :BOOLEAN if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model temp_model = AsposeImagingCloud.const_get(type).new temp_model.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 1545 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 1456 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| attribute_key = self.class.attribute_map[key] attribute_key = (attribute_key[0, 1].downcase + attribute_key[1..-1]).to_sym if type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the the attribute # is documented as an array but the input is not if attributes[attribute_key].is_a?(Array) self.send("#{key}=", attributes[attribute_key].map { |v| _deserialize($1, v) }) end elsif !attributes[attribute_key].nil? self.send("#{key}=", _deserialize(type, attributes[attribute_key])) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end |
#eql?(o) ⇒ Boolean
1443 1444 1445 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 1443 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
1449 1450 1451 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 1449 def hash [aperture_value, body_serial_number, brightness_value, cfa_pattern, camera_owner_name, color_space, components_configuration, compressed_bits_per_pixel, contrast, custom_rendered, date_time_digitized, date_time_original, device_setting_description, digital_zoom_ratio, exif_version, exposure_bias_value, exposure_index, exposure_mode, exposure_program, exposure_time, f_number, file_source, flash, flash_energy, flashpix_version, focal_length, focal_length_in35_mm_film, focal_plane_resolution_unit, focal_plane_x_resolution, focal_plane_y_resolution, gps_altitude, gps_altitude_ref, gps_area_information, gpsdop, gps_dest_bearing, gps_dest_bearing_ref, gps_dest_distance, gps_dest_distance_ref, gps_dest_latitude, gps_dest_latitude_ref, gps_dest_longitude, gps_dest_longitude_ref, gps_differential, gps_img_direction, gps_img_direction_ref, gps_date_stamp, gps_latitude, gps_latitude_ref, gps_longitude, gps_longitude_ref, gps_map_datum, gps_measure_mode, gps_processing_method, gps_satellites, gps_speed, gps_speed_ref, gps_status, , gps_track, gps_track_ref, gps_version_id, gain_control, gamma, iso_speed, iso_speed_latitude_yyy, iso_speed_latitude_zzz, photographic_sensitivity, image_unique_id, lens_make, lens_model, lens_serial_number, lens_specification, light_source, maker_note_raw_data, max_aperture_value, metering_mode, oecf, pixel_x_dimension, pixel_y_dimension, recommended_exposure_index, , saturation, scene_capture_type, scene_type, sensing_method, sensitivity_type, sharpness, shutter_speed_value, spatial_frequency_response, spectral_sensitivity, standard_output_sensitivity, subject_area, subject_distance, subject_distance_range, subject_location, subsec_time, subsec_time_digitized, subsec_time_original, user_comment, white_balance, white_point].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 982 def list_invalid_properties invalid_properties = Array.new if @aperture_value.nil? invalid_properties.push('invalid value for "aperture_value", aperture_value cannot be nil.') end if @brightness_value.nil? invalid_properties.push('invalid value for "brightness_value", brightness_value cannot be nil.') end if !@cfa_pattern.nil? && @cfa_pattern !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push('invalid value for "cfa_pattern", must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.') end if !@components_configuration.nil? && @components_configuration !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push('invalid value for "components_configuration", must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.') end if @compressed_bits_per_pixel.nil? invalid_properties.push('invalid value for "compressed_bits_per_pixel", compressed_bits_per_pixel cannot be nil.') end if !@device_setting_description.nil? && @device_setting_description !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push('invalid value for "device_setting_description", must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.') end if @digital_zoom_ratio.nil? invalid_properties.push('invalid value for "digital_zoom_ratio", digital_zoom_ratio cannot be nil.') end if !@exif_version.nil? && @exif_version !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push('invalid value for "exif_version", must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.') end if @exposure_bias_value.nil? invalid_properties.push('invalid value for "exposure_bias_value", exposure_bias_value cannot be nil.') end if @exposure_index.nil? invalid_properties.push('invalid value for "exposure_index", exposure_index cannot be nil.') end if @exposure_time.nil? invalid_properties.push('invalid value for "exposure_time", exposure_time cannot be nil.') end if @f_number.nil? invalid_properties.push('invalid value for "f_number", f_number cannot be nil.') end if @flash_energy.nil? invalid_properties.push('invalid value for "flash_energy", flash_energy cannot be nil.') end if !@flashpix_version.nil? && @flashpix_version !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push('invalid value for "flashpix_version", must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.') end if @focal_length.nil? invalid_properties.push('invalid value for "focal_length", focal_length cannot be nil.') end if @focal_length_in35_mm_film.nil? invalid_properties.push('invalid value for "focal_length_in35_mm_film", focal_length_in35_mm_film cannot be nil.') end if @focal_plane_x_resolution.nil? invalid_properties.push('invalid value for "focal_plane_x_resolution", focal_plane_x_resolution cannot be nil.') end if @focal_plane_y_resolution.nil? invalid_properties.push('invalid value for "focal_plane_y_resolution", focal_plane_y_resolution cannot be nil.') end if @gps_altitude.nil? invalid_properties.push('invalid value for "gps_altitude", gps_altitude cannot be nil.') end if !@gps_area_information.nil? && @gps_area_information !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push('invalid value for "gps_area_information", must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.') end if @gpsdop.nil? invalid_properties.push('invalid value for "gpsdop", gpsdop cannot be nil.') end if @gps_dest_bearing.nil? invalid_properties.push('invalid value for "gps_dest_bearing", gps_dest_bearing cannot be nil.') end if @gps_dest_distance.nil? invalid_properties.push('invalid value for "gps_dest_distance", gps_dest_distance cannot be nil.') end if @gps_differential.nil? invalid_properties.push('invalid value for "gps_differential", gps_differential cannot be nil.') end if @gps_img_direction.nil? invalid_properties.push('invalid value for "gps_img_direction", gps_img_direction cannot be nil.') end if !@gps_processing_method.nil? && @gps_processing_method !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push('invalid value for "gps_processing_method", must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.') end if @gps_speed.nil? invalid_properties.push('invalid value for "gps_speed", gps_speed cannot be nil.') end if !@gps_version_id.nil? && @gps_version_id !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push('invalid value for "gps_version_id", must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.') end if @gamma.nil? invalid_properties.push('invalid value for "gamma", gamma cannot be nil.') end if @iso_speed.nil? invalid_properties.push('invalid value for "iso_speed", iso_speed cannot be nil.') end if @iso_speed_latitude_yyy.nil? invalid_properties.push('invalid value for "iso_speed_latitude_yyy", iso_speed_latitude_yyy cannot be nil.') end if @iso_speed_latitude_zzz.nil? invalid_properties.push('invalid value for "iso_speed_latitude_zzz", iso_speed_latitude_zzz cannot be nil.') end if @photographic_sensitivity.nil? invalid_properties.push('invalid value for "photographic_sensitivity", photographic_sensitivity cannot be nil.') end if !@maker_note_raw_data.nil? && @maker_note_raw_data !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push('invalid value for "maker_note_raw_data", must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.') end if @max_aperture_value.nil? invalid_properties.push('invalid value for "max_aperture_value", max_aperture_value cannot be nil.') end if !@oecf.nil? && @oecf !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push('invalid value for "oecf", must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.') end if @pixel_x_dimension.nil? invalid_properties.push('invalid value for "pixel_x_dimension", pixel_x_dimension cannot be nil.') end if @pixel_y_dimension.nil? invalid_properties.push('invalid value for "pixel_y_dimension", pixel_y_dimension cannot be nil.') end if @recommended_exposure_index.nil? invalid_properties.push('invalid value for "recommended_exposure_index", recommended_exposure_index cannot be nil.') end if @scene_type.nil? invalid_properties.push('invalid value for "scene_type", scene_type cannot be nil.') end if @sensitivity_type.nil? invalid_properties.push('invalid value for "sensitivity_type", sensitivity_type cannot be nil.') end if @sharpness.nil? invalid_properties.push('invalid value for "sharpness", sharpness cannot be nil.') end if @shutter_speed_value.nil? invalid_properties.push('invalid value for "shutter_speed_value", shutter_speed_value cannot be nil.') end if !@spatial_frequency_response.nil? && @spatial_frequency_response !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push('invalid value for "spatial_frequency_response", must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.') end if @standard_output_sensitivity.nil? invalid_properties.push('invalid value for "standard_output_sensitivity", standard_output_sensitivity cannot be nil.') end if @subject_distance.nil? invalid_properties.push('invalid value for "subject_distance", subject_distance cannot be nil.') end invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
1525 1526 1527 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 1525 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
1531 1532 1533 1534 1535 1536 1537 1538 1539 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 1531 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) next if value.nil? hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
1519 1520 1521 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 1519 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 |
# File 'lib/aspose-imaging-cloud/models/exif_data.rb', line 1173 def valid? return false if @aperture_value.nil? return false if @brightness_value.nil? return false if !@cfa_pattern.nil? && @cfa_pattern !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return false if !@components_configuration.nil? && @components_configuration !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return false if @compressed_bits_per_pixel.nil? return false if !@device_setting_description.nil? && @device_setting_description !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return false if @digital_zoom_ratio.nil? return false if !@exif_version.nil? && @exif_version !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return false if @exposure_bias_value.nil? return false if @exposure_index.nil? return false if @exposure_time.nil? return false if @f_number.nil? return false if @flash_energy.nil? return false if !@flashpix_version.nil? && @flashpix_version !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return false if @focal_length.nil? return false if @focal_length_in35_mm_film.nil? return false if @focal_plane_x_resolution.nil? return false if @focal_plane_y_resolution.nil? return false if @gps_altitude.nil? return false if !@gps_area_information.nil? && @gps_area_information !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return false if @gpsdop.nil? return false if @gps_dest_bearing.nil? return false if @gps_dest_distance.nil? return false if @gps_differential.nil? return false if @gps_img_direction.nil? return false if !@gps_processing_method.nil? && @gps_processing_method !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return false if @gps_speed.nil? return false if !@gps_version_id.nil? && @gps_version_id !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return false if @gamma.nil? return false if @iso_speed.nil? return false if @iso_speed_latitude_yyy.nil? return false if @iso_speed_latitude_zzz.nil? return false if @photographic_sensitivity.nil? return false if !@maker_note_raw_data.nil? && @maker_note_raw_data !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return false if @max_aperture_value.nil? return false if !@oecf.nil? && @oecf !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return false if @pixel_x_dimension.nil? return false if @pixel_y_dimension.nil? return false if @recommended_exposure_index.nil? return false if @scene_type.nil? return false if @sensitivity_type.nil? return false if @sharpness.nil? return false if @shutter_speed_value.nil? return false if !@spatial_frequency_response.nil? && @spatial_frequency_response !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return false if @standard_output_sensitivity.nil? return false if @subject_distance.nil? true end |