
Description: - Added data types to function arguments and return values. - Added blank lines between summary and description in docstrings to match style guidelines. - Removed extra blank lines after docstrings. - Added a missing import for SSHConnection in sma_keywords.py. - Capitalized the first word in each docstring to comply with style guide rules. - Improved docstring for PTP4LStatusObject constructor with detailed attribute descriptions Change-Id: Idada0b0b0c3f895a16f4b439beaaaf071597a16a Change-Id: I8e7756d32eb56a2aa85b277a91b26cc6280d1c56 Signed-off-by: aabhinav <ayyapasetti.abhinav@windriver.com>
29 lines
643 B
Python
29 lines
643 B
Python
class PMCGetDomainObject:
|
|
"""
|
|
Object to hold the values of DOMAIN
|
|
"""
|
|
|
|
def __init__(self):
|
|
self.domain_number: int = -1
|
|
|
|
def get_domain_number(self) -> int:
|
|
"""
|
|
Getter for domain_number
|
|
|
|
Returns:
|
|
int: the domain_number value
|
|
"""
|
|
return self.domain_number
|
|
|
|
def set_domain_number(self, domain_number: int) -> None:
|
|
"""
|
|
Setter for domain_number
|
|
|
|
Args:
|
|
domain_number (int): the domain_number value
|
|
|
|
Returns:
|
|
None: This method does not return anything.
|
|
"""
|
|
self.domain_number = domain_number
|