class PhraseApp::RequestParams::ScreenshotMarkerParams

ScreenshotMarkerParams

Parameters:

key_id

Specify the Key ID which should be highlighted on the specified screenshot. The Key must belong to the project.

presentation

Presentation details of the screenshot marker in JSON format.<br/><br/>Each Screenshot Marker is represented as a rectangular shaped highlight box with the name of the specified Key attached. You can specify the marker position on the screenshot (x-axis and y-axis in pixels) from the top left corner of the screenshot and the dimensions of the marker itself (w and h in pixels).

Public Instance Methods

key_id=(val) click to toggle source
Calls superclass method
# File lib/phraseapp-ruby.rb, line 1359
def key_id=(val)
  super(val)
end
presentation=(val) click to toggle source
Calls superclass method
# File lib/phraseapp-ruby.rb, line 1363
def presentation=(val)
  super(val)
end
validate() click to toggle source
# File lib/phraseapp-ruby.rb, line 1367
def validate
  
  if key_id == nil
    raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"key_id\" of \"ScreenshotMarkerParams\" not set")
  end
  if presentation == nil || presentation == "" 
    raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"presentation\" of \"ScreenshotMarkerParams\" not set")
  end
end