docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct JiraIssueId

    Represents a unique identifier for an Jira Issue within the Collaboration SDK.

    Implements
    IEquatable<JiraIssueId>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Cloud.Collaboration.Abstractions
    Assembly: Unity.Cloud.Collaboration.dll
    Syntax
    public struct JiraIssueId : IEquatable<JiraIssueId>
    Remarks

    The JiraIssueId struct provides methods for creating, comparing, and manipulating Jira Issue identifiers. It supports initialization using either a string or a Guid.

    Constructors

    JiraIssueId(Guid)

    Returns a JiraIssueId using a Guid.

    Declaration
    public JiraIssueId(Guid value)
    Parameters
    Type Name Description
    Guid value

    The guid representing the Jira Issue identifier

    JiraIssueId(string)

    Returns a JiraIssueId using a string.

    Declaration
    public JiraIssueId(string value)
    Parameters
    Type Name Description
    string value

    The string representing the Jira Issue identifier

    Methods

    Equals(object)

    Validate obj is a JiraIssueId instance and have the same values as this instance.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    Compare the values with this instance.

    Returns
    Type Description
    bool

    true if both instance have the same values; false otherwise.

    Overrides
    ValueType.Equals(object)

    Equals(JiraIssueId)

    Returns whether two JiraIssueId objects are equals.

    Declaration
    public bool Equals(JiraIssueId other)
    Parameters
    Type Name Description
    JiraIssueId other

    The other JiraIssueId to compare with this instance.

    Returns
    Type Description
    bool

    true if both instance have the same values; false otherwise.

    GetHashCode()

    Compute a hash code for the object.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    ValueType.GetHashCode()
    Remarks
    • You should not assume that equal hash codes imply object equality.
    • You should never persist or use a hash code outside the application domain in which it was created, because the same object may hash differently across application domains, processes, and platforms.

    ToString()

    Get the string representation of this JiraIssueId.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    The string result.

    Overrides
    ValueType.ToString()

    Operators

    operator ==(JiraIssueId, JiraIssueId)

    Get if two JiraIssueId represent the same.

    Declaration
    public static bool operator ==(JiraIssueId left, JiraIssueId right)
    Parameters
    Type Name Description
    JiraIssueId left

    Compare with this first instance.

    JiraIssueId right

    Compare with this other instance.

    Returns
    Type Description
    bool

    true if both instances represent the same; false otherwise.

    explicit operator string(JiraIssueId)

    Explicitly cast a JiraIssueId to a string

    Declaration
    public static explicit operator string(JiraIssueId id)
    Parameters
    Type Name Description
    JiraIssueId id

    Object to cast

    Returns
    Type Description
    string

    The resulting string

    operator !=(JiraIssueId, JiraIssueId)

    Get if two JiraIssueId does not represent the same.

    Declaration
    public static bool operator !=(JiraIssueId left, JiraIssueId right)
    Parameters
    Type Name Description
    JiraIssueId left

    Compare with this first instance.

    JiraIssueId right

    Compare with this other instance.

    Returns
    Type Description
    bool

    true if both instances are not the same; false if both instances are the same.

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)