class CybridApiId::PostUserIdpModel

def email=(email)

Parameters:
  • email (Object) -- Value to be assigned
def email=(email)
  if email.nil?
    fail ArgumentError, 'email cannot be nil'
  end
  if email.to_s.length > 254
    fail ArgumentError, 'invalid value for "email", the character length must be smaller than or equal to 254.'
  end
  if email.to_s.length < 1
    fail ArgumentError, 'invalid value for "email", the character length must be great than or equal to 1.'
  end
  @email = email
end