mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-10 15:52:22 +03:00
63 lines
2 KiB
Python
63 lines
2 KiB
Python
#!/usr/bin/python3
|
|
# -*- coding: utf-8 -*-
|
|
# Author: Volkan Şahin <volkansah.in> <bm.volkansahin@gmail.com>
|
|
|
|
|
|
class PolicyBean(object):
|
|
"""docstring for PolicyBean"""
|
|
|
|
def __init__(self, ahenk_policy_version=None, user_policy_version=None, ahenk_profiles=None, user_profiles=None, timestamp=None, username=None, ahenk_execution_id=None, user_execution_id=None):
|
|
|
|
self.ahenk_policy_version = ahenk_policy_version
|
|
self.user_policy_version = user_policy_version
|
|
self.ahenk_profiles = ahenk_profiles
|
|
self.user_profiles = user_profiles
|
|
self.timestamp = timestamp
|
|
self.username = username
|
|
self.ahenk_execution_id = ahenk_execution_id
|
|
self.user_execution_id = user_execution_id
|
|
|
|
def get_ahenk_policy_version(self):
|
|
return self.ahenk_policy_version
|
|
|
|
def set_ahenk_policy_version(self, ahenk_policy_version):
|
|
self.ahenk_policy_version = ahenk_policy_version
|
|
|
|
def get_user_policy_version(self):
|
|
return self.user_policy_version
|
|
|
|
def set_user_policy_version(self, user_policy_version):
|
|
self.user_policy_version = user_policy_version
|
|
|
|
def get_ahenk_profiles(self):
|
|
return self.ahenk_profiles
|
|
|
|
def set_ahenk_profiles(self, ahenk_profiles):
|
|
self.ahenk_profiles = ahenk_profiles
|
|
|
|
def get_user_profiles(self):
|
|
return self.user_profiles
|
|
|
|
def set_user_profiles(self, user_profiles):
|
|
self.user_profiles = user_profiles
|
|
|
|
def get_timestamp(self):
|
|
return self.timestamp
|
|
|
|
def set_timestamp(self, timestamp):
|
|
self.timestamp = timestamp
|
|
|
|
def get_username(self):
|
|
return self.username
|
|
|
|
def set_username(self, username):
|
|
self.username = username
|
|
|
|
def get_ahenk_execution_id(self):
|
|
return self.ahenk_execution_id
|
|
|
|
def set_ahenk_execution_id(self, ahenk_execution_id):
|
|
self.ahenk_execution_id = ahenk_execution_id
|
|
|
|
def set_user_execution_id(self, user_execution_id):
|
|
self.user_execution_id = user_execution_id
|