#NEWLINE# def get_info( self ) : #NEWLINE# #INDENT# ret = { #NEWLINE# #INDENT# 'type' : 'opsgenie' , #NEWLINE# #UNINDENT# } #NEWLINE# if self . recipients : #NEWLINE# #INDENT# ret [ 'recipients' ] = self . recipients #NEWLINE# #UNINDENT# if self . account : #NEWLINE# #INDENT# ret [ 'account' ] = ret . account #NEWLINE# #UNINDENT# if self . teams : #NEWLINE# #INDENT# ret [ 'teams' ] = self . teams #NEWLINE# #UNINDENT# return ret