class Gallagher::Cardholder
- Gallagher::Cardholder
- Reference
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
Extended Modules
- JSON::Schema
Defined in:
gallagher/rest_api_models.crConstructors
- .new(first_name : Nil | String, last_name : Nil | String, short_name : Nil | String, description : Nil | String, authorised : Bool | Nil, cards : Array(Gallagher::Card) | Hash(String, Array(Gallagher::Card)) | Nil, access_groups : Array(Gallagher::CardholderAccessGroup) | Hash(String, Array(Gallagher::CardholderAccessGroup)) | Nil, division : String | Nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #access_groups : Array(CardholderAccessGroup) | Hash(String, Array(CardholderAccessGroup)) | Nil
- #access_groups=(access_groups : Array(CardholderAccessGroup) | Hash(String, Array(CardholderAccessGroup)) | Nil)
- #authorised : Bool | Nil
- #authorised=(authorised : Bool | Nil)
- #cards : Array(Card) | Hash(String, Array(Card)) | Nil
- #cards=(cards : Array(Card) | Hash(String, Array(Card)) | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #division : NamedTuple(href: String) | Nil
- #division=(division : NamedTuple(href: String) | Nil)
- #first_name : String | Nil
- #first_name=(first_name : String | Nil)
- #href : String | Nil
- #href=(href : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #last_accessed : Time | Nil
- #last_accessed=(last_accessed : Time | Nil)
- #last_name : String | Nil
- #last_name=(last_name : String | Nil)
- #short_name : String | Nil
- #short_name=(short_name : String | Nil)
- #usercode : String | Nil
- #usercode=(usercode : String | Nil)
Constructor Detail
def self.new(first_name : Nil | String, last_name : Nil | String, short_name : Nil | String, description : Nil | String, authorised : Bool | Nil, cards : Array(Gallagher::Card) | Hash(String, Array(Gallagher::Card)) | Nil, access_groups : Array(Gallagher::CardholderAccessGroup) | Hash(String, Array(Gallagher::CardholderAccessGroup)) | Nil, division : String | Nil)
#
Instance Method Detail
def access_groups : Array(CardholderAccessGroup) | Hash(String, Array(CardholderAccessGroup)) | Nil
#
def access_groups=(access_groups : Array(CardholderAccessGroup) | Hash(String, Array(CardholderAccessGroup)) | Nil)
#