You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ve...@apache.org on 2018/03/20 02:21:25 UTC
svn commit: r1827255 [7/9] - in /ranger/site/trunk: ./ apidocs/ apidocs/ui/
kms/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=1827255&r1=1827254&r2=1827255&view=diff
==============================================================================
--- ranger/site/trunk/apidocs/security-admin-web.rb (original)
+++ ranger/site/trunk/apidocs/security-admin-web.rb Tue Mar 20 02:21:24 2018
@@ -81,30 +81,162 @@ module Apache
module Ranger
-module Common
+module Plugin
-module View
+module Model
# (no documentation provided)
- class ViewBaseBean
+ class RecurrenceSchedule
+ # (no documentation provided)
+ attr_accessor :month
+ # (no documentation provided)
+ attr_accessor :dayOfWeek
+ # (no documentation provided)
+ attr_accessor :hour
+ # (no documentation provided)
+ attr_accessor :minute
+ # (no documentation provided)
+ attr_accessor :dayOfMonth
+ # (no documentation provided)
+ attr_accessor :year
- # the json hash for this ViewBaseBean
+ # the json hash for this RecurrenceSchedule
def to_jaxb_json_hash
_h = {}
+ _h['month'] = month.to_jaxb_json_hash unless month.nil?
+ _h['dayOfWeek'] = dayOfWeek.to_jaxb_json_hash unless dayOfWeek.nil?
+ _h['hour'] = hour.to_jaxb_json_hash unless hour.nil?
+ _h['minute'] = minute.to_jaxb_json_hash unless minute.nil?
+ _h['dayOfMonth'] = dayOfMonth.to_jaxb_json_hash unless dayOfMonth.nil?
+ _h['year'] = year.to_jaxb_json_hash unless year.nil?
return _h
end
- # the json (string form) for this ViewBaseBean
+ # the json (string form) for this RecurrenceSchedule
def to_json
to_jaxb_json_hash.to_json
end
- #initializes this ViewBaseBean with a json hash
+ #initializes this RecurrenceSchedule with a json hash
def init_jaxb_json_hash(_o)
+ if !_o['month'].nil?
+ _oa = _o['month']
+ if(_oa.is_a? Hash)
+ @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
+ @month = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @month.push String.from_json(_item)
+ else
+ @month.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @month = _oa
+ end
+ end
+ if !_o['dayOfWeek'].nil?
+ _oa = _o['dayOfWeek']
+ if(_oa.is_a? Hash)
+ @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
+ @dayOfWeek = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @dayOfWeek.push String.from_json(_item)
+ else
+ @dayOfWeek.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @dayOfWeek = _oa
+ end
+ end
+ if !_o['hour'].nil?
+ _oa = _o['hour']
+ if(_oa.is_a? Hash)
+ @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
+ @hour = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @hour.push String.from_json(_item)
+ else
+ @hour.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @hour = _oa
+ end
+ end
+ if !_o['minute'].nil?
+ _oa = _o['minute']
+ if(_oa.is_a? Hash)
+ @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
+ @minute = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @minute.push String.from_json(_item)
+ else
+ @minute.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @minute = _oa
+ end
+ end
+ if !_o['dayOfMonth'].nil?
+ _oa = _o['dayOfMonth']
+ if(_oa.is_a? Hash)
+ @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
+ @dayOfMonth = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @dayOfMonth.push String.from_json(_item)
+ else
+ @dayOfMonth.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @dayOfMonth = _oa
+ end
+ end
+ if !_o['year'].nil?
+ _oa = _o['year']
+ if(_oa.is_a? Hash)
+ @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
+ @year = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @year.push String.from_json(_item)
+ else
+ @year.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @year = _oa
+ end
+ end
end
- # constructs a ViewBaseBean from a (parsed) JSON hash
+ # constructs a RecurrenceSchedule from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
@@ -132,333 +264,294 @@ module Apache
module Ranger
-module View
+module Plugin
+
+module Model
# (no documentation provided)
- class VXTrxLog < Org::Apache::Ranger::View::VXDataObject
+ class RangerPolicyConditionDef
- # Name of the class to which the object id belongs to
- # This attribute is of type enum CommonEnums::ClassTypes
- attr_accessor :objectClassType
- # Id of the object to which this notes refers to
- attr_accessor :objectId
- # Object Id of the parent object
- attr_accessor :parentObjectId
- # Object Class Type of the parent object
- attr_accessor :parentObjectClassType
- # Name of the parent object name that was changed
- attr_accessor :parentObjectName
- # Name of the object name that was changed
- attr_accessor :objectName
- # Name of the attribute that was changed
- attr_accessor :attributeName
- # Previous value
- attr_accessor :previousValue
- # New value
- attr_accessor :newValue
- # Transaction id
- attr_accessor :transactionId
- # Action of the transaction
- attr_accessor :action
- # Session Id
- attr_accessor :sessionId
- # Request Id
- attr_accessor :requestId
- # Session Type
- attr_accessor :sessionType
+ # (no documentation provided)
+ attr_accessor :evaluator
+ # (no documentation provided)
+ attr_accessor :rbKeyValidationMessage
+ # (no documentation provided)
+ attr_accessor :label
+ # (no documentation provided)
+ attr_accessor :name
+ # (no documentation provided)
+ attr_accessor :validationRegEx
+ # (no documentation provided)
+ attr_accessor :evaluatorOptions
+ # (no documentation provided)
+ attr_accessor :uiHint
+ # (no documentation provided)
+ attr_accessor :itemId
+ # (no documentation provided)
+ attr_accessor :rbKeyDescription
+ # (no documentation provided)
+ attr_accessor :validationMessage
+ # (no documentation provided)
+ attr_accessor :description
+ # (no documentation provided)
+ attr_accessor :rbKeyLabel
- # the json hash for this VXTrxLog
+ # the json hash for this RangerPolicyConditionDef
def to_jaxb_json_hash
- _h = super
- _h['objectClassType'] = objectClassType.to_jaxb_json_hash unless objectClassType.nil?
- _h['objectId'] = objectId.to_jaxb_json_hash unless objectId.nil?
- _h['parentObjectId'] = parentObjectId.to_jaxb_json_hash unless parentObjectId.nil?
- _h['parentObjectClassType'] = parentObjectClassType.to_jaxb_json_hash unless parentObjectClassType.nil?
- _h['parentObjectName'] = parentObjectName.to_jaxb_json_hash unless parentObjectName.nil?
- _h['objectName'] = objectName.to_jaxb_json_hash unless objectName.nil?
- _h['attributeName'] = attributeName.to_jaxb_json_hash unless attributeName.nil?
- _h['previousValue'] = previousValue.to_jaxb_json_hash unless previousValue.nil?
- _h['newValue'] = newValue.to_jaxb_json_hash unless newValue.nil?
- _h['transactionId'] = transactionId.to_jaxb_json_hash unless transactionId.nil?
- _h['action'] = action.to_jaxb_json_hash unless action.nil?
- _h['sessionId'] = sessionId.to_jaxb_json_hash unless sessionId.nil?
- _h['requestId'] = requestId.to_jaxb_json_hash unless requestId.nil?
- _h['sessionType'] = sessionType.to_jaxb_json_hash unless sessionType.nil?
+ _h = {}
+ _h['evaluator'] = evaluator.to_jaxb_json_hash unless evaluator.nil?
+ _h['rbKeyValidationMessage'] = rbKeyValidationMessage.to_jaxb_json_hash unless rbKeyValidationMessage.nil?
+ _h['label'] = label.to_jaxb_json_hash unless label.nil?
+ _h['name'] = name.to_jaxb_json_hash unless name.nil?
+ _h['validationRegEx'] = validationRegEx.to_jaxb_json_hash unless validationRegEx.nil?
+ _h['evaluatorOptions'] = evaluatorOptions.to_jaxb_json_hash unless evaluatorOptions.nil?
+ _h['uiHint'] = uiHint.to_jaxb_json_hash unless uiHint.nil?
+ _h['itemId'] = itemId.to_jaxb_json_hash unless itemId.nil?
+ _h['rbKeyDescription'] = rbKeyDescription.to_jaxb_json_hash unless rbKeyDescription.nil?
+ _h['validationMessage'] = validationMessage.to_jaxb_json_hash unless validationMessage.nil?
+ _h['description'] = description.to_jaxb_json_hash unless description.nil?
+ _h['rbKeyLabel'] = rbKeyLabel.to_jaxb_json_hash unless rbKeyLabel.nil?
return _h
end
- #initializes this VXTrxLog with a json hash
+ # the json (string form) for this RangerPolicyConditionDef
+ def to_json
+ to_jaxb_json_hash.to_json
+ end
+
+ #initializes this RangerPolicyConditionDef with a json hash
def init_jaxb_json_hash(_o)
- super _o
- if !_o['objectClassType'].nil?
- _oa = _o['objectClassType']
+ if !_o['evaluator'].nil?
+ _oa = _o['evaluator']
if(_oa.is_a? Hash)
- @objectClassType = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @objectClassType = Fixnum.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
- @objectClassType = Array.new
+ @evaluator = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @objectClassType.push Fixnum.from_json(_item)
+ @evaluator.push String.from_json(_item)
else
- @objectClassType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @evaluator.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @objectClassType = _oa
+ @evaluator = _oa
end
end
- if !_o['objectId'].nil?
- _oa = _o['objectId']
+ if !_o['rbKeyValidationMessage'].nil?
+ _oa = _o['rbKeyValidationMessage']
if(_oa.is_a? Hash)
- @objectId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @objectId = Bignum.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
- @objectId = Array.new
+ @rbKeyValidationMessage = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @objectId.push Bignum.from_json(_item)
+ @rbKeyValidationMessage.push String.from_json(_item)
else
- @objectId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @rbKeyValidationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @objectId = _oa
+ @rbKeyValidationMessage = _oa
end
end
- if !_o['parentObjectId'].nil?
- _oa = _o['parentObjectId']
+ if !_o['label'].nil?
+ _oa = _o['label']
if(_oa.is_a? Hash)
- @parentObjectId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @parentObjectId = Bignum.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
- @parentObjectId = Array.new
+ @label = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @parentObjectId.push Bignum.from_json(_item)
+ @label.push String.from_json(_item)
else
- @parentObjectId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @label.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @parentObjectId = _oa
+ @label = _oa
end
end
- if !_o['parentObjectClassType'].nil?
- _oa = _o['parentObjectClassType']
+ if !_o['name'].nil?
+ _oa = _o['name']
if(_oa.is_a? Hash)
- @parentObjectClassType = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @parentObjectClassType = Fixnum.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
- @parentObjectClassType = Array.new
+ @name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @parentObjectClassType.push Fixnum.from_json(_item)
+ @name.push String.from_json(_item)
else
- @parentObjectClassType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @parentObjectClassType = _oa
+ @name = _oa
end
end
- if !_o['parentObjectName'].nil?
- _oa = _o['parentObjectName']
+ if !_o['validationRegEx'].nil?
+ _oa = _o['validationRegEx']
if(_oa.is_a? Hash)
- @parentObjectName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @parentObjectName = 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
- @parentObjectName = Array.new
+ @validationRegEx = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @parentObjectName.push String.from_json(_item)
+ @validationRegEx.push String.from_json(_item)
else
- @parentObjectName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @validationRegEx.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @parentObjectName = _oa
- end
- end
- if !_o['objectName'].nil?
- _oa = _o['objectName']
- if(_oa.is_a? Hash)
- @objectName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @objectName = String.from_json(_oa) unless _oa['@class']
- elsif (_oa.is_a? Array)
- #an array(of hashes hopefully) or scalar
- @objectName = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @objectName.push String.from_json(_item)
- else
- @objectName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @objectName = _oa
- end
- end
- if !_o['attributeName'].nil?
- _oa = _o['attributeName']
- if(_oa.is_a? Hash)
- @attributeName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @attributeName = String.from_json(_oa) unless _oa['@class']
- elsif (_oa.is_a? Array)
- #an array(of hashes hopefully) or scalar
- @attributeName = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @attributeName.push String.from_json(_item)
- else
- @attributeName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @attributeName = _oa
+ @validationRegEx = _oa
end
end
- if !_o['previousValue'].nil?
- _oa = _o['previousValue']
+ if !_o['evaluatorOptions'].nil?
+ _oa = _o['evaluatorOptions']
if(_oa.is_a? Hash)
- @previousValue = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @previousValue = String.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
- @previousValue = Array.new
+ @evaluatorOptions = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @previousValue.push String.from_json(_item)
+ @evaluatorOptions.push Hash.from_json(_item)
else
- @previousValue.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @evaluatorOptions.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @previousValue = _oa
+ @evaluatorOptions = _oa
end
end
- if !_o['newValue'].nil?
- _oa = _o['newValue']
+ if !_o['uiHint'].nil?
+ _oa = _o['uiHint']
if(_oa.is_a? Hash)
- @newValue = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @newValue = String.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
- @newValue = Array.new
+ @uiHint = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @newValue.push String.from_json(_item)
+ @uiHint.push String.from_json(_item)
else
- @newValue.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @uiHint.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @newValue = _oa
+ @uiHint = _oa
end
end
- if !_o['transactionId'].nil?
- _oa = _o['transactionId']
+ if !_o['itemId'].nil?
+ _oa = _o['itemId']
if(_oa.is_a? Hash)
- @transactionId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @transactionId = 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
- @transactionId = Array.new
+ @itemId = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @transactionId.push String.from_json(_item)
+ @itemId.push Bignum.from_json(_item)
else
- @transactionId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @itemId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @transactionId = _oa
+ @itemId = _oa
end
end
- if !_o['action'].nil?
- _oa = _o['action']
+ if !_o['rbKeyDescription'].nil?
+ _oa = _o['rbKeyDescription']
if(_oa.is_a? Hash)
- @action = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @action = 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
- @action = Array.new
+ @rbKeyDescription = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @action.push String.from_json(_item)
+ @rbKeyDescription.push String.from_json(_item)
else
- @action.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @rbKeyDescription.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @action = _oa
+ @rbKeyDescription = _oa
end
end
- if !_o['sessionId'].nil?
- _oa = _o['sessionId']
+ if !_o['validationMessage'].nil?
+ _oa = _o['validationMessage']
if(_oa.is_a? Hash)
- @sessionId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @sessionId = 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
- @sessionId = Array.new
+ @validationMessage = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @sessionId.push String.from_json(_item)
+ @validationMessage.push String.from_json(_item)
else
- @sessionId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @validationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @sessionId = _oa
+ @validationMessage = _oa
end
end
- if !_o['requestId'].nil?
- _oa = _o['requestId']
+ if !_o['description'].nil?
+ _oa = _o['description']
if(_oa.is_a? Hash)
- @requestId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @requestId = 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
- @requestId = Array.new
+ @description = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @requestId.push String.from_json(_item)
+ @description.push String.from_json(_item)
else
- @requestId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @description.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @requestId = _oa
+ @description = _oa
end
end
- if !_o['sessionType'].nil?
- _oa = _o['sessionType']
+ if !_o['rbKeyLabel'].nil?
+ _oa = _o['rbKeyLabel']
if(_oa.is_a? Hash)
- @sessionType = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @sessionType = 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
- @sessionType = Array.new
+ @rbKeyLabel = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @sessionType.push String.from_json(_item)
+ @rbKeyLabel.push String.from_json(_item)
else
- @sessionType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @rbKeyLabel.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @sessionType = _oa
+ @rbKeyLabel = _oa
end
end
end
- # constructs a VXTrxLog from a (parsed) JSON hash
+ # constructs a RangerPolicyConditionDef from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
@@ -478,6 +571,8 @@ end
end
+end
+
module Org
module Apache
@@ -489,113 +584,69 @@ module Plugin
module Model
# (no documentation provided)
- class RangerContextEnricherDef
+ class RangerTagAttributeDef
# (no documentation provided)
- attr_accessor :itemId
- # (no documentation provided)
- attr_accessor :enricher
- # (no documentation provided)
- attr_accessor :enricherOptions
- # (no documentation provided)
attr_accessor :name
+ # (no documentation provided)
+ attr_accessor :type
- # the json hash for this RangerContextEnricherDef
+ # the json hash for this RangerTagAttributeDef
def to_jaxb_json_hash
_h = {}
- _h['itemId'] = itemId.to_jaxb_json_hash unless itemId.nil?
- _h['enricher'] = enricher.to_jaxb_json_hash unless enricher.nil?
- _h['enricherOptions'] = enricherOptions.to_jaxb_json_hash unless enricherOptions.nil?
_h['name'] = name.to_jaxb_json_hash unless name.nil?
+ _h['type'] = type.to_jaxb_json_hash unless type.nil?
return _h
end
- # the json (string form) for this RangerContextEnricherDef
+ # the json (string form) for this RangerTagAttributeDef
def to_json
to_jaxb_json_hash.to_json
end
- #initializes this RangerContextEnricherDef with a json hash
+ #initializes this RangerTagAttributeDef 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['enricher'].nil?
- _oa = _o['enricher']
- if(_oa.is_a? Hash)
- @enricher = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @enricher = String.from_json(_oa) unless _oa['@class']
- elsif (_oa.is_a? Array)
- #an array(of hashes hopefully) or scalar
- @enricher = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @enricher.push String.from_json(_item)
- else
- @enricher.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @enricher = _oa
- end
- end
- if !_o['enricherOptions'].nil?
- _oa = _o['enricherOptions']
+ if !_o['name'].nil?
+ _oa = _o['name']
if(_oa.is_a? Hash)
- @enricherOptions = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @enricherOptions = Hash.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
- @enricherOptions = Array.new
+ @name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @enricherOptions.push Hash.from_json(_item)
+ @name.push String.from_json(_item)
else
- @enricherOptions.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @enricherOptions = _oa
+ @name = _oa
end
end
- 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
end
- # constructs a RangerContextEnricherDef from a (parsed) JSON hash
+ # constructs a RangerTagAttributeDef from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
@@ -623,50 +674,74 @@ module Apache
module Ranger
-module View
+module Plugin
+
+module Model
# (no documentation provided)
- class RangerServiceList < Org::Apache::Ranger::Common::View::VList
+ class RangerValidityRecurrence
# (no documentation provided)
- attr_accessor :services
+ attr_accessor :interval
+ # (no documentation provided)
+ attr_accessor :schedule
- # the json hash for this RangerServiceList
+ # the json hash for this RangerValidityRecurrence
def to_jaxb_json_hash
- _h = super
- if !services.nil?
- _ha = Array.new
- services.each { | _item | _ha.push _item.to_jaxb_json_hash }
- _h['services'] = _ha
- end
+ _h = {}
+ _h['interval'] = interval.to_jaxb_json_hash unless interval.nil?
+ _h['schedule'] = schedule.to_jaxb_json_hash unless schedule.nil?
return _h
end
- #initializes this RangerServiceList with a json hash
+ # the json (string form) for this RangerValidityRecurrence
+ def to_json
+ to_jaxb_json_hash.to_json
+ end
+
+ #initializes this RangerValidityRecurrence with a json hash
def init_jaxb_json_hash(_o)
- super _o
- if !_o['services'].nil?
- _oa = _o['services']
+ if !_o['interval'].nil?
+ _oa = _o['interval']
if(_oa.is_a? Hash)
- @services = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @services = Org::Apache::Ranger::Plugin::Model::RangerService.from_json(_oa) unless _oa['@class']
+ @interval = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @interval = Org::Apache::Ranger::Plugin::Model::ValidityInterval.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @services = Array.new
+ @interval = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @services.push Org::Apache::Ranger::Plugin::Model::RangerService.from_json(_item)
+ @interval.push Org::Apache::Ranger::Plugin::Model::ValidityInterval.from_json(_item)
else
- @services.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @interval.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @services = _oa
+ @interval = _oa
+ end
+ end
+ if !_o['schedule'].nil?
+ _oa = _o['schedule']
+ if(_oa.is_a? Hash)
+ @schedule = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @schedule = Org::Apache::Ranger::Plugin::Model::RecurrenceSchedule.from_json(_oa) unless _oa['@class']
+ elsif (_oa.is_a? Array)
+ #an array(of hashes hopefully) or scalar
+ @schedule = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @schedule.push Org::Apache::Ranger::Plugin::Model::RecurrenceSchedule.from_json(_item)
+ else
+ @schedule.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @schedule = _oa
end
end
end
- # constructs a RangerServiceList from a (parsed) JSON hash
+ # constructs a RangerValidityRecurrence from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
@@ -686,6 +761,8 @@ end
end
+end
+
module Org
module Apache
@@ -694,645 +771,468 @@ module Ranger
module Plugin
-module Util
+module Model
# (no documentation provided)
- class TagPolicies
+ class RangerPluginInfo
# (no documentation provided)
+ attr_accessor :lastPolicyUpdateTime
+ # (no documentation provided)
+ attr_accessor :tagActiveVersion
+ # (no documentation provided)
+ attr_accessor :latestTagVersion
+ # (no documentation provided)
+ attr_accessor :policyActiveVersion
+ # (no documentation provided)
attr_accessor :serviceName
# (no documentation provided)
- attr_accessor :policies
+ attr_accessor :policyDownloadedVersion
# (no documentation provided)
- attr_accessor :serviceId
+ attr_accessor :updateTime
# (no documentation provided)
- attr_accessor :serviceDef
+ attr_accessor :appType
# (no documentation provided)
- attr_accessor :policyUpdateTime
+ attr_accessor :info
# (no documentation provided)
- attr_accessor :auditMode
+ attr_accessor :lastTagUpdateTime
# (no documentation provided)
- attr_accessor :policyVersion
+ attr_accessor :tagDownloadTime
+ # (no documentation provided)
+ attr_accessor :createTime
+ # (no documentation provided)
+ attr_accessor :ipAddress
+ # (no documentation provided)
+ attr_accessor :tagActivationTime
+ # (no documentation provided)
+ attr_accessor :latestPolicyVersion
+ # (no documentation provided)
+ attr_accessor :policyActivationTime
+ # (no documentation provided)
+ attr_accessor :policyDownloadTime
+ # (no documentation provided)
+ attr_accessor :tagDownloadedVersion
+ # (no documentation provided)
+ attr_accessor :hostName
+ # (no documentation provided)
+ attr_accessor :id
- # the json hash for this TagPolicies
+ # the json hash for this RangerPluginInfo
def to_jaxb_json_hash
_h = {}
+ _h['lastPolicyUpdateTime'] = lastPolicyUpdateTime.to_jaxb_json_hash unless lastPolicyUpdateTime.nil?
+ _h['tagActiveVersion'] = tagActiveVersion.to_jaxb_json_hash unless tagActiveVersion.nil?
+ _h['latestTagVersion'] = latestTagVersion.to_jaxb_json_hash unless latestTagVersion.nil?
+ _h['policyActiveVersion'] = policyActiveVersion.to_jaxb_json_hash unless policyActiveVersion.nil?
_h['serviceName'] = serviceName.to_jaxb_json_hash unless serviceName.nil?
- if !policies.nil?
- _ha = Array.new
- policies.each { | _item | _ha.push _item.to_jaxb_json_hash }
- _h['policies'] = _ha
- end
- _h['serviceId'] = serviceId.to_jaxb_json_hash unless serviceId.nil?
- _h['serviceDef'] = serviceDef.to_jaxb_json_hash unless serviceDef.nil?
- _h['policyUpdateTime'] = policyUpdateTime.to_jaxb_json_hash unless policyUpdateTime.nil?
- _h['auditMode'] = auditMode.to_jaxb_json_hash unless auditMode.nil?
- _h['policyVersion'] = policyVersion.to_jaxb_json_hash unless policyVersion.nil?
+ _h['policyDownloadedVersion'] = policyDownloadedVersion.to_jaxb_json_hash unless policyDownloadedVersion.nil?
+ _h['updateTime'] = updateTime.to_jaxb_json_hash unless updateTime.nil?
+ _h['appType'] = appType.to_jaxb_json_hash unless appType.nil?
+ _h['info'] = info.to_jaxb_json_hash unless info.nil?
+ _h['lastTagUpdateTime'] = lastTagUpdateTime.to_jaxb_json_hash unless lastTagUpdateTime.nil?
+ _h['tagDownloadTime'] = tagDownloadTime.to_jaxb_json_hash unless tagDownloadTime.nil?
+ _h['createTime'] = createTime.to_jaxb_json_hash unless createTime.nil?
+ _h['ipAddress'] = ipAddress.to_jaxb_json_hash unless ipAddress.nil?
+ _h['tagActivationTime'] = tagActivationTime.to_jaxb_json_hash unless tagActivationTime.nil?
+ _h['latestPolicyVersion'] = latestPolicyVersion.to_jaxb_json_hash unless latestPolicyVersion.nil?
+ _h['policyActivationTime'] = policyActivationTime.to_jaxb_json_hash unless policyActivationTime.nil?
+ _h['policyDownloadTime'] = policyDownloadTime.to_jaxb_json_hash unless policyDownloadTime.nil?
+ _h['tagDownloadedVersion'] = tagDownloadedVersion.to_jaxb_json_hash unless tagDownloadedVersion.nil?
+ _h['hostName'] = hostName.to_jaxb_json_hash unless hostName.nil?
+ _h['id'] = id.to_jaxb_json_hash unless id.nil?
return _h
end
- # the json (string form) for this TagPolicies
+ # the json (string form) for this RangerPluginInfo
def to_json
to_jaxb_json_hash.to_json
end
- #initializes this TagPolicies with a json hash
+ #initializes this RangerPluginInfo with a json hash
def init_jaxb_json_hash(_o)
- if !_o['serviceName'].nil?
- _oa = _o['serviceName']
+ if !_o['lastPolicyUpdateTime'].nil?
+ _oa = _o['lastPolicyUpdateTime']
if(_oa.is_a? Hash)
- @serviceName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @serviceName = String.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
- @serviceName = Array.new
+ @lastPolicyUpdateTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @serviceName.push String.from_json(_item)
+ @lastPolicyUpdateTime.push Bignum.from_json(_item)
else
- @serviceName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @lastPolicyUpdateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @serviceName = _oa
+ @lastPolicyUpdateTime = _oa
end
end
- if !_o['policies'].nil?
- _oa = _o['policies']
+ if !_o['tagActiveVersion'].nil?
+ _oa = _o['tagActiveVersion']
if(_oa.is_a? Hash)
- @policies = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @policies = Org::Apache::Ranger::Plugin::Model::RangerPolicy.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
- @policies = Array.new
+ @tagActiveVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @policies.push Org::Apache::Ranger::Plugin::Model::RangerPolicy.from_json(_item)
+ @tagActiveVersion.push Bignum.from_json(_item)
else
- @policies.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @tagActiveVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @policies = _oa
+ @tagActiveVersion = _oa
end
end
- if !_o['serviceId'].nil?
- _oa = _o['serviceId']
+ if !_o['latestTagVersion'].nil?
+ _oa = _o['latestTagVersion']
if(_oa.is_a? Hash)
- @serviceId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @serviceId = Bignum.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
- @serviceId = Array.new
+ @latestTagVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @serviceId.push Bignum.from_json(_item)
+ @latestTagVersion.push Bignum.from_json(_item)
else
- @serviceId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @latestTagVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @serviceId = _oa
+ @latestTagVersion = _oa
end
end
- if !_o['serviceDef'].nil?
- _oa = _o['serviceDef']
+ if !_o['policyActiveVersion'].nil?
+ _oa = _o['policyActiveVersion']
if(_oa.is_a? Hash)
- @serviceDef = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @serviceDef = Org::Apache::Ranger::Plugin::Model::RangerServiceDef.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
- @serviceDef = Array.new
+ @policyActiveVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @serviceDef.push Org::Apache::Ranger::Plugin::Model::RangerServiceDef.from_json(_item)
+ @policyActiveVersion.push Bignum.from_json(_item)
else
- @serviceDef.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @policyActiveVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @serviceDef = _oa
+ @policyActiveVersion = _oa
end
end
- if !_o['policyUpdateTime'].nil?
- _oa = _o['policyUpdateTime']
+ if !_o['serviceName'].nil?
+ _oa = _o['serviceName']
if(_oa.is_a? Hash)
- @policyUpdateTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @policyUpdateTime = Time.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
- @policyUpdateTime = Array.new
+ @serviceName = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @policyUpdateTime.push Time.from_json(_item)
+ @serviceName.push String.from_json(_item)
else
- @policyUpdateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @serviceName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @policyUpdateTime = _oa
+ @serviceName = _oa
end
end
- if !_o['auditMode'].nil?
- _oa = _o['auditMode']
+ if !_o['policyDownloadedVersion'].nil?
+ _oa = _o['policyDownloadedVersion']
if(_oa.is_a? Hash)
- @auditMode = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @auditMode = 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
- @auditMode = Array.new
+ @policyDownloadedVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @auditMode.push String.from_json(_item)
+ @policyDownloadedVersion.push Bignum.from_json(_item)
else
- @auditMode.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @policyDownloadedVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @auditMode = _oa
+ @policyDownloadedVersion = _oa
end
end
- if !_o['policyVersion'].nil?
- _oa = _o['policyVersion']
+ if !_o['updateTime'].nil?
+ _oa = _o['updateTime']
if(_oa.is_a? Hash)
- @policyVersion = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @policyVersion = Bignum.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
- @policyVersion = Array.new
+ @updateTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @policyVersion.push Bignum.from_json(_item)
+ @updateTime.push Time.from_json(_item)
else
- @policyVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @updateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @policyVersion = _oa
+ @updateTime = _oa
end
end
- end
-
- # constructs a TagPolicies 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 VXPermObj
-
- # List of userName
- attr_accessor :userList
- # List of groupName
- attr_accessor :groupList
- # List of permission
- attr_accessor :permList
- # IP address for groups
- attr_accessor :ipAddress
-
- # the json hash for this VXPermObj
- def to_jaxb_json_hash
- _h = {}
- if !userList.nil?
- _ha = Array.new
- userList.each { | _item | _ha.push _item.to_jaxb_json_hash }
- _h['userList'] = _ha
- end
- if !groupList.nil?
- _ha = Array.new
- groupList.each { | _item | _ha.push _item.to_jaxb_json_hash }
- _h['groupList'] = _ha
- end
- if !permList.nil?
- _ha = Array.new
- permList.each { | _item | _ha.push _item.to_jaxb_json_hash }
- _h['permList'] = _ha
- end
- _h['ipAddress'] = ipAddress.to_jaxb_json_hash unless ipAddress.nil?
- return _h
- end
-
- # the json (string form) for this VXPermObj
- def to_json
- to_jaxb_json_hash.to_json
- end
-
- #initializes this VXPermObj with a json hash
- def init_jaxb_json_hash(_o)
- if !_o['userList'].nil?
- _oa = _o['userList']
+ if !_o['appType'].nil?
+ _oa = _o['appType']
if(_oa.is_a? Hash)
- @userList = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @userList = String.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
- @userList = Array.new
+ @appType = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @userList.push String.from_json(_item)
+ @appType.push String.from_json(_item)
else
- @userList.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @appType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @userList = _oa
+ @appType = _oa
end
end
- if !_o['groupList'].nil?
- _oa = _o['groupList']
+ if !_o['info'].nil?
+ _oa = _o['info']
if(_oa.is_a? Hash)
- @groupList = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @groupList = String.from_json(_oa) unless _oa['@class']
- elsif (_oa.is_a? Array)
- #an array(of hashes hopefully) or scalar
- @groupList = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @groupList.push String.from_json(_item)
- else
- @groupList.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @groupList = _oa
- end
- end
- if !_o['permList'].nil?
- _oa = _o['permList']
- if(_oa.is_a? Hash)
- @permList = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @permList = String.from_json(_oa) unless _oa['@class']
- elsif (_oa.is_a? Array)
- #an array(of hashes hopefully) or scalar
- @permList = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @permList.push String.from_json(_item)
- else
- @permList.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @permList = _oa
- end
- end
- if !_o['ipAddress'].nil?
- _oa = _o['ipAddress']
- if(_oa.is_a? Hash)
- @ipAddress = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @ipAddress = 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
- @ipAddress = Array.new
+ @info = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @ipAddress.push String.from_json(_item)
+ @info.push Hash.from_json(_item)
else
- @ipAddress.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @info.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @ipAddress = _oa
+ @info = _oa
end
end
- end
-
- # constructs a VXPermObj 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 View
-
- # (no documentation provided)
- class VXPermMap < Org::Apache::Ranger::View::VXDataObject
-
- # Group to which the permission belongs to
- attr_accessor :permGroup
- # Id of the resource
- attr_accessor :resourceId
- # Id of the group
- attr_accessor :groupId
- # Id of the user
- attr_accessor :userId
- # Permission for user or group
- # This attribute is of type enum CommonEnums::XAPermForType
- attr_accessor :permFor
- # Type of permission
- # This attribute is of type enum CommonEnums::XAPermType
- attr_accessor :permType
- # Grant is true and revoke is false
- attr_accessor :grantOrRevoke
- # Name of the group
- attr_accessor :groupName
- # Name of the user
- attr_accessor :userName
- # Is recursive
- # This attribute is of type enum CommonEnums::BooleanValue
- attr_accessor :isRecursive
- # Is wild card
- attr_accessor :isWildCard
- # IP address for groups
- attr_accessor :ipAddress
-
- # the json hash for this VXPermMap
- def to_jaxb_json_hash
- _h = super
- _h['permGroup'] = permGroup.to_jaxb_json_hash unless permGroup.nil?
- _h['resourceId'] = resourceId.to_jaxb_json_hash unless resourceId.nil?
- _h['groupId'] = groupId.to_jaxb_json_hash unless groupId.nil?
- _h['userId'] = userId.to_jaxb_json_hash unless userId.nil?
- _h['permFor'] = permFor.to_jaxb_json_hash unless permFor.nil?
- _h['permType'] = permType.to_jaxb_json_hash unless permType.nil?
- _h['grantOrRevoke'] = grantOrRevoke.to_jaxb_json_hash unless grantOrRevoke.nil?
- _h['groupName'] = groupName.to_jaxb_json_hash unless groupName.nil?
- _h['userName'] = userName.to_jaxb_json_hash unless userName.nil?
- _h['isRecursive'] = isRecursive.to_jaxb_json_hash unless isRecursive.nil?
- _h['isWildCard'] = isWildCard.to_jaxb_json_hash unless isWildCard.nil?
- _h['ipAddress'] = ipAddress.to_jaxb_json_hash unless ipAddress.nil?
- return _h
- end
-
- #initializes this VXPermMap with a json hash
- def init_jaxb_json_hash(_o)
- super _o
- if !_o['permGroup'].nil?
- _oa = _o['permGroup']
+ if !_o['lastTagUpdateTime'].nil?
+ _oa = _o['lastTagUpdateTime']
if(_oa.is_a? Hash)
- @permGroup = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @permGroup = 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
- @permGroup = Array.new
+ @lastTagUpdateTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @permGroup.push String.from_json(_item)
+ @lastTagUpdateTime.push Bignum.from_json(_item)
else
- @permGroup.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @lastTagUpdateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @permGroup = _oa
+ @lastTagUpdateTime = _oa
end
end
- if !_o['resourceId'].nil?
- _oa = _o['resourceId']
+ if !_o['tagDownloadTime'].nil?
+ _oa = _o['tagDownloadTime']
if(_oa.is_a? Hash)
- @resourceId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @resourceId = Bignum.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
- @resourceId = Array.new
+ @tagDownloadTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @resourceId.push Bignum.from_json(_item)
+ @tagDownloadTime.push Bignum.from_json(_item)
else
- @resourceId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @tagDownloadTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @resourceId = _oa
+ @tagDownloadTime = _oa
end
end
- if !_o['groupId'].nil?
- _oa = _o['groupId']
+ if !_o['createTime'].nil?
+ _oa = _o['createTime']
if(_oa.is_a? Hash)
- @groupId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @groupId = Bignum.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
- @groupId = Array.new
+ @createTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @groupId.push Bignum.from_json(_item)
+ @createTime.push Time.from_json(_item)
else
- @groupId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @createTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @groupId = _oa
+ @createTime = _oa
end
end
- if !_o['userId'].nil?
- _oa = _o['userId']
+ if !_o['ipAddress'].nil?
+ _oa = _o['ipAddress']
if(_oa.is_a? Hash)
- @userId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @userId = Bignum.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
- @userId = Array.new
+ @ipAddress = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @userId.push Bignum.from_json(_item)
+ @ipAddress.push String.from_json(_item)
else
- @userId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @ipAddress.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @userId = _oa
+ @ipAddress = _oa
end
end
- if !_o['permFor'].nil?
- _oa = _o['permFor']
+ if !_o['tagActivationTime'].nil?
+ _oa = _o['tagActivationTime']
if(_oa.is_a? Hash)
- @permFor = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @permFor = Fixnum.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
- @permFor = Array.new
+ @tagActivationTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @permFor.push Fixnum.from_json(_item)
+ @tagActivationTime.push Bignum.from_json(_item)
else
- @permFor.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @tagActivationTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @permFor = _oa
+ @tagActivationTime = _oa
end
end
- if !_o['permType'].nil?
- _oa = _o['permType']
+ if !_o['latestPolicyVersion'].nil?
+ _oa = _o['latestPolicyVersion']
if(_oa.is_a? Hash)
- @permType = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @permType = Fixnum.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
- @permType = Array.new
+ @latestPolicyVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @permType.push Fixnum.from_json(_item)
+ @latestPolicyVersion.push Bignum.from_json(_item)
else
- @permType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @latestPolicyVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @permType = _oa
+ @latestPolicyVersion = _oa
end
end
- if !_o['grantOrRevoke'].nil?
- _oa = _o['grantOrRevoke']
+ if !_o['policyActivationTime'].nil?
+ _oa = _o['policyActivationTime']
if(_oa.is_a? Hash)
- @grantOrRevoke = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @grantOrRevoke = Boolean.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
- @grantOrRevoke = Array.new
+ @policyActivationTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @grantOrRevoke.push Boolean.from_json(_item)
+ @policyActivationTime.push Bignum.from_json(_item)
else
- @grantOrRevoke.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @policyActivationTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @grantOrRevoke = _oa
+ @policyActivationTime = _oa
end
end
- if !_o['groupName'].nil?
- _oa = _o['groupName']
+ if !_o['policyDownloadTime'].nil?
+ _oa = _o['policyDownloadTime']
if(_oa.is_a? Hash)
- @groupName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @groupName = 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
- @groupName = Array.new
+ @policyDownloadTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @groupName.push String.from_json(_item)
+ @policyDownloadTime.push Bignum.from_json(_item)
else
- @groupName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @policyDownloadTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @groupName = _oa
+ @policyDownloadTime = _oa
end
end
- if !_o['userName'].nil?
- _oa = _o['userName']
+ if !_o['tagDownloadedVersion'].nil?
+ _oa = _o['tagDownloadedVersion']
if(_oa.is_a? Hash)
- @userName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @userName = String.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
- @userName = Array.new
+ @tagDownloadedVersion = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @userName.push String.from_json(_item)
+ @tagDownloadedVersion.push Bignum.from_json(_item)
else
- @userName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @tagDownloadedVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @userName = _oa
+ @tagDownloadedVersion = _oa
end
end
- if !_o['isRecursive'].nil?
- _oa = _o['isRecursive']
+ if !_o['hostName'].nil?
+ _oa = _o['hostName']
if(_oa.is_a? Hash)
- @isRecursive = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @isRecursive = Fixnum.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
- @isRecursive = Array.new
+ @hostName = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @isRecursive.push Fixnum.from_json(_item)
+ @hostName.push String.from_json(_item)
else
- @isRecursive.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @hostName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @isRecursive = _oa
+ @hostName = _oa
end
end
- if !_o['isWildCard'].nil?
- _oa = _o['isWildCard']
+ if !_o['id'].nil?
+ _oa = _o['id']
if(_oa.is_a? Hash)
- @isWildCard = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @isWildCard = Boolean.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
- @isWildCard = Array.new
+ @id = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @isWildCard.push Boolean.from_json(_item)
+ @id.push Bignum.from_json(_item)
else
- @isWildCard.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @id.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @isWildCard = _oa
- end
- end
- if !_o['ipAddress'].nil?
- _oa = _o['ipAddress']
- if(_oa.is_a? Hash)
- @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
- @ipAddress = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @ipAddress.push String.from_json(_item)
- else
- @ipAddress.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @ipAddress = _oa
+ @id = _oa
end
end
end
- # constructs a VXPermMap from a (parsed) JSON hash
+ # constructs a RangerPluginInfo from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
@@ -1352,724 +1252,644 @@ end
end
+end
+
module Org
module Apache
module Ranger
-module View
+module Plugin
+
+module Model
# (no documentation provided)
- class RangerPluginInfoList < Org::Apache::Ranger::Common::View::VList
+ class RangerServiceConfigDef
# (no documentation provided)
- attr_accessor :pluginInfoList
+ attr_accessor :description
+ # (no documentation provided)
+ attr_accessor :defaultValue
+ # (no documentation provided)
+ attr_accessor :subType
+ # (no documentation provided)
+ attr_accessor :name
+ # (no documentation provided)
+ attr_accessor :validationMessage
+ # (no documentation provided)
+ attr_accessor :uiHint
+ # (no documentation provided)
+ attr_accessor :rbKeyValidationMessage
+ # (no documentation provided)
+ attr_accessor :type
+ # (no documentation provided)
+ attr_accessor :rbKeyDescription
+ # (no documentation provided)
+ attr_accessor :label
+ # (no documentation provided)
+ attr_accessor :itemId
+ # (no documentation provided)
+ attr_accessor :rbKeyLabel
+ # (no documentation provided)
+ attr_accessor :mandatory
+ # (no documentation provided)
+ attr_accessor :validationRegEx
- # the json hash for this RangerPluginInfoList
+ # the json hash for this RangerServiceConfigDef
def to_jaxb_json_hash
- _h = super
- if !pluginInfoList.nil?
- _ha = Array.new
- pluginInfoList.each { | _item | _ha.push _item.to_jaxb_json_hash }
- _h['pluginInfoList'] = _ha
- end
+ _h = {}
+ _h['description'] = description.to_jaxb_json_hash unless description.nil?
+ _h['defaultValue'] = defaultValue.to_jaxb_json_hash unless defaultValue.nil?
+ _h['subType'] = subType.to_jaxb_json_hash unless subType.nil?
+ _h['name'] = name.to_jaxb_json_hash unless name.nil?
+ _h['validationMessage'] = validationMessage.to_jaxb_json_hash unless validationMessage.nil?
+ _h['uiHint'] = uiHint.to_jaxb_json_hash unless uiHint.nil?
+ _h['rbKeyValidationMessage'] = rbKeyValidationMessage.to_jaxb_json_hash unless rbKeyValidationMessage.nil?
+ _h['type'] = type.to_jaxb_json_hash unless type.nil?
+ _h['rbKeyDescription'] = rbKeyDescription.to_jaxb_json_hash unless rbKeyDescription.nil?
+ _h['label'] = label.to_jaxb_json_hash unless label.nil?
+ _h['itemId'] = itemId.to_jaxb_json_hash unless itemId.nil?
+ _h['rbKeyLabel'] = rbKeyLabel.to_jaxb_json_hash unless rbKeyLabel.nil?
+ _h['mandatory'] = mandatory.to_jaxb_json_hash unless mandatory.nil?
+ _h['validationRegEx'] = validationRegEx.to_jaxb_json_hash unless validationRegEx.nil?
return _h
end
- #initializes this RangerPluginInfoList with a json hash
+ # 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)
- super _o
- if !_o['pluginInfoList'].nil?
- _oa = _o['pluginInfoList']
+ if !_o['description'].nil?
+ _oa = _o['description']
if(_oa.is_a? Hash)
- @pluginInfoList = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @pluginInfoList = Org::Apache::Ranger::Plugin::Model::RangerPluginInfo.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
- @pluginInfoList = Array.new
+ @description = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @pluginInfoList.push Org::Apache::Ranger::Plugin::Model::RangerPluginInfo.from_json(_item)
+ @description.push String.from_json(_item)
else
- @pluginInfoList.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @description.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @pluginInfoList = _oa
+ @description = _oa
end
end
- end
-
- # constructs a RangerPluginInfoList 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 View
-
- # (no documentation provided)
- class VXGroupPermission < Org::Apache::Ranger::View::VXDataObject
-
- # (no documentation provided)
- attr_accessor :groupId
- # (no documentation provided)
- attr_accessor :moduleId
- # (no documentation provided)
- attr_accessor :isAllowed
- # (no documentation provided)
- attr_accessor :moduleName
- # (no documentation provided)
- attr_accessor :groupName
-
- # the json hash for this VXGroupPermission
- def to_jaxb_json_hash
- _h = super
- _h['groupId'] = groupId.to_jaxb_json_hash unless groupId.nil?
- _h['moduleId'] = moduleId.to_jaxb_json_hash unless moduleId.nil?
- _h['isAllowed'] = isAllowed.to_jaxb_json_hash unless isAllowed.nil?
- _h['moduleName'] = moduleName.to_jaxb_json_hash unless moduleName.nil?
- _h['groupName'] = groupName.to_jaxb_json_hash unless groupName.nil?
- return _h
- end
-
- #initializes this VXGroupPermission with a json hash
- def init_jaxb_json_hash(_o)
- super _o
- if !_o['groupId'].nil?
- _oa = _o['groupId']
+ if !_o['defaultValue'].nil?
+ _oa = _o['defaultValue']
if(_oa.is_a? Hash)
- @groupId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @groupId = Bignum.from_json(_oa) unless _oa['@class']
+ @defaultValue = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @defaultValue = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @groupId = Array.new
+ @defaultValue = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @groupId.push Bignum.from_json(_item)
+ @defaultValue.push String.from_json(_item)
else
- @groupId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @defaultValue.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @groupId = _oa
+ @defaultValue = _oa
end
end
- if !_o['moduleId'].nil?
- _oa = _o['moduleId']
+ if !_o['subType'].nil?
+ _oa = _o['subType']
if(_oa.is_a? Hash)
- @moduleId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @moduleId = Bignum.from_json(_oa) unless _oa['@class']
+ @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
- @moduleId = Array.new
+ @subType = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @moduleId.push Bignum.from_json(_item)
+ @subType.push String.from_json(_item)
else
- @moduleId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @subType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @moduleId = _oa
+ @subType = _oa
end
end
- if !_o['isAllowed'].nil?
- _oa = _o['isAllowed']
+ if !_o['name'].nil?
+ _oa = _o['name']
if(_oa.is_a? Hash)
- @isAllowed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @isAllowed = Fixnum.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
- @isAllowed = Array.new
+ @name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @isAllowed.push Fixnum.from_json(_item)
+ @name.push String.from_json(_item)
else
- @isAllowed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @isAllowed = _oa
+ @name = _oa
end
end
- if !_o['moduleName'].nil?
- _oa = _o['moduleName']
+ if !_o['validationMessage'].nil?
+ _oa = _o['validationMessage']
if(_oa.is_a? Hash)
- @moduleName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @moduleName = 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
- @moduleName = Array.new
+ @validationMessage = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @moduleName.push String.from_json(_item)
+ @validationMessage.push String.from_json(_item)
else
- @moduleName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @validationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @moduleName = _oa
+ @validationMessage = _oa
end
end
- if !_o['groupName'].nil?
- _oa = _o['groupName']
+ if !_o['uiHint'].nil?
+ _oa = _o['uiHint']
if(_oa.is_a? Hash)
- @groupName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @groupName = String.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
- @groupName = Array.new
+ @uiHint = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @groupName.push String.from_json(_item)
+ @uiHint.push String.from_json(_item)
else
- @groupName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @uiHint.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @groupName = _oa
+ @uiHint = _oa
end
end
- end
-
- # constructs a VXGroupPermission 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 RangerResourceDef
-
- # (no documentation provided)
- attr_accessor :matcher
- # (no documentation provided)
- attr_accessor :matcherOptions
- # (no documentation provided)
- attr_accessor :mandatory
- # (no documentation provided)
- attr_accessor :itemId
- # (no documentation provided)
- attr_accessor :uiHint
- # (no documentation provided)
- attr_accessor :excludesSupported
- # (no documentation provided)
- attr_accessor :accessTypeRestrictions
- # (no documentation provided)
- attr_accessor :label
- # (no documentation provided)
- attr_accessor :recursiveSupported
- # (no documentation provided)
- attr_accessor :lookupSupported
- # (no documentation provided)
- attr_accessor :level
- # (no documentation provided)
- attr_accessor :rbKeyDescription
- # (no documentation provided)
- attr_accessor :isValidLeaf
- # (no documentation provided)
- attr_accessor :parent
- # (no documentation provided)
- attr_accessor :validationMessage
- # (no documentation provided)
- attr_accessor :rbKeyLabel
- # (no documentation provided)
- attr_accessor :type
- # (no documentation provided)
- attr_accessor :validationRegEx
- # (no documentation provided)
- attr_accessor :name
- # (no documentation provided)
- attr_accessor :description
- # (no documentation provided)
- attr_accessor :rbKeyValidationMessage
-
- # the json hash for this RangerResourceDef
- def to_jaxb_json_hash
- _h = {}
- _h['matcher'] = matcher.to_jaxb_json_hash unless matcher.nil?
- _h['matcherOptions'] = matcherOptions.to_jaxb_json_hash unless matcherOptions.nil?
- _h['mandatory'] = mandatory.to_jaxb_json_hash unless mandatory.nil?
- _h['itemId'] = itemId.to_jaxb_json_hash unless itemId.nil?
- _h['uiHint'] = uiHint.to_jaxb_json_hash unless uiHint.nil?
- _h['excludesSupported'] = excludesSupported.to_jaxb_json_hash unless excludesSupported.nil?
- if !accessTypeRestrictions.nil?
- _ha = Array.new
- accessTypeRestrictions.each { | _item | _ha.push _item.to_jaxb_json_hash }
- _h['accessTypeRestrictions'] = _ha
- end
- _h['label'] = label.to_jaxb_json_hash unless label.nil?
- _h['recursiveSupported'] = recursiveSupported.to_jaxb_json_hash unless recursiveSupported.nil?
- _h['lookupSupported'] = lookupSupported.to_jaxb_json_hash unless lookupSupported.nil?
- _h['level'] = level.to_jaxb_json_hash unless level.nil?
- _h['rbKeyDescription'] = rbKeyDescription.to_jaxb_json_hash unless rbKeyDescription.nil?
- _h['isValidLeaf'] = isValidLeaf.to_jaxb_json_hash unless isValidLeaf.nil?
- _h['parent'] = parent.to_jaxb_json_hash unless parent.nil?
- _h['validationMessage'] = validationMessage.to_jaxb_json_hash unless validationMessage.nil?
- _h['rbKeyLabel'] = rbKeyLabel.to_jaxb_json_hash unless rbKeyLabel.nil?
- _h['type'] = type.to_jaxb_json_hash unless type.nil?
[... 50275 lines stripped ...]