github.com/enbility/spine-go@v0.7.0/model/subscriptionmanagement.go (about)

     1  package model
     2  
     3  type SubscriptionIdType uint
     4  
     5  type SubscriptionManagementEntryDataType struct {
     6  	SubscriptionId *SubscriptionIdType `json:"subscriptionId,omitempty" eebus:"key"`
     7  	ClientAddress  *FeatureAddressType `json:"clientAddress,omitempty"`
     8  	ServerAddress  *FeatureAddressType `json:"serverAddress,omitempty"`
     9  	Label          *LabelType          `json:"label,omitempty"`
    10  	Description    *DescriptionType    `json:"description,omitempty"`
    11  }
    12  
    13  type SubscriptionManagementEntryDataElementsType struct {
    14  	SubscriptionId *ElementTagType             `json:"subscriptionId,omitempty"`
    15  	ClientAddress  *FeatureAddressElementsType `json:"clientAddress,omitempty"`
    16  	ServerAddress  *FeatureAddressElementsType `json:"serverAddress,omitempty"`
    17  	Label          *ElementTagType             `json:"label,omitempty"`
    18  	Description    *ElementTagType             `json:"description,omitempty"`
    19  }
    20  
    21  type SubscriptionManagementEntryListDataType struct {
    22  	SubscriptionManagementEntryData []SubscriptionManagementEntryDataType `json:"subscriptionManagementEntryData,omitempty"`
    23  }
    24  
    25  type SubscriptionManagementEntryListDataSelectorsType struct {
    26  	SubscriptionId *SubscriptionIdType `json:"subscriptionId,omitempty"`
    27  	ClientAddress  *FeatureAddressType `json:"clientAddress,omitempty"`
    28  	ServerAddress  *FeatureAddressType `json:"serverAddress,omitempty"`
    29  }
    30  
    31  type SubscriptionManagementRequestCallType struct {
    32  	ClientAddress     *FeatureAddressType `json:"clientAddress,omitempty"`
    33  	ServerAddress     *FeatureAddressType `json:"serverAddress,omitempty"`
    34  	ServerFeatureType *FeatureTypeType    `json:"serverFeatureType,omitempty"`
    35  }
    36  
    37  type SubscriptionManagementRequestCallElementsType struct {
    38  	ClientAddress     *FeatureAddressElementsType `json:"clientAddress,omitempty"`
    39  	ServerAddress     *FeatureAddressElementsType `json:"serverAddress,omitempty"`
    40  	ServerFeatureType *ElementTagType             `json:"serverFeatureType,omitempty"`
    41  }
    42  
    43  type SubscriptionManagementDeleteCallType struct {
    44  	SubscriptionId *SubscriptionIdType `json:"subscriptionId,omitempty"`
    45  	ClientAddress  *FeatureAddressType `json:"clientAddress,omitempty"`
    46  	ServerAddress  *FeatureAddressType `json:"serverAddress,omitempty"`
    47  }
    48  
    49  type SubscriptionManagementDeleteCallElementsType struct {
    50  	SubscriptionId *ElementTagType             `json:"subscriptionId,omitempty"`
    51  	ClientAddress  *FeatureAddressElementsType `json:"clientAddress,omitempty"`
    52  	ServerAddress  *FeatureAddressElementsType `json:"serverAddress,omitempty"`
    53  }