Aos8ApiBuilder Class¶
AosApiClientBuilder
¶
A builder class for creating and configuring an instance of AosApiClient
.
__init__()
¶
Initialize the builder with default configuration.
build()
¶
Finalize the builder and return an instance of AosApiClient
.
Returns: |
|
---|
Raises: |
|
---|
setBaseUrl(base_url)
¶
Set the base URL for the API.
Parameters: |
|
---|
Returns: |
|
---|
setDebug(debug)
¶
Enable or disable debug mode.
Parameters: |
|
---|
Returns: |
|
---|
setPassword(password)
¶
Set the API password.
Parameters: |
|
---|
Returns: |
|
---|
setUsername(username)
¶
Set the API username.
Parameters: |
|
---|
Returns: |
|
---|
setVerifySSL(verify)
¶
Enable or disable SSL verification.
Parameters: |
|
---|
Returns: |
|
---|