SystemShInterfaceParametersModifyRequest17
Bases: OCIRequest
Modifies the Sh Interface system parameters. This request must be submitted on both nodes in the redundant Application Server cluster in order for the changes to take effect on each node without requiring a restart. The response is either a SuccessResponse or an ErrorResponse.
Attributes:
hss_realm (Optional[Nillable[str]]):
public_identity_refresh_delay_seconds (Optional[int]):
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class SystemShInterfaceParametersModifyRequest17(OCIRequest):
"""Modifies the Sh Interface system parameters. This request must be submitted on both nodes in the redundant Application Server cluster in order for the changes to take effect on each node without requiring a restart.
The response is either a SuccessResponse or an ErrorResponse.
Attributes:
hss_realm (Optional[Nillable[str]]):
public_identity_refresh_delay_seconds (Optional[int]):
"""
hss_realm: Optional[Nillable[str]] = field(
default=None, metadata={"alias": "hssRealm"}
)
public_identity_refresh_delay_seconds: Optional[int] = field(
default=None, metadata={"alias": "publicIdentityRefreshDelaySeconds"}
)
def __post_init__(self):
nillable_fields = ["hss_realm"]
for field_name in nillable_fields:
value = getattr(self, field_name)
if value == "" or value == "None":
object.__setattr__(self, field_name, OCINil)
|
Responses
Bases: OCIResponseSource code in src/mercury_ocip/commands/base_command.py
| class SuccessResponse(OCIResponse):
pass
|
Bases: OCIResponseSource code in src/mercury_ocip/commands/base_command.py
| class ErrorResponse(OCIResponse):
errorCode: Optional[int] = None
summary: str
summaryEnglish: str
detail: Optional[str] = None
|
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemShInterfaceParametersModifyRequest17
client = Client()
command = SystemShInterfaceParametersModifyRequest17(
hss_realm=...,
public_identity_refresh_delay_seconds=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemShInterfaceParametersModifyRequest17",
hss_realm=...,
public_identity_refresh_delay_seconds=...,
)
print(response)