class OpenApiSDK::Models::Components::BenefitGrantDownloadablesWebhook
def ==(other)
def ==(other) return false unless other.is_a?(self.class) return false unless @created_at == other.created_at return false unless @id == other.id return false unless @is_granted == other.is_granted return false unless @is_revoked == other.is_revoked return false unless @customer_id == other.customer_id return false unless @benefit_id == other.benefit_id return false unless @customer == other.customer return false unless @benefit == other.benefit return false unless @properties == other.properties return false unless @modified_at == other.modified_at return false unless @subscription_id == other.subscription_id return false unless @order_id == other.order_id return false unless @granted_at == other.granted_at return false unless @revoked_at == other.revoked_at return false unless @member_id == other.member_id return false unless @error == other.error return false unless @member == other.member return false unless @previous_properties == other.previous_properties true end
def initialize(
def initialize( created_at:, id:, is_granted:, is_revoked:, customer_id:, benefit_id:, customer:, benefit:, properties:, modified_at: nil, subscription_id: nil, order_id: nil, granted_at: nil, revoked_at: nil, member_id: nil, error: nil, member: nil, previous_properties: nil ) @created_at = created_at @id = id @is_granted = is_granted @is_revoked = is_revoked @customer_id = customer_id @benefit_id = benefit_id @customer = customer @benefit = benefit @properties = properties @modified_at = modified_at @subscription_id = subscription_id @order_id = order_id @granted_at = granted_at @revoked_at = revoked_at @member_id = member_id @error = error @member = member @previous_properties = previous_properties end