Sha256: 75a7ef3cc3e25518037d530096d29636430610d406c0ec4204b4e11e0df1ffea
Contents?: true
Size: 1 KB
Versions: 15
Compression:
Stored size: 1 KB
Contents
# frozen_string_literal: true module DjiMqttConnect module Thing::Product class FlightAreasSyncProgressEventsMessage < EventsMessage attribute :_method, Types::String.enum("flight_areas_sync_progress") attribute :data do attribute :file, (Class.new(Dry::Struct) do attribute :name, Types::String attribute :checksum, Types::String end) | Types::Nil # {"wait_sync":"wait for synchronize","synchronizing":"synchronizing","synchronized":"synchronized","fail":"Fail"} attribute :status, Types::String.enum( "wait_sync", "synchronizing", "synchronized", "fail" ) # {"1":"Failed to parse file information returned from the cloud.","2":"Failed to retrieve file information from the aircraft's end.","3":"Failed to download the file from the cloud.","4":"Link flipping failed.","5":"File transmission failed."} attribute :reason, Types::Integer.enum(0, 1, 2, 3, 4, 5) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems