Sonarr::Model::HttpUri
Constructors
from_json_object(pull : JSON::PullParser) : self
Builds an HttpUri from the object wire format the schema declares.
from_uri_string(value : String) : self
Builds an HttpUri from a plain URL string, best-effort decomposing it
into its component fields. A malformed URL never raises: the component
fields are simply left nil while full_uri still holds the raw value.
new(full_uri : String | Nil = nil, scheme : String | Nil = nil, host : String | Nil = nil, port : Int32 | Nil = nil, path : String | Nil = nil, query : String | Nil = nil, fragment : String | Nil = nil)
Sourcenew(pull : JSON::PullParser) : self
SourceInstance methods
fragment
Sourcefull_uri
Sourcehost
Sourcepath
Sourceport
Sourcequery
Sourcescheme
SourceEmits the string form so values round-trip with Sonarr (which expects a
bare URL string). A nil full_uri serializes as JSON null.