aspose_imaging_cloud 1.0.0 → 19.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +224 -61
- data/lib/aspose-imaging-cloud.rb +161 -0
- data/lib/aspose-imaging-cloud/api/imaging_api.rb +684 -0
- data/lib/aspose-imaging-cloud/api_client.rb +357 -0
- data/lib/aspose-imaging-cloud/api_error.rb +42 -0
- data/lib/{aspose_imaging_cloud → aspose-imaging-cloud}/configuration.rb +236 -166
- data/lib/aspose-imaging-cloud/models/big_rectangular_filter_properties.rb +206 -0
- data/lib/aspose-imaging-cloud/models/bilateral_smoothing_filter_properties.rb +281 -0
- data/lib/aspose-imaging-cloud/models/bmp_properties.rb +202 -0
- data/lib/aspose-imaging-cloud/models/convolution_filter_properties.rb +236 -0
- data/lib/aspose-imaging-cloud/models/deconvolution_filter_properties.rb +266 -0
- data/lib/aspose-imaging-cloud/models/dicom_properties.rb +584 -0
- data/lib/aspose-imaging-cloud/models/disc_usage.rb +222 -0
- data/lib/aspose-imaging-cloud/models/djvu_properties.rb +232 -0
- data/lib/aspose-imaging-cloud/models/dng_properties.rb +329 -0
- data/lib/aspose-imaging-cloud/models/error.rb +232 -0
- data/lib/aspose-imaging-cloud/models/error_details.rb +217 -0
- data/lib/aspose-imaging-cloud/models/exif_data.rb +1560 -0
- data/lib/aspose-imaging-cloud/models/file_version.rb +277 -0
- data/lib/aspose-imaging-cloud/models/file_versions.rb +204 -0
- data/lib/aspose-imaging-cloud/models/files_list.rb +204 -0
- data/lib/aspose-imaging-cloud/models/files_upload_result.rb +216 -0
- data/lib/aspose-imaging-cloud/models/filter_properties_base.rb +206 -0
- data/lib/aspose-imaging-cloud/models/gauss_wiener_filter_properties.rb +296 -0
- data/lib/aspose-imaging-cloud/models/gaussian_blur_filter_properties.rb +266 -0
- data/lib/aspose-imaging-cloud/models/gif_properties.rb +247 -0
- data/lib/aspose-imaging-cloud/models/image_duplicates.rb +204 -0
- data/lib/aspose-imaging-cloud/models/image_duplicates_set.rb +204 -0
- data/lib/aspose-imaging-cloud/models/image_features.rb +257 -0
- data/lib/aspose-imaging-cloud/models/imaging_response.rb +412 -0
- data/lib/aspose-imaging-cloud/models/jfif_data.rb +247 -0
- data/lib/aspose-imaging-cloud/models/jpeg2000_properties.rb +214 -0
- data/lib/aspose-imaging-cloud/models/jpeg_exif_data.rb +1738 -0
- data/lib/aspose-imaging-cloud/models/jpeg_properties.rb +222 -0
- data/lib/aspose-imaging-cloud/models/median_filter_properties.rb +221 -0
- data/lib/aspose-imaging-cloud/models/motion_wiener_filter_properties.rb +311 -0
- data/lib/aspose-imaging-cloud/models/object_exist.rb +222 -0
- data/lib/aspose-imaging-cloud/models/odg_metadata.rb +372 -0
- data/lib/aspose-imaging-cloud/models/odg_page.rb +222 -0
- data/lib/aspose-imaging-cloud/models/odg_properties.rb +229 -0
- data/lib/aspose-imaging-cloud/models/png_properties.rb +192 -0
- data/lib/aspose-imaging-cloud/models/psd_properties.rb +242 -0
- data/lib/aspose-imaging-cloud/models/requests/add_search_image_request.rb +91 -0
- data/lib/aspose-imaging-cloud/models/requests/append_tiff_request.rb +88 -0
- data/lib/aspose-imaging-cloud/models/requests/compare_images_request.rb +94 -0
- data/lib/aspose-imaging-cloud/models/requests/convert_tiff_to_fax_request.rb +80 -0
- data/lib/aspose-imaging-cloud/models/requests/copy_file_request.rb +91 -0
- data/lib/aspose-imaging-cloud/models/requests/copy_folder_request.rb +88 -0
- data/lib/aspose-imaging-cloud/models/requests/create_cropped_image_request.rb +121 -0
- data/lib/aspose-imaging-cloud/models/requests/create_folder_request.rb +77 -0
- data/lib/aspose-imaging-cloud/models/requests/create_image_features_request.rb +89 -0
- data/lib/aspose-imaging-cloud/models/requests/create_image_frame_request.rb +112 -0
- data/lib/aspose-imaging-cloud/models/requests/create_image_search_request.rb +79 -0
- data/lib/aspose-imaging-cloud/models/requests/create_image_tag_request.rb +96 -0
- data/lib/aspose-imaging-cloud/models/requests/create_modified_bmp_request.rb +108 -0
- data/lib/aspose-imaging-cloud/models/requests/create_modified_emf_request.rb +127 -0
- data/lib/aspose-imaging-cloud/models/requests/create_modified_gif_request.rb +102 -0
- data/lib/aspose-imaging-cloud/models/requests/create_modified_jpeg2000_request.rb +95 -0
- data/lib/aspose-imaging-cloud/models/requests/create_modified_jpeg_request.rb +90 -0
- data/lib/aspose-imaging-cloud/models/requests/create_modified_psd_request.rb +90 -0
- data/lib/aspose-imaging-cloud/models/requests/create_modified_svg_request.rb +114 -0
- data/lib/aspose-imaging-cloud/models/requests/create_modified_tiff_request.rb +104 -0
- data/lib/aspose-imaging-cloud/models/requests/create_modified_web_p_request.rb +116 -0
- data/lib/aspose-imaging-cloud/models/requests/create_modified_wmf_request.rb +127 -0
- data/lib/aspose-imaging-cloud/models/requests/create_resized_image_request.rb +105 -0
- data/lib/aspose-imaging-cloud/models/requests/create_rotate_flipped_image_request.rb +97 -0
- data/lib/aspose-imaging-cloud/models/requests/create_saved_image_as_request.rb +89 -0
- data/lib/aspose-imaging-cloud/models/requests/create_updated_image_request.rb +145 -0
- data/lib/aspose-imaging-cloud/models/requests/create_web_site_image_features_request.rb +88 -0
- data/lib/aspose-imaging-cloud/models/requests/crop_image_request.rb +120 -0
- data/lib/aspose-imaging-cloud/models/requests/delete_file_request.rb +80 -0
- data/lib/aspose-imaging-cloud/models/requests/delete_folder_request.rb +80 -0
- data/lib/aspose-imaging-cloud/models/requests/delete_image_features_request.rb +88 -0
- data/lib/aspose-imaging-cloud/models/requests/delete_image_search_request.rb +80 -0
- data/lib/aspose-imaging-cloud/models/requests/delete_search_image_request.rb +88 -0
- data/lib/aspose-imaging-cloud/models/requests/download_file_request.rb +80 -0
- data/lib/aspose-imaging-cloud/models/requests/extract_image_features_request.rb +91 -0
- data/lib/aspose-imaging-cloud/models/requests/extract_image_frame_properties_request.rb +82 -0
- data/lib/aspose-imaging-cloud/models/requests/extract_image_properties_request.rb +75 -0
- data/lib/aspose-imaging-cloud/models/requests/filter_effect_image_request.rb +103 -0
- data/lib/aspose-imaging-cloud/models/requests/find_image_duplicates_request.rb +88 -0
- data/lib/aspose-imaging-cloud/models/requests/find_images_by_tags_request.rb +104 -0
- data/lib/aspose-imaging-cloud/models/requests/find_similar_images_request.rb +102 -0
- data/lib/aspose-imaging-cloud/models/requests/get_disc_usage_request.rb +70 -0
- data/lib/aspose-imaging-cloud/models/requests/get_file_versions_request.rb +77 -0
- data/lib/aspose-imaging-cloud/models/requests/get_files_list_request.rb +77 -0
- data/lib/aspose-imaging-cloud/models/requests/get_image_features_request.rb +88 -0
- data/lib/aspose-imaging-cloud/models/requests/get_image_frame_properties_request.rb +87 -0
- data/lib/aspose-imaging-cloud/models/requests/get_image_frame_request.rb +111 -0
- data/lib/aspose-imaging-cloud/models/requests/get_image_properties_request.rb +80 -0
- data/lib/aspose-imaging-cloud/models/requests/get_image_search_status_request.rb +80 -0
- data/lib/aspose-imaging-cloud/models/requests/get_search_image_request.rb +88 -0
- data/lib/aspose-imaging-cloud/models/requests/http_request.rb +50 -0
- data/lib/aspose-imaging-cloud/models/requests/imaging_request.rb +101 -0
- data/lib/aspose-imaging-cloud/models/requests/modify_bmp_request.rb +107 -0
- data/lib/aspose-imaging-cloud/models/requests/modify_emf_request.rb +126 -0
- data/lib/aspose-imaging-cloud/models/requests/modify_gif_request.rb +101 -0
- data/lib/aspose-imaging-cloud/models/requests/modify_jpeg2000_request.rb +94 -0
- data/lib/aspose-imaging-cloud/models/requests/modify_jpeg_request.rb +89 -0
- data/lib/aspose-imaging-cloud/models/requests/modify_psd_request.rb +89 -0
- data/lib/aspose-imaging-cloud/models/requests/modify_svg_request.rb +113 -0
- data/lib/aspose-imaging-cloud/models/requests/modify_tiff_request.rb +103 -0
- data/lib/aspose-imaging-cloud/models/requests/modify_web_p_request.rb +115 -0
- data/lib/aspose-imaging-cloud/models/requests/modify_wmf_request.rb +126 -0
- data/lib/aspose-imaging-cloud/models/requests/move_file_request.rb +91 -0
- data/lib/aspose-imaging-cloud/models/requests/move_folder_request.rb +88 -0
- data/lib/aspose-imaging-cloud/models/requests/object_exists_request.rb +80 -0
- data/lib/aspose-imaging-cloud/models/requests/resize_image_request.rb +104 -0
- data/lib/aspose-imaging-cloud/models/requests/rotate_flip_image_request.rb +96 -0
- data/lib/aspose-imaging-cloud/models/requests/save_image_as_request.rb +88 -0
- data/lib/aspose-imaging-cloud/models/requests/storage_exists_request.rb +74 -0
- data/lib/aspose-imaging-cloud/models/requests/update_image_features_request.rb +91 -0
- data/lib/aspose-imaging-cloud/models/requests/update_image_request.rb +144 -0
- data/lib/aspose-imaging-cloud/models/requests/update_search_image_request.rb +91 -0
- data/lib/aspose-imaging-cloud/models/requests/upload_file_request.rb +86 -0
- data/lib/aspose-imaging-cloud/models/search_context_status.rb +212 -0
- data/lib/aspose-imaging-cloud/models/search_result.rb +217 -0
- data/lib/aspose-imaging-cloud/models/search_results_set.rb +204 -0
- data/lib/aspose-imaging-cloud/models/sharpen_filter_properties.rb +266 -0
- data/lib/aspose-imaging-cloud/models/small_rectangular_filter_properties.rb +206 -0
- data/lib/aspose-imaging-cloud/models/storage_exist.rb +207 -0
- data/lib/aspose-imaging-cloud/models/storage_file.rb +252 -0
- data/lib/aspose-imaging-cloud/models/svg_properties.rb +202 -0
- data/lib/aspose-imaging-cloud/models/tiff_frame.rb +242 -0
- data/lib/aspose-imaging-cloud/models/tiff_options.rb +734 -0
- data/lib/aspose-imaging-cloud/models/tiff_properties.rb +224 -0
- data/lib/aspose-imaging-cloud/models/web_p_properties.rb +252 -0
- data/lib/aspose-imaging-cloud/version.rb +15 -0
- metadata +149 -129
- data/LICENSE +0 -22
- data/aspose_imaging_cloud.gemspec +0 -26
- data/lib/aspose_imaging_cloud.rb +0 -43
- data/lib/aspose_imaging_cloud/api/imaging_api.rb +0 -1776
- data/lib/aspose_imaging_cloud/api_client.rb +0 -335
- data/lib/aspose_imaging_cloud/api_error.rb +0 -24
- data/lib/aspose_imaging_cloud/models/base_object.rb +0 -86
- data/lib/aspose_imaging_cloud/models/base_response.rb +0 -53
- data/lib/aspose_imaging_cloud/models/bmp_properties.rb +0 -37
- data/lib/aspose_imaging_cloud/models/exif_data.rb +0 -855
- data/lib/aspose_imaging_cloud/models/gif_properties.rb +0 -53
- data/lib/aspose_imaging_cloud/models/imaging_response.rb +0 -149
- data/lib/aspose_imaging_cloud/models/jfif_data.rb +0 -61
- data/lib/aspose_imaging_cloud/models/jpeg_exif_data.rb +0 -991
- data/lib/aspose_imaging_cloud/models/jpeg_properties.rb +0 -53
- data/lib/aspose_imaging_cloud/models/psd_properties.rb +0 -61
- data/lib/aspose_imaging_cloud/models/tiff_frame.rb +0 -61
- data/lib/aspose_imaging_cloud/models/tiff_options.rb +0 -419
- data/lib/aspose_imaging_cloud/models/tiff_properties.rb +0 -55
- data/lib/aspose_imaging_cloud/version.rb +0 -3
- data/test/data/TestDemo.tif +0 -0
- data/test/data/aspose.jpg +0 -0
- data/test/data/aspose_imaging_for_cloud.png +0 -0
- data/test/data/demo.tif +0 -0
- data/test/data/sample-multi.tif +0 -0
- data/test/data/sample.bmp +0 -0
- data/test/data/sample.gif +0 -0
- data/test/data/sample.psd +0 -0
- data/test/data/sample.tif +0 -0
- data/test/data/test.bmp +0 -0
- data/test/imaging_tests.rb +0 -291
@@ -1,53 +0,0 @@
|
|
1
|
-
module AsposeImagingCloud
|
2
|
-
#
|
3
|
-
class JpegProperties < BaseObject
|
4
|
-
attr_accessor :comment, :jpeg_exif_data, :jpeg_jfif_data
|
5
|
-
# attribute mapping from ruby-style variable name to JSON key
|
6
|
-
def self.attribute_map
|
7
|
-
{
|
8
|
-
|
9
|
-
#
|
10
|
-
:'comment' => :'Comment',
|
11
|
-
|
12
|
-
#
|
13
|
-
:'jpeg_exif_data' => :'JpegExifData',
|
14
|
-
|
15
|
-
#
|
16
|
-
:'jpeg_jfif_data' => :'JpegJfifData'
|
17
|
-
|
18
|
-
}
|
19
|
-
end
|
20
|
-
|
21
|
-
# attribute type
|
22
|
-
def self.swagger_types
|
23
|
-
{
|
24
|
-
:'comment' => :'String',
|
25
|
-
:'jpeg_exif_data' => :'JpegExifData',
|
26
|
-
:'jpeg_jfif_data' => :'JfifData'
|
27
|
-
|
28
|
-
}
|
29
|
-
end
|
30
|
-
|
31
|
-
def initialize(attributes = {})
|
32
|
-
return if !attributes.is_a?(Hash) || attributes.empty?
|
33
|
-
|
34
|
-
# convert string to symbol for hash key
|
35
|
-
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
36
|
-
|
37
|
-
|
38
|
-
if attributes[:'Comment']
|
39
|
-
self.comment = attributes[:'Comment']
|
40
|
-
end
|
41
|
-
|
42
|
-
if attributes[:'JpegExifData']
|
43
|
-
self.jpeg_exif_data = attributes[:'JpegExifData']
|
44
|
-
end
|
45
|
-
|
46
|
-
if attributes[:'JpegJfifData']
|
47
|
-
self.jpeg_jfif_data = attributes[:'JpegJfifData']
|
48
|
-
end
|
49
|
-
|
50
|
-
end
|
51
|
-
|
52
|
-
end
|
53
|
-
end
|
@@ -1,61 +0,0 @@
|
|
1
|
-
module AsposeImagingCloud
|
2
|
-
#
|
3
|
-
class PsdProperties < BaseObject
|
4
|
-
attr_accessor :bits_per_channel, :channels_count, :color_mode, :compression
|
5
|
-
# attribute mapping from ruby-style variable name to JSON key
|
6
|
-
def self.attribute_map
|
7
|
-
{
|
8
|
-
|
9
|
-
#
|
10
|
-
:'bits_per_channel' => :'BitsPerChannel',
|
11
|
-
|
12
|
-
#
|
13
|
-
:'channels_count' => :'ChannelsCount',
|
14
|
-
|
15
|
-
#
|
16
|
-
:'color_mode' => :'ColorMode',
|
17
|
-
|
18
|
-
#
|
19
|
-
:'compression' => :'Compression'
|
20
|
-
|
21
|
-
}
|
22
|
-
end
|
23
|
-
|
24
|
-
# attribute type
|
25
|
-
def self.swagger_types
|
26
|
-
{
|
27
|
-
:'bits_per_channel' => :'Integer',
|
28
|
-
:'channels_count' => :'Integer',
|
29
|
-
:'color_mode' => :'String',
|
30
|
-
:'compression' => :'String'
|
31
|
-
|
32
|
-
}
|
33
|
-
end
|
34
|
-
|
35
|
-
def initialize(attributes = {})
|
36
|
-
return if !attributes.is_a?(Hash) || attributes.empty?
|
37
|
-
|
38
|
-
# convert string to symbol for hash key
|
39
|
-
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
40
|
-
|
41
|
-
|
42
|
-
if attributes[:'BitsPerChannel']
|
43
|
-
self.bits_per_channel = attributes[:'BitsPerChannel']
|
44
|
-
end
|
45
|
-
|
46
|
-
if attributes[:'ChannelsCount']
|
47
|
-
self.channels_count = attributes[:'ChannelsCount']
|
48
|
-
end
|
49
|
-
|
50
|
-
if attributes[:'ColorMode']
|
51
|
-
self.color_mode = attributes[:'ColorMode']
|
52
|
-
end
|
53
|
-
|
54
|
-
if attributes[:'Compression']
|
55
|
-
self.compression = attributes[:'Compression']
|
56
|
-
end
|
57
|
-
|
58
|
-
end
|
59
|
-
|
60
|
-
end
|
61
|
-
end
|
@@ -1,61 +0,0 @@
|
|
1
|
-
module AsposeImagingCloud
|
2
|
-
#
|
3
|
-
class TiffFrame < BaseObject
|
4
|
-
attr_accessor :frame_options, :height, :width, :exif_data
|
5
|
-
# attribute mapping from ruby-style variable name to JSON key
|
6
|
-
def self.attribute_map
|
7
|
-
{
|
8
|
-
|
9
|
-
#
|
10
|
-
:'frame_options' => :'FrameOptions',
|
11
|
-
|
12
|
-
#
|
13
|
-
:'height' => :'Height',
|
14
|
-
|
15
|
-
#
|
16
|
-
:'width' => :'Width',
|
17
|
-
|
18
|
-
#
|
19
|
-
:'exif_data' => :'ExifData'
|
20
|
-
|
21
|
-
}
|
22
|
-
end
|
23
|
-
|
24
|
-
# attribute type
|
25
|
-
def self.swagger_types
|
26
|
-
{
|
27
|
-
:'frame_options' => :'TiffOptions',
|
28
|
-
:'height' => :'Integer',
|
29
|
-
:'width' => :'Integer',
|
30
|
-
:'exif_data' => :'ExifData'
|
31
|
-
|
32
|
-
}
|
33
|
-
end
|
34
|
-
|
35
|
-
def initialize(attributes = {})
|
36
|
-
return if !attributes.is_a?(Hash) || attributes.empty?
|
37
|
-
|
38
|
-
# convert string to symbol for hash key
|
39
|
-
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
40
|
-
|
41
|
-
|
42
|
-
if attributes[:'FrameOptions']
|
43
|
-
self.frame_options = attributes[:'FrameOptions']
|
44
|
-
end
|
45
|
-
|
46
|
-
if attributes[:'Height']
|
47
|
-
self.height = attributes[:'Height']
|
48
|
-
end
|
49
|
-
|
50
|
-
if attributes[:'Width']
|
51
|
-
self.width = attributes[:'Width']
|
52
|
-
end
|
53
|
-
|
54
|
-
if attributes[:'ExifData']
|
55
|
-
self.exif_data = attributes[:'ExifData']
|
56
|
-
end
|
57
|
-
|
58
|
-
end
|
59
|
-
|
60
|
-
end
|
61
|
-
end
|
@@ -1,419 +0,0 @@
|
|
1
|
-
module AsposeImagingCloud
|
2
|
-
#
|
3
|
-
class TiffOptions < BaseObject
|
4
|
-
attr_accessor :is_valid, :artist, :byte_order, :bits_per_sample, :compression, :copyright, :color_map, :date_time, :document_name, :alpha_storage, :fill_order, :half_tone_hints, :image_description, :ink_names, :scanner_manufacturer, :max_sample_value, :min_sample_value, :scanner_model, :page_name, :orientation, :page_number, :photometric, :planar_configuration, :resolution_unit, :rows_per_strip, :sample_format, :samples_per_pixel, :smax_sample_value, :smin_sample_value, :software_type, :strip_byte_counts, :strip_offsets, :sub_file_type, :target_printer, :threshholding, :total_pages, :xposition, :xresolution, :yposition, :yresolution, :fax_t4_options, :predictor, :image_length, :image_width, :valid_tag_count, :bits_per_pixel
|
5
|
-
# attribute mapping from ruby-style variable name to JSON key
|
6
|
-
def self.attribute_map
|
7
|
-
{
|
8
|
-
|
9
|
-
#
|
10
|
-
:'is_valid' => :'IsValid',
|
11
|
-
|
12
|
-
#
|
13
|
-
:'artist' => :'Artist',
|
14
|
-
|
15
|
-
#
|
16
|
-
:'byte_order' => :'ByteOrder',
|
17
|
-
|
18
|
-
#
|
19
|
-
:'bits_per_sample' => :'BitsPerSample',
|
20
|
-
|
21
|
-
#
|
22
|
-
:'compression' => :'Compression',
|
23
|
-
|
24
|
-
#
|
25
|
-
:'copyright' => :'Copyright',
|
26
|
-
|
27
|
-
#
|
28
|
-
:'color_map' => :'ColorMap',
|
29
|
-
|
30
|
-
#
|
31
|
-
:'date_time' => :'DateTime',
|
32
|
-
|
33
|
-
#
|
34
|
-
:'document_name' => :'DocumentName',
|
35
|
-
|
36
|
-
#
|
37
|
-
:'alpha_storage' => :'AlphaStorage',
|
38
|
-
|
39
|
-
#
|
40
|
-
:'fill_order' => :'FillOrder',
|
41
|
-
|
42
|
-
#
|
43
|
-
:'half_tone_hints' => :'HalfToneHints',
|
44
|
-
|
45
|
-
#
|
46
|
-
:'image_description' => :'ImageDescription',
|
47
|
-
|
48
|
-
#
|
49
|
-
:'ink_names' => :'InkNames',
|
50
|
-
|
51
|
-
#
|
52
|
-
:'scanner_manufacturer' => :'ScannerManufacturer',
|
53
|
-
|
54
|
-
#
|
55
|
-
:'max_sample_value' => :'MaxSampleValue',
|
56
|
-
|
57
|
-
#
|
58
|
-
:'min_sample_value' => :'MinSampleValue',
|
59
|
-
|
60
|
-
#
|
61
|
-
:'scanner_model' => :'ScannerModel',
|
62
|
-
|
63
|
-
#
|
64
|
-
:'page_name' => :'PageName',
|
65
|
-
|
66
|
-
#
|
67
|
-
:'orientation' => :'Orientation',
|
68
|
-
|
69
|
-
#
|
70
|
-
:'page_number' => :'PageNumber',
|
71
|
-
|
72
|
-
#
|
73
|
-
:'photometric' => :'Photometric',
|
74
|
-
|
75
|
-
#
|
76
|
-
:'planar_configuration' => :'PlanarConfiguration',
|
77
|
-
|
78
|
-
#
|
79
|
-
:'resolution_unit' => :'ResolutionUnit',
|
80
|
-
|
81
|
-
#
|
82
|
-
:'rows_per_strip' => :'RowsPerStrip',
|
83
|
-
|
84
|
-
#
|
85
|
-
:'sample_format' => :'SampleFormat',
|
86
|
-
|
87
|
-
#
|
88
|
-
:'samples_per_pixel' => :'SamplesPerPixel',
|
89
|
-
|
90
|
-
#
|
91
|
-
:'smax_sample_value' => :'SmaxSampleValue',
|
92
|
-
|
93
|
-
#
|
94
|
-
:'smin_sample_value' => :'SminSampleValue',
|
95
|
-
|
96
|
-
#
|
97
|
-
:'software_type' => :'SoftwareType',
|
98
|
-
|
99
|
-
#
|
100
|
-
:'strip_byte_counts' => :'StripByteCounts',
|
101
|
-
|
102
|
-
#
|
103
|
-
:'strip_offsets' => :'StripOffsets',
|
104
|
-
|
105
|
-
#
|
106
|
-
:'sub_file_type' => :'SubFileType',
|
107
|
-
|
108
|
-
#
|
109
|
-
:'target_printer' => :'TargetPrinter',
|
110
|
-
|
111
|
-
#
|
112
|
-
:'threshholding' => :'Threshholding',
|
113
|
-
|
114
|
-
#
|
115
|
-
:'total_pages' => :'TotalPages',
|
116
|
-
|
117
|
-
#
|
118
|
-
:'xposition' => :'Xposition',
|
119
|
-
|
120
|
-
#
|
121
|
-
:'xresolution' => :'Xresolution',
|
122
|
-
|
123
|
-
#
|
124
|
-
:'yposition' => :'Yposition',
|
125
|
-
|
126
|
-
#
|
127
|
-
:'yresolution' => :'Yresolution',
|
128
|
-
|
129
|
-
#
|
130
|
-
:'fax_t4_options' => :'FaxT4Options',
|
131
|
-
|
132
|
-
#
|
133
|
-
:'predictor' => :'Predictor',
|
134
|
-
|
135
|
-
#
|
136
|
-
:'image_length' => :'ImageLength',
|
137
|
-
|
138
|
-
#
|
139
|
-
:'image_width' => :'ImageWidth',
|
140
|
-
|
141
|
-
#
|
142
|
-
:'valid_tag_count' => :'ValidTagCount',
|
143
|
-
|
144
|
-
#
|
145
|
-
:'bits_per_pixel' => :'BitsPerPixel'
|
146
|
-
|
147
|
-
}
|
148
|
-
end
|
149
|
-
|
150
|
-
# attribute type
|
151
|
-
def self.swagger_types
|
152
|
-
{
|
153
|
-
:'is_valid' => :'BOOLEAN',
|
154
|
-
:'artist' => :'String',
|
155
|
-
:'byte_order' => :'String',
|
156
|
-
:'bits_per_sample' => :'Array<Integer>',
|
157
|
-
:'compression' => :'String',
|
158
|
-
:'copyright' => :'String',
|
159
|
-
:'color_map' => :'Array<Integer>',
|
160
|
-
:'date_time' => :'String',
|
161
|
-
:'document_name' => :'String',
|
162
|
-
:'alpha_storage' => :'String',
|
163
|
-
:'fill_order' => :'String',
|
164
|
-
:'half_tone_hints' => :'Array<Integer>',
|
165
|
-
:'image_description' => :'String',
|
166
|
-
:'ink_names' => :'String',
|
167
|
-
:'scanner_manufacturer' => :'String',
|
168
|
-
:'max_sample_value' => :'Array<Integer>',
|
169
|
-
:'min_sample_value' => :'Array<Integer>',
|
170
|
-
:'scanner_model' => :'String',
|
171
|
-
:'page_name' => :'String',
|
172
|
-
:'orientation' => :'String',
|
173
|
-
:'page_number' => :'Array<Integer>',
|
174
|
-
:'photometric' => :'String',
|
175
|
-
:'planar_configuration' => :'String',
|
176
|
-
:'resolution_unit' => :'String',
|
177
|
-
:'rows_per_strip' => :'Integer',
|
178
|
-
:'sample_format' => :'Array<String>',
|
179
|
-
:'samples_per_pixel' => :'Integer',
|
180
|
-
:'smax_sample_value' => :'Array<Integer>',
|
181
|
-
:'smin_sample_value' => :'Array<Integer>',
|
182
|
-
:'software_type' => :'String',
|
183
|
-
:'strip_byte_counts' => :'Array<Integer>',
|
184
|
-
:'strip_offsets' => :'Array<Integer>',
|
185
|
-
:'sub_file_type' => :'String',
|
186
|
-
:'target_printer' => :'String',
|
187
|
-
:'threshholding' => :'String',
|
188
|
-
:'total_pages' => :'Integer',
|
189
|
-
:'xposition' => :'Float',
|
190
|
-
:'xresolution' => :'Float',
|
191
|
-
:'yposition' => :'Float',
|
192
|
-
:'yresolution' => :'Float',
|
193
|
-
:'fax_t4_options' => :'String',
|
194
|
-
:'predictor' => :'String',
|
195
|
-
:'image_length' => :'Integer',
|
196
|
-
:'image_width' => :'Integer',
|
197
|
-
:'valid_tag_count' => :'Integer',
|
198
|
-
:'bits_per_pixel' => :'Integer'
|
199
|
-
|
200
|
-
}
|
201
|
-
end
|
202
|
-
|
203
|
-
def initialize(attributes = {})
|
204
|
-
return if !attributes.is_a?(Hash) || attributes.empty?
|
205
|
-
|
206
|
-
# convert string to symbol for hash key
|
207
|
-
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
208
|
-
|
209
|
-
|
210
|
-
if attributes[:'IsValid']
|
211
|
-
self.is_valid = attributes[:'IsValid']
|
212
|
-
end
|
213
|
-
|
214
|
-
if attributes[:'Artist']
|
215
|
-
self.artist = attributes[:'Artist']
|
216
|
-
end
|
217
|
-
|
218
|
-
if attributes[:'ByteOrder']
|
219
|
-
self.byte_order = attributes[:'ByteOrder']
|
220
|
-
end
|
221
|
-
|
222
|
-
if attributes[:'BitsPerSample']
|
223
|
-
if (value = attributes[:'BitsPerSample']).is_a?(Array)
|
224
|
-
self.bits_per_sample = value
|
225
|
-
end
|
226
|
-
end
|
227
|
-
|
228
|
-
if attributes[:'Compression']
|
229
|
-
self.compression = attributes[:'Compression']
|
230
|
-
end
|
231
|
-
|
232
|
-
if attributes[:'Copyright']
|
233
|
-
self.copyright = attributes[:'Copyright']
|
234
|
-
end
|
235
|
-
|
236
|
-
if attributes[:'ColorMap']
|
237
|
-
if (value = attributes[:'ColorMap']).is_a?(Array)
|
238
|
-
self.color_map = value
|
239
|
-
end
|
240
|
-
end
|
241
|
-
|
242
|
-
if attributes[:'DateTime']
|
243
|
-
self.date_time = attributes[:'DateTime']
|
244
|
-
end
|
245
|
-
|
246
|
-
if attributes[:'DocumentName']
|
247
|
-
self.document_name = attributes[:'DocumentName']
|
248
|
-
end
|
249
|
-
|
250
|
-
if attributes[:'AlphaStorage']
|
251
|
-
self.alpha_storage = attributes[:'AlphaStorage']
|
252
|
-
end
|
253
|
-
|
254
|
-
if attributes[:'FillOrder']
|
255
|
-
self.fill_order = attributes[:'FillOrder']
|
256
|
-
end
|
257
|
-
|
258
|
-
if attributes[:'HalfToneHints']
|
259
|
-
if (value = attributes[:'HalfToneHints']).is_a?(Array)
|
260
|
-
self.half_tone_hints = value
|
261
|
-
end
|
262
|
-
end
|
263
|
-
|
264
|
-
if attributes[:'ImageDescription']
|
265
|
-
self.image_description = attributes[:'ImageDescription']
|
266
|
-
end
|
267
|
-
|
268
|
-
if attributes[:'InkNames']
|
269
|
-
self.ink_names = attributes[:'InkNames']
|
270
|
-
end
|
271
|
-
|
272
|
-
if attributes[:'ScannerManufacturer']
|
273
|
-
self.scanner_manufacturer = attributes[:'ScannerManufacturer']
|
274
|
-
end
|
275
|
-
|
276
|
-
if attributes[:'MaxSampleValue']
|
277
|
-
if (value = attributes[:'MaxSampleValue']).is_a?(Array)
|
278
|
-
self.max_sample_value = value
|
279
|
-
end
|
280
|
-
end
|
281
|
-
|
282
|
-
if attributes[:'MinSampleValue']
|
283
|
-
if (value = attributes[:'MinSampleValue']).is_a?(Array)
|
284
|
-
self.min_sample_value = value
|
285
|
-
end
|
286
|
-
end
|
287
|
-
|
288
|
-
if attributes[:'ScannerModel']
|
289
|
-
self.scanner_model = attributes[:'ScannerModel']
|
290
|
-
end
|
291
|
-
|
292
|
-
if attributes[:'PageName']
|
293
|
-
self.page_name = attributes[:'PageName']
|
294
|
-
end
|
295
|
-
|
296
|
-
if attributes[:'Orientation']
|
297
|
-
self.orientation = attributes[:'Orientation']
|
298
|
-
end
|
299
|
-
|
300
|
-
if attributes[:'PageNumber']
|
301
|
-
if (value = attributes[:'PageNumber']).is_a?(Array)
|
302
|
-
self.page_number = value
|
303
|
-
end
|
304
|
-
end
|
305
|
-
|
306
|
-
if attributes[:'Photometric']
|
307
|
-
self.photometric = attributes[:'Photometric']
|
308
|
-
end
|
309
|
-
|
310
|
-
if attributes[:'PlanarConfiguration']
|
311
|
-
self.planar_configuration = attributes[:'PlanarConfiguration']
|
312
|
-
end
|
313
|
-
|
314
|
-
if attributes[:'ResolutionUnit']
|
315
|
-
self.resolution_unit = attributes[:'ResolutionUnit']
|
316
|
-
end
|
317
|
-
|
318
|
-
if attributes[:'RowsPerStrip']
|
319
|
-
self.rows_per_strip = attributes[:'RowsPerStrip']
|
320
|
-
end
|
321
|
-
|
322
|
-
if attributes[:'SampleFormat']
|
323
|
-
if (value = attributes[:'SampleFormat']).is_a?(Array)
|
324
|
-
self.sample_format = value
|
325
|
-
end
|
326
|
-
end
|
327
|
-
|
328
|
-
if attributes[:'SamplesPerPixel']
|
329
|
-
self.samples_per_pixel = attributes[:'SamplesPerPixel']
|
330
|
-
end
|
331
|
-
|
332
|
-
if attributes[:'SmaxSampleValue']
|
333
|
-
if (value = attributes[:'SmaxSampleValue']).is_a?(Array)
|
334
|
-
self.smax_sample_value = value
|
335
|
-
end
|
336
|
-
end
|
337
|
-
|
338
|
-
if attributes[:'SminSampleValue']
|
339
|
-
if (value = attributes[:'SminSampleValue']).is_a?(Array)
|
340
|
-
self.smin_sample_value = value
|
341
|
-
end
|
342
|
-
end
|
343
|
-
|
344
|
-
if attributes[:'SoftwareType']
|
345
|
-
self.software_type = attributes[:'SoftwareType']
|
346
|
-
end
|
347
|
-
|
348
|
-
if attributes[:'StripByteCounts']
|
349
|
-
if (value = attributes[:'StripByteCounts']).is_a?(Array)
|
350
|
-
self.strip_byte_counts = value
|
351
|
-
end
|
352
|
-
end
|
353
|
-
|
354
|
-
if attributes[:'StripOffsets']
|
355
|
-
if (value = attributes[:'StripOffsets']).is_a?(Array)
|
356
|
-
self.strip_offsets = value
|
357
|
-
end
|
358
|
-
end
|
359
|
-
|
360
|
-
if attributes[:'SubFileType']
|
361
|
-
self.sub_file_type = attributes[:'SubFileType']
|
362
|
-
end
|
363
|
-
|
364
|
-
if attributes[:'TargetPrinter']
|
365
|
-
self.target_printer = attributes[:'TargetPrinter']
|
366
|
-
end
|
367
|
-
|
368
|
-
if attributes[:'Threshholding']
|
369
|
-
self.threshholding = attributes[:'Threshholding']
|
370
|
-
end
|
371
|
-
|
372
|
-
if attributes[:'TotalPages']
|
373
|
-
self.total_pages = attributes[:'TotalPages']
|
374
|
-
end
|
375
|
-
|
376
|
-
if attributes[:'Xposition']
|
377
|
-
self.xposition = attributes[:'Xposition']
|
378
|
-
end
|
379
|
-
|
380
|
-
if attributes[:'Xresolution']
|
381
|
-
self.xresolution = attributes[:'Xresolution']
|
382
|
-
end
|
383
|
-
|
384
|
-
if attributes[:'Yposition']
|
385
|
-
self.yposition = attributes[:'Yposition']
|
386
|
-
end
|
387
|
-
|
388
|
-
if attributes[:'Yresolution']
|
389
|
-
self.yresolution = attributes[:'Yresolution']
|
390
|
-
end
|
391
|
-
|
392
|
-
if attributes[:'FaxT4Options']
|
393
|
-
self.fax_t4_options = attributes[:'FaxT4Options']
|
394
|
-
end
|
395
|
-
|
396
|
-
if attributes[:'Predictor']
|
397
|
-
self.predictor = attributes[:'Predictor']
|
398
|
-
end
|
399
|
-
|
400
|
-
if attributes[:'ImageLength']
|
401
|
-
self.image_length = attributes[:'ImageLength']
|
402
|
-
end
|
403
|
-
|
404
|
-
if attributes[:'ImageWidth']
|
405
|
-
self.image_width = attributes[:'ImageWidth']
|
406
|
-
end
|
407
|
-
|
408
|
-
if attributes[:'ValidTagCount']
|
409
|
-
self.valid_tag_count = attributes[:'ValidTagCount']
|
410
|
-
end
|
411
|
-
|
412
|
-
if attributes[:'BitsPerPixel']
|
413
|
-
self.bits_per_pixel = attributes[:'BitsPerPixel']
|
414
|
-
end
|
415
|
-
|
416
|
-
end
|
417
|
-
|
418
|
-
end
|
419
|
-
end
|