Method: Hubspot::Cms::Blogs::Authors::BlogAuthor#list_invalid_properties
- Defined in:
- lib/hubspot/codegen/cms/blogs/authors/models/blog_author.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 |
# File 'lib/hubspot/codegen/cms/blogs/authors/models/blog_author.rb', line 164 def list_invalid_properties invalid_properties = Array.new if @id.nil? invalid_properties.push('invalid value for "id", id cannot be nil.') end if @email.nil? invalid_properties.push('invalid value for "email", email cannot be nil.') end if @bio.nil? invalid_properties.push('invalid value for "bio", bio cannot be nil.') end if @website.nil? invalid_properties.push('invalid value for "website", website cannot be nil.') end if @twitter.nil? invalid_properties.push('invalid value for "twitter", twitter cannot be nil.') end if @facebook.nil? invalid_properties.push('invalid value for "facebook", facebook cannot be nil.') end if @linkedin.nil? invalid_properties.push('invalid value for "linkedin", linkedin cannot be nil.') end if @avatar.nil? invalid_properties.push('invalid value for "avatar", avatar cannot be nil.') end if @display_name.nil? invalid_properties.push('invalid value for "display_name", display_name cannot be nil.') end if @deleted_at.nil? invalid_properties.push('invalid value for "deleted_at", deleted_at cannot be nil.') end if @created_at.nil? invalid_properties.push('invalid value for "created_at", created_at cannot be nil.') end if @updated_at.nil? invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.') end invalid_properties end |