github.com/aldelo/common@v1.5.1/wrapper/sns/snsapplicationplatform/snsapplicationplatform.go (about)

     1  package snsapplicationplatform
     2  
     3  /*
     4   * Copyright 2020-2023 Aldelo, LP
     5   *
     6   * Licensed under the Apache License, Version 2.0 (the "License");
     7   * you may not use this file except in compliance with the License.
     8   * You may obtain a copy of the License at
     9   *
    10   *     http://www.apache.org/licenses/LICENSE-2.0
    11   *
    12   * Unless required by applicable law or agreed to in writing, software
    13   * distributed under the License is distributed on an "AS IS" BASIS,
    14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15   * See the License for the specific language governing permissions and
    16   * limitations under the License.
    17   */
    18  
    19  // go:generate gen-enumer -type SNSApplicationPlatform
    20  
    21  type SNSApplicationPlatform int
    22  
    23  const (
    24  	UNKNOWN                           SNSApplicationPlatform = 0
    25  	ADM_AmazonDeviceMessaging         SNSApplicationPlatform = 1
    26  	APNS_ApplePushNotificationService SNSApplicationPlatform = 2
    27  	APNS_Sandbox                      SNSApplicationPlatform = 3
    28  	FCM_FirebaseCloudMessaging        SNSApplicationPlatform = 4
    29  )
    30  
    31  const (
    32  	_SNSApplicationPlatformKey_0 = "UNKNOWN"
    33  	_SNSApplicationPlatformKey_1 = "ADM"
    34  	_SNSApplicationPlatformKey_2 = "APNS"
    35  	_SNSApplicationPlatformKey_3 = "APNS_SANDBOX"
    36  	_SNSApplicationPlatformKey_4 = "FCM"
    37  )
    38  
    39  const (
    40  	_SNSApplicationPlatformCaption_0 = "UNKNOWN"
    41  	_SNSApplicationPlatformCaption_1 = "ADM_AmazonDeviceMessaging"
    42  	_SNSApplicationPlatformCaption_2 = "APNS_ApplePushNotificationService"
    43  	_SNSApplicationPlatformCaption_3 = "APNS_Sandbox"
    44  	_SNSApplicationPlatformCaption_4 = "FCM_FirebaseCloudMessaging"
    45  )
    46  
    47  const (
    48  	_SNSApplicationPlatformDescription_0 = "UNKNOWN"
    49  	_SNSApplicationPlatformDescription_1 = "ADM_AmazonDeviceMessaging"
    50  	_SNSApplicationPlatformDescription_2 = "APNS_ApplePushNotificationService"
    51  	_SNSApplicationPlatformDescription_3 = "APNS_Sandbox"
    52  	_SNSApplicationPlatformDescription_4 = "FCM_FirebaseCloudMessaging"
    53  )