Class GetDashboardsPaginatedOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetDashboardsPaginatedOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetDashboardsPaginatedOperationSpec
extends Object
GetDashboardsPaginatedSpec
Specification for the GetDashboardsPaginated operation.
Search for dashboards
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GetDashboardsPaginatedOperationSpec
(String dashboardName, String accountId, String owner, String groupname, String groupId, Long projectId, String orderBy, Long startAt, Integer maxResults, String status, String expand) Constructs a validated instance ofGetDashboardsPaginatedOperationSpec
.Constructs a validated instance ofGetDashboardsPaginatedOperationSpec
. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
User account ID used to return dashboards with the matchingowner.accountId
.User account ID used to return dashboards with the matchingowner.accountId
.builder()
protected boolean
@Nullable String
String used to perform a case-insensitive partial match withname
.dashboardName
(@Nullable String dashboardName) String used to perform a case-insensitive partial match withname
.boolean
@Nullable String
expand()
Use [expand](#expansion) to include additional information about dashboard in the response.Use [expand](#expansion) to include additional information about dashboard in the response.@Nullable String
groupId()
Group ID used to return dashboards that are shared with a group that matchessharePermissions.group.groupId
.Group ID used to return dashboards that are shared with a group that matchessharePermissions.group.groupId
.@Nullable String
As a group's name can change, use ofgroupId
is recommended.As a group's name can change, use ofgroupId
is recommended.int
hashCode()
@Nullable Integer
The maximum number of items to return per page.maxResults
(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable String
orderBy()
[Order](#ordering) the results by a field: *description
Sorts by dashboard description.[Order](#ordering) the results by a field: *description
Sorts by dashboard description.@Nullable String
owner()
This parameter is deprecated because of privacy changes.This parameter is deprecated because of privacy changes.@Nullable Long
Project ID used to returns dashboards that are shared with a project that matchessharePermissions.project.id
.Project ID used to returns dashboards that are shared with a project that matchessharePermissions.project.id
.@Nullable Long
startAt()
The index of the first item to return in a page of results (page offset).The index of the first item to return in a page of results (page offset).@Nullable String
status()
The status to filter by.The status to filter by.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetDashboardsPaginatedOperationSpec
@Internal public GetDashboardsPaginatedOperationSpec(Consumer<GetDashboardsPaginatedOperationSpec> spec) Constructs a validated instance ofGetDashboardsPaginatedOperationSpec
.- Parameters:
spec
- the specification to process
-
GetDashboardsPaginatedOperationSpec
@Internal public GetDashboardsPaginatedOperationSpec(String dashboardName, String accountId, String owner, String groupname, String groupId, Long projectId, String orderBy, Long startAt, Integer maxResults, String status, String expand) Constructs a validated instance ofGetDashboardsPaginatedOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
dashboardName
- String used to perform a case-insensitive partial match withname
.accountId
- User account ID used to return dashboards with the matchingowner.accountId
. This parameter cannot be used with theowner
parameter.owner
- This parameter is deprecated because of privacy changes. UseaccountId
instead. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. User name used to return dashboards with the matchingowner.name
. This parameter cannot be used with theaccountId
parameter.groupname
- As a group's name can change, use ofgroupId
is recommended. Group name used to return dashboards that are shared with a group that matchessharePermissions.group.name
. This parameter cannot be used with thegroupId
parameter.groupId
- Group ID used to return dashboards that are shared with a group that matchessharePermissions.group.groupId
. This parameter cannot be used with thegroupname
parameter.projectId
- Project ID used to returns dashboards that are shared with a project that matchessharePermissions.project.id
.orderBy
- [Order](#ordering) the results by a field: *description
Sorts by dashboard description. Note that this sort works independently of whether the expand to display the description field is in use. *favourite_count
Sorts by dashboard popularity. *id
Sorts by dashboard ID. *is_favourite
Sorts by whether the dashboard is marked as a favorite. *name
Sorts by dashboard name. *owner
Sorts by dashboard owner name.startAt
- The index of the first item to return in a page of results (page offset).maxResults
- The maximum number of items to return per page.status
- The status to filter by. It may be active, archived or deleted.expand
- Use [expand](#expansion) to include additional information about dashboard in the response. This parameter accepts a comma-separated list. Expand options include: *description
Returns the description of the dashboard. *owner
Returns the owner of the dashboard. *viewUrl
Returns the URL that is used to view the dashboard. *favourite
ReturnsisFavourite
, an indicator of whether the user has set the dashboard as a favorite. *favouritedCount
Returnspopularity
, a count of how many users have set this dashboard as a favorite. *sharePermissions
Returns details of the share permissions defined for the dashboard. *editPermissions
Returns details of the edit permissions defined for the dashboard. *isWritable
Returns whether the current user has permission to edit the dashboard.
-
GetDashboardsPaginatedOperationSpec
protected GetDashboardsPaginatedOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static GetDashboardsPaginatedOperationSpec.GetDashboardsPaginatedOperationSpecBuilder builder() -
dashboardName
String used to perform a case-insensitive partial match withname
. -
accountId
User account ID used to return dashboards with the matchingowner.accountId
. This parameter cannot be used with theowner
parameter. -
owner
This parameter is deprecated because of privacy changes. UseaccountId
instead. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. User name used to return dashboards with the matchingowner.name
. This parameter cannot be used with theaccountId
parameter. -
groupname
As a group's name can change, use ofgroupId
is recommended. Group name used to return dashboards that are shared with a group that matchessharePermissions.group.name
. This parameter cannot be used with thegroupId
parameter. -
groupId
Group ID used to return dashboards that are shared with a group that matchessharePermissions.group.groupId
. This parameter cannot be used with thegroupname
parameter. -
projectId
Project ID used to returns dashboards that are shared with a project that matchessharePermissions.project.id
. -
orderBy
[Order](#ordering) the results by a field: *description
Sorts by dashboard description. Note that this sort works independently of whether the expand to display the description field is in use. *favourite_count
Sorts by dashboard popularity. *id
Sorts by dashboard ID. *is_favourite
Sorts by whether the dashboard is marked as a favorite. *name
Sorts by dashboard name. *owner
Sorts by dashboard owner name. -
startAt
The index of the first item to return in a page of results (page offset). -
maxResults
The maximum number of items to return per page. -
status
The status to filter by. It may be active, archived or deleted. -
expand
Use [expand](#expansion) to include additional information about dashboard in the response. This parameter accepts a comma-separated list. Expand options include: *description
Returns the description of the dashboard. *owner
Returns the owner of the dashboard. *viewUrl
Returns the URL that is used to view the dashboard. *favourite
ReturnsisFavourite
, an indicator of whether the user has set the dashboard as a favorite. *favouritedCount
Returnspopularity
, a count of how many users have set this dashboard as a favorite. *sharePermissions
Returns details of the share permissions defined for the dashboard. *editPermissions
Returns details of the edit permissions defined for the dashboard. *isWritable
Returns whether the current user has permission to edit the dashboard. -
dashboardName
String used to perform a case-insensitive partial match withname
.- Returns:
this
.
-
accountId
User account ID used to return dashboards with the matchingowner.accountId
. This parameter cannot be used with theowner
parameter.- Returns:
this
.
-
owner
This parameter is deprecated because of privacy changes. UseaccountId
instead. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. User name used to return dashboards with the matchingowner.name
. This parameter cannot be used with theaccountId
parameter.- Returns:
this
.
-
groupname
As a group's name can change, use ofgroupId
is recommended. Group name used to return dashboards that are shared with a group that matchessharePermissions.group.name
. This parameter cannot be used with thegroupId
parameter.- Returns:
this
.
-
groupId
Group ID used to return dashboards that are shared with a group that matchessharePermissions.group.groupId
. This parameter cannot be used with thegroupname
parameter.- Returns:
this
.
-
projectId
Project ID used to returns dashboards that are shared with a project that matchessharePermissions.project.id
.- Returns:
this
.
-
orderBy
[Order](#ordering) the results by a field: *description
Sorts by dashboard description. Note that this sort works independently of whether the expand to display the description field is in use. *favourite_count
Sorts by dashboard popularity. *id
Sorts by dashboard ID. *is_favourite
Sorts by whether the dashboard is marked as a favorite. *name
Sorts by dashboard name. *owner
Sorts by dashboard owner name.- Returns:
this
.
-
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this
.
-
maxResults
The maximum number of items to return per page.- Returns:
this
.
-
status
The status to filter by. It may be active, archived or deleted.- Returns:
this
.
-
expand
Use [expand](#expansion) to include additional information about dashboard in the response. This parameter accepts a comma-separated list. Expand options include: *description
Returns the description of the dashboard. *owner
Returns the owner of the dashboard. *viewUrl
Returns the URL that is used to view the dashboard. *favourite
ReturnsisFavourite
, an indicator of whether the user has set the dashboard as a favorite. *favouritedCount
Returnspopularity
, a count of how many users have set this dashboard as a favorite. *sharePermissions
Returns details of the share permissions defined for the dashboard. *editPermissions
Returns details of the edit permissions defined for the dashboard. *isWritable
Returns whether the current user has permission to edit the dashboard.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-