class GoogleDrive::FileImageMediaMetadata

Overview

Additional metadata about image media, if available.

Included Modules

Defined in:

google_drive/models/file_image_media_metadata.cr

Constructors

Instance Method Summary

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

def self.new(pull : JSON::PullParser) #

[View source]
def self.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


[View source]

Instance Method Detail

def ==(other : self) #

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code


def aperture : Float32 | Nil #

[View source]
def aperture=(new_value : Float32 | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] aperture Object to be assigned


[View source]
def camera_make : String | Nil #

[View source]
def camera_make=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] camera_make Object to be assigned


[View source]
def camera_model : String | Nil #

[View source]
def camera_model=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] camera_model Object to be assigned


[View source]
def color_space : String | Nil #

[View source]
def color_space=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] color_space Object to be assigned


[View source]
def exposure_bias : Float32 | Nil #

[View source]
def exposure_bias=(new_value : Float32 | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] exposure_bias Object to be assigned


[View source]
def exposure_mode : String | Nil #

[View source]
def exposure_mode=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] exposure_mode Object to be assigned


[View source]
def exposure_time : Float32 | Nil #

[View source]
def exposure_time=(new_value : Float32 | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] exposure_time Object to be assigned


[View source]
def flash_used : Bool | Nil #

[View source]
def flash_used=(new_value : Bool | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] flash_used Object to be assigned


[View source]
def focal_length : Float32 | Nil #

[View source]
def focal_length=(new_value : Float32 | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] focal_length Object to be assigned


[View source]
def hash(hasher) #

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code


def height : Int32 | Nil #

[View source]
def height=(new_value : Int32 | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] height Object to be assigned


[View source]
def iso_speed : Int32 | Nil #

[View source]
def iso_speed=(new_value : Int32 | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] iso_speed Object to be assigned


[View source]
def lens : String | Nil #

[View source]
def lens=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] lens Object to be assigned


[View source]
def list_invalid_properties : Array(String) #

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons


[View source]

[View source]
def location=(new_value : GoogleDrive::FileImageMediaMetadataLocation | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] location Object to be assigned


[View source]
def max_aperture_value : Float32 | Nil #

[View source]
def max_aperture_value=(new_value : Float32 | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] max_aperture_value Object to be assigned


[View source]
def metering_mode : String | Nil #

[View source]
def metering_mode=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] metering_mode Object to be assigned


[View source]
def rotation : Int32 | Nil #

[View source]
def rotation=(new_value : Int32 | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] rotation Object to be assigned


[View source]
def sensor : String | Nil #

[View source]
def sensor=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] sensor Object to be assigned


[View source]
def subject_distance : Int32 | Nil #

[View source]
def subject_distance=(new_value : Int32 | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] subject_distance Object to be assigned


[View source]
def time : String | Nil #

[View source]
def time=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] time Object to be assigned


[View source]
def valid? : Bool #

Check to see if the all the properties in the model are valid @return true if the model is valid


[View source]
def white_balance : String | Nil #

[View source]
def white_balance=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] white_balance Object to be assigned


[View source]
def width : Int32 | Nil #

[View source]
def width=(new_value : Int32 | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] width Object to be assigned


[View source]