Record Class O365SearchSiteResponse
java.lang.Object
java.lang.Record
com.iland.core.web.rest.response.vbo.O365SearchSiteResponse
- Record Components:
id- the Veeam native site idname- the site nameurl- the site URLtitle- the site titlecloud- whether the site is hosted in MS cloudisPersonal- whether the site is a personal site
public record O365SearchSiteResponse(String id, String name, String url, String title, boolean cloud, boolean isPersonal)
extends Record
A SharePoint site entry for the search session site picker.
-
Constructor Summary
ConstructorsConstructorDescriptionO365SearchSiteResponse(String id, String name, String url, String title, boolean cloud, boolean isPersonal) Creates an instance of aO365SearchSiteResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleancloud()Returns the value of thecloudrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.booleanReturns the value of theisPersonalrecord component.name()Returns the value of thenamerecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
O365SearchSiteResponse
public O365SearchSiteResponse(String id, String name, String url, String title, boolean cloud, boolean isPersonal) Creates an instance of aO365SearchSiteResponserecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componenturl- the value for theurlrecord componenttitle- the value for thetitlerecord componentcloud- the value for thecloudrecord componentisPersonal- the value for theisPersonalrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
cloud
public boolean cloud()Returns the value of thecloudrecord component.- Returns:
- the value of the
cloudrecord component
-
isPersonal
public boolean isPersonal()Returns the value of theisPersonalrecord component.- Returns:
- the value of the
isPersonalrecord component
-