WedgeAddress

class q2_sdk.hq.db.wedge_address.WedgeAddressRow[source]

Bases: RepresentationRowBase

WedgeAddressID: IntElement = 'WedgeAddressID'
WedgeAddressTypeName: StringElement = 'WedgeAddressTypeName'
Url: StringElement = 'Url'
VendorId: IntElement = 'VendorId'
TimeoutInMilliSeconds: IntElement = 'TimeoutInMilliSeconds'
Version: StringElement = 'Version'
Config: StringElement = 'Config'
WedgePayloadStoredProc: StringElement = 'WedgePayloadStoredProc'
HqAuthTokenTypeID: IntElement = 'HqAuthTokenTypeID'
HqAuthTokenType: StringElement = 'HqAuthTokenType'
AuthTokenLifeInMinutes: IntElement = 'AuthTokenLifeInMinutes'
ConnectTimeoutInMilli: IntElement = 'ConnectTimeoutInMilli'
SendAccountList: BoolElement = 'SendAccountList'
SendAccountDetails: IntElement = 'SendAccountDetails'
AccountRightsBitFlag: IntElement = 'AccountRightsBitFlag'
AccountRightsIsExplicit: BoolElement = 'AccountRightsIsExplicit'
AccountHydraProductCodes: StringElement = 'AccountHydraProductCodes'
SkipGetUnsignedToken: BoolElement = 'SkipGetUnsignedToken'
class q2_sdk.hq.db.wedge_address.WedgeAddressWithAuditActionsRow[source]

Bases: RepresentationRowBase

WedgeAddressID: IntElement = 'WedgeAddressID'
WedgeAddressTypeName: StringElement = 'WedgeAddressTypeName'
Url: StringElement = 'Url'
VendorId: IntElement = 'VendorId'
WedgePayloadStoredProc: StringElement = 'WedgePayloadStoredProc'
SendAccountList: BoolElement = 'SendAccountList'
SendAccountDetails: IntElement = 'SendAccountDetails'
AuditAction: StringElement = 'AuditAction'
HasAfterAuditAction: BoolElement = 'HasAfterAuditAction'
HasBeforeAuditAction: BoolElement = 'HasBeforeAuditAction'
class q2_sdk.hq.db.wedge_address.WedgeAddress(logger, hq_credentials=None, ret_table_obj=None)[source]

Bases: DbObject

Programmatic access to the Q2 database. Not as flexible as a true ORM, but takes the guesswork out of database schemas and ensures safety in the transactions.

Parameters:
  • logger – Reference to calling request’s logger (self.logger in your extension)

  • hq_credentials (Optional[HqCredentials]) – HQ Connectivity Information (Defaults to settings file)

  • ret_table_obj (Optional[bool]) – Flag to return list of LXML elements if False or TableRow objects from DB calls if True (Defaults to settings file)

GET_BY_NAME_KEY = 'WedgeAddressTypeName'
NAME = 'WedgeAddress'
REPRESENTATION_ROW_CLASS

alias of WedgeAddressRow

add_arguments(parser)[source]

Hook for subclassed DbObjects to add custom arguments.

async create(install_params)[source]
async get(short_name=None, serialize_for_cli=False)[source]
Return type:

List[WedgeAddressRow]

async get_wa_tied_to_audit_actions(serialize_for_cli=False)[source]
Return type:

List[WedgeAddressWithAuditActionsRow]

async delete(short_name)[source]
async update(wedge_address_type_name, url=None, time_out_in_milli_seconds=None, account_rights_bit_flag=None, hq_auth_token_type_id=None, config=None, auth_token_life_in_minutes=None, skip_unsigned_token=True, serialize_for_cli=False)[source]
Return type:

list[WedgeAddressRow]