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/07/10 01:47:40 UTC
svn commit: r1835505 [10/13] - 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=1835505&r1=1835504&r2=1835505&view=diff
==============================================================================
--- ranger/site/trunk/apidocs/security-admin-web.rb (original)
+++ ranger/site/trunk/apidocs/security-admin-web.rb Tue Jul 10 01:47:39 2018
@@ -89,27 +89,27 @@ module Model
class RecurrenceSchedule
# (no documentation provided)
- attr_accessor :minute
- # (no documentation provided)
- attr_accessor :dayOfMonth
+ attr_accessor :year
# (no documentation provided)
attr_accessor :hour
# (no documentation provided)
- attr_accessor :year
- # (no documentation provided)
- attr_accessor :dayOfWeek
+ attr_accessor :minute
# (no documentation provided)
attr_accessor :month
+ # (no documentation provided)
+ attr_accessor :dayOfMonth
+ # (no documentation provided)
+ attr_accessor :dayOfWeek
# the json hash for this RecurrenceSchedule
def to_jaxb_json_hash
_h = {}
+ _h['year'] = year.to_jaxb_json_hash unless year.nil?
+ _h['hour'] = hour.to_jaxb_json_hash unless hour.nil?
_h['minute'] = minute.to_jaxb_json_hash unless minute.nil?
+ _h['month'] = month.to_jaxb_json_hash unless month.nil?
_h['dayOfMonth'] = dayOfMonth.to_jaxb_json_hash unless dayOfMonth.nil?
- _h['hour'] = hour.to_jaxb_json_hash unless hour.nil?
- _h['year'] = year.to_jaxb_json_hash unless year.nil?
_h['dayOfWeek'] = dayOfWeek.to_jaxb_json_hash unless dayOfWeek.nil?
- _h['month'] = month.to_jaxb_json_hash unless month.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['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['dayOfMonth'].nil?
- _oa = _o['dayOfMonth']
+ if !_o['hour'].nil?
+ _oa = _o['hour']
if(_oa.is_a? Hash)
- @dayOfMonth = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @dayOfMonth = 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
- @dayOfMonth = Array.new
+ @hour = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @dayOfMonth.push String.from_json(_item)
+ @hour.push String.from_json(_item)
else
- @dayOfMonth.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @hour.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @dayOfMonth = _oa
+ @hour = _oa
end
end
- if !_o['hour'].nil?
- _oa = _o['hour']
+ if !_o['minute'].nil?
+ _oa = _o['minute']
if(_oa.is_a? Hash)
- @hour = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @hour = 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
- @hour = Array.new
+ @minute = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @hour.push String.from_json(_item)
+ @minute.push String.from_json(_item)
else
- @hour.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @minute.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @hour = _oa
+ @minute = _oa
end
end
- if !_o['year'].nil?
- _oa = _o['year']
+ if !_o['month'].nil?
+ _oa = _o['month']
if(_oa.is_a? Hash)
- @year = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @year = 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
- @year = Array.new
+ @month = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @year.push String.from_json(_item)
+ @month.push String.from_json(_item)
else
- @year.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @month.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @year = _oa
+ @month = _oa
end
end
- if !_o['dayOfWeek'].nil?
- _oa = _o['dayOfWeek']
+ if !_o['dayOfMonth'].nil?
+ _oa = _o['dayOfMonth']
if(_oa.is_a? Hash)
- @dayOfWeek = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @dayOfWeek = 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
- @dayOfWeek = Array.new
+ @dayOfMonth = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @dayOfWeek.push String.from_json(_item)
+ @dayOfMonth.push String.from_json(_item)
else
- @dayOfWeek.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @dayOfMonth.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @dayOfWeek = _oa
+ @dayOfMonth = _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
end
@@ -272,45 +272,45 @@ module Model
class RangerPolicyConditionDef
# (no documentation provided)
+ attr_accessor :label
+ # (no documentation provided)
attr_accessor :rbKeyDescription
# (no documentation provided)
+ attr_accessor :uiHint
+ # (no documentation provided)
attr_accessor :evaluatorOptions
# (no documentation provided)
- attr_accessor :label
+ attr_accessor :name
# (no documentation provided)
- attr_accessor :itemId
+ attr_accessor :rbKeyValidationMessage
# (no documentation provided)
- attr_accessor :description
+ attr_accessor :rbKeyLabel
# (no documentation provided)
attr_accessor :validationMessage
# (no documentation provided)
- attr_accessor :rbKeyValidationMessage
- # (no documentation provided)
- attr_accessor :name
- # (no documentation provided)
- attr_accessor :uiHint
+ attr_accessor :itemId
# (no documentation provided)
- attr_accessor :validationRegEx
+ attr_accessor :description
# (no documentation provided)
attr_accessor :evaluator
# (no documentation provided)
- attr_accessor :rbKeyLabel
+ attr_accessor :validationRegEx
# the json hash for this RangerPolicyConditionDef
def to_jaxb_json_hash
_h = {}
+ _h['label'] = label.to_jaxb_json_hash unless label.nil?
_h['rbKeyDescription'] = rbKeyDescription.to_jaxb_json_hash unless rbKeyDescription.nil?
+ _h['uiHint'] = uiHint.to_jaxb_json_hash unless uiHint.nil?
_h['evaluatorOptions'] = evaluatorOptions.to_jaxb_json_hash unless evaluatorOptions.nil?
- _h['label'] = label.to_jaxb_json_hash unless label.nil?
+ _h['name'] = name.to_jaxb_json_hash unless name.nil?
+ _h['rbKeyValidationMessage'] = rbKeyValidationMessage.to_jaxb_json_hash unless rbKeyValidationMessage.nil?
+ _h['rbKeyLabel'] = rbKeyLabel.to_jaxb_json_hash unless rbKeyLabel.nil?
+ _h['validationMessage'] = validationMessage.to_jaxb_json_hash unless validationMessage.nil?
_h['itemId'] = itemId.to_jaxb_json_hash unless itemId.nil?
_h['description'] = description.to_jaxb_json_hash unless description.nil?
- _h['validationMessage'] = validationMessage.to_jaxb_json_hash unless validationMessage.nil?
- _h['rbKeyValidationMessage'] = rbKeyValidationMessage.to_jaxb_json_hash unless rbKeyValidationMessage.nil?
- _h['name'] = name.to_jaxb_json_hash unless name.nil?
- _h['uiHint'] = uiHint.to_jaxb_json_hash unless uiHint.nil?
- _h['validationRegEx'] = validationRegEx.to_jaxb_json_hash unless validationRegEx.nil?
_h['evaluator'] = evaluator.to_jaxb_json_hash unless evaluator.nil?
- _h['rbKeyLabel'] = rbKeyLabel.to_jaxb_json_hash unless rbKeyLabel.nil?
+ _h['validationRegEx'] = validationRegEx.to_jaxb_json_hash unless validationRegEx.nil?
return _h
end
@@ -321,6 +321,25 @@ module Model
#initializes this RangerPolicyConditionDef with a json hash
def init_jaxb_json_hash(_o)
+ if !_o['label'].nil?
+ _oa = _o['label']
+ if(_oa.is_a? Hash)
+ @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
+ @label = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @label.push String.from_json(_item)
+ else
+ @label.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @label = _oa
+ end
+ end
if !_o['rbKeyDescription'].nil?
_oa = _o['rbKeyDescription']
if(_oa.is_a? Hash)
@@ -340,6 +359,25 @@ module Model
@rbKeyDescription = _oa
end
end
+ if !_o['uiHint'].nil?
+ _oa = _o['uiHint']
+ if(_oa.is_a? Hash)
+ @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
+ @uiHint = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @uiHint.push String.from_json(_item)
+ else
+ @uiHint.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @uiHint = _oa
+ end
+ end
if !_o['evaluatorOptions'].nil?
_oa = _o['evaluatorOptions']
if(_oa.is_a? Hash)
@@ -359,61 +397,61 @@ module Model
@evaluatorOptions = _oa
end
end
- if !_o['label'].nil?
- _oa = _o['label']
+ if !_o['name'].nil?
+ _oa = _o['name']
if(_oa.is_a? Hash)
- @label = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @label = 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
- @label = Array.new
+ @name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @label.push String.from_json(_item)
+ @name.push String.from_json(_item)
else
- @label.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @label = _oa
+ @name = _oa
end
end
- if !_o['itemId'].nil?
- _oa = _o['itemId']
+ if !_o['rbKeyValidationMessage'].nil?
+ _oa = _o['rbKeyValidationMessage']
if(_oa.is_a? Hash)
- @itemId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @itemId = 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
- @itemId = Array.new
+ @rbKeyValidationMessage = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @itemId.push Bignum.from_json(_item)
+ @rbKeyValidationMessage.push String.from_json(_item)
else
- @itemId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @rbKeyValidationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @itemId = _oa
+ @rbKeyValidationMessage = _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['validationMessage'].nil?
@@ -435,80 +473,42 @@ module Model
@validationMessage = _oa
end
end
- if !_o['rbKeyValidationMessage'].nil?
- _oa = _o['rbKeyValidationMessage']
- if(_oa.is_a? Hash)
- @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
- @rbKeyValidationMessage = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @rbKeyValidationMessage.push String.from_json(_item)
- else
- @rbKeyValidationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @rbKeyValidationMessage = _oa
- end
- end
- if !_o['name'].nil?
- _oa = _o['name']
- if(_oa.is_a? Hash)
- @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
- @name = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @name.push String.from_json(_item)
- else
- @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @name = _oa
- end
- end
- if !_o['uiHint'].nil?
- _oa = _o['uiHint']
+ if !_o['itemId'].nil?
+ _oa = _o['itemId']
if(_oa.is_a? Hash)
- @uiHint = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @uiHint = 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
- @uiHint = Array.new
+ @itemId = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @uiHint.push String.from_json(_item)
+ @itemId.push Bignum.from_json(_item)
else
- @uiHint.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @itemId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @uiHint = _oa
+ @itemId = _oa
end
end
- if !_o['validationRegEx'].nil?
- _oa = _o['validationRegEx']
+ if !_o['description'].nil?
+ _oa = _o['description']
if(_oa.is_a? Hash)
- @validationRegEx = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @validationRegEx = 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
- @validationRegEx = Array.new
+ @description = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @validationRegEx.push String.from_json(_item)
+ @description.push String.from_json(_item)
else
- @validationRegEx.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @description.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @validationRegEx = _oa
+ @description = _oa
end
end
if !_o['evaluator'].nil?
@@ -530,23 +530,23 @@ module Model
@evaluator = _oa
end
end
- if !_o['rbKeyLabel'].nil?
- _oa = _o['rbKeyLabel']
+ if !_o['validationRegEx'].nil?
+ _oa = _o['validationRegEx']
if(_oa.is_a? Hash)
- @rbKeyLabel = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @rbKeyLabel = 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
- @rbKeyLabel = Array.new
+ @validationRegEx = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @rbKeyLabel.push String.from_json(_item)
+ @validationRegEx.push String.from_json(_item)
else
- @rbKeyLabel.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @validationRegEx.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @rbKeyLabel = _oa
+ @validationRegEx = _oa
end
end
end
@@ -774,465 +774,91 @@ module Plugin
module Model
# (no documentation provided)
- class RangerPluginInfo
+ class ValidityInterval
# (no documentation provided)
- attr_accessor :lastPolicyUpdateTime
- # (no documentation provided)
- attr_accessor :ipAddress
- # (no documentation provided)
- attr_accessor :policyDownloadTime
- # (no documentation provided)
- attr_accessor :policyActivationTime
- # (no documentation provided)
- attr_accessor :hostName
- # (no documentation provided)
- attr_accessor :policyActiveVersion
- # (no documentation provided)
- attr_accessor :policyDownloadedVersion
- # (no documentation provided)
- attr_accessor :id
- # (no documentation provided)
- attr_accessor :tagActivationTime
- # (no documentation provided)
- attr_accessor :serviceName
- # (no documentation provided)
- attr_accessor :createTime
- # (no documentation provided)
- attr_accessor :latestPolicyVersion
- # (no documentation provided)
- attr_accessor :tagDownloadedVersion
- # (no documentation provided)
- attr_accessor :appType
- # (no documentation provided)
- attr_accessor :latestTagVersion
- # (no documentation provided)
- attr_accessor :tagActiveVersion
- # (no documentation provided)
- attr_accessor :info
- # (no documentation provided)
- attr_accessor :updateTime
+ attr_accessor :minutes
# (no documentation provided)
- attr_accessor :lastTagUpdateTime
+ attr_accessor :days
# (no documentation provided)
- attr_accessor :tagDownloadTime
+ attr_accessor :hours
- # the json hash for this RangerPluginInfo
+ # the json hash for this ValidityInterval
def to_jaxb_json_hash
_h = {}
- _h['lastPolicyUpdateTime'] = lastPolicyUpdateTime.to_jaxb_json_hash unless lastPolicyUpdateTime.nil?
- _h['ipAddress'] = ipAddress.to_jaxb_json_hash unless ipAddress.nil?
- _h['policyDownloadTime'] = policyDownloadTime.to_jaxb_json_hash unless policyDownloadTime.nil?
- _h['policyActivationTime'] = policyActivationTime.to_jaxb_json_hash unless policyActivationTime.nil?
- _h['hostName'] = hostName.to_jaxb_json_hash unless hostName.nil?
- _h['policyActiveVersion'] = policyActiveVersion.to_jaxb_json_hash unless policyActiveVersion.nil?
- _h['policyDownloadedVersion'] = policyDownloadedVersion.to_jaxb_json_hash unless policyDownloadedVersion.nil?
- _h['id'] = id.to_jaxb_json_hash unless id.nil?
- _h['tagActivationTime'] = tagActivationTime.to_jaxb_json_hash unless tagActivationTime.nil?
- _h['serviceName'] = serviceName.to_jaxb_json_hash unless serviceName.nil?
- _h['createTime'] = createTime.to_jaxb_json_hash unless createTime.nil?
- _h['latestPolicyVersion'] = latestPolicyVersion.to_jaxb_json_hash unless latestPolicyVersion.nil?
- _h['tagDownloadedVersion'] = tagDownloadedVersion.to_jaxb_json_hash unless tagDownloadedVersion.nil?
- _h['appType'] = appType.to_jaxb_json_hash unless appType.nil?
- _h['latestTagVersion'] = latestTagVersion.to_jaxb_json_hash unless latestTagVersion.nil?
- _h['tagActiveVersion'] = tagActiveVersion.to_jaxb_json_hash unless tagActiveVersion.nil?
- _h['info'] = info.to_jaxb_json_hash unless info.nil?
- _h['updateTime'] = updateTime.to_jaxb_json_hash unless updateTime.nil?
- _h['lastTagUpdateTime'] = lastTagUpdateTime.to_jaxb_json_hash unless lastTagUpdateTime.nil?
- _h['tagDownloadTime'] = tagDownloadTime.to_jaxb_json_hash unless tagDownloadTime.nil?
+ _h['minutes'] = minutes.to_jaxb_json_hash unless minutes.nil?
+ _h['days'] = days.to_jaxb_json_hash unless days.nil?
+ _h['hours'] = hours.to_jaxb_json_hash unless hours.nil?
return _h
end
- # the json (string form) for this RangerPluginInfo
+ # the json (string form) for this ValidityInterval
def to_json
to_jaxb_json_hash.to_json
end
- #initializes this RangerPluginInfo with a json hash
+ #initializes this ValidityInterval with a json hash
def init_jaxb_json_hash(_o)
- if !_o['lastPolicyUpdateTime'].nil?
- _oa = _o['lastPolicyUpdateTime']
- if(_oa.is_a? Hash)
- @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
- @lastPolicyUpdateTime = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @lastPolicyUpdateTime.push Bignum.from_json(_item)
- else
- @lastPolicyUpdateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @lastPolicyUpdateTime = _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
- end
- end
- if !_o['policyDownloadTime'].nil?
- _oa = _o['policyDownloadTime']
- if(_oa.is_a? Hash)
- @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
- @policyDownloadTime = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @policyDownloadTime.push Bignum.from_json(_item)
- else
- @policyDownloadTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @policyDownloadTime = _oa
- end
- end
- if !_o['policyActivationTime'].nil?
- _oa = _o['policyActivationTime']
+ if !_o['minutes'].nil?
+ _oa = _o['minutes']
if(_oa.is_a? Hash)
- @policyActivationTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @policyActivationTime = Bignum.from_json(_oa) unless _oa['@class']
+ @minutes = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @minutes = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @policyActivationTime = Array.new
+ @minutes = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @policyActivationTime.push Bignum.from_json(_item)
+ @minutes.push Fixnum.from_json(_item)
else
- @policyActivationTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @minutes.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @policyActivationTime = _oa
+ @minutes = _oa
end
end
- if !_o['hostName'].nil?
- _oa = _o['hostName']
+ if !_o['days'].nil?
+ _oa = _o['days']
if(_oa.is_a? Hash)
- @hostName = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @hostName = String.from_json(_oa) unless _oa['@class']
+ @days = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @days = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @hostName = Array.new
+ @days = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @hostName.push String.from_json(_item)
+ @days.push Fixnum.from_json(_item)
else
- @hostName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @days.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @hostName = _oa
+ @days = _oa
end
end
- if !_o['policyActiveVersion'].nil?
- _oa = _o['policyActiveVersion']
+ if !_o['hours'].nil?
+ _oa = _o['hours']
if(_oa.is_a? Hash)
- @policyActiveVersion = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @policyActiveVersion = Bignum.from_json(_oa) unless _oa['@class']
+ @hours = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @hours = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @policyActiveVersion = Array.new
+ @hours = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @policyActiveVersion.push Bignum.from_json(_item)
+ @hours.push Fixnum.from_json(_item)
else
- @policyActiveVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @hours.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @policyActiveVersion = _oa
- end
- end
- if !_o['policyDownloadedVersion'].nil?
- _oa = _o['policyDownloadedVersion']
- if(_oa.is_a? Hash)
- @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
- @policyDownloadedVersion = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @policyDownloadedVersion.push Bignum.from_json(_item)
- else
- @policyDownloadedVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @policyDownloadedVersion = _oa
- end
- end
- if !_o['id'].nil?
- _oa = _o['id']
- if(_oa.is_a? Hash)
- @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
- @id = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @id.push Bignum.from_json(_item)
- else
- @id.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @id = _oa
- end
- end
- if !_o['tagActivationTime'].nil?
- _oa = _o['tagActivationTime']
- if(_oa.is_a? Hash)
- @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
- @tagActivationTime = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @tagActivationTime.push Bignum.from_json(_item)
- else
- @tagActivationTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @tagActivationTime = _oa
- end
- end
- if !_o['serviceName'].nil?
- _oa = _o['serviceName']
- if(_oa.is_a? Hash)
- @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
- @serviceName = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @serviceName.push String.from_json(_item)
- else
- @serviceName.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @serviceName = _oa
- end
- end
- if !_o['createTime'].nil?
- _oa = _o['createTime']
- if(_oa.is_a? Hash)
- @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
- @createTime = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @createTime.push Time.from_json(_item)
- else
- @createTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @createTime = _oa
- end
- end
- if !_o['latestPolicyVersion'].nil?
- _oa = _o['latestPolicyVersion']
- if(_oa.is_a? Hash)
- @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
- @latestPolicyVersion = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @latestPolicyVersion.push Bignum.from_json(_item)
- else
- @latestPolicyVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @latestPolicyVersion = _oa
- end
- end
- if !_o['tagDownloadedVersion'].nil?
- _oa = _o['tagDownloadedVersion']
- if(_oa.is_a? Hash)
- @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
- @tagDownloadedVersion = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @tagDownloadedVersion.push Bignum.from_json(_item)
- else
- @tagDownloadedVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @tagDownloadedVersion = _oa
- end
- end
- if !_o['appType'].nil?
- _oa = _o['appType']
- if(_oa.is_a? Hash)
- @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
- @appType = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @appType.push String.from_json(_item)
- else
- @appType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @appType = _oa
- end
- end
- if !_o['latestTagVersion'].nil?
- _oa = _o['latestTagVersion']
- if(_oa.is_a? Hash)
- @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
- @latestTagVersion = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @latestTagVersion.push Bignum.from_json(_item)
- else
- @latestTagVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @latestTagVersion = _oa
- end
- end
- if !_o['tagActiveVersion'].nil?
- _oa = _o['tagActiveVersion']
- if(_oa.is_a? Hash)
- @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
- @tagActiveVersion = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @tagActiveVersion.push Bignum.from_json(_item)
- else
- @tagActiveVersion.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @tagActiveVersion = _oa
- end
- end
- if !_o['info'].nil?
- _oa = _o['info']
- if(_oa.is_a? Hash)
- @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
- @info = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @info.push Hash.from_json(_item)
- else
- @info.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @info = _oa
- end
- end
- if !_o['updateTime'].nil?
- _oa = _o['updateTime']
- if(_oa.is_a? Hash)
- @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
- @updateTime = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @updateTime.push Time.from_json(_item)
- else
- @updateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @updateTime = _oa
- end
- end
- if !_o['lastTagUpdateTime'].nil?
- _oa = _o['lastTagUpdateTime']
- if(_oa.is_a? Hash)
- @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
- @lastTagUpdateTime = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @lastTagUpdateTime.push Bignum.from_json(_item)
- else
- @lastTagUpdateTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @lastTagUpdateTime = _oa
- end
- end
- if !_o['tagDownloadTime'].nil?
- _oa = _o['tagDownloadTime']
- if(_oa.is_a? Hash)
- @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
- @tagDownloadTime = Array.new
- _oa.each { | _item |
- if ((_item.nil? || _item['@class'].nil?)rescue true)
- @tagDownloadTime.push Bignum.from_json(_item)
- else
- @tagDownloadTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
- end
- }
- else
- @tagDownloadTime = _oa
+ @hours = _oa
end
end
end
- # constructs a RangerPluginInfo from a (parsed) JSON hash
+ # constructs a ValidityInterval from a (parsed) JSON hash
def self.from_json(o)
if o.nil?
return nil
@@ -1268,51 +894,51 @@ module Model
class RangerServiceConfigDef
# (no documentation provided)
- attr_accessor :rbKeyDescription
- # (no documentation provided)
attr_accessor :rbKeyLabel
# (no documentation provided)
- attr_accessor :itemId
- # (no documentation provided)
- attr_accessor :type
+ attr_accessor :subType
# (no documentation provided)
- attr_accessor :defaultValue
+ attr_accessor :name
# (no documentation provided)
attr_accessor :description
# (no documentation provided)
- attr_accessor :label
+ attr_accessor :type
# (no documentation provided)
- attr_accessor :validationRegEx
+ attr_accessor :rbKeyDescription
+ # (no documentation provided)
+ attr_accessor :label
# (no documentation provided)
attr_accessor :validationMessage
# (no documentation provided)
- attr_accessor :uiHint
+ attr_accessor :rbKeyValidationMessage
# (no documentation provided)
- attr_accessor :subType
+ attr_accessor :itemId
+ # (no documentation provided)
+ attr_accessor :uiHint
# (no documentation provided)
attr_accessor :mandatory
# (no documentation provided)
- attr_accessor :rbKeyValidationMessage
+ attr_accessor :defaultValue
# (no documentation provided)
- attr_accessor :name
+ attr_accessor :validationRegEx
# the json hash for this RangerServiceConfigDef
def to_jaxb_json_hash
_h = {}
- _h['rbKeyDescription'] = rbKeyDescription.to_jaxb_json_hash unless rbKeyDescription.nil?
_h['rbKeyLabel'] = rbKeyLabel.to_jaxb_json_hash unless rbKeyLabel.nil?
- _h['itemId'] = itemId.to_jaxb_json_hash unless itemId.nil?
- _h['type'] = type.to_jaxb_json_hash unless type.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['description'] = description.to_jaxb_json_hash unless description.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['validationRegEx'] = validationRegEx.to_jaxb_json_hash unless validationRegEx.nil?
_h['validationMessage'] = validationMessage.to_jaxb_json_hash unless validationMessage.nil?
+ _h['rbKeyValidationMessage'] = rbKeyValidationMessage.to_jaxb_json_hash unless rbKeyValidationMessage.nil?
+ _h['itemId'] = itemId.to_jaxb_json_hash unless itemId.nil?
_h['uiHint'] = uiHint.to_jaxb_json_hash unless uiHint.nil?
- _h['subType'] = subType.to_jaxb_json_hash unless subType.nil?
_h['mandatory'] = mandatory.to_jaxb_json_hash unless mandatory.nil?
- _h['rbKeyValidationMessage'] = rbKeyValidationMessage.to_jaxb_json_hash unless rbKeyValidationMessage.nil?
- _h['name'] = name.to_jaxb_json_hash unless name.nil?
+ _h['defaultValue'] = defaultValue.to_jaxb_json_hash unless defaultValue.nil?
+ _h['validationRegEx'] = validationRegEx.to_jaxb_json_hash unless validationRegEx.nil?
return _h
end
@@ -1323,118 +949,118 @@ module Model
#initializes this RangerServiceConfigDef with a json hash
def init_jaxb_json_hash(_o)
- if !_o['rbKeyDescription'].nil?
- _oa = _o['rbKeyDescription']
+ if !_o['rbKeyLabel'].nil?
+ _oa = _o['rbKeyLabel']
if(_oa.is_a? Hash)
- @rbKeyDescription = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @rbKeyDescription = 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
- @rbKeyDescription = Array.new
+ @rbKeyLabel = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @rbKeyDescription.push String.from_json(_item)
+ @rbKeyLabel.push String.from_json(_item)
else
- @rbKeyDescription.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @rbKeyLabel.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @rbKeyDescription = _oa
+ @rbKeyLabel = _oa
end
end
- if !_o['rbKeyLabel'].nil?
- _oa = _o['rbKeyLabel']
+ if !_o['subType'].nil?
+ _oa = _o['subType']
if(_oa.is_a? Hash)
- @rbKeyLabel = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @rbKeyLabel = String.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
- @rbKeyLabel = Array.new
+ @subType = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @rbKeyLabel.push String.from_json(_item)
+ @subType.push String.from_json(_item)
else
- @rbKeyLabel.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @subType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @rbKeyLabel = _oa
+ @subType = _oa
end
end
- if !_o['itemId'].nil?
- _oa = _o['itemId']
+ if !_o['name'].nil?
+ _oa = _o['name']
if(_oa.is_a? Hash)
- @itemId = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @itemId = Bignum.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
- @itemId = Array.new
+ @name = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @itemId.push Bignum.from_json(_item)
+ @name.push String.from_json(_item)
else
- @itemId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @itemId = _oa
+ @name = _oa
end
end
- if !_o['type'].nil?
- _oa = _o['type']
+ if !_o['description'].nil?
+ _oa = _o['description']
if(_oa.is_a? Hash)
- @type = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @type = 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
- @type = Array.new
+ @description = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @type.push String.from_json(_item)
+ @description.push String.from_json(_item)
else
- @type.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @description.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @type = _oa
+ @description = _oa
end
end
- if !_o['defaultValue'].nil?
- _oa = _o['defaultValue']
+ if !_o['type'].nil?
+ _oa = _o['type']
if(_oa.is_a? Hash)
- @defaultValue = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @defaultValue = 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
- @defaultValue = Array.new
+ @type = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @defaultValue.push String.from_json(_item)
+ @type.push String.from_json(_item)
else
- @defaultValue.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @type.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @defaultValue = _oa
+ @type = _oa
end
end
- if !_o['description'].nil?
- _oa = _o['description']
+ if !_o['rbKeyDescription'].nil?
+ _oa = _o['rbKeyDescription']
if(_oa.is_a? Hash)
- @description = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @description = 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
- @description = Array.new
+ @rbKeyDescription = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @description.push String.from_json(_item)
+ @rbKeyDescription.push String.from_json(_item)
else
- @description.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @rbKeyDescription.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @description = _oa
+ @rbKeyDescription = _oa
end
end
if !_o['label'].nil?
@@ -1456,80 +1082,80 @@ module Model
@label = _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['validationMessage'].nil?
- _oa = _o['validationMessage']
+ if !_o['rbKeyValidationMessage'].nil?
+ _oa = _o['rbKeyValidationMessage']
if(_oa.is_a? Hash)
- @validationMessage = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @validationMessage = 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
- @validationMessage = Array.new
+ @rbKeyValidationMessage = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @validationMessage.push String.from_json(_item)
+ @rbKeyValidationMessage.push String.from_json(_item)
else
- @validationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @rbKeyValidationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @validationMessage = _oa
+ @rbKeyValidationMessage = _oa
end
end
- if !_o['uiHint'].nil?
- _oa = _o['uiHint']
+ if !_o['itemId'].nil?
+ _oa = _o['itemId']
if(_oa.is_a? Hash)
- @uiHint = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @uiHint = 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
- @uiHint = Array.new
+ @itemId = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @uiHint.push String.from_json(_item)
+ @itemId.push Bignum.from_json(_item)
else
- @uiHint.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @itemId.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @uiHint = _oa
+ @itemId = _oa
end
end
- if !_o['subType'].nil?
- _oa = _o['subType']
+ if !_o['uiHint'].nil?
+ _oa = _o['uiHint']
if(_oa.is_a? Hash)
- @subType = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @subType = 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
- @subType = Array.new
+ @uiHint = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @subType.push String.from_json(_item)
+ @uiHint.push String.from_json(_item)
else
- @subType.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @uiHint.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @subType = _oa
+ @uiHint = _oa
end
end
if !_o['mandatory'].nil?
@@ -1551,42 +1177,42 @@ module Model
@mandatory = _oa
end
end
- if !_o['rbKeyValidationMessage'].nil?
- _oa = _o['rbKeyValidationMessage']
+ if !_o['defaultValue'].nil?
+ _oa = _o['defaultValue']
if(_oa.is_a? Hash)
- @rbKeyValidationMessage = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @rbKeyValidationMessage = String.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
- @rbKeyValidationMessage = Array.new
+ @defaultValue = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @rbKeyValidationMessage.push String.from_json(_item)
+ @defaultValue.push String.from_json(_item)
else
- @rbKeyValidationMessage.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @defaultValue.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @rbKeyValidationMessage = _oa
+ @defaultValue = _oa
end
end
- if !_o['name'].nil?
- _oa = _o['name']
+ if !_o['validationRegEx'].nil?
+ _oa = _o['validationRegEx']
if(_oa.is_a? Hash)
- @name = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @name = 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
- @name = Array.new
+ @validationRegEx = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @name.push String.from_json(_item)
+ @validationRegEx.push String.from_json(_item)
else
- @name.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @validationRegEx.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @name = _oa
+ @validationRegEx = _oa
end
end
end
@@ -1629,28 +1255,28 @@ module Datatype
class RESTResponse
# (no documentation provided)
- attr_accessor :httpStatusCode
+ attr_accessor :msgDesc
# (no documentation provided)
attr_accessor :messageList
# (no documentation provided)
- attr_accessor :statusCode
- # (no documentation provided)
- attr_accessor :msgDesc
+ attr_accessor :httpStatusCode
# (no documentation provided)
attr_accessor :message
+ # (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['msgDesc'] = msgDesc.to_jaxb_json_hash unless msgDesc.nil?
if !messageList.nil?
_ha = Array.new
messageList.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['messageList'] = _ha
end
- _h['statusCode'] = statusCode.to_jaxb_json_hash unless statusCode.nil?
- _h['msgDesc'] = msgDesc.to_jaxb_json_hash unless msgDesc.nil?
+ _h['httpStatusCode'] = httpStatusCode.to_jaxb_json_hash unless httpStatusCode.nil?
_h['message'] = message.to_jaxb_json_hash unless message.nil?
+ _h['statusCode'] = statusCode.to_jaxb_json_hash unless statusCode.nil?
return _h
end
@@ -1661,23 +1287,23 @@ module Datatype
#initializes this RESTResponse with a json hash
def init_jaxb_json_hash(_o)
- if !_o['httpStatusCode'].nil?
- _oa = _o['httpStatusCode']
+ if !_o['msgDesc'].nil?
+ _oa = _o['msgDesc']
if(_oa.is_a? Hash)
- @httpStatusCode = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @httpStatusCode = Fixnum.from_json(_oa) unless _oa['@class']
+ @msgDesc = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @msgDesc = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @httpStatusCode = Array.new
+ @msgDesc = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @httpStatusCode.push Fixnum.from_json(_item)
+ @msgDesc.push String.from_json(_item)
else
- @httpStatusCode.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @msgDesc.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @httpStatusCode = _oa
+ @msgDesc = _oa
end
end
if !_o['messageList'].nil?
@@ -1699,61 +1325,61 @@ module Datatype
@messageList = _oa
end
end
- if !_o['statusCode'].nil?
- _oa = _o['statusCode']
+ if !_o['httpStatusCode'].nil?
+ _oa = _o['httpStatusCode']
if(_oa.is_a? Hash)
- @statusCode = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @statusCode = Fixnum.from_json(_oa) unless _oa['@class']
+ @httpStatusCode = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @httpStatusCode = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @statusCode = Array.new
+ @httpStatusCode = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @statusCode.push Fixnum.from_json(_item)
+ @httpStatusCode.push Fixnum.from_json(_item)
else
- @statusCode.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @httpStatusCode.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @statusCode = _oa
+ @httpStatusCode = _oa
end
end
- if !_o['msgDesc'].nil?
- _oa = _o['msgDesc']
+ if !_o['message'].nil?
+ _oa = _o['message']
if(_oa.is_a? Hash)
- @msgDesc = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @msgDesc = String.from_json(_oa) unless _oa['@class']
+ @message = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @message = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @msgDesc = Array.new
+ @message = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @msgDesc.push String.from_json(_item)
+ @message.push String.from_json(_item)
else
- @msgDesc.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @message.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @msgDesc = _oa
+ @message = _oa
end
end
- if !_o['message'].nil?
- _oa = _o['message']
+ if !_o['statusCode'].nil?
+ _oa = _o['statusCode']
if(_oa.is_a? Hash)
- @message = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @message = String.from_json(_oa) unless _oa['@class']
+ @statusCode = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @statusCode = Fixnum.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @message = Array.new
+ @statusCode = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @message.push String.from_json(_item)
+ @statusCode.push Fixnum.from_json(_item)
else
- @message.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @statusCode.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @message = _oa
+ @statusCode = _oa
end
end
end
@@ -1796,25 +1422,25 @@ module Model
class RangerDataMaskDef
# (no documentation provided)
- attr_accessor :resources
- # (no documentation provided)
attr_accessor :maskTypes
# (no documentation provided)
+ attr_accessor :resources
+ # (no documentation provided)
attr_accessor :accessTypes
# the json hash for this RangerDataMaskDef
def to_jaxb_json_hash
_h = {}
- 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
+ if !resources.nil?
+ _ha = Array.new
+ resources.each { | _item | _ha.push _item.to_jaxb_json_hash }
+ _h['resources'] = _ha
+ end
if !accessTypes.nil?
_ha = Array.new
accessTypes.each { | _item | _ha.push _item.to_jaxb_json_hash }
@@ -1830,42 +1456,42 @@ module Model
#initializes this RangerDataMaskDef with a json hash
def init_jaxb_json_hash(_o)
- if !_o['resources'].nil?
- _oa = _o['resources']
+ if !_o['maskTypes'].nil?
+ _oa = _o['maskTypes']
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']
+ @maskTypes = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @maskTypes = Org::Apache::Ranger::Plugin::Model::RangerDataMaskTypeDef.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @resources = Array.new
+ @maskTypes = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @resources.push Org::Apache::Ranger::Plugin::Model::RangerResourceDef.from_json(_item)
+ @maskTypes.push Org::Apache::Ranger::Plugin::Model::RangerDataMaskTypeDef.from_json(_item)
else
- @resources.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @maskTypes.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @resources = _oa
+ @maskTypes = _oa
end
end
- if !_o['maskTypes'].nil?
- _oa = _o['maskTypes']
+ if !_o['resources'].nil?
+ _oa = _o['resources']
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']
+ @resources = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @resources = Org::Apache::Ranger::Plugin::Model::RangerResourceDef.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @maskTypes = Array.new
+ @resources = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @maskTypes.push Org::Apache::Ranger::Plugin::Model::RangerDataMaskTypeDef.from_json(_item)
+ @resources.push Org::Apache::Ranger::Plugin::Model::RangerResourceDef.from_json(_item)
else
- @maskTypes.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @resources.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @maskTypes = _oa
+ @resources = _oa
end
end
if !_o['accessTypes'].nil?
@@ -1928,6 +1554,10 @@ module View
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
@@ -1935,6 +1565,8 @@ module View
_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
@@ -2002,6 +1634,44 @@ module View
@lastModified = _oa
end
end
+ if !_o['totalUsersSynced'].nil?
+ _oa = _o['totalUsersSynced']
+ if(_oa.is_a? Hash)
+ @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
+ @totalUsersSynced = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @totalUsersSynced.push Bignum.from_json(_item)
+ else
+ @totalUsersSynced.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @totalUsersSynced = _oa
+ end
+ end
+ if !_o['totalGroupsSynced'].nil?
+ _oa = _o['totalGroupsSynced']
+ if(_oa.is_a? Hash)
+ @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
+ @totalGroupsSynced = Array.new
+ _oa.each { | _item |
+ if ((_item.nil? || _item['@class'].nil?)rescue true)
+ @totalGroupsSynced.push Bignum.from_json(_item)
+ else
+ @totalGroupsSynced.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ end
+ }
+ else
+ @totalGroupsSynced = _oa
+ end
+ end
end
# constructs a VXFileSyncSourceInfo from a (parsed) JSON hash
@@ -2261,25 +1931,25 @@ module Model
class RangerValiditySchedule
# (no documentation provided)
- attr_accessor :timeZone
- # (no documentation provided)
- attr_accessor :endTime
+ attr_accessor :startTime
# (no documentation provided)
attr_accessor :recurrences
# (no documentation provided)
- attr_accessor :startTime
+ attr_accessor :timeZone
+ # (no documentation provided)
+ attr_accessor :endTime
# the json hash for this RangerValiditySchedule
def to_jaxb_json_hash
_h = {}
- _h['timeZone'] = timeZone.to_jaxb_json_hash unless timeZone.nil?
- _h['endTime'] = endTime.to_jaxb_json_hash unless endTime.nil?
+ _h['startTime'] = startTime.to_jaxb_json_hash unless startTime.nil?
if !recurrences.nil?
_ha = Array.new
recurrences.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['recurrences'] = _ha
end
- _h['startTime'] = startTime.to_jaxb_json_hash unless startTime.nil?
+ _h['timeZone'] = timeZone.to_jaxb_json_hash unless timeZone.nil?
+ _h['endTime'] = endTime.to_jaxb_json_hash unless endTime.nil?
return _h
end
@@ -2290,80 +1960,80 @@ module Model
#initializes this RangerValiditySchedule with a json hash
def init_jaxb_json_hash(_o)
- if !_o['timeZone'].nil?
- _oa = _o['timeZone']
+ if !_o['startTime'].nil?
+ _oa = _o['startTime']
if(_oa.is_a? Hash)
- @timeZone = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @timeZone = String.from_json(_oa) unless _oa['@class']
+ @startTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @startTime = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @timeZone = Array.new
+ @startTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @timeZone.push String.from_json(_item)
+ @startTime.push String.from_json(_item)
else
- @timeZone.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @startTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @timeZone = _oa
+ @startTime = _oa
end
end
- if !_o['endTime'].nil?
- _oa = _o['endTime']
+ if !_o['recurrences'].nil?
+ _oa = _o['recurrences']
if(_oa.is_a? Hash)
- @endTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @endTime = String.from_json(_oa) unless _oa['@class']
+ @recurrences = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @recurrences = Org::Apache::Ranger::Plugin::Model::RangerValidityRecurrence.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @endTime = Array.new
+ @recurrences = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @endTime.push String.from_json(_item)
+ @recurrences.push Org::Apache::Ranger::Plugin::Model::RangerValidityRecurrence.from_json(_item)
else
- @endTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @recurrences.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @endTime = _oa
+ @recurrences = _oa
end
end
- if !_o['recurrences'].nil?
- _oa = _o['recurrences']
+ if !_o['timeZone'].nil?
+ _oa = _o['timeZone']
if(_oa.is_a? Hash)
- @recurrences = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @recurrences = Org::Apache::Ranger::Plugin::Model::RangerValidityRecurrence.from_json(_oa) unless _oa['@class']
+ @timeZone = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @timeZone = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @recurrences = Array.new
+ @timeZone = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @recurrences.push Org::Apache::Ranger::Plugin::Model::RangerValidityRecurrence.from_json(_item)
+ @timeZone.push String.from_json(_item)
else
- @recurrences.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @timeZone.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @recurrences = _oa
+ @timeZone = _oa
end
end
- if !_o['startTime'].nil?
- _oa = _o['startTime']
+ if !_o['endTime'].nil?
+ _oa = _o['endTime']
if(_oa.is_a? Hash)
- @startTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @startTime = String.from_json(_oa) unless _oa['@class']
+ @endTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @endTime = String.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @startTime = Array.new
+ @endTime = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @startTime.push String.from_json(_item)
+ @endTime.push String.from_json(_item)
else
- @startTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @endTime.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @startTime = _oa
+ @endTime = _oa
end
end
end
@@ -2404,15 +2074,15 @@ module Model
class RangerPolicyItemAccess
# (no documentation provided)
- attr_accessor :type
- # (no documentation provided)
attr_accessor :isAllowed
+ # (no documentation provided)
+ attr_accessor :type
# the json hash for this RangerPolicyItemAccess
def to_jaxb_json_hash
_h = {}
- _h['type'] = type.to_jaxb_json_hash unless type.nil?
_h['isAllowed'] = isAllowed.to_jaxb_json_hash unless isAllowed.nil?
+ _h['type'] = type.to_jaxb_json_hash unless type.nil?
return _h
end
@@ -2423,42 +2093,42 @@ module Model
#initializes this RangerPolicyItemAccess with a json hash
def init_jaxb_json_hash(_o)
- if !_o['type'].nil?
- _oa = _o['type']
+ if !_o['isAllowed'].nil?
+ _oa = _o['isAllowed']
if(_oa.is_a? Hash)
- @type = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @type = String.from_json(_oa) unless _oa['@class']
+ @isAllowed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @isAllowed = Boolean.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @type = Array.new
+ @isAllowed = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @type.push String.from_json(_item)
+ @isAllowed.push Boolean.from_json(_item)
else
- @type.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @isAllowed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @type = _oa
+ @isAllowed = _oa
end
end
- if !_o['isAllowed'].nil?
- _oa = _o['isAllowed']
+ if !_o['type'].nil?
+ _oa = _o['type']
if(_oa.is_a? Hash)
- @isAllowed = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @isAllowed = Boolean.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
- @isAllowed = Array.new
+ @type = Array.new
_oa.each { | _item |
if ((_item.nil? || _item['@class'].nil?)rescue true)
- @isAllowed.push Boolean.from_json(_item)
+ @type.push String.from_json(_item)
else
- @isAllowed.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
+ @type.push EnunciateHelpers::LAMB_CLASS_AWARE.call(_item)
end
}
else
- @isAllowed = _oa
+ @type = _oa
end
end
end
@@ -2499,33 +2169,33 @@ module Util
class TagPolicies
# (no documentation provided)
- attr_accessor :policyUpdateTime
+ attr_accessor :policies
# (no documentation provided)
- attr_accessor :serviceName
+ attr_accessor :policyUpdateTime
# (no documentation provided)
attr_accessor :serviceId
# (no documentation provided)
- attr_accessor :serviceDef
- # (no documentation provided)
- attr_accessor :policies
+ attr_accessor :serviceName
# (no documentation provided)
attr_accessor :auditMode
# (no documentation provided)
+ attr_accessor :serviceDef
+ # (no documentation provided)
attr_accessor :policyVersion
# the json hash for this TagPolicies
def to_jaxb_json_hash
_h = {}
- _h['policyUpdateTime'] = policyUpdateTime.to_jaxb_json_hash unless policyUpdateTime.nil?
- _h['serviceName'] = serviceName.to_jaxb_json_hash unless serviceName.nil?
- _h['serviceId'] = serviceId.to_jaxb_json_hash unless serviceId.nil?
- _h['serviceDef'] = serviceDef.to_jaxb_json_hash unless serviceDef.nil?
if !policies.nil?
_ha = Array.new
policies.each { | _item | _ha.push _item.to_jaxb_json_hash }
_h['policies'] = _ha
end
+ _h['policyUpdateTime'] = policyUpdateTime.to_jaxb_json_hash unless policyUpdateTime.nil?
+ _h['serviceId'] = serviceId.to_jaxb_json_hash unless serviceId.nil?
+ _h['serviceName'] = serviceName.to_jaxb_json_hash unless serviceName.nil?
_h['auditMode'] = auditMode.to_jaxb_json_hash unless auditMode.nil?
+ _h['serviceDef'] = serviceDef.to_jaxb_json_hash unless serviceDef.nil?
_h['policyVersion'] = policyVersion.to_jaxb_json_hash unless policyVersion.nil?
return _h
end
@@ -2537,42 +2207,42 @@ module Util
#initializes this TagPolicies with a json hash
def init_jaxb_json_hash(_o)
- if !_o['policyUpdateTime'].nil?
- _oa = _o['policyUpdateTime']
+ if !_o['policies'].nil?
+ _oa = _o['policies']
if(_oa.is_a? Hash)
- @policyUpdateTime = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
- @policyUpdateTime = Time.from_json(_oa) unless _oa['@class']
+ @policies = EnunciateHelpers::LAMB_CLASS_AWARE.call(_oa) if _oa['@class']
+ @policies = Org::Apache::Ranger::Plugin::Model::RangerPolicy.from_json(_oa) unless _oa['@class']
elsif (_oa.is_a? Array)
#an array(of hashes hopefully) or scalar
- @policyUpdateTime = Array.new
[... 13605 lines stripped ...]