mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 12:22:28 +03:00
69 lines
2.3 KiB
Python
69 lines
2.3 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, agent_execution_id=None, user_execution_id=None,
|
|
agent_expiration_date=None, user_expiration_date=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.agent_execution_id = agent_execution_id
|
|
self.user_execution_id = user_execution_id
|
|
self.agent_expiration_date = agent_expiration_date
|
|
self.user_expiration_date = user_expiration_date
|
|
|
|
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_agent_execution_id(self):
|
|
return self.agent_execution_id
|
|
|
|
def set_agent_execution_id(self, agent_execution_id):
|
|
self.agent_execution_id = agent_execution_id
|
|
|
|
def set_user_execution_id(self, user_execution_id):
|
|
self.user_execution_id = user_execution_id
|
|
|
|
def get_user_execution_id(self):
|
|
return self.user_execution_id
|