Method: Hubspot::Cms::UrlRedirects::UrlMappingCreateRequestBody#==
- Defined in:
- lib/hubspot/codegen/cms/url-redirects/models/url_mapping_create_request_body.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'lib/hubspot/codegen/cms/url-redirects/models/url_mapping_create_request_body.rb', line 163 def ==(o) return true if self.equal?(o) self.class == o.class && route_prefix == o.route_prefix && destination == o.destination && redirect_style == o.redirect_style && precedence == o.precedence && is_only_after_not_found == o.is_only_after_not_found && is_match_full_url == o.is_match_full_url && is_match_query_string == o.is_match_query_string && is_pattern == o.is_pattern && is_trailing_slash_optional == o.is_trailing_slash_optional && is_protocol_agnostic == o.is_protocol_agnostic end |