// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type HTTPFavicon struct {
	HashMd5 *string `json:"hash_md5,omitempty"`
	// A 64-bit 'perceptual' hash of the favicon
	HashPhash  *string `json:"hash_phash,omitempty"`
	HashSha256 *string `json:"hash_sha256,omitempty"`
	// A hash expressed as a signed decimal integer, provided for compatability with Shodan search.
	HashShodan *int `json:"hash_shodan,omitempty"`
	// The URI used to retrieve the favicon, which most commonly use the http(s) or data schemes. URIs using the data scheme are truncated: the first 48 and last 24 characters are preserved.
	Name *string `json:"name,omitempty"`
	// The size of the favicon retrieved, in bytes.
	Size *int `json:"size,omitempty"`
}

func (o *HTTPFavicon) GetHashMd5() *string {
	if o == nil {
		return nil
	}
	return o.HashMd5
}

func (o *HTTPFavicon) GetHashPhash() *string {
	if o == nil {
		return nil
	}
	return o.HashPhash
}

func (o *HTTPFavicon) GetHashSha256() *string {
	if o == nil {
		return nil
	}
	return o.HashSha256
}

func (o *HTTPFavicon) GetHashShodan() *int {
	if o == nil {
		return nil
	}
	return o.HashShodan
}

func (o *HTTPFavicon) GetName() *string {
	if o == nil {
		return nil
	}
	return o.Name
}

func (o *HTTPFavicon) GetSize() *int {
	if o == nil {
		return nil
	}
	return o.Size
}
