Sha256: c262ad969cd3c66209b1b82de7b540285e2ac6281f90dcf586b7f55d4cca3c4c
Contents?: true
Size: 1.23 KB
Versions: 15
Compression:
Stored size: 1.23 KB
Contents
# frozen_string_literal: true require_relative "../user_light" require_relative "../organization_light" require_relative "../sell_side_user_group_entitlement" module ONEAccess module DataObject module Representer class UserEntitlementRequest < Representable::Decorator include Representable::JSON property :id, as: :Id, type: Integer property :create_date, as: :CreateDate, parse_filter: ->(value, _) { Time.parse(value) } property :update_date, as: :UpdateDate, parse_filter: ->(value, _) { Time.parse(value) } property :notes, as: :Notes, type: String property :status, as: :Status, type: Integer property :user, as: :User, decorator: Representer::UserLight, class: DataObject::UserLight property :buy_side_org, as: :BuySideOrg, decorator: Representer::OrganizationLight, class: DataObject::OrganizationLight property :sell_side_org, as: :SellSideOrg, decorator: Representer::OrganizationLight, class: DataObject::OrganizationLight collection :sell_side_user_groups, as: :SellSideUserGroups, decorator: Representer::SellSideUserGroupEntitlement, class: DataObject::SellSideUserGroupEntitlement end end end end
Version data entries
15 entries across 15 versions & 1 rubygems