You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by sn...@apache.org on 2018/12/28 04:36:33 UTC
svn commit: r1849827 [10/13] - in /ranger/site/trunk: ./ apidocs/ apidocs/ui/
Modified: ranger/site/trunk/apidocs/security-admin-web.rb
URL: http://svn.apache.org/viewvc/ranger/site/trunk/apidocs/security-admin-web.rb?rev=1849827&r1=1849826&r2=1849827&view=diff
==============================================================================
--- ranger/site/trunk/apidocs/security-admin-web.rb (original)
+++ ranger/site/trunk/apidocs/security-admin-web.rb Fri Dec 28 04:36:32 2018
@@ -89,27 +89,27 @@ module Model
class RecurrenceSchedule
# (no documentation provided)
- attr_accessor :year
- # (no documentation provided)
- attr_accessor :minute
- # (no documentation provided)
- attr_accessor :hour
- # (no documentation provided)
attr_accessor :dayOfMonth
# (no documentation provided)
+ attr_accessor :year
+ # (no documentation provided)
attr_accessor :month
# (no documentation provided)
+ attr_accessor :minute
+ # (no documentation provided)
attr_accessor :dayOfWeek
+ # (no documentation provided)
+ attr_accessor :hour
# the json hash for this RecurrenceSchedule
def to_jaxb_json_hash
_h = {}
- _h['year'] = year.to_jaxb_json_hash unless year.nil?
- _h['minute'] = minute.to_jaxb_json_hash unless minute.nil?
- _h['hour'] = hour.to_jaxb_json_hash unless hour.nil?
_h['dayOfMonth'] = dayOfMonth.to_jaxb_json_hash unless dayOfMonth.nil?
+ _h['year'] = year.to_jaxb_json_hash unless year.nil?
_h['month'] = month.to_jaxb_json_hash unless month.nil?
+ _h['minute'] = minute.to_jaxb_json_hash unless minute.nil?
_h['dayOfWeek'] = dayOfWeek.to_jaxb_json_hash unless dayOfWeek.nil?
+ _h['hour'] = hour.to_jaxb_json_hash unless hour.nil?
return _h
end
@@ -120,118 +120,118 @@ module Model
#initializes this RecurrenceSchedule with a json hash
def init_jaxb_json_hash(_o)
- if !_o['year'].nil?
- _oa = _o['year']
+ if !_o['dayOfMonth'].nil?
+ _oa = _o['dayOfMonth']
if(_oa.is_a? Hash)
- @year = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @year = String.from_json(_oa) unless _oa['@class']
+ @dayOfMonth = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @dayOfMonth = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @year = Array.new
+ @dayOfMonth = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @year.push String.from_json(_item)
+ @dayOfMonth.push String.from_json(_item)
else
- @year.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @dayOfMonth.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @year = _oa
+ @dayOfMonth = _oa
end
end
- if !_o['minute'].nil?
- _oa = _o['minute']
+ if !_o['year'].nil?
+ _oa = _o['year']
if(_oa.is_a? Hash)
- @minute = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @minute = String.from_json(_oa) unless _oa['@class']
+ @year = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @year = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @minute = Array.new
+ @year = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @minute.push String.from_json(_item)
+ @year.push String.from_json(_item)
else
- @minute.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @year.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @minute = _oa
+ @year = _oa
end
end
- if !_o['hour'].nil?
- _oa = _o['hour']
+ if !_o['month'].nil?
+ _oa = _o['month']
if(_oa.is_a? Hash)
- @hour = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @hour = String.from_json(_oa) unless _oa['@class']
+ @month = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @month = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @hour = Array.new
+ @month = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @hour.push String.from_json(_item)
+ @month.push String.from_json(_item)
else
- @hour.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @month.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @hour = _oa
+ @month = _oa
end
end
- if !_o['dayOfMonth'].nil?
- _oa = _o['dayOfMonth']
+ if !_o['minute'].nil?
+ _oa = _o['minute']
if(_oa.is_a? Hash)
- @dayOfMonth = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @dayOfMonth = String.from_json(_oa) unless _oa['@class']
+ @minute = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @minute = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @dayOfMonth = Array.new
+ @minute = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @dayOfMonth.push String.from_json(_item)
+ @minute.push String.from_json(_item)
else
- @dayOfMonth.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @minute.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @dayOfMonth = _oa
+ @minute = _oa
end
end
- if !_o['month'].nil?
- _oa = _o['month']
+ if !_o['dayOfWeek'].nil?
+ _oa = _o['dayOfWeek']
if(_oa.is_a? Hash)
- @month = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @month = String.from_json(_oa) unless _oa['@class']
+ @dayOfWeek = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @dayOfWeek = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @month = Array.new
+ @dayOfWeek = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @month.push String.from_json(_item)
+ @dayOfWeek.push String.from_json(_item)
else
- @month.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @dayOfWeek.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @month = _oa
+ @dayOfWeek = _oa
end
end
- if !_o['dayOfWeek'].nil?
- _oa = _o['dayOfWeek']
+ if !_o['hour'].nil?
+ _oa = _o['hour']
if(_oa.is_a? Hash)
- @dayOfWeek = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @dayOfWeek = String.from_json(_oa) unless _oa['@class']
+ @hour = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @hour = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @dayOfWeek = Array.new
+ @hour = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @dayOfWeek.push String.from_json(_item)
+ @hour.push String.from_json(_item)
else
- @dayOfWeek.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @hour.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @dayOfWeek = _oa
+ @hour = _oa
end
end
end
@@ -272,45 +272,45 @@ module Model
class RangerPolicyConditionDef
# (no documentation provided)
- attr_accessor :rbKeyLabel
- # (no documentation provided)
- attr_accessor :uiHint
- # (no documentation provided)
- attr_accessor :validationMessage
- # (no documentation provided)
- attr_accessor :rbKeyDescription
- # (no documentation provided)
- attr_accessor :evaluatorOptions
- # (no documentation provided)
attr_accessor :rbKeyValidationMessage
# (no documentation provided)
- attr_accessor :description
- # (no documentation provided)
attr_accessor :validationRegEx
# (no documentation provided)
attr_accessor :name
# (no documentation provided)
attr_accessor :label
# (no documentation provided)
+ attr_accessor :uiHint
+ # (no documentation provided)
+ attr_accessor :rbKeyDescription
+ # (no documentation provided)
+ attr_accessor :rbKeyLabel
+ # (no documentation provided)
+ attr_accessor :validationMessage
+ # (no documentation provided)
attr_accessor :evaluator
# (no documentation provided)
+ attr_accessor :description
+ # (no documentation provided)
attr_accessor :itemId
+ # (no documentation provided)
+ attr_accessor :evaluatorOptions
# the json hash for this RangerPolicyConditionDef
def to_jaxb_json_hash
_h = {}
- _h['rbKeyLabel'] = rbKeyLabel.to_jaxb_json_hash unless rbKeyLabel.nil?
- _h['uiHint'] = uiHint.to_jaxb_json_hash unless uiHint.nil?
- _h['validationMessage'] = validationMessage.to_jaxb_json_hash unless validationMessage.nil?
- _h['rbKeyDescription'] = rbKeyDescription.to_jaxb_json_hash unless rbKeyDescription.nil?
- _h['evaluatorOptions'] = evaluatorOptions.to_jaxb_json_hash unless evaluatorOptions.nil?
_h['rbKeyValidationMessage'] = rbKeyValidationMessage.to_jaxb_json_hash unless rbKeyValidationMessage.nil?
- _h['description'] = description.to_jaxb_json_hash unless description.nil?
_h['validationRegEx'] = validationRegEx.to_jaxb_json_hash unless validationRegEx.nil?
_h['name'] = name.to_jaxb_json_hash unless name.nil?
_h['label'] = label.to_jaxb_json_hash unless label.nil?
+ _h['uiHint'] = uiHint.to_jaxb_json_hash unless uiHint.nil?
+ _h['rbKeyDescription'] = rbKeyDescription.to_jaxb_json_hash unless rbKeyDescription.nil?
+ _h['rbKeyLabel'] = rbKeyLabel.to_jaxb_json_hash unless rbKeyLabel.nil?
+ _h['validationMessage'] = validationMessage.to_jaxb_json_hash unless validationMessage.nil?
_h['evaluator'] = evaluator.to_jaxb_json_hash unless evaluator.nil?
+ _h['description'] = description.to_jaxb_json_hash unless description.nil?
_h['itemId'] = itemId.to_jaxb_json_hash unless itemId.nil?
+ _h['evaluatorOptions'] = evaluatorOptions.to_jaxb_json_hash unless evaluatorOptions.nil?
return _h
end
@@ -321,232 +321,232 @@ module Model
#initializes this RangerPolicyConditionDef with a json hash
def init_jaxb_json_hash(_o)
- if !_o['rbKeyLabel'].nil?
- _oa = _o['rbKeyLabel']
+ if !_o['rbKeyValidationMessage'].nil?
+ _oa = _o['rbKeyValidationMessage']
if(_oa.is_a? Hash)
- @rbKeyLabel = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @rbKeyLabel = String.from_json(_oa) unless _oa['@class']
+ @rbKeyValidationMessage = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @rbKeyValidationMessage = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @rbKeyLabel = Array.new
+ @rbKeyValidationMessage = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @rbKeyLabel.push String.from_json(_item)
+ @rbKeyValidationMessage.push String.from_json(_item)
else
- @rbKeyLabel.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @rbKeyValidationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @rbKeyLabel = _oa
+ @rbKeyValidationMessage = _oa
end
end
- if !_o['uiHint'].nil?
- _oa = _o['uiHint']
+ if !_o['validationRegEx'].nil?
+ _oa = _o['validationRegEx']
if(_oa.is_a? Hash)
- @uiHint = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @uiHint = String.from_json(_oa) unless _oa['@class']
+ @validationRegEx = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @validationRegEx = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @uiHint = Array.new
+ @validationRegEx = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @uiHint.push String.from_json(_item)
+ @validationRegEx.push String.from_json(_item)
else
- @uiHint.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @validationRegEx.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @uiHint = _oa
+ @validationRegEx = _oa
end
end
- if !_o['validationMessage'].nil?
- _oa = _o['validationMessage']
+ if !_o['name'].nil?
+ _oa = _o['name']
if(_oa.is_a? Hash)
- @validationMessage = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @validationMessage = String.from_json(_oa) unless _oa['@class']
+ @name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @name = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @validationMessage = Array.new
+ @name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @validationMessage.push String.from_json(_item)
+ @name.push String.from_json(_item)
else
- @validationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @validationMessage = _oa
+ @name = _oa
end
end
- if !_o['rbKeyDescription'].nil?
- _oa = _o['rbKeyDescription']
+ if !_o['label'].nil?
+ _oa = _o['label']
if(_oa.is_a? Hash)
- @rbKeyDescription = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @rbKeyDescription = String.from_json(_oa) unless _oa['@class']
+ @label = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @label = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @rbKeyDescription = Array.new
+ @label = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @rbKeyDescription.push String.from_json(_item)
+ @label.push String.from_json(_item)
else
- @rbKeyDescription.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @label.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @rbKeyDescription = _oa
+ @label = _oa
end
end
- if !_o['evaluatorOptions'].nil?
- _oa = _o['evaluatorOptions']
+ if !_o['uiHint'].nil?
+ _oa = _o['uiHint']
if(_oa.is_a? Hash)
- @evaluatorOptions = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @evaluatorOptions = Hash.from_json(_oa) unless _oa['@class']
+ @uiHint = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @uiHint = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @evaluatorOptions = Array.new
+ @uiHint = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @evaluatorOptions.push Hash.from_json(_item)
+ @uiHint.push String.from_json(_item)
else
- @evaluatorOptions.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @uiHint.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @evaluatorOptions = _oa
+ @uiHint = _oa
end
end
- if !_o['rbKeyValidationMessage'].nil?
- _oa = _o['rbKeyValidationMessage']
+ if !_o['rbKeyDescription'].nil?
+ _oa = _o['rbKeyDescription']
if(_oa.is_a? Hash)
- @rbKeyValidationMessage = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @rbKeyValidationMessage = String.from_json(_oa) unless _oa['@class']
+ @rbKeyDescription = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @rbKeyDescription = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @rbKeyValidationMessage = Array.new
+ @rbKeyDescription = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @rbKeyValidationMessage.push String.from_json(_item)
+ @rbKeyDescription.push String.from_json(_item)
else
- @rbKeyValidationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @rbKeyDescription.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @rbKeyValidationMessage = _oa
+ @rbKeyDescription = _oa
end
end
- if !_o['description'].nil?
- _oa = _o['description']
+ if !_o['rbKeyLabel'].nil?
+ _oa = _o['rbKeyLabel']
if(_oa.is_a? Hash)
- @description = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @description = String.from_json(_oa) unless _oa['@class']
+ @rbKeyLabel = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @rbKeyLabel = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @description = Array.new
+ @rbKeyLabel = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @description.push String.from_json(_item)
+ @rbKeyLabel.push String.from_json(_item)
else
- @description.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @rbKeyLabel.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @description = _oa
+ @rbKeyLabel = _oa
end
end
- if !_o['validationRegEx'].nil?
- _oa = _o['validationRegEx']
+ if !_o['validationMessage'].nil?
+ _oa = _o['validationMessage']
if(_oa.is_a? Hash)
- @validationRegEx = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @validationRegEx = String.from_json(_oa) unless _oa['@class']
+ @validationMessage = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @validationMessage = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @validationRegEx = Array.new
+ @validationMessage = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @validationRegEx.push String.from_json(_item)
+ @validationMessage.push String.from_json(_item)
else
- @validationRegEx.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @validationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @validationRegEx = _oa
+ @validationMessage = _oa
end
end
- if !_o['name'].nil?
- _oa = _o['name']
+ if !_o['evaluator'].nil?
+ _oa = _o['evaluator']
if(_oa.is_a? Hash)
- @name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @name = String.from_json(_oa) unless _oa['@class']
+ @evaluator = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @evaluator = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @name = Array.new
+ @evaluator = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @name.push String.from_json(_item)
+ @evaluator.push String.from_json(_item)
else
- @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @evaluator.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @name = _oa
+ @evaluator = _oa
end
end
- if !_o['label'].nil?
- _oa = _o['label']
+ if !_o['description'].nil?
+ _oa = _o['description']
if(_oa.is_a? Hash)
- @label = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @label = String.from_json(_oa) unless _oa['@class']
+ @description = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @description = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @label = Array.new
+ @description = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @label.push String.from_json(_item)
+ @description.push String.from_json(_item)
else
- @label.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @description.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @label = _oa
+ @description = _oa
end
end
- if !_o['evaluator'].nil?
- _oa = _o['evaluator']
+ if !_o['itemId'].nil?
+ _oa = _o['itemId']
if(_oa.is_a? Hash)
- @evaluator = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @evaluator = String.from_json(_oa) unless _oa['@class']
+ @itemId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @itemId = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @evaluator = Array.new
+ @itemId = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @evaluator.push String.from_json(_item)
+ @itemId.push Bignum.from_json(_item)
else
- @evaluator.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @itemId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @evaluator = _oa
+ @itemId = _oa
end
end
- if !_o['itemId'].nil?
- _oa = _o['itemId']
+ if !_o['evaluatorOptions'].nil?
+ _oa = _o['evaluatorOptions']
if(_oa.is_a? Hash)
- @itemId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @itemId = Bignum.from_json(_oa) unless _oa['@class']
+ @evaluatorOptions = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @evaluatorOptions = Hash.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @itemId = Array.new
+ @evaluatorOptions = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @itemId.push Bignum.from_json(_item)
+ @evaluatorOptions.push Hash.from_json(_item)
else
- @itemId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @evaluatorOptions.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @itemId = _oa
+ @evaluatorOptions = _oa
end
end
end
@@ -587,15 +587,15 @@ module Model
class RangerTagAttributeDef
# (no documentation provided)
- attr_accessor :name
- # (no documentation provided)
attr_accessor :type
+ # (no documentation provided)
+ attr_accessor :name
# the json hash for this RangerTagAttributeDef
def to_jaxb_json_hash
_h = {}
- _h['name'] = name.to_jaxb_json_hash unless name.nil?
_h['type'] = type.to_jaxb_json_hash unless type.nil?
+ _h['name'] = name.to_jaxb_json_hash unless name.nil?
return _h
end
@@ -606,42 +606,42 @@ module Model
#initializes this RangerTagAttributeDef with a json hash
def init_jaxb_json_hash(_o)
- if !_o['name'].nil?
- _oa = _o['name']
+ if !_o['type'].nil?
+ _oa = _o['type']
if(_oa.is_a? Hash)
- @name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @name = String.from_json(_oa) unless _oa['@class']
+ @type = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @type = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @name = Array.new
+ @type = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @name.push String.from_json(_item)
+ @type.push String.from_json(_item)
else
- @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @type.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @name = _oa
+ @type = _oa
end
end
- if !_o['type'].nil?
- _oa = _o['type']
+ if !_o['name'].nil?
+ _oa = _o['name']
if(_oa.is_a? Hash)
- @type = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @type = String.from_json(_oa) unless _oa['@class']
+ @name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @name = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @type = Array.new
+ @name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @type.push String.from_json(_item)
+ @name.push String.from_json(_item)
else
- @type.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @type = _oa
+ @name = _oa
end
end
end
@@ -769,912 +769,715 @@ module Apache
module Ranger
-module Plugin
-
-module Model
+module View
# (no documentation provided)
- class ValidityInterval
+ class VXLdapSyncSourceInfo
# (no documentation provided)
- attr_accessor :days
+ attr_accessor :ldapUrl
# (no documentation provided)
- attr_accessor :minutes
+ attr_accessor :userSearchFilter
# (no documentation provided)
- attr_accessor :hours
+ attr_accessor :groupSearchFilter
+ # (no documentation provided)
+ attr_accessor :groupHierarchyLevel
+ # (no documentation provided)
+ attr_accessor :totalUsersSynced
+ # (no documentation provided)
+ attr_accessor :totalGroupsSynced
+ # (no documentation provided)
+ attr_accessor :groupSearchFirstEnabled
+ # (no documentation provided)
+ attr_accessor :groupSearchEnabled
+ # (no documentation provided)
+ attr_accessor :userSearchEnabled
- # the json hash for this ValidityInterval
+ # the json hash for this VXLdapSyncSourceInfo
def to_jaxb_json_hash
_h = {}
- _h['days'] = days.to_jaxb_json_hash unless days.nil?
- _h['minutes'] = minutes.to_jaxb_json_hash unless minutes.nil?
- _h['hours'] = hours.to_jaxb_json_hash unless hours.nil?
+ _h['ldapUrl'] = ldapUrl.to_jaxb_json_hash unless ldapUrl.nil?
+ _h['userSearchFilter'] = userSearchFilter.to_jaxb_json_hash unless userSearchFilter.nil?
+ _h['groupSearchFilter'] = groupSearchFilter.to_jaxb_json_hash unless groupSearchFilter.nil?
+ _h['groupHierarchyLevel'] = groupHierarchyLevel.to_jaxb_json_hash unless groupHierarchyLevel.nil?
+ _h['totalUsersSynced'] = totalUsersSynced.to_jaxb_json_hash unless totalUsersSynced.nil?
+ _h['totalGroupsSynced'] = totalGroupsSynced.to_jaxb_json_hash unless totalGroupsSynced.nil?
+ _h['groupSearchFirstEnabled'] = groupSearchFirstEnabled.to_jaxb_json_hash unless groupSearchFirstEnabled.nil?
+ _h['groupSearchEnabled'] = groupSearchEnabled.to_jaxb_json_hash unless groupSearchEnabled.nil?
+ _h['userSearchEnabled'] = userSearchEnabled.to_jaxb_json_hash unless userSearchEnabled.nil?
return _h
end
- # the json (string form) for this ValidityInterval
+ # the json (string form) for this VXLdapSyncSourceInfo
def to_json
to_jaxb_json_hash.to_json
end
- #initializes this ValidityInterval with a json hash
+ #initializes this VXLdapSyncSourceInfo with a json hash
def init_jaxb_json_hash(_o)
- if !_o['days'].nil?
- _oa = _o['days']
+ if !_o['ldapUrl'].nil?
+ _oa = _o['ldapUrl']
if(_oa.is_a? Hash)
- @days = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @days = Fixnum.from_json(_oa) unless _oa['@class']
+ @ldapUrl = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @ldapUrl = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @days = Array.new
+ @ldapUrl = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @days.push Fixnum.from_json(_item)
+ @ldapUrl.push String.from_json(_item)
else
- @days.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @ldapUrl.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @days = _oa
+ @ldapUrl = _oa
end
end
- if !_o['minutes'].nil?
- _oa = _o['minutes']
+ if !_o['userSearchFilter'].nil?
+ _oa = _o['userSearchFilter']
if(_oa.is_a? Hash)
- @minutes = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @minutes = Fixnum.from_json(_oa) unless _oa['@class']
+ @userSearchFilter = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @userSearchFilter = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @minutes = Array.new
+ @userSearchFilter = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @minutes.push Fixnum.from_json(_item)
+ @userSearchFilter.push String.from_json(_item)
else
- @minutes.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @userSearchFilter.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @minutes = _oa
+ @userSearchFilter = _oa
end
end
- if !_o['hours'].nil?
- _oa = _o['hours']
+ if !_o['groupSearchFilter'].nil?
+ _oa = _o['groupSearchFilter']
if(_oa.is_a? Hash)
- @hours = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @hours = Fixnum.from_json(_oa) unless _oa['@class']
+ @groupSearchFilter = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @groupSearchFilter = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @hours = Array.new
+ @groupSearchFilter = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @hours.push Fixnum.from_json(_item)
+ @groupSearchFilter.push String.from_json(_item)
else
- @hours.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @groupSearchFilter.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @hours = _oa
+ @groupSearchFilter = _oa
end
end
- end
-
- # constructs a ValidityInterval from a (parsed) JSON hash
- def self.from_json(o)
- if o.nil?
- return nil
- else
- inst = new
- inst.init_jaxb_json_hash o
- return inst
- end
- end
- end
-
-end
-
-end
-
-end
-
-end
-
-end
-
-module Org
-
-module Apache
-
-module Ranger
-
-module Plugin
-
-module Model
-
- # (no documentation provided)
- class RangerServiceConfigDef
-
- # (no documentation provided)
- attr_accessor :itemId
- # (no documentation provided)
- attr_accessor :name
- # (no documentation provided)
- attr_accessor :rbKeyDescription
- # (no documentation provided)
- attr_accessor :rbKeyValidationMessage
- # (no documentation provided)
- attr_accessor :validationMessage
- # (no documentation provided)
- attr_accessor :type
- # (no documentation provided)
- attr_accessor :label
- # (no documentation provided)
- attr_accessor :validationRegEx
- # (no documentation provided)
- attr_accessor :mandatory
- # (no documentation provided)
- attr_accessor :subType
- # (no documentation provided)
- attr_accessor :uiHint
- # (no documentation provided)
- attr_accessor :rbKeyLabel
- # (no documentation provided)
- attr_accessor :defaultValue
- # (no documentation provided)
- attr_accessor :description
-
- # the json hash for this RangerServiceConfigDef
- def to_jaxb_json_hash
- _h = {}
- _h['itemId'] = itemId.to_jaxb_json_hash unless itemId.nil?
- _h['name'] = name.to_jaxb_json_hash unless name.nil?
- _h['rbKeyDescription'] = rbKeyDescription.to_jaxb_json_hash unless rbKeyDescription.nil?
- _h['rbKeyValidationMessage'] = rbKeyValidationMessage.to_jaxb_json_hash unless rbKeyValidationMessage.nil?
- _h['validationMessage'] = validationMessage.to_jaxb_json_hash unless validationMessage.nil?
- _h['type'] = type.to_jaxb_json_hash unless type.nil?
- _h['label'] = label.to_jaxb_json_hash unless label.nil?
- _h['validationRegEx'] = validationRegEx.to_jaxb_json_hash unless validationRegEx.nil?
- _h['mandatory'] = mandatory.to_jaxb_json_hash unless mandatory.nil?
- _h['subType'] = subType.to_jaxb_json_hash unless subType.nil?
- _h['uiHint'] = uiHint.to_jaxb_json_hash unless uiHint.nil?
- _h['rbKeyLabel'] = rbKeyLabel.to_jaxb_json_hash unless rbKeyLabel.nil?
- _h['defaultValue'] = defaultValue.to_jaxb_json_hash unless defaultValue.nil?
- _h['description'] = description.to_jaxb_json_hash unless description.nil?
- return _h
- end
-
- # the json (string form) for this RangerServiceConfigDef
- def to_json
- to_jaxb_json_hash.to_json
- end
-
- #initializes this RangerServiceConfigDef with a json hash
- def init_jaxb_json_hash(_o)
- if !_o['itemId'].nil?
- _oa = _o['itemId']
- if(_oa.is_a? Hash)
- @itemId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @itemId = Bignum.from_json(_oa) unless _oa['@class']
- elsif (_oa.is_a? Array)
- #an array(of hashes hopefully) or scalar
- @itemId = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @itemId.push Bignum.from_json(_item)
- else
- @itemId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @itemId = _oa
- end
- end
- if !_o['name'].nil?
- _oa = _o['name']
+ if !_o['groupHierarchyLevel'].nil?
+ _oa = _o['groupHierarchyLevel']
if(_oa.is_a? Hash)
- @name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @name = String.from_json(_oa) unless _oa['@class']
+ @groupHierarchyLevel = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @groupHierarchyLevel = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @name = Array.new
+ @groupHierarchyLevel = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @name.push String.from_json(_item)
+ @groupHierarchyLevel.push String.from_json(_item)
else
- @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @groupHierarchyLevel.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @name = _oa
+ @groupHierarchyLevel = _oa
end
end
- if !_o['rbKeyDescription'].nil?
- _oa = _o['rbKeyDescription']
+ if !_o['totalUsersSynced'].nil?
+ _oa = _o['totalUsersSynced']
if(_oa.is_a? Hash)
- @rbKeyDescription = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @rbKeyDescription = String.from_json(_oa) unless _oa['@class']
+ @totalUsersSynced = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @totalUsersSynced = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @rbKeyDescription = Array.new
+ @totalUsersSynced = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @rbKeyDescription.push String.from_json(_item)
+ @totalUsersSynced.push Bignum.from_json(_item)
else
- @rbKeyDescription.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @totalUsersSynced.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @rbKeyDescription = _oa
+ @totalUsersSynced = _oa
end
end
- if !_o['rbKeyValidationMessage'].nil?
- _oa = _o['rbKeyValidationMessage']
+ if !_o['totalGroupsSynced'].nil?
+ _oa = _o['totalGroupsSynced']
if(_oa.is_a? Hash)
- @rbKeyValidationMessage = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @rbKeyValidationMessage = String.from_json(_oa) unless _oa['@class']
+ @totalGroupsSynced = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @totalGroupsSynced = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @rbKeyValidationMessage = Array.new
+ @totalGroupsSynced = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @rbKeyValidationMessage.push String.from_json(_item)
+ @totalGroupsSynced.push Bignum.from_json(_item)
else
- @rbKeyValidationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @totalGroupsSynced.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @rbKeyValidationMessage = _oa
+ @totalGroupsSynced = _oa
end
end
- if !_o['validationMessage'].nil?
- _oa = _o['validationMessage']
+ if !_o['groupSearchFirstEnabled'].nil?
+ _oa = _o['groupSearchFirstEnabled']
if(_oa.is_a? Hash)
- @validationMessage = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @validationMessage = String.from_json(_oa) unless _oa['@class']
+ @groupSearchFirstEnabled = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @groupSearchFirstEnabled = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @validationMessage = Array.new
+ @groupSearchFirstEnabled = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @validationMessage.push String.from_json(_item)
+ @groupSearchFirstEnabled.push String.from_json(_item)
else
- @validationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @groupSearchFirstEnabled.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @validationMessage = _oa
+ @groupSearchFirstEnabled = _oa
end
end
- if !_o['type'].nil?
- _oa = _o['type']
+ if !_o['groupSearchEnabled'].nil?
+ _oa = _o['groupSearchEnabled']
if(_oa.is_a? Hash)
- @type = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @type = String.from_json(_oa) unless _oa['@class']
+ @groupSearchEnabled = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @groupSearchEnabled = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @type = Array.new
+ @groupSearchEnabled = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @type.push String.from_json(_item)
+ @groupSearchEnabled.push String.from_json(_item)
else
- @type.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @groupSearchEnabled.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @type = _oa
+ @groupSearchEnabled = _oa
end
end
- if !_o['label'].nil?
- _oa = _o['label']
+ if !_o['userSearchEnabled'].nil?
+ _oa = _o['userSearchEnabled']
if(_oa.is_a? Hash)
- @label = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @label = String.from_json(_oa) unless _oa['@class']
+ @userSearchEnabled = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @userSearchEnabled = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @label = Array.new
+ @userSearchEnabled = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @label.push String.from_json(_item)
+ @userSearchEnabled.push String.from_json(_item)
else
- @label.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @userSearchEnabled.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @label = _oa
+ @userSearchEnabled = _oa
end
end
- if !_o['validationRegEx'].nil?
- _oa = _o['validationRegEx']
+ end
+
+ # constructs a VXLdapSyncSourceInfo from a (parsed) JSON hash
+ def self.from_json(o)
+ if o.nil?
+ return nil
+ else
+ inst = new
+ inst.init_jaxb_json_hash o
+ return inst
+ end
+ end
+ end
+
+end
+
+end
+
+end
+
+end
+
+module Org
+
+module Apache
+
+module Ranger
+
+module Plugin
+
+module Model
+
+ # (no documentation provided)
+ class RangerPluginInfo
+
+ # (no documentation provided)
+ attr_accessor :createTime
+ # (no documentation provided)
+ attr_accessor :serviceName
+ # (no documentation provided)
+ attr_accessor :tagDownloadTime
+ # (no documentation provided)
+ attr_accessor :updateTime
+ # (no documentation provided)
+ attr_accessor :tagActiveVersion
+ # (no documentation provided)
+ attr_accessor :lastTagUpdateTime
+ # (no documentation provided)
+ attr_accessor :policyDownloadTime
+ # (no documentation provided)
+ attr_accessor :appType
+ # (no documentation provided)
+ attr_accessor :ipAddress
+ # (no documentation provided)
+ attr_accessor :latestTagVersion
+ # (no documentation provided)
+ attr_accessor :policyDownloadedVersion
+ # (no documentation provided)
+ attr_accessor :policyActiveVersion
+ # (no documentation provided)
+ attr_accessor :lastPolicyUpdateTime
+ # (no documentation provided)
+ attr_accessor :policyActivationTime
+ # (no documentation provided)
+ attr_accessor :latestPolicyVersion
+ # (no documentation provided)
+ attr_accessor :tagActivationTime
+ # (no documentation provided)
+ attr_accessor :info
+ # (no documentation provided)
+ attr_accessor :id
+ # (no documentation provided)
+ attr_accessor :tagDownloadedVersion
+ # (no documentation provided)
+ attr_accessor :hostName
+
+ # the json hash for this RangerPluginInfo
+ def to_jaxb_json_hash
+ _h = {}
+ _h['createTime'] = createTime.to_jaxb_json_hash unless createTime.nil?
+ _h['serviceName'] = serviceName.to_jaxb_json_hash unless serviceName.nil?
+ _h['tagDownloadTime'] = tagDownloadTime.to_jaxb_json_hash unless tagDownloadTime.nil?
+ _h['updateTime'] = updateTime.to_jaxb_json_hash unless updateTime.nil?
+ _h['tagActiveVersion'] = tagActiveVersion.to_jaxb_json_hash unless tagActiveVersion.nil?
+ _h['lastTagUpdateTime'] = lastTagUpdateTime.to_jaxb_json_hash unless lastTagUpdateTime.nil?
+ _h['policyDownloadTime'] = policyDownloadTime.to_jaxb_json_hash unless policyDownloadTime.nil?
+ _h['appType'] = appType.to_jaxb_json_hash unless appType.nil?
+ _h['ipAddress'] = ipAddress.to_jaxb_json_hash unless ipAddress.nil?
+ _h['latestTagVersion'] = latestTagVersion.to_jaxb_json_hash unless latestTagVersion.nil?
+ _h['policyDownloadedVersion'] = policyDownloadedVersion.to_jaxb_json_hash unless policyDownloadedVersion.nil?
+ _h['policyActiveVersion'] = policyActiveVersion.to_jaxb_json_hash unless policyActiveVersion.nil?
+ _h['lastPolicyUpdateTime'] = lastPolicyUpdateTime.to_jaxb_json_hash unless lastPolicyUpdateTime.nil?
+ _h['policyActivationTime'] = policyActivationTime.to_jaxb_json_hash unless policyActivationTime.nil?
+ _h['latestPolicyVersion'] = latestPolicyVersion.to_jaxb_json_hash unless latestPolicyVersion.nil?
+ _h['tagActivationTime'] = tagActivationTime.to_jaxb_json_hash unless tagActivationTime.nil?
+ _h['info'] = info.to_jaxb_json_hash unless info.nil?
+ _h['id'] = id.to_jaxb_json_hash unless id.nil?
+ _h['tagDownloadedVersion'] = tagDownloadedVersion.to_jaxb_json_hash unless tagDownloadedVersion.nil?
+ _h['hostName'] = hostName.to_jaxb_json_hash unless hostName.nil?
+ return _h
+ end
+
+ # the json (string form) for this RangerPluginInfo
+ def to_json
+ to_jaxb_json_hash.to_json
+ end
+
+ #initializes this RangerPluginInfo with a json hash
+ def init_jaxb_json_hash(_o)
+ if !_o['createTime'].nil?
+ _oa = _o['createTime']
if(_oa.is_a? Hash)
- @validationRegEx = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @validationRegEx = String.from_json(_oa) unless _oa['@class']
+ @createTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @createTime = Time.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @validationRegEx = Array.new
+ @createTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @validationRegEx.push String.from_json(_item)
+ @createTime.push Time.from_json(_item)
else
- @validationRegEx.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @createTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @validationRegEx = _oa
+ @createTime = _oa
end
end
- if !_o['mandatory'].nil?
- _oa = _o['mandatory']
+ if !_o['serviceName'].nil?
+ _oa = _o['serviceName']
if(_oa.is_a? Hash)
- @mandatory = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @mandatory = Boolean.from_json(_oa) unless _oa['@class']
+ @serviceName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @serviceName = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @mandatory = Array.new
+ @serviceName = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @mandatory.push Boolean.from_json(_item)
+ @serviceName.push String.from_json(_item)
else
- @mandatory.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @serviceName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @mandatory = _oa
+ @serviceName = _oa
end
end
- if !_o['subType'].nil?
- _oa = _o['subType']
+ if !_o['tagDownloadTime'].nil?
+ _oa = _o['tagDownloadTime']
if(_oa.is_a? Hash)
- @subType = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @subType = String.from_json(_oa) unless _oa['@class']
+ @tagDownloadTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @tagDownloadTime = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @subType = Array.new
+ @tagDownloadTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @subType.push String.from_json(_item)
+ @tagDownloadTime.push Bignum.from_json(_item)
else
- @subType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @tagDownloadTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @subType = _oa
+ @tagDownloadTime = _oa
end
end
- if !_o['uiHint'].nil?
- _oa = _o['uiHint']
+ if !_o['updateTime'].nil?
+ _oa = _o['updateTime']
if(_oa.is_a? Hash)
- @uiHint = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @uiHint = String.from_json(_oa) unless _oa['@class']
+ @updateTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @updateTime = Time.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @uiHint = Array.new
+ @updateTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @uiHint.push String.from_json(_item)
+ @updateTime.push Time.from_json(_item)
else
- @uiHint.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @updateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @uiHint = _oa
+ @updateTime = _oa
end
end
- if !_o['rbKeyLabel'].nil?
- _oa = _o['rbKeyLabel']
+ if !_o['tagActiveVersion'].nil?
+ _oa = _o['tagActiveVersion']
if(_oa.is_a? Hash)
- @rbKeyLabel = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @rbKeyLabel = String.from_json(_oa) unless _oa['@class']
+ @tagActiveVersion = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @tagActiveVersion = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @rbKeyLabel = Array.new
+ @tagActiveVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @rbKeyLabel.push String.from_json(_item)
+ @tagActiveVersion.push Bignum.from_json(_item)
else
- @rbKeyLabel.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @tagActiveVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @rbKeyLabel = _oa
+ @tagActiveVersion = _oa
end
end
- if !_o['defaultValue'].nil?
- _oa = _o['defaultValue']
+ if !_o['lastTagUpdateTime'].nil?
+ _oa = _o['lastTagUpdateTime']
if(_oa.is_a? Hash)
- @defaultValue = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @defaultValue = String.from_json(_oa) unless _oa['@class']
+ @lastTagUpdateTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @lastTagUpdateTime = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @defaultValue = Array.new
+ @lastTagUpdateTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @defaultValue.push String.from_json(_item)
+ @lastTagUpdateTime.push Bignum.from_json(_item)
else
- @defaultValue.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @lastTagUpdateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @defaultValue = _oa
+ @lastTagUpdateTime = _oa
end
end
- if !_o['description'].nil?
- _oa = _o['description']
+ if !_o['policyDownloadTime'].nil?
+ _oa = _o['policyDownloadTime']
if(_oa.is_a? Hash)
- @description = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @description = String.from_json(_oa) unless _oa['@class']
+ @policyDownloadTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @policyDownloadTime = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @description = Array.new
+ @policyDownloadTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @description.push String.from_json(_item)
+ @policyDownloadTime.push Bignum.from_json(_item)
else
- @description.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @policyDownloadTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @description = _oa
+ @policyDownloadTime = _oa
end
end
- end
-
- # constructs a RangerServiceConfigDef from a (parsed) JSON hash
- def self.from_json(o)
- if o.nil?
- return nil
- else
- inst = new
- inst.init_jaxb_json_hash o
- return inst
- end
- end
- end
-
-end
-
-end
-
-end
-
-end
-
-end
-
-module Org
-
-module Apache
-
-module Ranger
-
-module Admin
-
-module Client
-
-module Datatype
-
- # (no documentation provided)
- class RESTResponse
-
- # (no documentation provided)
- attr_accessor :httpStatusCode
- # (no documentation provided)
- attr_accessor :message
- # (no documentation provided)
- attr_accessor :messageList
- # (no documentation provided)
- attr_accessor :msgDesc
- # (no documentation provided)
- attr_accessor :statusCode
-
- # the json hash for this RESTResponse
- def to_jaxb_json_hash
- _h = {}
- _h['httpStatusCode'] = httpStatusCode.to_jaxb_json_hash unless httpStatusCode.nil?
- _h['message'] = message.to_jaxb_json_hash unless message.nil?
- if !messageList.nil?
- _ha = Array.new
- messageList.each { | _item | _ha.push _item.to_jaxb_json_hash }
- _h['messageList'] = _ha
- end
- _h['msgDesc'] = msgDesc.to_jaxb_json_hash unless msgDesc.nil?
- _h['statusCode'] = statusCode.to_jaxb_json_hash unless statusCode.nil?
- return _h
- end
-
- # the json (string form) for this RESTResponse
- def to_json
- to_jaxb_json_hash.to_json
- end
-
- #initializes this RESTResponse with a json hash
- def init_jaxb_json_hash(_o)
- if !_o['httpStatusCode'].nil?
- _oa = _o['httpStatusCode']
+ if !_o['appType'].nil?
+ _oa = _o['appType']
if(_oa.is_a? Hash)
- @httpStatusCode = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @httpStatusCode = Fixnum.from_json(_oa) unless _oa['@class']
+ @appType = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @appType = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @httpStatusCode = Array.new
+ @appType = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @httpStatusCode.push Fixnum.from_json(_item)
+ @appType.push String.from_json(_item)
else
- @httpStatusCode.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @appType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @httpStatusCode = _oa
+ @appType = _oa
end
end
- if !_o['message'].nil?
- _oa = _o['message']
+ if !_o['ipAddress'].nil?
+ _oa = _o['ipAddress']
if(_oa.is_a? Hash)
- @message = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @message = String.from_json(_oa) unless _oa['@class']
+ @ipAddress = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @ipAddress = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @message = Array.new
+ @ipAddress = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @message.push String.from_json(_item)
+ @ipAddress.push String.from_json(_item)
else
- @message.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @ipAddress.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @message = _oa
+ @ipAddress = _oa
end
end
- if !_o['messageList'].nil?
- _oa = _o['messageList']
+ if !_o['latestTagVersion'].nil?
+ _oa = _o['latestTagVersion']
if(_oa.is_a? Hash)
- @messageList = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @messageList = Org::Apache::Ranger::Admin::Client::Datatype::Message.from_json(_oa) unless _oa['@class']
+ @latestTagVersion = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @latestTagVersion = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @messageList = Array.new
+ @latestTagVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @messageList.push Org::Apache::Ranger::Admin::Client::Datatype::Message.from_json(_item)
+ @latestTagVersion.push Bignum.from_json(_item)
else
- @messageList.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @latestTagVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @messageList = _oa
+ @latestTagVersion = _oa
end
end
- if !_o['msgDesc'].nil?
- _oa = _o['msgDesc']
+ if !_o['policyDownloadedVersion'].nil?
+ _oa = _o['policyDownloadedVersion']
if(_oa.is_a? Hash)
- @msgDesc = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @msgDesc = String.from_json(_oa) unless _oa['@class']
+ @policyDownloadedVersion = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @policyDownloadedVersion = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @msgDesc = Array.new
+ @policyDownloadedVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @msgDesc.push String.from_json(_item)
+ @policyDownloadedVersion.push Bignum.from_json(_item)
else
- @msgDesc.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @policyDownloadedVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @msgDesc = _oa
+ @policyDownloadedVersion = _oa
end
end
- if !_o['statusCode'].nil?
- _oa = _o['statusCode']
+ if !_o['policyActiveVersion'].nil?
+ _oa = _o['policyActiveVersion']
if(_oa.is_a? Hash)
- @statusCode = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @statusCode = Fixnum.from_json(_oa) unless _oa['@class']
+ @policyActiveVersion = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @policyActiveVersion = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @statusCode = Array.new
+ @policyActiveVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @statusCode.push Fixnum.from_json(_item)
+ @policyActiveVersion.push Bignum.from_json(_item)
else
- @statusCode.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @policyActiveVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @statusCode = _oa
+ @policyActiveVersion = _oa
end
end
- end
-
- # constructs a RESTResponse from a (parsed) JSON hash
- def self.from_json(o)
- if o.nil?
- return nil
- else
- inst = new
- inst.init_jaxb_json_hash o
- return inst
- end
- end
- end
-
-end
-
-end
-
-end
-
-end
-
-end
-
-end
-
-module Org
-
-module Apache
-
-module Ranger
-
-module Plugin
-
-module Model
-
- # (no documentation provided)
- class RangerDataMaskDef
-
- # (no documentation provided)
- attr_accessor :accessTypes
- # (no documentation provided)
- attr_accessor :resources
- # (no documentation provided)
- attr_accessor :maskTypes
-
- # the json hash for this RangerDataMaskDef
- def to_jaxb_json_hash
- _h = {}
- if !accessTypes.nil?
- _ha = Array.new
- accessTypes.each { | _item | _ha.push _item.to_jaxb_json_hash }
- _h['accessTypes'] = _ha
- end
- if !resources.nil?
- _ha = Array.new
- resources.each { | _item | _ha.push _item.to_jaxb_json_hash }
- _h['resources'] = _ha
- end
- if !maskTypes.nil?
- _ha = Array.new
- maskTypes.each { | _item | _ha.push _item.to_jaxb_json_hash }
- _h['maskTypes'] = _ha
- end
- return _h
- end
-
- # the json (string form) for this RangerDataMaskDef
- def to_json
- to_jaxb_json_hash.to_json
- end
-
- #initializes this RangerDataMaskDef with a json hash
- def init_jaxb_json_hash(_o)
- if !_o['accessTypes'].nil?
- _oa = _o['accessTypes']
+ if !_o['lastPolicyUpdateTime'].nil?
+ _oa = _o['lastPolicyUpdateTime']
if(_oa.is_a? Hash)
- @accessTypes = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @accessTypes = Org::Apache::Ranger::Plugin::Model::RangerAccessTypeDef.from_json(_oa) unless _oa['@class']
+ @lastPolicyUpdateTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @lastPolicyUpdateTime = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @accessTypes = Array.new
+ @lastPolicyUpdateTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @accessTypes.push Org::Apache::Ranger::Plugin::Model::RangerAccessTypeDef.from_json(_item)
+ @lastPolicyUpdateTime.push Bignum.from_json(_item)
else
- @accessTypes.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @lastPolicyUpdateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @accessTypes = _oa
+ @lastPolicyUpdateTime = _oa
end
end
- if !_o['resources'].nil?
- _oa = _o['resources']
+ if !_o['policyActivationTime'].nil?
+ _oa = _o['policyActivationTime']
if(_oa.is_a? Hash)
- @resources = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @resources = Org::Apache::Ranger::Plugin::Model::RangerResourceDef.from_json(_oa) unless _oa['@class']
+ @policyActivationTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @policyActivationTime = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @resources = Array.new
+ @policyActivationTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @resources.push Org::Apache::Ranger::Plugin::Model::RangerResourceDef.from_json(_item)
+ @policyActivationTime.push Bignum.from_json(_item)
else
- @resources.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @policyActivationTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @resources = _oa
+ @policyActivationTime = _oa
end
end
- if !_o['maskTypes'].nil?
- _oa = _o['maskTypes']
+ if !_o['latestPolicyVersion'].nil?
+ _oa = _o['latestPolicyVersion']
if(_oa.is_a? Hash)
- @maskTypes = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @maskTypes = Org::Apache::Ranger::Plugin::Model::RangerDataMaskTypeDef.from_json(_oa) unless _oa['@class']
+ @latestPolicyVersion = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @latestPolicyVersion = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @maskTypes = Array.new
+ @latestPolicyVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @maskTypes.push Org::Apache::Ranger::Plugin::Model::RangerDataMaskTypeDef.from_json(_item)
+ @latestPolicyVersion.push Bignum.from_json(_item)
else
- @maskTypes.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @latestPolicyVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @maskTypes = _oa
+ @latestPolicyVersion = _oa
end
end
- end
-
- # constructs a RangerDataMaskDef from a (parsed) JSON hash
- def self.from_json(o)
- if o.nil?
- return nil
- else
- inst = new
- inst.init_jaxb_json_hash o
- return inst
- end
- end
- end
-
-end
-
-end
-
-end
-
-end
-
-end
-
-module Org
-
-module Apache
-
-module Ranger
-
-module View
-
- # (no documentation provided)
- class VXFileSyncSourceInfo
-
- # (no documentation provided)
- attr_accessor :fileName
- # (no documentation provided)
- attr_accessor :syncTime
- # (no documentation provided)
- attr_accessor :lastModified
- # (no documentation provided)
- attr_accessor :totalUsersSynced
- # (no documentation provided)
- attr_accessor :totalGroupsSynced
-
- # the json hash for this VXFileSyncSourceInfo
- def to_jaxb_json_hash
- _h = {}
- _h['fileName'] = fileName.to_jaxb_json_hash unless fileName.nil?
- _h['syncTime'] = syncTime.to_jaxb_json_hash unless syncTime.nil?
- _h['lastModified'] = lastModified.to_jaxb_json_hash unless lastModified.nil?
- _h['totalUsersSynced'] = totalUsersSynced.to_jaxb_json_hash unless totalUsersSynced.nil?
- _h['totalGroupsSynced'] = totalGroupsSynced.to_jaxb_json_hash unless totalGroupsSynced.nil?
- return _h
- end
-
- # the json (string form) for this VXFileSyncSourceInfo
- def to_json
- to_jaxb_json_hash.to_json
- end
-
- #initializes this VXFileSyncSourceInfo with a json hash
- def init_jaxb_json_hash(_o)
- if !_o['fileName'].nil?
- _oa = _o['fileName']
+ if !_o['tagActivationTime'].nil?
+ _oa = _o['tagActivationTime']
if(_oa.is_a? Hash)
- @fileName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @fileName = String.from_json(_oa) unless _oa['@class']
+ @tagActivationTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @tagActivationTime = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @fileName = Array.new
+ @tagActivationTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @fileName.push String.from_json(_item)
+ @tagActivationTime.push Bignum.from_json(_item)
else
- @fileName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @tagActivationTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @fileName = _oa
+ @tagActivationTime = _oa
end
end
- if !_o['syncTime'].nil?
- _oa = _o['syncTime']
+ if !_o['info'].nil?
+ _oa = _o['info']
if(_oa.is_a? Hash)
- @syncTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @syncTime = String.from_json(_oa) unless _oa['@class']
+ @info = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @info = Hash.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @syncTime = Array.new
+ @info = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @syncTime.push String.from_json(_item)
+ @info.push Hash.from_json(_item)
else
- @syncTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @info.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @syncTime = _oa
+ @info = _oa
end
end
- if !_o['lastModified'].nil?
- _oa = _o['lastModified']
+ if !_o['id'].nil?
+ _oa = _o['id']
if(_oa.is_a? Hash)
- @lastModified = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @lastModified = String.from_json(_oa) unless _oa['@class']
+ @id = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @id = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @lastModified = Array.new
+ @id = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @lastModified.push String.from_json(_item)
+ @id.push Bignum.from_json(_item)
else
- @lastModified.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @id.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @lastModified = _oa
+ @id = _oa
end
end
- if !_o['totalUsersSynced'].nil?
- _oa = _o['totalUsersSynced']
+ if !_o['tagDownloadedVersion'].nil?
+ _oa = _o['tagDownloadedVersion']
if(_oa.is_a? Hash)
- @totalUsersSynced = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @totalUsersSynced = Bignum.from_json(_oa) unless _oa['@class']
+ @tagDownloadedVersion = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @tagDownloadedVersion = Bignum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @totalUsersSynced = Array.new
+ @tagDownloadedVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @totalUsersSynced.push Bignum.from_json(_item)
+ @tagDownloadedVersion.push Bignum.from_json(_item)
else
- @totalUsersSynced.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @tagDownloadedVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @totalUsersSynced = _oa
+ @tagDownloadedVersion = _oa
end
end
- if !_o['totalGroupsSynced'].nil?
- _oa = _o['totalGroupsSynced']
+ if !_o['hostName'].nil?
+ _oa = _o['hostName']
if(_oa.is_a? Hash)
- @totalGroupsSynced = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @totalGroupsSynced = Bignum.from_json(_oa) unless _oa['@class']
+ @hostName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @hostName = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @totalGroupsSynced = Array.new
+ @hostName = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @totalGroupsSynced.push Bignum.from_json(_item)
+ @hostName.push String.from_json(_item)
else
- @totalGroupsSynced.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @hostName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @totalGroupsSynced = _oa
+ @hostName = _oa
end
end
end
- # constructs a VXFileSyncSourceInfo from a (parsed) JSON hash
+ # constructs a RangerPluginInfo from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
@@ -1694,351 +1497,346 @@ end
end
+end
+
module Org
module Apache
module Ranger
-module View
+module Plugin
+
+module Model
# (no documentation provided)
- class VXAuditRecord
+ class RangerServiceConfigDef
- # Date - value of member attribute <b>date</b>.
- attr_accessor :date
- # String - value of member attribute <b>resource</b>.
- attr_accessor :resource
- # String - value of member attribute <b>action</b>.
- attr_accessor :action
- # String - value of member attribute <b>result</b>.
- attr_accessor :result
- # String - value of member attribute <b>user</b>.
- attr_accessor :user
# (no documentation provided)
- attr_accessor :enforcer
- # int - value of member attribute <b>resourceType</b>.
- attr_accessor :resourceType
- # int - value of member attribute <b>assetType</b>.
- attr_accessor :assetType
+ attr_accessor :subType
+ # (no documentation provided)
+ attr_accessor :validationRegEx
+ # (no documentation provided)
+ attr_accessor :rbKeyLabel
+ # (no documentation provided)
+ attr_accessor :label
+ # (no documentation provided)
+ attr_accessor :itemId
+ # (no documentation provided)
+ attr_accessor :rbKeyValidationMessage
+ # (no documentation provided)
+ attr_accessor :name
+ # (no documentation provided)
+ attr_accessor :validationMessage
+ # (no documentation provided)
+ attr_accessor :defaultValue
+ # (no documentation provided)
+ attr_accessor :rbKeyDescription
+ # (no documentation provided)
+ attr_accessor :description
+ # (no documentation provided)
+ attr_accessor :type
+ # (no documentation provided)
+ attr_accessor :uiHint
+ # (no documentation provided)
+ attr_accessor :mandatory
- # the json hash for this VXAuditRecord
+ # the json hash for this RangerServiceConfigDef
def to_jaxb_json_hash
_h = {}
- _h['date'] = date.to_jaxb_json_hash unless date.nil?
- _h['resource'] = resource.to_jaxb_json_hash unless resource.nil?
- _h['action'] = action.to_jaxb_json_hash unless action.nil?
- _h['result'] = result.to_jaxb_json_hash unless result.nil?
- _h['user'] = user.to_jaxb_json_hash unless user.nil?
- _h['enforcer'] = enforcer.to_jaxb_json_hash unless enforcer.nil?
- _h['resourceType'] = resourceType.to_jaxb_json_hash unless resourceType.nil?
- _h['assetType'] = assetType.to_jaxb_json_hash unless assetType.nil?
+ _h['subType'] = subType.to_jaxb_json_hash unless subType.nil?
+ _h['validationRegEx'] = validationRegEx.to_jaxb_json_hash unless validationRegEx.nil?
+ _h['rbKeyLabel'] = rbKeyLabel.to_jaxb_json_hash unless rbKeyLabel.nil?
+ _h['label'] = label.to_jaxb_json_hash unless label.nil?
+ _h['itemId'] = itemId.to_jaxb_json_hash unless itemId.nil?
+ _h['rbKeyValidationMessage'] = rbKeyValidationMessage.to_jaxb_json_hash unless rbKeyValidationMessage.nil?
+ _h['name'] = name.to_jaxb_json_hash unless name.nil?
+ _h['validationMessage'] = validationMessage.to_jaxb_json_hash unless validationMessage.nil?
+ _h['defaultValue'] = defaultValue.to_jaxb_json_hash unless defaultValue.nil?
+ _h['rbKeyDescription'] = rbKeyDescription.to_jaxb_json_hash unless rbKeyDescription.nil?
+ _h['description'] = description.to_jaxb_json_hash unless description.nil?
+ _h['type'] = type.to_jaxb_json_hash unless type.nil?
+ _h['uiHint'] = uiHint.to_jaxb_json_hash unless uiHint.nil?
+ _h['mandatory'] = mandatory.to_jaxb_json_hash unless mandatory.nil?
return _h
end
- # the json (string form) for this VXAuditRecord
+ # the json (string form) for this RangerServiceConfigDef
def to_json
to_jaxb_json_hash.to_json
end
- #initializes this VXAuditRecord with a json hash
+ #initializes this RangerServiceConfigDef with a json hash
def init_jaxb_json_hash(_o)
- if !_o['date'].nil?
- _oa = _o['date']
+ if !_o['subType'].nil?
+ _oa = _o['subType']
+ if(_oa.is_a? Hash)
+ @subType = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @subType = String.from_json(_oa) unless _oa['@class']
+ elsif (_oa.is_a? Array)
+ #an array(of hashes hopefully) or scalar
+ @subType = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @subType.push String.from_json(_item)
+ else
+ @subType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @subType = _oa
+ end
+ end
+ if !_o['validationRegEx'].nil?
+ _oa = _o['validationRegEx']
+ if(_oa.is_a? Hash)
+ @validationRegEx = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @validationRegEx = String.from_json(_oa) unless _oa['@class']
+ elsif (_oa.is_a? Array)
+ #an array(of hashes hopefully) or scalar
+ @validationRegEx = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @validationRegEx.push String.from_json(_item)
+ else
+ @validationRegEx.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @validationRegEx = _oa
+ end
+ end
+ if !_o['rbKeyLabel'].nil?
+ _oa = _o['rbKeyLabel']
if(_oa.is_a? Hash)
- @date = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @date = Time.from_json(_oa) unless _oa['@class']
+ @rbKeyLabel = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @rbKeyLabel = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @date = Array.new
+ @rbKeyLabel = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @date.push Time.from_json(_item)
+ @rbKeyLabel.push String.from_json(_item)
else
- @date.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @rbKeyLabel.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @date = _oa
+ @rbKeyLabel = _oa
end
end
- if !_o['resource'].nil?
- _oa = _o['resource']
+ if !_o['label'].nil?
+ _oa = _o['label']
if(_oa.is_a? Hash)
[... 25873 lines stripped ...]