class GoogleDrive::FileImageMediaMetadata
- GoogleDrive::FileImageMediaMetadata
- Reference
- Object
Overview
Additional metadata about image media, if available.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
google_drive/models/file_image_media_metadata.crConstructors
- .new(pull : JSON::PullParser)
-
.new(*, aperture : Float32 | Nil = nil, camera_make : String | Nil = nil, camera_model : String | Nil = nil, color_space : String | Nil = nil, exposure_bias : Float32 | Nil = nil, exposure_mode : String | Nil = nil, exposure_time : Float32 | Nil = nil, flash_used : Bool | Nil = nil, focal_length : Float32 | Nil = nil, height : Int32 | Nil = nil, iso_speed : Int32 | Nil = nil, lens : String | Nil = nil, location : GoogleDrive::FileImageMediaMetadataLocation | Nil = nil, max_aperture_value : Float32 | Nil = nil, metering_mode : String | Nil = nil, rotation : Int32 | Nil = nil, sensor : String | Nil = nil, subject_distance : Int32 | Nil = nil, time : String | Nil = nil, white_balance : String | Nil = nil, width : Int32 | Nil = nil)
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance Method Summary
-
#==(other : self)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #aperture : Float32 | Nil
-
#aperture=(new_value : Float32 | Nil)
Custom attribute writer method checking allowed values (enum).
- #camera_make : String | Nil
-
#camera_make=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #camera_model : String | Nil
-
#camera_model=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #color_space : String | Nil
-
#color_space=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #exposure_bias : Float32 | Nil
-
#exposure_bias=(new_value : Float32 | Nil)
Custom attribute writer method checking allowed values (enum).
- #exposure_mode : String | Nil
-
#exposure_mode=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #exposure_time : Float32 | Nil
-
#exposure_time=(new_value : Float32 | Nil)
Custom attribute writer method checking allowed values (enum).
- #flash_used : Bool | Nil
-
#flash_used=(new_value : Bool | Nil)
Custom attribute writer method checking allowed values (enum).
- #focal_length : Float32 | Nil
-
#focal_length=(new_value : Float32 | Nil)
Custom attribute writer method checking allowed values (enum).
-
#hash(hasher)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #height : Int32 | Nil
-
#height=(new_value : Int32 | Nil)
Custom attribute writer method checking allowed values (enum).
- #iso_speed : Int32 | Nil
-
#iso_speed=(new_value : Int32 | Nil)
Custom attribute writer method checking allowed values (enum).
- #lens : String | Nil
-
#lens=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
-
#list_invalid_properties : Array(String)
Show invalid properties with the reasons.
- #location : GoogleDrive::FileImageMediaMetadataLocation | Nil
-
#location=(new_value : GoogleDrive::FileImageMediaMetadataLocation | Nil)
Custom attribute writer method checking allowed values (enum).
- #max_aperture_value : Float32 | Nil
-
#max_aperture_value=(new_value : Float32 | Nil)
Custom attribute writer method checking allowed values (enum).
- #metering_mode : String | Nil
-
#metering_mode=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #rotation : Int32 | Nil
-
#rotation=(new_value : Int32 | Nil)
Custom attribute writer method checking allowed values (enum).
- #sensor : String | Nil
-
#sensor=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #subject_distance : Int32 | Nil
-
#subject_distance=(new_value : Int32 | Nil)
Custom attribute writer method checking allowed values (enum).
- #time : String | Nil
-
#time=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
-
#valid? : Bool
Check to see if the all the properties in the model are valid @return true if the model is valid
- #white_balance : String | Nil
-
#white_balance=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #width : Int32 | Nil
-
#width=(new_value : Int32 | Nil)
Custom attribute writer method checking allowed values (enum).
Instance methods inherited from module OpenApi::Json
after_initialize
after_initialize,
eql?(o : self)
eql?,
to_hash : Hash(String, JSON::Any)
to_hash,
to_json_any : JSON::Any
to_json_any
Class methods inherited from module OpenApi::Json
build_from_hash(hash : Hash)
build_from_hash,
build_from_json_any(json_any : JSON::Any)
build_from_json_any
Instance methods inherited from module OpenApi::Validatable
list_invalid_properties : Array(String)
list_invalid_properties,
list_invalid_properties_for(key : String) : Array(String)
list_invalid_properties_for,
valid? : Bool
valid?,
validate : Nil
validate
Instance methods inherited from module JSON::Serializable
to_hash : JSON::Any
to_hash
Class methods inherited from module JSON::Serializable
build_from_hash(hash : JSON::Any)
build_from_hash
Constructor Detail
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance Method Detail
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] aperture Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] camera_make Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] camera_model Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] color_space Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] exposure_bias Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] exposure_mode Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] exposure_time Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] flash_used Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] focal_length Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] height Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] iso_speed Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] lens Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] location Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] max_aperture_value Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] metering_mode Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] rotation Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] sensor Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] subject_distance Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] time Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid
Custom attribute writer method checking allowed values (enum). @param [Object] white_balance Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] width Object to be assigned