class Gallagher::Cardholder

Included Modules

Extended Modules

Defined in:

gallagher/rest_api_models.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def access_groups : Array(CardholderAccessGroup) | Hash(String, Array(CardholderAccessGroup)) | Nil #

[View source]
def access_groups=(access_groups : Array(CardholderAccessGroup) | Hash(String, Array(CardholderAccessGroup)) | Nil) #

[View source]
def authorised : Bool | Nil #

[View source]
def authorised=(authorised : Bool | Nil) #

[View source]
def cards : Array(Card) | Hash(String, Array(Card)) | Nil #

[View source]
def cards=(cards : Array(Card) | Hash(String, Array(Card)) | Nil) #

[View source]
def description : String | Nil #

[View source]
def description=(description : String | Nil) #

[View source]
def division : NamedTuple(href: String) | Nil #

[View source]
def division=(division : NamedTuple(href: String) | Nil) #

[View source]
def first_name : String | Nil #

[View source]
def first_name=(first_name : String | Nil) #

[View source]
def href : String | Nil #

[View source]
def href=(href : String | Nil) #

[View source]
def id : String | Nil #

[View source]
def id=(id : String | Nil) #

[View source]
def last_accessed : Time | Nil #

[View source]
def last_accessed=(last_accessed : Time | Nil) #

[View source]
def last_name : String | Nil #

[View source]
def last_name=(last_name : String | Nil) #

[View source]
def short_name : String | Nil #

[View source]
def short_name=(short_name : String | Nil) #

[View source]
def usercode : String | Nil #

[View source]
def usercode=(usercode : String | Nil) #

[View source]